/* ==========================================================================
   Chinhan Tech — phones and tablets (max-width 1100px, where the header switches to its menu; tablets were
   added 2026-10-31: "跟着mobile的来调"). Loaded on every page after cht-forge.css; nothing here touches the desktop
   layout. The block at the end gives tablets (768–1100) their own sizes and puts cards two or three to a row.
   One system for every section (user, 2026-10-30: "东西align 中间，字体同等比例缩小，padding 要一样"):
     --m-x    side gutter                     24px
     --m-sec  section padding, top and bottom 88px
     --m-e2t  eyebrow → title                 20px
     --m-t2d  title → description or content  20px  (user, 2026-10-31: one distance under every title)
     --m-d2c  description → content           44px  (cards, grids, forms); buttons sit 44px under what precedes them
   Type, one scale: hero titles 40, section titles 34, card / item titles 22, leads 16, body 15, labels 10–11.
   Heads, leads, buttons and card text are centred; form fields stay left-aligned.
   Rules start with :root so they win over the page styles that come later in the document.
   ========================================================================== */
/* phone-only parts of the banner: the logo above the tagline; the <picture> wrapper must not change the desktop layout */
/* (.chtc-slide in the selector: the banner's own `.chtc-slide img { display: block }` must not show the logo on desktop) */
#cht-hero-carousel .chtc-slide .chtc-mlogo, #cht-hero-carousel .chtc-slide .chtc-mbtn { display: none; }
#cht-hero-carousel .chtc-art picture { display: contents; }

