/* ═══════════════════════════════════════════════════════════════
   Shenghao Automobile — site layer on top of the taste-skill kit
   ───────────────────────────────────────────────────────────────
   Everything visual that is not the kit's own system lives here.
   Rule: never fight the kit. Override tokens, add .vt- classes.
   ═══════════════════════════════════════════════════════════════ */

/* ── 0. Self-hosted Archivo ─────────────────────────────────────
   The webfont is served from our own host, out of assets/fonts/.
   Google Fonts is no longer referenced anywhere on this site:
   fonts.googleapis.com is unreachable from mainland China (visitors
   saw the fallback face instead), and the request handed the
   visitor's IP address and user agent to a third party.

   The @font-face declarations live in assets/css/fonts.css — the
   single source of truth, shared with the product catalogue pages.
   It is loaded as its own <link> (not @import) so it downloads in
   parallel and so the release stamp (?v=…) can bust its cache.
   ---------------------------------------------------------------- */

/* ── 1. Brand tokens ─────────────────────────────────────────── */

:root {
  /* logo is a blue wordmark and must not change colour.
     The navy below is the site's ink, sampled from the same family. */
  --p-bg: #ffffff;
  --p-surface: #f3f3f0;
  --p-ink: #2e2c53;          /* Shenghao navy — headings, body ink */
  --p-muted: #5f5d75;
  --p-accent: #c2501b;       /* industrial orange — the single accent */
  --p-accent-ink: #ffffff;
  --p-action: #2e2c53;       /* buttons and links stay in brand ink,
                                so the orange never fights the blue logo */
  --p-action-ink: #ffffff;

  /* type: Archivo, drawn for hardware and vehicles */
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 400;
  --display-tracking: -0.035em;

  /* the kit's default radii are soft; the product line wants edges */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-btn: 4px;
}

/* The kit reads --p-* through a --ground / page-scoped layer.
   Keep the flat, printed look: no gradients, no glow, no grain. */
:root {
  --shadow-card: none;
}

/* ── 2. Typography: Archivo only, never a 700/800 ────────────── */

body,
input,
textarea,
select,
button {
  font-family: var(--font-text);
  font-weight: 400;
}

h1, h2, h3, h4,
.t-h1, .t-h2, .t-h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--display-tracking);
}

/* Display sizes sit tighter than the kit's default so a long
   English headline does not wrap into three lines. */
h1, .t-h1 { font-size: var(--t-h1); line-height: 1.04; }
h2, .t-h2 { font-size: var(--t-h2); line-height: 1.08; }
h3, .t-h3 { font-size: var(--t-h3); line-height: 1.18; }

/* Chinese has no word spaces, so it needs a touch more tracking
   and no negative tracking to read cleanly. */
:root[lang="zh-CN"] h1,
:root[lang="zh-CN"] h2,
:root[lang="zh-CN"] h3,
:root[lang="zh-CN"] .t-h1,
:root[lang="zh-CN"] .t-h2,
:root[lang="zh-CN"] .t-h3 {
  letter-spacing: -0.005em;
  line-height: 1.18;
}

:root[lang="zh-CN"] h1,
:root[lang="zh-CN"] .t-h1 { line-height: 1.24; }

/* Labels are the one place a heavier weight is allowed. */
.card__points b,
.rows__name b,
.stat__label,
.section-head .label,
.form label,
.nav__link {
  font-weight: 500;
}

/* ── 3. Logo ─────────────────────────────────────────────────── */

.vt-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.vt-logo img {
  height: 28px;
  width: auto;
  max-width: none;
  /* the logo stays exactly as delivered — blue, no filter, no tint */
  filter: none;
}

.nav .vt-logo img { height: 26px; }

/* The footer band is dark, and a blue logo on a dark band would
   disappear. It therefore sits on a white plate rather than being
   recoloured — the logo itself is never altered. */
.vt-logo--plate {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: var(--r-md);
  display: inline-block;
  line-height: 0;
  width: fit-content;
}

.vt-logo--plate img {
  height: 30px;
  width: auto;
}

/* ── 4. Navigation ───────────────────────────────────────────── */

.nav {
  background: var(--p-bg);
  /* the old site blurred the bar; the kit's nav is opaque with a
     1px hairline. Keep the kit's version. */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent);
}

.nav__link { color: var(--p-ink); }
.nav__link:hover { color: var(--p-accent); }
.nav__link::after,
.nav__link[aria-current="true"]::after { background: var(--p-accent); }

/* The lookup is the one page in the navigation that is not a section of
   this one, so it carries a count: it tells a visitor what is behind the
   word before they click it. */
.nav__badge {
  display: inline-block;
  margin-left: .5em;
  padding: 1px 6px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--p-accent) 12%, transparent);
  color: var(--p-accent);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .02em;
  vertical-align: 1px;
  transition: background-color var(--dur) var(--ease);
}

.nav__link--lookup:hover .nav__badge {
  background: color-mix(in oklab, var(--p-accent) 20%, transparent);
}

/* language switch */
.vt-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in oklab, var(--p-ink) 18%, transparent);
  border-radius: var(--r-btn);
  overflow: hidden;
}

.vt-lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--p-muted);
  font-family: var(--font-text);
  font-size: var(--t-label);
  font-weight: 500;
  line-height: 1;
  padding: 0 10px;
  height: 30px;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}

.vt-lang button + button {
  border-left: 1px solid color-mix(in oklab, var(--p-ink) 18%, transparent);
}

.vt-lang button:hover { color: var(--p-ink); }

/* The filled button is the one the pointer lands on most, and its own rule
   sets the colour, so a colour-only hover changes nothing and it looks the
   same hovered as at rest. It answers with its fill; the other one answers
   with a light wash. */
.vt-lang button.is-active:hover { background: color-mix(in oklab, var(--p-ink) 86%, #fff); }
.vt-lang button:not(.is-active):hover { background: color-mix(in oklab, var(--p-ink) 8%, transparent); }

.vt-lang button.is-active {
  background: var(--p-ink);
  color: #fff;
}

/* The language switch has to be reachable without opening the menu. The
   kit's phone bar keeps only the primary button in .nav__actions and hides
   everything else, so the switch is put back and given a phone-sized target
   (44px, or the tap-size check has something to say). */
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions > .vt-lang { display: inline-flex; }
  .vt-lang button { height: 44px; padding: 0 14px; }
}

@media (max-width: 639px) {
  /* One thing in the phone bar: the language switch. The quote button is on
     the first screen in the hero and in the menu sheet, so the bar keeps
     room for the switch and the bar stays one line at 320px. */
  .nav:not(.is-open) .nav__actions > .btn--primary { display: none; }
}

/* ── 5. Hero ───────────────────────────────────────────────────────
   A head row (words left, lead and buttons right) above a full-bleed
   photo band. The band is always wider than the photograph's own 1.61
   ratio, so the crop is vertical only and the Mini in the foreground
   is never cut through. The photograph is the one thing on the page
   that says "classic Mini" at a glance, so it gets the whole width. */

.hero--band .hero__grid {
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: var(--s-6);
  align-content: stretch;
}

/* The photograph is never a strip.
   The picture is absolutely positioned inside its box, so the row it sits
   in is the only thing that gives it any height at all. On a short screen
   the words take all of it, the row collapses to nothing, and the band
   becomes a sliver of grass with the car gone — the hero's words and its
   photograph cannot both fit, and the picture is the one that lost.

   So: the row gets a floor, and the hero is allowed to grow past the screen
   rather than squeeze the picture out of existence. The floor is kept under
   the picture's own 1.61 ratio (58vw < 62.3vw), so the band is always
   *wider* than the photograph and the crop stays vertical — the car is
   never cut through the middle.

   The hero is a grid with its wrap in a single 1fr row, as the phone rule
   in the kit already does: the wrap then takes the room the screen leaves
   and the band below the words takes what is left of that. */
main > .hero.hero--band {
  height: auto;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;
  grid-auto-rows: auto;
}

main > .hero.hero--band > .wrap { height: auto; }

.hero--band .hero__grid {
  /* 第二行（媒体带）由媒体框自己的 16:9 决定高度，不再吃余量。
     以前是 `auto minmax(min(58vw, 240px), 1fr)` —— 1fr 把余量摊给媒体行，
     带宽于是变成「屏幕剩多少就多宽」，在 1440×900 上是 2.922:1 ⇒ 影片被裁。
     现在媒体行 = auto ⇒ 媒体框 = 影片自己的 16:9 ⇒ 不裁。 */
  grid-template-rows: auto auto;
}

/* The head row is its own 12-column grid so the grid always has exactly
   two rows: words, then the photograph. Without the wrapper the words
   would auto-place into three rows under 1024px and push the photograph
   into an implicit row with no height.
   SR-8: a split is text left, the visual right, the right column on the
   page's split line 7, the two columns top-aligned. */
.hero--band .vt-hero__head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}

.hero--band .vt-hero__head > .hero__text { grid-column: 1 / span 6; }

.hero--band .vt-hero__head > .vt-hero__side { grid-column: 7 / -1; }

.hero--band .hero__kicker {
  color: var(--p-accent);
}

.hero__kicker .dot {
  background: var(--p-accent);
}

.hero--band .vt-hero__side > * + * { margin-top: var(--s-5); }

.hero--band .vt-hero__side > .btn-row { margin-top: var(--s-6); }

/* The rule under the headline draws itself across as the words come up. */
.hero__rule {
  display: block;
  width: 76px;
  height: 2px;
  margin-top: var(--s-4);
  background: var(--p-accent);
  transform-origin: left center;
}

/* The build can be asked for again: a quiet control under the headline.
   Some visitors arrive from a message and are looking at the page before
   the build has begun, and a build you can only catch once is a build most
   visitors never see. */