@media (max-width: 1100px) {
  :root {
    --m-hero-bg: #000;   /* the banners are pure black at their top edge, so band and photo meet without a line */
    --fg-gutter: 24px;
    --m-x: 24px;
    --m-sec: 88px;
    --m-e2t: 20px;
    --m-t2d: 20px;
    --m-d2c: 44px;
    --m-h1: 40px;
    --m-h2: 34px;
    --m-h3: 22px;
    --m-lead: 16px;
    --m-body: 15px;
  }

  /* ---------- shared type ---------- */
  :root .fx-title { margin: 0; font-size: var(--m-h2); line-height: 1.1; letter-spacing: 0.02em; }   /* margin 0: Astra's 24px h2 margin made some gaps 44 or 68 */
  :root .fg .fx-eyebrow { justify-content: center; font-size: 10px; letter-spacing: 0.3em; }
  :root .fx-lead { font-size: var(--m-lead); }
  :root .fg-btn { min-width: 0; height: 50px; padding: 0 26px; font-size: 10.5px; letter-spacing: 0.26em; }
  :root .fx-link { font-size: 10.5px; letter-spacing: 0.26em; }
  /* no word alone on a line (user, 2026-10-31: "不要有一个字在一行"): titles share their words out evenly over their
     lines, text keeps at least two words on its last line */
  :root h1, :root h2, :root h3, :root h4 { text-wrap: balance; }
  :root body { text-wrap: pretty; }   /* inherited: paragraphs, buttons, card labels alike */
  /* short labels of two or three lines share their words out evenly too */
  :root .fg .ab-qa button, :root .fg .br-tile__foot span, :root .fg .bp-card__foot span, :root .fg .pc-card__foot span, :root .fg .bp-facts b, :root .fg .pp dd { text-wrap: balance; }

  /* ---------- homepage: banner — the first screen (user's reference: a phone hero with logo, title and button on a
     plain dark ground, the photo under them). A row of slides the visitor swipes left and right (native scroll snap,
     no motion of its own); each slide: brand logo, tagline and button, centred in the space above the whole photo (the
     logo-free version, hero-banners/new/mobile/, made by Codex); short lines under it show which slide is in view ---------- */
  :root #cht-hero-carousel { display: flex; flex-direction: column; height: auto; min-height: 100svh; background: var(--m-hero-bg); }   /* at least one screen; a short phone scrolls a little for the products */
  :root #cht-hero-carousel::after { display: none; }
  :root #cht-hero-carousel .chtc-track { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  :root #cht-hero-carousel .chtc-track::-webkit-scrollbar { display: none; }
  :root #cht-hero-carousel .chtc-slide { position: relative; inset: auto; flex: 0 0 100%; opacity: 1; visibility: visible; transition: none; scroll-snap-align: start; scroll-snap-stop: always; container-type: normal; }
  :root #cht-hero-carousel .chtc-art, :root #cht-hero-carousel .is-active .chtc-art { position: static; width: 100%; height: 100%; aspect-ratio: auto; transform: none; transition: none; display: flex; flex-direction: column; container-type: normal; }
  /* the square (1:1) phone photo, subject complete with dark headroom so a short frame only trims empty sky, always full width (never shrunk into a box); the copy takes the room above it */
  :root #cht-hero-carousel .chtc-slide .chtc-art .chtc-scene { order: 2; flex: none; width: 100%; height: 100vw; min-height: 0; aspect-ratio: auto; object-fit: cover; object-position: 50% 100%; transform: none;
    /* the photo's edges dissolve into the black: no line where the lit ground ends */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%), linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%), linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%); mask-composite: intersect; }
  :root #cht-hero-carousel .chtc-copy, :root #cht-hero-carousel .chtc-copy--baked { position: static; order: 1; flex: 1 1 auto; left: auto; top: auto; width: auto; display: grid; align-content: center; justify-items: center; gap: var(--m-t2d); padding: 76px var(--m-x) 0; text-align: center; }
  :root #cht-hero-carousel .chtc-mbtn { display: inline-flex; margin-top: calc(var(--m-d2c) - var(--m-t2d) - 8px); }
  :root #cht-hero-carousel .chtc-slide .chtc-mlogo { display: block; width: auto; max-width: 200px; height: 38px; object-fit: contain; transform: none; transition: none; }
  :root #cht-hero-carousel .chtc-slide .chtc-mlogo--tall { height: 54px; }
  :root #cht-hero-carousel .chtc-copy--baked .chtc-tagline, :root #cht-hero-carousel .chtc-tagline { margin: 0; font-size: var(--m-h2); line-height: 1.08; }
  :root #cht-hero-carousel .chtc-control { display: none; }
  :root #cht-hero-carousel .chtc-mdots { display: flex; justify-content: center; gap: 8px; padding: 10px 0 20px; }
  :root #cht-hero-carousel .chtc-mdots button { width: 26px; height: 14px; margin: 0; padding: 0; border: 0; border-radius: 0; background: linear-gradient(rgba(243, 242, 239, 0.28), rgba(243, 242, 239, 0.28)) center / 100% 2px no-repeat; box-shadow: none; cursor: pointer; }
  :root #cht-hero-carousel .chtc-mdots button.is-on { background-image: linear-gradient(#c07a4c, #c07a4c); }

  /* ---------- homepage: opening ---------- */
  :root .fx-about { padding: 0 var(--m-x) 4vh; }
  :root .fx-about .fx-eyebrow { margin-bottom: var(--m-e2t); }
  :root .fg .fx-about__title { max-width: none; white-space: normal; font-size: var(--m-h2); line-height: 1.12; letter-spacing: -0.01em; }
  :root .fg .fx-about__text { margin-top: var(--m-t2d); font-size: var(--m-body); line-height: 1.7; text-wrap: pretty; }
  :root .fx-hero__top { left: var(--m-x); right: var(--m-x); top: calc(76px + 6vh); gap: var(--m-e2t); justify-items: center; text-align: center; }
  :root .fx-hero__title { font-size: var(--m-h2); }
  :root .fx-open__rail { left: 0; width: 100%; bottom: auto; top: 50%; --fg-logo-k: 0.26; }
  :root .fx-open__side { left: var(--m-x); right: var(--m-x); width: auto; top: auto; bottom: 9vh; gap: 24px; justify-items: center; text-align: center; }
  :root .fx-open__side p { max-width: 30em; font-size: var(--m-body); }

  /* ---------- homepage: why (the chapters stack) ---------- */
  :root .fg .fx-why__pin { padding: var(--m-sec) var(--m-x); gap: var(--m-t2d); }
  :root .fx-why__head { text-align: center; }
  :root .fx-why__head > div { gap: var(--m-e2t); justify-items: center; }
  :root .fx-why__title { font-size: var(--m-h2); }
  :root .fg .fx-why__track { gap: 56px; }
  :root .fx-card { gap: 24px; }
  :root .fx-card__body { justify-items: center; text-align: center; gap: 14px; }
  :root .fx-card__title { font-size: var(--m-h3); }
  :root .fx-card__text { font-size: var(--m-body); }

  /* ---------- homepage: statement (a block of its own, words over the photo) ---------- */
  :root .fx-state { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: var(--m-d2c); padding: var(--m-sec) var(--m-x); box-sizing: border-box; }
  :root .fx-state__shade { background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.62)); }
  :root .fx-state__copy { position: relative; left: auto; top: auto; transform: none; width: auto; gap: var(--m-t2d); justify-items: center; text-align: center; }
  :root .fx-state__title { font-size: 30px; line-height: 1.16; }
  :root .fx-state__sub { font-size: var(--m-lead); }
  :root .fx-state__foot { position: relative; left: auto; right: auto; bottom: auto; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
  :root .fx-state__foot p { font-size: var(--m-body); }

  /* ---------- homepage: ordinary sound → ends here ---------- */
  :root .fx-wave__before, :root .fx-wave__end { font-size: 30px; }
  :root .fx-wave__after { padding: 0 var(--m-x); }
  :root .fx-wave__cap { font-size: var(--m-body); }

  /* ---------- homepage: dealer + store tiles, one under the other ---------- */
  :root .fx-duo { grid-template-columns: minmax(0, 1fr); }
  :root .fx-tile { height: 78svh; min-height: 520px; }
  :root .fx-tile__copy { left: var(--m-x); right: var(--m-x); bottom: 56px; gap: var(--m-t2d); justify-items: center; text-align: center; }
  :root .fx-tile__title { font-size: var(--m-h2); }
  :root .fx-tile__copy p:not(.fx-eyebrow) { font-size: var(--m-body); }
  :root .fx-tile__copy .fg-btn { margin-top: calc(var(--m-d2c) - var(--m-t2d)); }

  /* ---------- the close (Become a dealer) on every page: as tall as its content (no empty black under the button);
     the car, darkened, sits right behind the title (user, 2026-10-31: "背景车调暗一点直接放在title 后面") ---------- */
  :root .fg-close { height: auto; min-height: 0; }
  :root .fg-close::after { display: none; }
  :root .fg-close__media { position: absolute; inset: 0 0 auto; height: calc(100vw * 0.8); }
  :root .fg-close__img { height: 100%; object-position: 50% 60%; filter: sepia(0.3) saturate(0.8) brightness(0.42);
    -webkit-mask: linear-gradient(to bottom, transparent, #000 18%, #000 62%, transparent); mask: linear-gradient(to bottom, transparent, #000 18%, #000 62%, transparent); }
  :root .fg-close__copy { position: relative; top: auto; left: auto; right: auto; padding: 104px var(--m-x) var(--m-sec); gap: var(--m-t2d); }
  :root .fg-close__title { font-size: var(--m-h2); margin: 0; }   /* 34, not 40: "Become a dealer" fits one line (no word alone) */
  :root .fg-close__copy .fg-btn { margin-top: calc(var(--m-d2c) - var(--m-t2d)); }

  /* ---------- the menu on every page: a plain list in modest type (current page in copper), the dealer button under it ---------- */
  :root #cht-header .chth-menu, :root #cht-header .chth-menu-background { background: #0a0a0a; }
  :root #cht-header .chth-menu-orbit, :root #cht-header .chth-menu-watermark, :root #cht-header .chth-menu-top,
  :root #cht-header .chth-menu-number, :root #cht-header .chth-menu-arrow { display: none; }
  :root #cht-header .chth-menu-inner { padding: 96px 0 28px; }
  :root #cht-header .chth-menu-nav { flex: none; justify-content: flex-start; border-top: 0; }   /* the header's own line is the top line (no second one under it) */
  :root #cht-header .chth-menu-link, :root #cht-header .chth-menu-link:hover { grid-template-columns: minmax(0, 1fr); padding: 15px 0; }
  :root #cht-header .chth-menu-text { font-size: 20px; font-weight: 400; line-height: 1.2; letter-spacing: .01em; }
  :root #cht-header .chth-menu-link.is-current .chth-menu-text { color: #B06C41; }
  /* Brands opens its list in place (user, 2026-10-31: "mobile 的menu 没有brand 的drop down"): "All brands", then the
     brands two to a row; the ones without a page yet are dimmed and not links, as in the header's dropdown */
  :root #cht-header .chth-menu-drop { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; width: 100%; margin: 0; padding: 15px 0;
    border: 0; border-bottom: 1px solid rgba(242, 241, 237, .08); border-radius: 0; background: transparent; box-shadow: none; color: #F2F1ED; font: inherit; text-align: left; cursor: pointer; }
  :root #cht-header .chth-menu-drop[aria-expanded="true"] { border-bottom-color: transparent; }
  :root #cht-header .chth-menu-drop.is-current .chth-menu-text { color: #B06C41; }
  :root #cht-header .chth-menu-caret { width: 9px; height: 9px; margin: 0 6px 5px 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
  :root #cht-header .chth-menu-drop[aria-expanded="true"] .chth-menu-caret { margin-bottom: -3px; transform: rotate(-135deg); }
  :root #cht-header .chth-menu-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; padding: 0 0 16px; list-style: none; border-bottom: 1px solid rgba(242, 241, 237, .08); }
  :root #cht-header .chth-menu-sub[hidden] { display: none; }
  :root #cht-header .chth-menu-sub li { margin: 0; padding: 0; }
  :root #cht-header .chth-menu-sub .chth-menu-sub__all { grid-column: 1 / -1; }
  :root #cht-header .chth-menu-brand { display: block; padding: 8px 0; color: rgba(242, 241, 237, .85) !important; font-size: 15px; line-height: 1.3; text-decoration: none !important; }
  :root #cht-header .chth-menu-brand.is-off { color: rgba(242, 241, 237, .36) !important; }
  :root #cht-header .chth-menu-brand--all { padding: 4px 0 10px; color: #B06C41 !important; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
  /* the open list can make the menu taller than the screen: it scrolls then */
  :root #cht-header .chth-menu { overflow-y: auto; overscroll-behavior: contain; }
  :root #cht-header .chth-menu-inner { height: auto; min-height: 100%; box-sizing: border-box; }
  /* ...under a solid header bar (logo and close), so the list never runs behind them */
  :root #cht-header.chth-menu-open .chth-shell { background: #0a0a0a; box-shadow: 0 0 0 100vmax #0a0a0a; clip-path: inset(0 -100vmax); }
  :root #cht-header .chth-menu-bottom { flex: 1; flex-direction: column; align-items: stretch; gap: 0; padding-top: 32px; border-top: 0; }   /* column on tablets too (the header's own tablet rule lays it in a row) */
  :root #cht-header .chth-menu-dealer { justify-content: center; gap: 12px; height: 52px; background: #B06C41; color: #fff !important; font-size: 12px; letter-spacing: 2px; }
  :root #cht-header .chth-menu-social { margin-top: auto; padding-top: 32px; gap: 10px 24px; }   /* padding: room under the button when the open list fills the screen */
  :root #cht-header .chth-menu-social a { font-size: 11px; }

  /* ---------- footer on every page: one centred column ---------- */
  /* min-width 0: the giant name must not widen the column (the script then fits it to the real width) */
  :root .fg-foot__inner { min-width: 0; width: 100%; box-sizing: border-box; padding: var(--m-sec) var(--m-x) 0; }
  :root .fg-foot__top { gap: 56px; padding-bottom: 56px; text-align: center; }
  :root .fg-foot__top > :first-child { display: grid; justify-items: center; }
  :root .fg-foot__logo img { width: 170px; }
  :root .fg .fg-foot__lead { margin-top: var(--m-t2d); font-size: var(--m-body); }
  :root .fg-foot__facts { justify-content: center; gap: 40px; margin-top: 32px; }
  :root .fg-foot__facts dd { justify-content: center; font-size: var(--m-body); }
  :root .fg-foot__nav { gap: 40px; }
  :root .fg .fg-foot__label { padding-bottom: 16px; text-align: center; }
  :root .fg-foot__link { justify-content: center; padding: 15px 0; font-size: var(--m-body); }
  :root .fg-foot__arw { display: none; }
  /* the name: a plain outline, no copper light passing over it (user, 2026-10-31: "footer 的 mobile 和tablet 直接变成outline") */
  :root .fg .fg-foot__mark { max-width: 100%; -webkit-text-stroke: 1px rgba(243, 242, 239, 0.3); }
  :root .fg .fg-foot__mark::before, :root .fg .fg-foot__mark::after { display: none; }
  :root .fg-foot__base { align-items: center; gap: 14px; text-align: center; font-size: 9px; letter-spacing: 0.22em; }

  /* =======================================================================
     no motion on phones (user, 2026-10-30: "手机应该不要那些animation 了吧"). cht-forge.js and the page scripts skip
     every animation below 768px; here the scroll scenes are laid out in their finished state as plain blocks.
     ======================================================================= */
  :root .cht-loader { display: none; }
  /* opening: the about text, then the photo with its headline, logos and button, one under the other */
  :root .fx-open { margin-top: 0; pointer-events: auto; }
  :root .fx-open__run { display: none; }
  /* rows: 1 the about text; 2–4 the photo block (photo and shade behind all three rows; in front, one after another:
     eyebrow + title, the logos, the line + button), spaced like every other section */
  :root .fx-open__stage { position: relative; height: auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; overflow: hidden; background: var(--fg-bg); pointer-events: auto; }
  :root .fx-about { position: relative; inset: auto; grid-area: 1 / 1; grid-template-rows: none; padding: var(--m-sec) var(--m-x); }
  :root .fx-about .fx-eyebrow, :root .fg .fx-about__title, :root .fg .fx-about__text { grid-row: auto; }
  :root .fx-hero__media, :root .fx-hero__shade { position: relative; inset: auto; grid-area: 2 / 1 / 5 / 2; }
  :root .fx-hero__media { clip-path: none; }
  :root .fx-hero__media img { transform: none; }
  :root .fx-hero__shade { opacity: 1; background: linear-gradient(180deg, var(--fg-bg) 0%, rgba(10, 10, 10, 0) 16%, rgba(10, 10, 10, 0) 84%, var(--fg-bg) 100%), linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)); }
  :root .fx-hero__top, :root .fx-open__rail, :root .fx-open__side { position: relative; align-self: start; left: auto; right: auto; top: auto; bottom: auto; }
  :root .fx-hero__top { grid-area: 2 / 1; padding: var(--m-sec) var(--m-x) 0; }
  /* the long eyebrow wraps to two lines here: its copper line goes above it, both centred */
  :root .fg .fx-hero__top .fx-eyebrow { flex-direction: column; gap: 14px; line-height: 1.8; text-align: center; }
  :root .fx-open__rail { grid-area: 3 / 1; width: 100%; margin-top: var(--m-t2d); }
  :root .fx-open__side { grid-area: 4 / 1; gap: 24px; padding: var(--m-d2c) var(--m-x) var(--m-sec); }
  /* the brand logos sit still, wrapped and centred, all at one height */
  :root .fg-rail { -webkit-mask-image: none; mask-image: none; cursor: auto; }
  :root .fg-rail__track { width: auto; }
  :root .fg .fg-rail__list { flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 26px; padding: 0 var(--m-x); }
  :root .fg .fg-rail__list img { width: auto; height: 21px; max-width: 98px; object-fit: contain; opacity: 0.85; }   /* three on the first row, two on the second */
  /* statement: its words in full colour */
  :root .fx-state__title .fx-w { color: var(--fg-ink); }
  /* ordinary sound → ends here: hidden on phones (user, 2026-10-31). The section is a story told by its motion
     ("Ordinary sound" becoming a waveform, then "Ends here"); without motion "Ends here" alone reads as nothing */
  :root .fx-wave { display: none; }

  /* =======================================================================
     inner pages — shared patterns
     ======================================================================= */
  /* the content column */
  :root .fg .ab-wrap, :root .fg .ct-wrap, :root .fg .br-wrap, :root .fg .bp-wrap, :root .fg .pc-wrap, :root .fg .dl-wrap, :root .fg .cr__wrap { width: calc(100% - 2 * var(--m-x)); }

  /* heads: eyebrow, title, lead in one centred stack */
  :root .fg .ab-head, :root .fg .ct-head, :root .fg .br-head, :root .fg .bp-head, :root .fg .pc-head, :root .fg .dl-head, :root .fg .cr__head,
  :root .fg .bp-hero__copy .bp-wrap { gap: var(--m-t2d); justify-items: center; text-align: center; }
  :root .fg .ab-lead, :root .fg .ct-lead, :root .fg .br-lead, :root .fg .bp-lead, :root .fg .pc-lead, :root .fg .dl-lead, :root .fg .cr__lead { max-width: none; font-size: var(--m-lead); line-height: 1.7; text-align: center; }

  /* title | lead splits become one centred column: title → lead, then the content */
  :root .fg .ab-split, :root .fg .ct-split, :root .fg .br-all__top, :root .fg .bp-range__top, :root .fg .bp-about__grid, :root .fg .dl-split { grid-template-columns: minmax(0, 1fr); gap: var(--m-d2c); }
  :root .fg .ab-split > *, :root .fg .ct-split > *, :root .fg .br-all__top > *, :root .fg .bp-range__top > *, :root .fg .bp-about__grid > *, :root .fg .dl-split > *,
  :root .fg .ab-split > :last-child, :root .fg .ct-split > :last-child, :root .fg .br-all__top > :last-child, :root .fg .bp-range__top > :last-child, :root .fg .bp-about__grid > :last-child, :root .fg .dl-split > :last-child { grid-column: 1; }
  :root .fg .ab-top, :root .fg .ct-split, :root .fg .br-all__top, :root .fg .bp-range__top, :root .fg .dl-split { gap: var(--m-t2d); margin-bottom: var(--m-d2c); justify-items: center; text-align: center; }

  /* openings, as the homepage banner: the words on plain black at the top (centred in what the photo leaves),
     the photo under them as a square fading in and out of the black; one screen together */
  :root .fg .ab-hero .fx-title, :root .fg .ct-hero .fx-title, :root .fg .br-hero .fx-title, :root .fg .bp-hero .fx-title, :root .fg .pc-hero .fx-title, :root .fg .dl-hero .fx-title { font-size: var(--m-h1); }
  :root .fg .ab-hero, :root .fg .ct-hero, :root .fg .br-hero, :root .fg .bp-hero, :root .fg .pc-hero, :root .fg .dl-hero {
    display: flex; flex-direction: column; height: auto; min-height: 100svh; background: var(--fg-bg); }
  :root .fg .ab-hero__shade, :root .fg .ct-hero::after, :root .fg .br-hero::after, :root .fg .bp-hero::after, :root .fg .pc-hero::after, :root .fg .dl-hero::after { display: none; }
  :root .fg .ab-hero__copy, :root .fg .ct-hero__copy, :root .fg .br-hero__copy, :root .fg .bp-hero__copy, :root .fg .pc-hero__copy, :root .fg .dl-hero__copy {
    position: relative; inset: auto; order: 1; flex: 1 0 auto; display: grid; align-content: center; padding: calc(72px + 32px) 0 var(--m-t2d); }
  :root .fg .ab-hero__media, :root .fg .ct-hero__media, :root .fg .br-hero__media, :root .fg .bp-hero__media, :root .fg .pc-hero__media, :root .fg .dl-hero__media {
    position: relative; inset: auto; order: 2; flex: none; height: 100vw; clip-path: none; transform: none; }
  :root .fg .ab-hero__media img, :root .fg .ct-hero__media img, :root .fg .br-hero__media img, :root .fg .bp-hero__media img, :root .fg .pc-hero__media img, :root .fg .dl-hero__media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none;
    -webkit-mask: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent); mask: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent); }
  :root .fg .bp-btns, :root .fg .pc-btns { justify-content: center; }
  :root .fg .bp-btns { margin-top: calc(var(--m-d2c) - var(--m-t2d)); }
  :root .fg .bp-btns .fg-btn { min-width: 220px; justify-content: center; }

  /* =======================================================================
     About
     ======================================================================= */
  :root .fg .ab-who, :root .fg .ab-action, :root .fg .ab-mvv, :root .fg .ab-recog, :root .fg .ab-faq { padding: var(--m-sec) 0; }
  :root .fg .ab-who__media, :root .fg .ab-recog__media { aspect-ratio: 4 / 3; }
  :root .fg .ab-who__body, :root .fg .ab-recog__body { gap: var(--m-t2d); justify-items: center; text-align: center; }
  :root .fg .ab-who__text { gap: 16px; }
  :root .fg .ab-who__text p { max-width: none; font-size: var(--m-body); text-align: center; }
  :root .fg .ab-who__text p:first-child { font-size: var(--m-lead); }
  :root .fg .ab-say { min-height: 100svh; padding: var(--m-sec) 0; }
  :root .fg .ab-say__text { font-size: 26px; line-height: 1.3; text-align: center; }
  :root .fg .ab-pv { height: 440px; padding: 28px 24px 30px; text-align: center; }
  :root .fg .ab-pv__label { justify-content: center; }
  :root .fg .ab-pv__foot { justify-items: center; gap: 12px; }
  :root .fg .ab-pv h3 { font-size: var(--m-h3); }
  :root .fg .ab-pv p { min-height: 0; font-size: var(--m-body); }
  /* the films slide sideways, one and a half on screen */
  :root .fg .ab-films { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; gap: 14px; overflow-x: auto; margin: 0 calc(-1 * var(--m-x)); padding: 0 var(--m-x) 6px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--m-x); scrollbar-width: none; }
  :root .fg .ab-films::-webkit-scrollbar { display: none; }
  :root .fg .ab-film { scroll-snap-align: start; gap: 12px; text-align: center; }
  :root .fg .ab-film h3 { min-height: 0; margin: 0; font-size: 18px; }
  :root .fg .ab-awards li { grid-template-columns: minmax(0, 1fr); gap: 16px; justify-items: center; padding: 32px 0; text-align: center; }
  :root .fg .ab-awards b { font-size: 44px; }
  :root .fg .ab-awards h3 { margin: 0 0 10px; font-size: var(--m-h3); }
  :root .fg .ab-awards p { font-size: var(--m-body); }
  :root .fg .ab-faq__side { gap: var(--m-d2c); align-items: center; text-align: center; }
  :root .fg .ab-faq__card { justify-items: center; width: 100%; box-sizing: border-box; padding: 28px 22px; text-align: center; }
  :root .fg .ab-faq__card h3 { font-size: var(--m-h3); }
  :root .fg .ab-faq__row { flex-direction: column; justify-content: center; }
  :root .fg .ab-faq__tel { justify-items: center; }
  :root .fg .ab-qa button { grid-template-columns: 40px minmax(0, 1fr) 40px; padding: 22px 0; font-size: 17px; }
  :root .fg .ab-qa__x { width: 40px; height: 40px; }
  :root .fg .ab-qa__a p { margin-left: 40px; padding: 0 0 24px; font-size: var(--m-body); }

  /* =======================================================================
     Contact
     ======================================================================= */
  :root .fg .ct, :root .fg .ct-visit { padding: var(--m-sec) 0; }
  :root .fg .ct-choices { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  :root .fg .ct-choice { min-height: 0; gap: 16px; padding: 24px 22px; text-align: center; }
  :root .fg .ct-choice__t { justify-items: center; }
  :root .fg .ct-choice__t b { font-size: var(--m-h3); }
  :root .fg .ct-choice__t span { font-size: var(--m-body); }
  :root .fg .ct-choice__go { justify-content: center; gap: 16px; }
  :root .fg .ct__body { margin-top: 12px; padding: 32px 22px; }
  :root .fg .ct-form { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  :root .fg .ct-field input, :root .fg .ct-field select, :root .fg .ct-field textarea { font-size: 16px; }
  :root .fg .ct-form__foot { flex-direction: column; align-items: stretch; text-align: center; }
  :root .fg .ct-form__foot .fg-btn { width: 100%; }
  :root .fg .ct-visit__grid { grid-template-columns: minmax(0, 1fr); gap: var(--m-d2c); }
  :root .fg .ct-visit__info { gap: var(--m-t2d); align-items: center; text-align: center; }
  :root .fg .ct-rows { width: 100%; }
  :root .fg .ct-rows li { grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: center; padding: 20px 0; }
  :root .fg .ct-rows a, :root .fg .ct-rows p { justify-self: center; font-size: var(--m-body); }
  :root .fg .ct-rows .ct-big { font-size: 28px; }
  :root .fg .ct-social { justify-content: center; }
  :root .fg .ct-visit__map { min-height: 360px; }

  /* =======================================================================
     Careers
     ======================================================================= */
  :root .fg .cr { min-height: 0; padding: calc(var(--m-sec) + 40px) 0 var(--m-sec); }
  :root .fg .cr__wrap { grid-template-columns: minmax(0, 1fr); gap: var(--m-d2c); }
  :root .fg .cr__intro { align-items: center; text-align: center; }
  :root .fg .cr__mail { justify-items: center; justify-self: center; width: 100%; margin-top: var(--m-t2d); }
  :root .fg .cr__mail a { justify-self: center; font-size: 20px; }
  :root .fg .cr__body { padding: 32px 22px; }
  :root .fg .cr-top { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 32px; text-align: center; }
  :root .fg .cr-top h2 { font-size: var(--m-h3); }
  :root .fg .cr-form { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  :root .fg .cr-form__foot { flex-direction: column; align-items: stretch; text-align: center; }
  :root .fg .cr-form__foot .fg-btn { width: 100%; }

  /* =======================================================================
     Dealers
     ======================================================================= */
  :root .fg .dl-intro { display: flow-root; padding-top: var(--m-sec); }   /* flow-root: the head's bottom margin stays inside (no light strip under it) */
  :root .fg .dl-intro + .cht-dl--bare { padding-top: 0; }
  :root .fg .cht-dl { padding-left: var(--m-x); padding-right: var(--m-x); padding-bottom: var(--m-sec); }
  :root .fg .cht-dl__bar { justify-content: center; margin-top: 0; }
  :root .fg .cht-dl__count { text-align: center; }
  :root .fg .cht-dl__card { align-items: center; text-align: center; }
  :root .fg .cht-dl__where, :root .fg .cht-dl__brands { justify-content: center; }
  :root .fg .cht-dl__acts { align-self: stretch; }
  :root .fg .cht-dl__acts > * { flex: 1; justify-content: center; }

  /* =======================================================================
     Brands
     ======================================================================= */
  :root .fg .br-all { padding: var(--m-sec) 0; }
  /* the filter pills: one row to swipe sideways, edge to edge (user, 2026-10-31: "变成一行可以scroll 左右");
     the auto margins centre the row while it fits and fall to 0 once it scrolls */
  :root .fg .br-filter, :root .fg .bp-filter, :root .fg .pc-filter {
    flex-wrap: nowrap; justify-content: flex-start; gap: 8px; overflow-x: auto; margin-left: calc(-1 * var(--m-x)); margin-right: calc(-1 * var(--m-x));
    padding: 0 var(--m-x); scrollbar-width: none; overscroll-behavior-x: contain; }
  :root .fg .br-filter::-webkit-scrollbar, :root .fg .bp-filter::-webkit-scrollbar, :root .fg .pc-filter::-webkit-scrollbar { display: none; }
  :root .fg .br-filter > :first-child, :root .fg .bp-filter > :first-child, :root .fg .pc-filter > :first-child { margin-left: auto; }
  :root .fg .br-filter > :last-child, :root .fg .bp-filter > :last-child, :root .fg .pc-filter > :last-child { margin-right: auto; }
  :root .fg .br-filter button, :root .fg .bp-filter button, :root .fg .pc-filter button { flex: none; padding: 11px 16px; font-size: 10px; letter-spacing: 0.16em; white-space: nowrap; }
  :root .fg .br-grid { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root .fg .br-tile { padding: 16px 14px 18px; text-align: center; }
  :root .fg .br-tile__top { justify-content: center; }
  :root .fg .br-tile img { width: 76%; height: 34px; }
  :root .fg .br-tile.is-tall img { height: 50px; }
  :root .fg .br-tile__foot { justify-items: center; gap: 6px; }
  :root .fg .br-tile__foot b { font-size: 10px; letter-spacing: 0.2em; }
  :root .fg .br-tile__foot span { font-size: 12px; }

  /* =======================================================================
     A brand's page
     ======================================================================= */
  :root .fg .bp-hero__logo { object-position: center; }
  :root .fg .bp-crumb { justify-content: center; }
  :root .fg .bp-about, :root .fg .bp-range { padding: var(--m-sec) 0; }
  :root .fg .bp-about__media { aspect-ratio: 1 / 1; }
  :root .fg .bp-about__media figcaption { left: 22px; right: 22px; bottom: 20px; }
  :root .fg .bp-about__copy { gap: var(--m-t2d); justify-items: center; text-align: center; }
  :root .fg .bp-statement { max-width: none; font-size: 24px; text-align: center; }
  :root .fg .bp-about__copy > p:not([class]) { font-size: var(--m-body); text-align: center; }
  :root .fg .bp-facts { margin-top: calc(var(--m-d2c) - var(--m-t2d)); text-align: center; }
  :root .fg .bp-facts div { justify-items: center; padding-right: 12px; }
  :root .fg .bp-facts div:nth-child(even) { padding-left: 12px; }
  :root .fg .bp-facts b { font-size: 20px; }
  :root .fg .bp-bar { flex-direction: column; align-items: center; gap: 16px; margin-bottom: 28px; text-align: center; }
  :root .fg .bp-note { font-size: var(--m-body); }
  :root .fg .bp-grid, :root .fg .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root .fg .bp-card__foot, :root .fg .pc-card__foot { justify-items: center; gap: 6px; padding: 0 12px 18px; text-align: center; }
  :root .fg .bp-card__foot b, :root .fg .pc-card__foot b { font-size: 11px; letter-spacing: 0.14em; }
  :root .fg .bp-card__foot span, :root .fg .pc-card__foot span { font-size: 12px; }
  :root .fg .bp-range__ask { flex-direction: column; margin-top: var(--m-d2c); text-align: center; }
  :root .fg .bp-range__ask p { font-size: var(--m-body); }

  /* =======================================================================
     Products (catalogue and a product)
     ======================================================================= */
  :root .fg .pc-list { padding: var(--m-sec) 0; }
  :root .fg .pc-tools { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 16px; }   /* nowrap: wrapped, the long pill row set the column's width and the brand select ran off screen */
  :root .fg .pc-select { justify-content: center; }
  :root .fg .pc-select select { min-width: 0; flex: 1; }
  :root .fg .pc-count { margin: 24px 0 18px; text-align: center; }
  :root .fg .pc-card__foot em { font-size: 9px; letter-spacing: 0.2em; }
  :root .fg .pc-cta .fx-tile { height: 86svh; min-height: 560px; }
  /* where to buy, as the homepage tiles: the words low on the photo, over a deep shade (not across the white car) */
  :root .fg .pc-cta .fx-tile__copy { top: auto; bottom: 56px; left: var(--m-x); right: var(--m-x); justify-items: center; text-align: center; }
  :root .fg .pc-cta .fx-tile__copy p:not(.fx-eyebrow) { font-size: var(--m-body); }
  :root .fg .pc-cta .fx-tile__title { font-size: 30px; }   /* "Find an / Authorised Dealer" in two lines, not three with words alone */
  :root .fg .pc-cta .fx-tile::after { background: linear-gradient(180deg, var(--fg-bg) 0%, rgba(10, 10, 10, 0) 16%, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.86) 58%, var(--fg-bg) 100%); }
  :root .fg .pp { padding: calc(var(--m-sec) + 40px) 0 var(--m-sec); }
  :root .fg .pp__grid { grid-template-columns: minmax(0, 1fr); gap: var(--m-d2c); }
  :root .fg .pp__thumbs { justify-content: center; }
  :root .fg .pp__info { gap: var(--m-t2d); justify-items: center; text-align: center; }
  :root .fg .pp-crumb { justify-content: center; }
  :root .fg .pp__logo { object-position: center; }
  :root .fg .pp__title { font-size: var(--m-h2); }
  :root .fg .pp__type { margin-top: -6px; font-size: var(--m-lead); }
  :root .fg .pp__facts div { justify-items: center; padding-right: 12px; }
  :root .fg .pp__facts div:nth-child(even) { padding-left: 12px; }
  :root .fg .pp__facts dd { font-size: var(--m-body); }
  :root .fg .pc-list.pp-more { padding: var(--m-sec) 0; }
  :root .fg .pp-more__top { flex-direction: column; gap: var(--m-t2d); margin-bottom: var(--m-d2c); text-align: center; }
  :root .fg .pp-more__top .fg-btn { margin-top: calc(var(--m-d2c) - var(--m-t2d)); }
}

/* ==========================================================================
   tablets (768–1100px): the phone layout above with room to breathe — bigger type and spacing, lines kept to a
   readable length, and cards two to four to a row (user, 2026-10-31: "tablet 有些比较宽你可以不只是一行一个")
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1100px) {
  :root {
    --fg-gutter: 48px;
    --m-x: 48px;
    --m-sec: 112px;
    --m-e2t: 24px;
    --m-t2d: 24px;
    --m-d2c: 56px;
    --m-h1: 56px;
    --m-h2: 44px;
    --m-h3: 24px;
    --m-lead: 18px;
    --m-body: 16px;
  }
  :root .fg-btn { height: 54px; padding: 0 32px; font-size: 11px; }
  /* centred text stays within a readable line length */
  :root .fg .ab-lead, :root .fg .ct-lead, :root .fg .br-lead, :root .fg .bp-lead, :root .fg .pc-lead, :root .fg .dl-lead, :root .fg .cr__lead,
  :root .fg .fx-about__text, :root .fx-open__side p, :root .fx-state__sub, :root .fx-state__foot p, :root .fx-tile__copy p:not(.fx-eyebrow),
  :root .fg .fg-foot__lead, :root .fg .ab-who__text p, :root .fg .bp-about__copy > p, :root .fg .bp-range__ask p, :root .fg .ab-faq__side > p {
    max-width: 36em; margin-left: auto; margin-right: auto; }

  /* homepage banner: the photo takes two thirds of the screen at most, the copy the rest */
  :root #cht-hero-carousel .chtc-slide .chtc-art .chtc-scene { height: min(100vw, 66svh); }
  :root #cht-hero-carousel .chtc-copy, :root #cht-hero-carousel .chtc-copy--baked { padding-top: 96px; }
  :root #cht-hero-carousel .chtc-slide .chtc-mlogo { max-width: 260px; height: 48px; }
  :root #cht-hero-carousel .chtc-slide .chtc-mlogo--tall { height: 68px; }

  /* opening: the five logos on one row */
  :root .fg .fg-rail__list { gap: 28px 32px; }
  :root .fg .fg-rail__list img { height: 26px; max-width: 124px; }

  /* why: the three chapters side by side */
  :root .fg .fx-why__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
  :root .fx-card__text { font-size: 15px; }

  /* statement */
  :root .fx-state { min-height: 80svh; }
  :root .fx-state__title { max-width: 16em; font-size: 40px; }

  /* dealer + store tiles side by side */
  :root .fx-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root .fx-tile { height: 70svh; min-height: 560px; }
  :root .fx-tile__copy { left: 32px; right: 32px; bottom: 64px; }
  :root .fx-tile__title { font-size: 36px; }

  /* the close: the car stays a band behind the title */
  :root .fg-close__media { height: min(100vw * 0.62, 560px); }
  :root .fg-close__copy { padding-top: 200px; }

  /* menu */
  :root #cht-header .chth-menu-inner { padding-top: 112px; }
  :root #cht-header .chth-menu-text { font-size: 24px; }
  :root #cht-header .chth-menu-link, :root #cht-header .chth-menu-link:hover { padding: 18px 0; }
  :root #cht-header .chth-menu-drop { padding: 18px 0; }
  :root #cht-header .chth-menu-sub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :root #cht-header .chth-menu-brand { padding: 10px 0; font-size: 17px; }

  /* footer: the three link columns side by side */
  :root .fg-foot__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

  /* inner openings: the photo under the words, two thirds of the width tall */
  :root .fg .ab-hero__copy, :root .fg .ct-hero__copy, :root .fg .br-hero__copy, :root .fg .bp-hero__copy, :root .fg .pc-hero__copy, :root .fg .dl-hero__copy { padding-top: calc(72px + 56px); }
  :root .fg .ab-hero__media, :root .fg .ct-hero__media, :root .fg .br-hero__media, :root .fg .bp-hero__media, :root .fg .pc-hero__media, :root .fg .dl-hero__media { height: min(100vw * 0.66, 52svh); }

  /* About */
  :root .fg .ab-who__media, :root .fg .ab-recog__media { aspect-ratio: 16 / 10; }
  :root .fg .ab-say { min-height: 72svh; }
  :root .fg .ab-say__text { max-width: 20em; margin: 0 auto; font-size: 36px; }
  :root .fg .ab-mvv__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  :root .fg .ab-pv { height: 480px; padding: 24px 18px 26px; }
  :root .fg .ab-pv h3 { font-size: 20px; }
  :root .fg .ab-pv p { font-size: 15px; }
  :root .fg .ab-films { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; gap: 32px 16px; overflow: visible; margin: 0; padding: 0; }
  :root .fg .ab-awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  :root .fg .ab-faq__card { max-width: 560px; margin: 0 auto; }

  /* Contact: the two enquiries side by side, the form fields two to a row */
  :root .fg .ct-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  :root .fg .ct__body, :root .fg .cr__body { padding: 48px 40px; }
  :root .fg .ct-form, :root .fg .cr-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  :root .fg .ct-form__foot .fg-btn, :root .fg .cr-form__foot .fg-btn { width: auto; min-width: 320px; align-self: center; }
  :root .fg .ct-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  :root .fg .ct-visit__map { min-height: 440px; }

  /* Dealers: two cards to a row under the map */
  :root .fg .cht-dl__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  :root .fg .cht-dl__map { height: 480px; }

  /* Brands: four to a row */
  :root .fg .br-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :root .fg .br-tile { padding: 20px 16px 22px; }
  :root .fg .br-tile img { height: 40px; }
  :root .fg .br-tile.is-tall img { height: 58px; }

  /* a brand's page and the catalogue: three products to a row */
  :root .fg .bp-grid, :root .fg .pc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :root .fg .bp-about__media { aspect-ratio: 4 / 3; }
  :root .fg .bp-statement { max-width: 20em; margin: 0 auto; font-size: 32px; }
  :root .fg .bp-facts b { font-size: 24px; }
  :root .fg .bp-card__foot span, :root .fg .pc-card__foot span { font-size: 13px; }
  :root .fg .pc-select select { flex: 0 1 380px; }
  :root .fg .pc-cta .fx-tile { height: 72svh; }
  :root .fg .pc-cta .fx-tile__title { font-size: 40px; }

  /* a product: the photos beside the details */
  :root .fg .pp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
  :root .fg .pp__title { font-size: 36px; }
}