.vt-replay {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: var(--s-4);
  padding: .25em 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .8125rem;
  letter-spacing: .02em;
  color: var(--p-muted);
  cursor: pointer;
  transition: color .18s ease;
}
.vt-replay:hover,
.vt-replay:focus-visible { color: var(--p-ink); }
.vt-replay__i {
  display: block;
  flex: none;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.vt-replay:hover .vt-replay__i { transform: rotate(-180deg); }

/* The photograph fills the row the words leave it. Where the viewport is
   tall the band is narrower than the picture's own 1.606 ratio, so the
   crop is sideways — the frame is set on the car's front quarter, which
   is the part that reads as a Mini.

   ⚠️ 2026-11-24（老大看真机后报「视频比例和原先不一样、字幕没了、Logo 没了」）：
   **带宽必须等于影片自己的 16:9**。
   影片是 1280×720；带宽 2.922:1 时 `object-fit: cover` 会把画面**上下裁掉
   19.6%**（底部对齐 ⇒ 切掉顶部 19.6%）⇒ **左上角烧录的 Logo 被切掉**，
   而字幕（各镜头分别在底部中间 / 右下）也被切得只剩一半 ⇒ 顶部一个、底部
   一个，**同一个裁切窗口装不下**。
   ⇒ 手机端早就是这个做法（见 §19 的 16:9 规则），**桌面端一直没跟上** ⇒
   现在把带宽统一成 16:9：整幅画面都在，Logo 与字幕都完整，且**显示比例
   = 影片原比例**。静图（weld-02.jpg 是 3.56:1）在 16:9 框里改成中裁，
   构图仍成立（焊工 + 火花），且静图只在影片没起来时露脸。 */
.hero--band .hero__media {
  grid-column: 1 / -1;
  align-self: start;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  margin-bottom: calc(-1 * (var(--hpadb, 64px) - 24px));
  border-radius: 0;
}

.hero--band .hero__media img {
  background: var(--p-surface);
}

/* ── The band's film ──────────────────────────────────────────────
   The hero plays the plant tour instead of holding a still.
   The kit (layout.css) already sizes a <video> inside .hero__media
   exactly as it sizes the <img>: absolute, filled, cover-cropped, and
   positioned by --ly-pos. Three things are ours to say on top of that:

   ① the phone crop. The kit hands --ly-pos-phone to the <img> only,
      so the film would keep the desktop crop on a phone. On a phone
      the band is taller relative to its width, so the film is cut
      sideways instead — and the film's titles sit along the right
      edge of the frame, so the phone crop is anchored right to keep
      them whole.
   ② the crop itself. The band is far wider than the film's 16:9, so
      cover crops the frame top and bottom; the film's own titles are
      burned into the bottom edge, so the crop is anchored to the
      bottom or those titles are cut in half. The still underneath was
      already framed that way, so the two agree and nothing jumps.
   ③ a reader who asked for less motion gets the still, not the film.
      The script beside the markup also holds the file back in that
      case, so the film is not fetched at all — but the switch beside
      the band lets them start it by hand, because "less motion" is not
      "no film".

   The still underneath is the site's own photograph of the product —
   the hero as it was before the film — and the film's poster is that
   same photograph, so the two agree and nothing jumps. The band is
   never empty, and it never looks like a video that failed. */
.hero--band .hero__media > video {
  z-index: 1;
  background: var(--p-surface);
}

@media (max-width: 1023px) {
  .hero--band .hero__media > video {
    object-position: var(--ly-pos-phone, var(--ly-pos, 50% 50%));
  }
}

/* ── 17b. The band's film switch ───────────────────────────────
   The film's own switch. It is there in every state, because a reader
   who asked for less motion is not a reader who never wants the film —
   they are a reader who wants to decide. And a reader whose browser
   refused the autoplay has to be able to start it by hand.

   Top-right, because the bottom-right of the band carries the film's
   own burned-in title ("SHENGHAO Body Division") and the bottom-left
   carries the floating quotation card.

   The switch is a small pill (86×32) — that is the right size for a
   caption-like control that floats over a picture. But a 32px target
   is under the 44×44 minimum a finger needs (WCAG 2.5.8, and the
   site's own touch-target rule in ux/界面优化准则.md). The pill stays
   exactly as small as it looks; what grows is the **hit area**, with
   an invisible ::after that reaches 44px tall and centred on the
   pill. The reader sees the same button and can hit it with a thumb. */
.hero--band .hero__filmbtn {
  position: absolute;
  /* The sound switch sits to its right (44px + 8px gap), so the play
     switch moves left by 52px. Its own width is unchanged, and nothing
     about its two states moves relative to itself — only its place in
     the row. */
  top: 14px; right: 66px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0; padding: 7px 14px 7px 11px;
  /* The switch keeps the same width in both states. "Play the plant
     film" is 152px and "Pause" is 86px, and a right-anchored pill that
     changes width moves its left edge 65px — the edge the reader aimed
     at is gone by the time they click. One width, both states, nothing
     moves (Fitts' law). The content is centred in it, so the pill still
     reads as a pill rather than a label with a hole in it. */
  min-width: 152px;
  justify-content: center;
  font: 500 13px/1.2 var(--font-text);
  color: #fff;
  /* 60% black, not 52%: measured against the film's brightest frames
     (pure white, 255,255,255) the white text would sit on, 52% gives a
     theoretical floor of 4.29:1 — under the 4.5:1 that WCAG 1.4.3 asks
     for. It passed on every frame sampled, but that was luck, not
     margin. 60% puts the worst case at 5.74:1. */
  background: color-mix(in oklab, #000 60%, transparent);
  border: 1px solid color-mix(in oklab, #fff 26%, transparent);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  transition: background .16s ease, border-color .16s ease;
}
/* The hit area: 44px tall, centred on the pill, invisible. */
.hero--band .hero__filmbtn::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}
.hero--band .hero__filmbtn:hover {
  background: color-mix(in oklab, #000 70%, transparent);
  border-color: color-mix(in oklab, #fff 46%, transparent);
}
.hero--band .hero__filmbtn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  /* A white ring on the film is a white ring on a white frame: measured
     across 3080 sample points over 14 frames, 54% of the pixels the
     ring touched were below 3:1, and the worst was 1.00:1 — the ring
     simply disappeared on the bright frames (WCAG 1.4.11, 2.4.7).
     So the ring is two bands: black under white. The black band is 2px
     so that it reaches the white outline and touches it — at 1px a
     transparent gap sat between them and the white ring's neighbour
     was the frame again, which is the very thing that failed. */
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .85);
}
.hero--band .hero__filmbtn-icon { flex: none; }
.hero--band .hero__filmbtn-icon--pause,
.hero--band .hero__filmbtn-label--pause { display: none; }
.hero--band .hero__filmbtn.is-playing .hero__filmbtn-icon--play,
.hero--band .hero__filmbtn.is-playing .hero__filmbtn-label--play { display: none; }
.hero--band .hero__filmbtn.is-playing .hero__filmbtn-icon--pause { display: block; }
.hero--band .hero__filmbtn.is-playing .hero__filmbtn-label--pause { display: inline; }

/* ── The sound switch ──────────────────────────────────────────────
   Browsers refuse to autoplay a film with sound (Chrome, Safari and
   Firefox all do), so the band plays silently and the reader who wants
   the soundtrack turns it on with one click — a click is a user gesture,
   which is exactly what the policy asks for.

   It is a separate control from the play switch on purpose: that one
   says what the film is doing (Play ↔ Pause, in words), this one says
   whether you can hear it (an icon, with aria-pressed). Mixing them
   would put two different states in one button.

   Its position is fixed and its width never changes, so enabling or
   disabling it moves nothing the reader was aiming at. */
.hero--band .hero__soundbtn {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0; padding: 0;
  color: #fff;
  /* Same 60% black the play switch uses: the white glyph has to clear
     4.5:1 against the film's brightest frames, and it has the same
     problem there. */
  background: color-mix(in oklab, #000 60%, transparent);
  border: 1px solid color-mix(in oklab, #fff 26%, transparent);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  transition: background .16s ease, border-color .16s ease, opacity .16s ease;
}
.hero--band .hero__soundbtn[disabled] {
  /* Disabled means "there is nothing to unmute" — the film is paused.
     WCAG 1.4.3 exempts inactive controls from the contrast minimum, so
     the only thing left to keep is *recognisability*: the reader has to
     still see that this is a sound button, not a smudge on the film.
     Measured on the film's brightest frames: at opacity .45 the glyph
     fell to 2.14:1 and the threshold sweep puts .65 at the point where
     the icon still reads as an icon. */
  opacity: .65;
  cursor: default;
}
.hero--band .hero__soundbtn:hover:not([disabled]) {
  background: color-mix(in oklab, #000 70%, transparent);
  border-color: color-mix(in oklab, #fff 46%, transparent);
}
.hero--band .hero__soundbtn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  /* Two bands, black under white — the same reason as the play switch:
     a white ring alone disappears on the film's white frames. */
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .85);
}
.hero--band .hero__soundicon { position: absolute; }
.hero--band .hero__soundicon--on { display: none; }
.hero--band .hero__soundbtn[aria-pressed="true"] .hero__soundicon--off { display: none; }
.hero--band .hero__soundbtn[aria-pressed="true"] .hero__soundicon--on { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero--band .hero__media > video { display: none; }
  /* …but a reader who asks for the film gets it. The class is added by
     the switch in the markup, not by the media query. */
  .hero--band.hero--film-on .hero__media > video { display: block; }
}

/* Text that is there for a reader and not for the eye: the film's
   description, which the film's own burnt-in titles cannot be. */
.vt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* The floating quote card is the one lifted element in the hero.
   Keep it flat and printed, not glassy.
   Bottom LEFT, and that is a decision the film forced: the band used
   to hold a photograph of a Mini, with the car on the left and the
   card parked bottom-right so it never covered the car. The band now
   holds the plant tour, and the film burns its own titles into the
   frame — "SHENGHAO Body Division", "Baosteel", "5-axis 3D Laser
   Cutting", "15-Step E-Coating Process".

   Bottom-left is the right corner for the card, but an earlier version
   of this note said the burnt-in titles "all sit in the right half of
   the frame" and that the bottom-left corner "is empty in every single
   one" of nine sampled frames. Both were wrong, and the first one was
   wrong in the way that matters: the titles are burnt into a 1280×720
   master and the leftmost of them, "High-Precision 3D Scanning", starts
   at x=567 — 44.3% of the frame, already past the middle. Nine frames
   is not enough to see the whole set of titles.

   The other half of the decision was left out as well: the card's width
   is 300px, and that width is relative to the FRAME, not to the page.
   The card's containing block is .hero__media, so on a 640px viewport
   the card takes 55% of the frame and its right edge reaches x=241 —
   straight over the left half of the widest title, which starts at
   x=567. Measured: 3776 px² of burnt-in text covered at 640px.

   So the card's width is now derived from the frame rather than
   assumed. See the rule below the inset. */
.ly-float {
  background: #ffffff;
  border: 1px solid color-mix(in oklab, var(--p-ink) 14%, transparent);
  border-radius: var(--r-md);
  box-shadow: 0 8px 28px -18px rgba(46, 44, 83, .45);
}

.vt-float--bl {
  left: var(--s-5);
  right: auto;
}

/* The card may be as wide as the frame's free left margin, less its
   inset and a small gutter.

   On a 640–833px viewport the band carries the film's own 16:9 (see
   §19), so the whole 1280×720 master is on screen uncropped and the
   leftmost burnt-in title starts at 567/1280 = 44.296875% of the band.
   The card is inset 24px (--s-5) from the band's left edge, so its
   width may be at most 44.296875% − 24px − 4px of gutter, and the rule
   below says exactly that: 213px on a 640px viewport, growing with the
   band, which keeps the card clear of the titles at every width in the
   range (measured overlap 0 px² at 640 / 700 / 768 / 800 / 833).

   From 834px up the 300px card already clears the titles — at 834px
   the gutter is 2.9px and it grows from there — so the card is left
   alone there. Below 640px the card does not render at all.

   If the band's ratio ever changes, this number has to be derived
   again: 44.296875% is the title's position in the master, and it only
   reads as a percentage of the band while the band shows the master
   uncropped. */
@media (min-width: 640px) and (max-width: 833px) {
  .hero--band .ly-float {
    width: min(300px, calc(44.296875% - 28px));
  }
}

.ly-float__row { color: var(--p-muted); }
.ly-live {
  color: var(--p-accent);
  font-weight: 500;
}

/* The vendor's live dot pulses forever (ly-pulse 2.4s infinite) and ships
   no pause control — the vendor's own escape hatch is data-type="place",
   which would change the whole page's kind. A factory quotation badge is
   not a live ticker, so the pulse is switched off here. The dot still
   reads as a live marker through its accent colour. */
.ly-live::before { animation: none; }

/* ── 6. Cards ────────────────────────────────────────────────── */

.card {
  background: var(--p-bg);
  border: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent);
  border-radius: var(--r-lg);
}

/* A card that carries a photo: the image bleeds to the card edge. */
.vt-card .panel {
  margin: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  background: #ffffff;
}

.vt-card .panel img {
  /* the catalogue photos are 3000x3000 on white; keep them square
     and let the surrounding card provide the frame */
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* A square 3000px product photo would make the card taller than a
   screen. Cap the plate and let the white ground of the photo read
   as the card's own background. */
.vt-card .panel {
  max-height: 340px;
  background: #ffffff;
}

.vt-card .panel img {
  height: 340px;
  width: 100%;
}

/* The hover zoom on this photograph belongs to the kit's motion layer
   (.m-zoom on the panel): it is the one photo on the page that leads
   somewhere, and the kit draws the zoom with its own tokens
   (600ms in, 400ms out, one ease) so the page keeps a single hover
   language. See §6.3 for the photographs that lead nowhere. */

.vt-card h3 { margin-top: var(--s-5); }
.vt-card p { color: var(--p-muted); }

.card__points li {
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 10%, transparent);
}

.card__points b { color: var(--p-ink); }
.card__points span { color: var(--p-muted); }

.card__link {
  color: var(--p-accent);
  font-weight: 500;
}

.card__link:hover { color: var(--p-ink); }

/* A card with no photo: flat panel, generous left rule instead of
   a coloured chip — a printed data card, not a badge. */
.vt-plain {
  background: var(--p-surface);
  border-color: transparent;
  border-left: 2px solid var(--p-ink);
}

.vt-plain h3 { color: var(--p-ink); }
.vt-plain p { color: var(--p-muted); }

/* ── 7. Sub-heading inside a section ─────────────────────────── */

.vt-sub {
  margin-top: var(--s-8);
  padding-top: var(--s-7);
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent);
}

.vt-sub h3 {
  font-size: var(--t-lead);
  color: var(--p-muted);
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ── 8. Rows ─────────────────────────────────────────────────── */

.rows li {
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent);
}

/* One row standing on its own: a rule above or below it would divide the
   section's parts, so this row is told apart by air alone (SR-3). The kit
   draws a table's rules under its rows (ST-43); a single row is no table. */
.rows.rows--plain > li {
  border-top: 0;
  border-bottom: 0;
}

/* A phone number, an e-mail and a street address must be allowed to
   wrap on a narrow screen, or they push the page sideways. */
.rows__name,
.rows__value {
  overflow-wrap: anywhere;
  word-break: normal;
  min-width: 0;
}

.rows__name { color: var(--p-ink); }
.rows__name small { color: var(--p-muted); }
.rows__value { color: var(--p-accent); font-weight: 500; }

@media (max-width: 639px) {
  .rows li { flex-direction: column; align-items: flex-start; gap: var(--s-1); }
  .rows__value { text-align: left; }
}

/* ── 9. Process steps ────────────────────────────────────────── */

/* The process section is the kit's pinned-chapters moment: its own styles
   live in assets/vendor/moments/pinned-chapters/moment.css, and the section
   below only adds the step index beside each chapter title. */

/* The pinned chapter's step index: the same numerals the six-step card list
   used, set beside the chapter title instead of on a badge. Digits need no
   translation, so this carries no data-en / data-zh. */
.vt-step-no {
  font-family: var(--font-display);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--p-muted);
  margin-right: .5em;
  white-space: nowrap;
}

/* The moment indents every step 26px behind a vertical rule. The site's own
   text starts on the container's left line, so the rule becomes a hairline
   above the step and the text moves back onto the line. The selector carries
   the attribute twice on purpose: the moment's stylesheet is linked at run
   time, after this file, so on equal weight the moment would win. */
[data-moment="pinned-chapters"][data-moment] .mo-pc__step {
  padding-left: 0;
  border-left: 0;
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
[data-moment="pinned-chapters"][data-moment].is-live .mo-pc__step {
  border-top-color: var(--line);
}
[data-moment="pinned-chapters"][data-moment].is-live .mo-pc__step.is-on {
  border-top-color: var(--accent);
}

/* On a tablet the moment is not live: the four chapters stand one under the
   other, each with its own picture, and the section is as tall as they are.
   It used to be held to two whole screens with the chapters spread across
   them, which put a screen of white between one chapter and the next; a
   phone is left alone, and so is the live moment (from 1024px), which holds
   on screen and needs the height to hold. */
@media (min-width: 640px) and (max-width: 1023px) {
  body > main > [data-moment="pinned-chapters"][data-moment]:not(.is-live) {
    height: auto;
    min-height: 0;
  }
  [data-moment="pinned-chapters"][data-moment]:not(.is-live) .mo-pc__grid {
    height: auto;
    align-content: start;
  }
  /* the title keeps its own height; the chapter list follows it */
  [data-moment="pinned-chapters"][data-moment]:not(.is-live) .mo-pc__text {
    height: auto;
    grid-template-rows: auto auto;
  }
  [data-moment="pinned-chapters"][data-moment]:not(.is-live) .mo-pc__steps {
    height: auto;
    align-content: start;
  }
}

/* ── 10. Plant ───────────────────────────────────────────────── */

.vt-sites .card { background: var(--p-bg); border-color: color-mix(in oklab, var(--p-ink) 12%, transparent); border-left-width: 2px; }

.vt-meta {
  font-size: var(--t-small);
  color: var(--p-muted);
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 10%, transparent);
}

/* Stats: numbers in brand ink, no colour, no icons */
.stats {
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent);
  /* The kit fits as many 140px columns as will go, which squeezes eight
     figures onto one row at 1440 and lets the long ones (100,000 m²,
     IATF 16949) out of their box. Four columns of 280px hold them. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat__num {
  color: var(--p-ink);
  font-weight: 400;
  /* a figure never breaks across two lines; it shrinks to fit its column */
  white-space: nowrap;
  font-size: clamp(24px, 1.9vw, 34px);
  letter-spacing: -.02em;
}

.stat__unit { font-style: normal; color: var(--p-muted); }
.stat__label { color: var(--p-muted); }

@media (max-width: 1023px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
  .stat__num { font-size: 24px; }
}

/* Plant photos: two frames, same height, no caption (the kit's rule) */
.vt-plant-photos,
.vt-show-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-8);
}

.vt-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--p-surface);
  /* A fixed height, not an aspect ratio: these sit in a grid whose rows
     stretch, and a ratio box would let the image run past the frame. */
  height: 220px;
}

.vt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The plant and show photographs lead nowhere either, so they stand still
   on hover, like the step photographs above. */

/* The two plant photos sit in the right column of a split, so they get
   the full width of that column rather than a third of the page. */
.vt-plant-photos { margin-top: 0; }

/* The plant section holds three site cards, eight figures and two
   photographs on one screen, so the photographs are shorter here than
   the show photographs further down. */
.vt-plant-photos .vt-photo { height: 168px; }

@media (max-width: 639px) {
  .vt-photo { height: 180px; }
  .vt-plant-photos .vt-photo { height: 150px; }
}

/* ── 11. The dealt moment (motion.md) ────────────────────────
   The page's one treated moment: one photograph that develops once as
   it comes on screen, in a section of its own — the kit's
   picture-develops with the photographic look. The kit's own rule is
   that the host sizes the picture and the photograph fills the frame
   (motion.css sets object-fit: cover), so the frame is sized here. The
   source is 900x600; at the widest the frame reaches about 570px, so
   the photograph is always shown at or below its own resolution. */
.vt-moment {
  margin: 0;
  height: 560px;
  border-radius: var(--r-md);
  background: var(--p-surface);
}

/* On a phone the frame is shorter, and the photograph is cropped from
   the same 900px source. */
@media (max-width: 639px) {
  .vt-moment { height: 300px; }
}

/* A tablet stacks the split (the words above the photograph), so the two
   add up and the frame has to give way: this keeps the section exactly one
   screen, which is what the page's screen grid above it expects. */
@media (min-width: 640px) and (max-width: 1023px) {
  .vt-moment { height: 480px; }
}

/* ── 12. Callout ─────────────────────────────────────────────── */

.vt-callout {
  margin-top: var(--s-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
  padding: var(--s-6) var(--s-7);
  background: var(--p-surface);
  border-radius: var(--r-lg);
  border-left: 2px solid var(--p-accent);
}

.vt-callout h3 { color: var(--p-ink); margin-bottom: var(--s-2); }
.vt-callout p { color: var(--p-muted); max-width: 62ch; }

/* ── 13. Note block (documents) ──────────────────────────────── */

.vt-note {
  background: var(--p-surface);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  align-self: start;
}

.vt-note h3 { color: var(--p-ink); margin-bottom: var(--s-3); }
.vt-note p { color: var(--p-muted); }
.vt-note p + p { margin-top: var(--s-3); }

/* ── 14. Forms ───────────────────────────────────────────────── */

.form .field label { color: var(--p-ink); }

.form input,
.form select,
.form textarea {
  background: #ffffff;
  border: 1px solid color-mix(in oklab, var(--p-ink) 20%, transparent);
  border-radius: var(--r-btn);
  color: var(--p-ink);
  font-family: var(--font-text);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--p-ink);
  outline: 2px solid color-mix(in oklab, var(--p-accent) 35%, transparent);
  outline-offset: 1px;
}

.field__error { color: #b3261e; }

.form__status { color: var(--p-muted); }

.vt-form-note {
  font-size: var(--t-small);
  color: var(--p-muted);
  margin-top: var(--s-3);
}

.vt-contact-rows { margin-top: var(--s-6); }

/* ── 15. Buttons ─────────────────────────────────────────────── */

.btn--primary {
  background: var(--p-action);
  color: var(--p-action-ink);
  border-color: var(--p-action);
}

.btn--primary:hover {
  background: color-mix(in oklab, var(--p-action) 86%, #000);
  border-color: color-mix(in oklab, var(--p-action) 86%, #000);
}

.btn--secondary {
  background: transparent;
  color: var(--p-ink);
  border-color: color-mix(in oklab, var(--p-ink) 28%, transparent);
}

.btn--secondary:hover {
  border-color: var(--p-ink);
  background: color-mix(in oklab, var(--p-ink) 4%, transparent);
}

/* ── 15b. The model lookup card ─────────────────────────────────────
   The lookup is the one page on this site a visitor can lose: it is not
   a product, it is the answer to "which car is mine". So it does not go
   in the navigation as a word and hope — it gets a card of its own in
   the first screen: the number of models, the promise in one line, and
   an arrow that says it goes somewhere.

   It is a card and not a button on purpose. The two buttons under it
   are the commercial asks (a quote, the catalogue); this one is a
   different kind of move, and it should not read as a third quote
   request. The orange edge is the site's single accent, used here for
   the same reason it is on the rule under the headline: it marks the
   one thing on the page worth stopping at. */
.vt-lookup {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--p-surface);
  border: 1px solid color-mix(in oklab, var(--p-ink) 16%, transparent);
  border-left: 3px solid var(--p-accent);
  border-radius: var(--r-md);
  color: var(--p-ink);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.vt-lookup:hover {
  background: #ffffff;
  border-color: color-mix(in oklab, var(--p-ink) 32%, transparent);
  border-left-color: var(--p-accent);
  transform: translateY(-1px);
}

.vt-lookup__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vt-lookup__kicker {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--p-accent);
  line-height: 1.2;
}

.vt-lookup__title {
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.3;
  color: var(--p-ink);
}

.vt-lookup__meta {
  font-size: var(--t-small);
  line-height: 1.4;
  color: var(--p-muted);
}

.vt-lookup__arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  color: var(--p-accent);
  transition: transform var(--dur) var(--ease);
}

.vt-lookup:hover .vt-lookup__arrow { transform: translateX(4px); }

/* On a phone the card is the first thing under the lead, and its own
   text has to stay readable at 320px: the arrow steps out of the way
   and the kicker drops its tracking rather than the card overflowing. */
@media (max-width: 420px) {
  .vt-lookup {
    gap: var(--s-3);
    padding: var(--s-3) var(--s-4);
  }

  .vt-lookup__kicker { letter-spacing: .06em; }
  .vt-lookup__meta { font-size: var(--t-label); }
}

/* ── 16. Footer ──────────────────────────────────────────────── */

.footer.closing {
  background: var(--p-ink);
  color: #fff;
}

.footer.closing .closing__cta h2 { color: #fff; }
.footer.closing .footer__lede { color: color-mix(in oklab, #fff 72%, transparent); }
.footer.closing .footer__col h3 { color: color-mix(in oklab, #fff 60%, transparent); }
.footer.closing .footer__col a { color: color-mix(in oklab, #fff 86%, transparent); }
.footer.closing .footer__col a:hover { color: #fff; }
.footer.closing .footer__legal { color: color-mix(in oklab, #fff 55%, transparent); }

/* ── 16b. 页脚法律声明导航 ─────────────────────────────────────
   德国 DDG §5 与 IHK 实务指引对「法律声明入口」的判据是：
     ① 一眼认得出（有自己的标题，不是「条款」这种大杂烩）
     ② 每一页一键可达
     ③ 清晰易读，不是右下角一行又小又淡的字
   所以这一行独立成块，标签用 DDG 认的 "Impressum"，链接与正文同色。 */
.footer__legalnav {
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid color-mix(in oklab, #fff 16%, transparent);
}
.footer__legalnav h3 {
  margin: 0 0 var(--s-4);
  font: 500 var(--t-small)/1.4 var(--font-text);
  letter-spacing: 0;
  color: color-mix(in oklab, #fff 60%, transparent);
}
.footer.closing .footer__legalnav ul {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6);
  margin: 0; padding: 0; list-style: none;
  font-size: var(--t-small);
}
.footer.closing .footer__legalnav a {
  color: color-mix(in oklab, #fff 88%, transparent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer.closing .footer__legalnav a:hover {
  color: #fff; border-bottom-color: color-mix(in oklab, #fff 60%, transparent);
}
.footer.closing .footer__legalnav a:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px;
}

.vt-legal {
  max-width: 96ch;
  font-size: var(--t-small);
  line-height: 1.6;
  color: color-mix(in oklab, #fff 55%, transparent);
}

/* ── 17. Focus ring ──────────────────────────────────────────── */

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}

/* ── 18. Motion: keep it to a lift, never a flourish ────────── */

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

/* ── 18b. The hero's entrance ────────────────────────────────────
   The page builds its first screen: the headline comes up line by line
   out of its own masks, the lead follows, then the buttons, and the
   photograph settles behind them. The script sits with the hero markup
   (see index.html), so the build never waits for a file to arrive.

   The words are held back only while the entrance takes them
   (html.vt-enter, set before the first paint); the photograph is never
   hidden, so nothing blinks and nothing is ever lost: should the script
   not arrive, the head's safety mark lets the words go. */

html.vt-enter .hero--band :is(.hero__kicker, .hero__text h1, .hero__rule, .vt-replay, .hero__lead, .vt-lookup, .btn-row) {
  opacity: 0;
}

/* A word's mask: the word rises out of it, so no top of it shows before
   it does. The box reaches a little under the line so a descender is not
   cut while it rises.

   The mask is a clip-path, not an overflow: an inline-block with an
   overflow of its own loses its text baseline and is aligned by its bottom
   edge instead, which puts a Latin word a little higher than the Chinese
   characters beside it. clip-path keeps the baseline, so the headline stays
   properly set in either language. Where clip-path is not known the word
   still rises and still fades in — it is simply not masked. */
.vt-w {
  display: inline-block;
  vertical-align: baseline;
  padding-bottom: .16em;
  margin-bottom: -.16em;
}

@supports not (clip-path: inset(0 0 0 0)) {
  .vt-w {
    overflow: hidden;
    vertical-align: top;
  }
}

@supports (clip-path: inset(0 0 0 0)) {
  .vt-w { clip-path: inset(0 0 0 0); }
}

.vt-w__in {
  display: inline-block;
}

/* ── 18c. The page's own entrances, below the hero ─────────────
   A block that has not been reached yet is held back by this marker,
   which goes on before the first paint and comes off the moment the
   block starts to build. The marker never comes back: a block that has
   been seen is never taken away again.

   It is a plain rule and not an animation, because an animation that
   holds an element at zero opacity only holds it while it runs — and a
   block that was met late would be seen, then taken away, then seen
   again. That is the one thing a page like this must not do. */

.vt-reveal {
  opacity: 0;
}

/* ── 19. Responsive ──────────────────────────────────────────── */

/* Tablet: the hero keeps one screen. The band takes what the head row
   leaves, capped at 62vw so it stays wider than the photograph's 1.61
   ratio — then the crop is vertical only and the car is never cut. */
/* Tablet and phone: the head stacks above the band and the photograph
   takes the rest of the first screen. */
@media (max-width: 1023px) {
  .hero--band .vt-hero__head {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--s-5);
  }

  .hero--band .vt-hero__head > .hero__text,
  .hero--band .vt-hero__head > .vt-hero__side { grid-column: 1 / -1; }

  /* ── The band is 16:9 everywhere, or the film's own burnt-in texts get
     cut ──────────────────────────────────────────────────────────────
     The film is 1280×720. Its wordmark ("Shenghao Automobile", with the
     blue H) is burnt in at the top left, and a scene caption ("Coating
     Factory") at the bottom right. A band narrower or wider than 16:9
     makes `object-fit: cover` crop the frame, and the two burnt-in texts
     are 1089 px apart — one crop window can hold only one of them.

     So the fix is not to choose between them but to **stop cropping**:
     the band takes the film's own 16:9 and the whole frame is shown,
     both texts whole.

     ⚠️ This used to live in the ≤1023px block only (phones were fixed on
     2026-11-22; the desktop band was left at 2.922:1 and kept cropping
     the wordmark away — 老大 2026-11-24 在真机上看到的就是那个版本)。
     It is now the **base** rule for every size (see `.hero--band
     .hero__media`); the phone block no longer needs to repeat it. */
}

@media (max-width: 900px) {
  .vt-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Phone: the floating card would cover a third of the photograph, so it
   goes; the same point is made in the head row instead. */
@media (max-width: 639px) {
  .hero--band .ly-float { display: none; }
}

@media (max-width: 600px) {
  .vt-plant-photos,
  .vt-show-photos { grid-template-columns: 1fr; }

  .vt-logo img { height: 24px; }
  .vt-logo--plate img { height: 26px; }
}

/* ── 20. Landscape: a wide, short screen ─────────────────────────
   A phone turned sideways. The words and the film used to stand side by
   side — the words on the left, the film on the right — because a short
   screen cannot hold them one above the other.

   That read badly, and the reader said so: side by side, the words sit in
   a narrow column with the film floating beside them, and neither looks
   like the main thing. So they stack now: **words on top, film underneath**,
   the same order the portrait phone and the desktop already use. One
   arrangement across the whole site instead of two.

   The film keeps its own 16:9 and its full width. A shorter band would be
   wider than the film is, and cover would then crop the film top and
   bottom — taking the burnt-in wordmark at the top with it (see §17b for
   why the full frame has to stay whole). So the band is as tall as 16:9
   wants it, and the hero grows past the screen instead of squeezing the
   picture into a strip. The portrait phone already does this.

   The headline still takes its size from the height, because that is what
   is short here. */

@media (orientation: landscape) and (max-height: 600px) {
  main > .hero.hero--band {
    height: auto;
    min-height: 100svh;
  }

  .hero--band { --ly-h1: clamp(28px, 8vh, 46px); }

  /* one column, two rows: words, then film */
  .hero--band .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: var(--s-5);
    align-items: start;
  }

  .hero--band .vt-hero__head {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--s-5);
    align-content: start;
  }

  /* the head's own two columns (words, then lead and buttons) would be too
     narrow side by side here, so they stack */
  .hero--band .vt-hero__head > .hero__text,
  .hero--band .vt-hero__head > .vt-hero__side { grid-column: 1 / -1; }

  .hero--band .hero__media {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    width: 100%;
    /* 16:9, so the whole frame of the film shows here too — see the
       phone rule above for why the ratio is the film's own. */
    aspect-ratio: 16 / 9;
    min-height: 0;
    margin-bottom: 0;
  }

  /* the floating card would cover a third of the photograph */
  .hero--band .ly-float { display: none; }

  /* The rule and the replay control still share one line here. They used to
     because the words had to fit in a narrow column beside the film; now the
     words have the full width, but keeping them together is still the
     tighter read — and the call to action has to stay above the fold. */
  .hero--band .hero__rule {
    display: inline-block;
    vertical-align: middle;
    margin: var(--s-3) .5em 0 0;
  }

  .hero--band .vt-replay {
    vertical-align: middle;
    margin-top: var(--s-3);
  }
}

/* ── 21. A section is as tall as what is in it ─────────────────
   The kit holds every section to one or two whole screens and leaves
   its content at the top, so a section with little in it ends in a
   screen of empty paper: on a tablet in portrait that was 60% of the
   page, and the white gap between two sections was several times the
   gap inside one — the reader crossed a screen of nothing between one
   thought and the next, and the next section had already built itself
   before it came into view, so it looked as if it had no entrance at
   all.

   The height is the content's own height now, and the kit's --padt and
   --padb are the only rhythm left. Two keep their height: the hero,
   because the first screen is the screen, and the process section,
   whose pinned-chapters moment holds on screen and needs a height to
   hold. The footer lets itself go too: its closing call to action is
   as tall as it needs to be. */
html body main > :is(section, .section):not(.hero, .section--hero):not([data-moment]),
html body footer.closing {
  height: auto;
  min-height: 0;
}

/* ── 9. CMS 产品摘要块（ADR-027 §7）─────────────────────────────
   这个块的内容来自 CMS（产品线 / 分类 / 件数 / 数据状态），
   样式**只做三件事**：把它和上一段（交付状态）分开、给说明句
   一个安静的层级、把折叠明细的箭头摆正。
   ⛔ 不改任何既有类的样式 —— 既有版面是老大手改的地盘。 */

.vt-cms-summary {
  margin-top: var(--padb);
  padding-top: var(--s-5);
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent);
}

.vt-cms-summary__note {
  margin: 0 0 var(--s-2);
  color: var(--p-muted);
  font-size: 0.95rem;
}

.vt-cms-summary__lines,
.vt-cms-summary__categories {
  margin-top: 0;
}

.vt-cms-summary__state {
  margin: 0;
  color: var(--p-muted);
}

.vt-cms-summary__breakdown { margin-top: var(--s-3); }
.vt-cms-summary__breakdown > summary {
  cursor: pointer;
  color: var(--p-muted);
  font-size: 0.95rem;
}
.vt-cms-summary__breakdown[open] > summary { margin-bottom: var(--s-2); }

/* ── 10. 单件件目区（2026-11-25 竞品学习落地）────────────────────
   十一件单件替换件：白底技术图 + 「替换件」标签 + 品名 + 适配 + 我方件号。

   栅格**自己定**，不借用 kit 的 span-4 规则：
     · kit 在 1024–1279 会把「带图卡」的 span-4 改两栏（面板太窄）；
     · kit 在 <1024 对 span-4 没有任何规则 ⇒ 卡片会铺满整行。
   ⇒ 这里直接给 .vt-items > .card 定列宽：桌面三栏 / 平板两栏 / 手机一栏。 */

.vt-items {
  row-gap: var(--s-7);
}

@media (min-width: 1024px) {
  .vt-items > .card { grid-column: auto / span 4; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .vt-items > .card { grid-column: auto / span 6; }
}

/* 「替换件 / Replacement part」标签：件目的类别，不是标题的一部分。
   ⚠ 权重必须压过 kit 的 `.card > p`（0,1,1）—— 少一级就会被它接管字号/行高。 */
.vt-items .vt-part__tag {
  margin: var(--s-4) 0 0;
  font-size: var(--t-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--p-muted);
}

.vt-items .card__points .vt-part__sku {
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--p-ink);
  font-weight: 500;
}

/* 区块脚：声明句在左，产品册入口在右 */
.vt-items__foot {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent);
  display: flex;
  gap: var(--s-6);
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.vt-items__note {
  margin: 0;
  max-width: 68ch;
  color: var(--p-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ══ 14. Surface finishing ═══════════════════════════════════════════
   The six-stage finishing chain, shown with the photographs that were
   made on the line. The chain is the thing a distributor asks about
   second and a restorer asks about first: what state is the part in,
   and what still has to happen to it.

   The stage list is a numbered chain, so the index is set the way the
   process section sets its own step numbers — numerals in the muted
   ink beside the title, never in a badge that would need translating. */

.section-head .vt-fin-eyebrow {
  margin: 0;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--p-muted);
}

/* Chinese sets its own rhythm: no letter-spacing, no capitals. */
:root[lang="zh-CN"] .section-head .vt-fin-eyebrow {
  letter-spacing: .02em;
  text-transform: none;
}

.vt-fin-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin-bottom: var(--s-8);
}

.vt-fin-model {
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 14%, transparent);
  padding-top: var(--s-4);
}

.vt-fin-model__code {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--t-card);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--p-ink);
}

.vt-fin-model__cap {
  margin: var(--s-2) 0 0;
  font-size: var(--t-small);
  color: var(--p-muted);
}

.vt-fin-model figure {
  margin: var(--s-4) 0 0;
  height: 190px;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--p-surface);
}

.vt-fin-model img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vt-fin-stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-7) var(--gutter);
}

.vt-fin-stage__head {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
}

.vt-fin-stage__no {
  font-family: var(--font-display);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--p-accent);
  white-space: nowrap;
}

.vt-fin-stage h3 {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: var(--t-body);
  line-height: 1.35;
  color: var(--p-ink);
}

.vt-fin-stage p {
  margin: var(--s-2) 0 0;
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--p-muted);
  max-width: 40ch;
}

.vt-fin-stage figure {
  margin: var(--s-4) 0 0;
  height: 210px;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--p-surface);
}

.vt-fin-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The specification strip: the numbers a customer checks against the
   paperwork that arrives with the part. */
.vt-fin-spec {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 12%, transparent);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gutter);
}

.vt-fin-spec dt {
  font-size: var(--t-small);
  color: var(--p-muted);
}

.vt-fin-spec dd {
  margin: var(--s-1) 0 0;
  font-family: var(--font-display);
  font-size: var(--t-card);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--p-ink);
}

.vt-fin-spec .vt-fin-spec__note {
  font-family: var(--font-text);
  font-size: var(--t-small);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--p-muted);
  display: block;
  margin-top: var(--s-1);
}

@media (max-width: 1023px) {
  .vt-fin-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-fin-spec { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-5); }
}

@media (max-width: 639px) {
  .section-head .vt-fin-eyebrow {
  margin: 0;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--p-muted);
}

/* Chinese sets its own rhythm: no letter-spacing, no capitals. */
:root[lang="zh-CN"] .section-head .vt-fin-eyebrow {
  letter-spacing: .02em;
  text-transform: none;
}

.vt-fin-models { grid-template-columns: 1fr; }
  .vt-fin-stages { grid-template-columns: 1fr; gap: var(--s-6); }
  .vt-fin-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-fin-model figure { height: 210px; }
}

/* ── 15. 代工实拍（#capability）────────────────────────────────────
   这一段原本全是文字：标题问「我们能承接什么」，下面四张卡在说，
   但一张现场照片都没有 —— 主张没有画面兑现。三张实拍按「冲孔翻边 →
   内腔结构 → 手工喷底漆」排，正好对应那三张卡的顺序。 */

.vt-cap-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: var(--s-7);
}

.vt-cap-gallery figure { margin: 0; }

.vt-cap-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  border-radius: var(--r-md);
  background: var(--p-surface);
}

.vt-cap-gallery figcaption {
  margin-top: var(--s-2);
  font-size: var(--t-small);
  color: var(--p-muted);
}

/* ── 16. 成品大图（#finishing 工序 05）─────────────────────────────
   工序 05 是唯一一张成品色板件总成，它在整段里是视觉锚点，
   不该和旁边的工序平级三张小图。跨两列 + 更高，让它自己成立。 */

.vt-fin-stage--wide { grid-column: span 2; }
.vt-fin-stage--wide figure { height: 260px; }

/* 厂区那两张换成产线与冲压件的实拍后，横向构图在 168px 里认不出来，
   抬到 224px。 */
.vt-plant-photos .vt-photo { height: 224px; }

@media (max-width: 1023px) {
  .vt-cap-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .vt-cap-gallery { grid-template-columns: 1fr; gap: var(--s-5); }
  .vt-fin-stage--wide { grid-column: auto; }
  .vt-fin-stage--wide figure { height: 210px; }
  .vt-plant-photos .vt-photo { height: 180px; }
}
