/* Azja Motors design layer — 20 HOME (owned by the home agent). Markup: views/home.ejs. Behaviour: am-home.js.
   The owner's composed homepage (site change set 2026-10-25 ~17:10): hero (the film) · S1 brand strip · S2 models by
   body type (compact bento of dark car cards) · S3 brands (dark band) · S4 import process · S5 the Zeekr 9X exploded
   view on black (am-explode.js) · S6 services · the test-drive band · articles · FAQ · booking (the last section; the
   homepage contact form was removed 2026-10-25 ~21:50, /kontakt keeps it) · the phone dock. Hero and brand strip are
   the concept's (design-system/concept/concept.css); S2-S5 are built from the owner-picked prototypes (impl/SITE/design/home/v1-v3).
   Plain UNLAYERED rules (they beat 00/10, which live in cascade layers), every selector scoped to .home-body so nothing
   reaches other pages (all design files load on every public page). Section spacing is the foundation's one gap
   (.section margins / .section--band padding = --section, heads = --head-gap): nothing here adds section spacing. */

/* ==========================================================================
   1. Hero — a full-bleed background film (owner 2026-10-14: the owner's own Veo clips of a black Zeekr 9X in a rainy
   city at dusk, 12 s loop) behind the copy; the framed photo tile and the "Na zdjęciu" caption card are gone.
   Layers (.hero is isolated): the media layer (poster <img> = LCP + the <video> that fades in over it once it plays,
   am-home.js §1c) at z-index -1, its scrims (::after), then the copy. The scrims keep the transparent white header,
   the eyebrow, the title, the lead and the CTAs legible over the brightest frames: checked on every 0.5 s frame of
   the loop at 1440x900 and 390x844 (lead text >= 4.5:1 against the brightest pixel behind it).
   Portrait screens below 1100 px stack it: the film fills the top of the hero edge to edge (so the car stays whole
   instead of a 30 % slice of a 16:9 frame) and fades into the hero black, where the copy sits.
   ========================================================================== */
.home-body .hero { position: relative; isolation: isolate; margin-top: calc(-1 * var(--header-h)); color: #fff; overflow: hidden; background: #0D0C0B; }
.home-body .hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0D0C0B; transform-origin: 60% 45%; }
.home-body .hero__media picture { position: absolute; inset: 0; }
.home-body :is(.hero__poster, .hero__video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.home-body .hero__video { opacity: 0; transition: opacity 700ms var(--ease-out); }
.home-body .hero__video.is-playing { opacity: 1; }
.home-body .hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(9 8 7 / .72) 0, rgb(9 8 7 / .44) var(--header-h), rgb(9 8 7 / 0) calc(var(--header-h) + 110px)),  /* the transparent header */
    linear-gradient(90deg, rgb(9 8 7 / .84) 0, rgb(9 8 7 / .78) calc(var(--margin) + 380px), rgb(9 8 7 / .5) calc(var(--margin) + 640px), rgb(9 8 7 / 0) calc(var(--margin) + 980px)), /* the copy column */
    linear-gradient(180deg, rgb(9 8 7 / 0) 58%, rgb(9 8 7 / .66) 100%),                                                          /* toward the brand strip */
    rgb(9 8 7 / .12); }
.home-body .hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  min-height: min(88svh, 860px); padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(104px, 9vw, 132px); }
.home-body .hero__copy { max-width: 620px; }
.home-body .hero .eyebrow { color: rgb(255 255 255 / .86); }
.home-body .hero .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--cherry-on-dark); border-radius: 2px; }
.home-body .hero h1 { color: #fff; margin-top: 18px; text-wrap: balance; }
.home-body .hero__lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: rgb(255 255 255 / .9); }
.home-body .hero__ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* pause / play (WCAG 2.2.2): hidden until the film plays; on the hero's right edge, clear of the brand strip */
.home-body .hero__toggle { position: absolute; z-index: 2; right: var(--margin); bottom: 64px; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--pill); color: #fff; background: rgb(20 19 17 / .46); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-color) var(--ease-out), box-shadow var(--t-color) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.home-body .hero__toggle[hidden] { display: none; }
.home-body .hero__toggle:hover { background: rgb(255 255 255 / .2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); }
.home-body .hero__toggle:active { transform: scale(.94); }
.home-body .hero__toggle svg { grid-area: 1 / 1; width: 20px; height: 20px; }
.home-body .hero__toggle .hero__toggle-play, .home-body .hero__toggle[data-state="paused"] .hero__toggle-pause { display: none; }
.home-body .hero__toggle[data-state="paused"] .hero__toggle-play { display: block; }

@media (max-width: 1099px) {
  .home-body .hero__inner { padding-top: calc(var(--header-h) + 32px); }
}
/* portrait phones and tablets: the film on top, edge to edge, fading into the hero black under the copy */
@media (max-width: 1099px) and (orientation: portrait) {
  .home-body .hero { --hero-film: clamp(380px, 46vw + 200px, 620px); }
  .home-body .hero__media { bottom: auto; height: var(--hero-film); }
  .home-body :is(.hero__poster, .hero__video) { object-position: 56% 50%; }
  .home-body .hero__media::after { background:
    linear-gradient(180deg, rgb(9 8 7 / .74) 0, rgb(9 8 7 / .5) var(--header-h), rgb(9 8 7 / 0) calc(var(--header-h) + 100px)),
    linear-gradient(180deg, rgb(13 12 11 / 0) 52%, rgb(13 12 11 / .55) 74%, rgb(13 12 11 / .9) 90%, #0D0C0B 100%); }
  .home-body .hero__inner { min-height: 0; align-items: end; padding-top: calc(var(--hero-film) - 64px); }
  .home-body .hero__toggle { top: calc(var(--hero-film) - 64px - 44px - 20px); bottom: auto; }
}
@media (max-width: 767px) {
  .home-body .hero__inner { padding-bottom: 92px; }
  .home-body .hero__ctas { flex-direction: column; margin-top: 28px; }
  .home-body .hero__ctas .btn { width: 100%; }
}

/* ==========================================================================
   2. Brand strip — the white pill overlapping the hero edge like a switcher
   ========================================================================== */
.home-body .brand-dock { position: relative; z-index: 5; margin-top: -36px; display: flex; justify-content: center; padding-inline: var(--margin); }
/* --brand-pad: the padding on each side of a logo, so the space between two neighbouring marks is 2 x --brand-pad
   whatever their shapes: 44 px from 1440, 34-44 px at 1280-1439 (fluid), 36 px on phones; at 768-1279 the rest fit
   sets it around 40 / 36 px */
.home-body .brand-pill { --brand-pad: 22px; display: flex; align-items: center; gap: 0; max-width: 100%; padding: 6px; border-radius: var(--pill); background: var(--surface); box-shadow: var(--shadow-float); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 6px; overscroll-behavior-x: contain; }
.home-body .brand-pill::-webkit-scrollbar { display: none; }
/* with JS the strip is shown once its inline script (home.ejs, the rest fit) has run, so it never appears half
   streamed or before its fit (no layout shift on slow lines); without JS it shows at once with the CSS padding */
html.js .home-body .brand-pill:not(.is-ready) { visibility: hidden; }
.home-body .brand-pill a { flex: none; display: inline-grid; place-items: center; height: 60px; min-width: 104px; padding: 0 20px; border-radius: var(--pill); scroll-snap-align: start; transition: background-color var(--t-color) var(--ease-out); }
.home-body .brand-pill a:hover { background: var(--panel); }
.home-body .brand-pill a:active { background: var(--page); }
/* the logos are the cleaned single-colour SVGs drawn inline in currentColor (no brightness filter, every inner detail
   stays a cut-out); the server computes each logo's optical size (chinese-brands.js: height from the aspect ratio and
   a per-logo weight, width capped), so every box is known before paint and nothing reflows */
.home-body .brand-pill a[data-brand-logo] { min-width: 0; padding: 0 var(--brand-pad); color: var(--ink); }
.home-body .brand-pill__logo { display: block; width: var(--lw); height: var(--lh); overflow: visible; opacity: .84; transition: opacity var(--t-color) var(--ease-out); }
.home-body .brand-pill__name { font-weight: 700; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; opacity: .84; transition: opacity var(--t-color) var(--ease-out); }
.home-body .brand-pill a[data-brand-logo]:is(:hover, :focus-visible) :is(.brand-pill__logo, .brand-pill__name) { opacity: 1; }
/* margin-left 10 px: the last logo's focus ring (2 px outline at a 3 px offset) stays 5 px clear of the button */
.home-body .brand-pill .all { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 60px; padding: 0 22px 0 24px; margin-left: 10px; border-radius: var(--pill); background: var(--ink); color: #fff; font-weight: 600; white-space: nowrap; transition: background-color var(--t-color) var(--ease-out), transform var(--t-fast), box-shadow var(--t-color) var(--ease-out); }
.home-body .brand-pill .all:hover { background: var(--btn-dark-hover); }
.home-body .brand-pill .all:active { transform: scale(.97); }
.home-body .brand-pill .all svg { width: 18px; height: 18px; }
/* below 1280 the 8 logos + "Wszystkie marki" are wider than the content (the pill scrolls, as in the concept): the
   button stays pinned at the pill's right end, so it is never cut off, and the logos slide under it; at rest the strip
   ends in a gap, the next logo wholly under the button (the rest fit in home.ejs sets --brand-pad). Its shadows: a
   white fade on its left over the logos sliding under it, and a solid band filling the pill's 6 px padding on its
   right (logo fragments showed through there); the fade is dropped at the end of the scroll and when the strip fits
   (am-home.js sets .is-end), where nothing is under the button. am-home.js also scrolls a keyboard-focused logo clear
   of the button (browsers ignore scroll-padding for focus) and, below 768, out of the right-edge fade. */
@media (min-width: 768px) {
  .home-body .brand-pill .all { position: sticky; right: 0; z-index: 1; box-shadow: -18px 0 14px -6px var(--surface), 6px 0 0 6px var(--surface); }
  .home-body .brand-pill.is-end .all { box-shadow: -18px 0 14px -6px transparent, 6px 0 0 6px var(--surface); }
}
/* 1280-1439: everything fits at rest in every language. The padding follows the viewport, sized for the widest label
   (pl "Wszystkie marki") with 17 px left for a classic scrollbar (Windows at 1366: 1158 px of content); 1280-1365 also
   takes the narrow logo sizes (-9 %), which keeps the gaps at 34-44 px instead of 28 px */
@media (max-width: 1439px) { .home-body .brand-pill { --brand-pad: clamp(16px, calc(5.375vw - 55.5px), 22px); } }
@media (min-width: 1280px) and (max-width: 1365px) {
  .home-body .brand-pill { --brand-pad: clamp(16px, calc(5.375vw - 52px), 22px); }
  .home-body .brand-pill__logo { width: var(--lw-s); height: var(--lh-s); }
}
/* below 1280: the base padding of the scrolling strip (the rest fit moves it by -25 % to +60 %) */
@media (max-width: 1279px) { .home-body .brand-pill { --brand-pad: 20px; } }
@media (max-width: 1023px) { .home-body .brand-pill { --brand-pad: 18px; } }
@media (max-width: 767px) {
  .home-body .brand-dock { padding-inline: 12px; }
  .home-body .brand-pill { width: 100%; justify-content: flex-start; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .home-body .brand-pill a { min-width: 92px; height: 52px; padding: 0 16px; }
  .home-body .brand-pill a[data-brand-logo] { min-width: 0; padding: 0 var(--brand-pad); }
  .home-body .brand-pill__logo { width: var(--lw-s); height: var(--lh-s); }
  .home-body .brand-pill .all { height: 52px; }
  /* the right-edge fade says "more to scroll"; scrolled to the end it lifts, so "Wszystkie marki" is not faded out
     (browsers without scroll-driven animations keep the static fade) */
  @supports (animation-timeline: scroll()) {
    .home-body .brand-pill { -webkit-mask-image: linear-gradient(90deg, #000 var(--brand-fade), transparent); mask-image: linear-gradient(90deg, #000 var(--brand-fade), transparent); animation: brand-pill-end linear both; animation-timeline: scroll(self inline); }
  }
}
@property --brand-fade { syntax: '<percentage>'; inherits: false; initial-value: 85%; }
@keyframes brand-pill-end { 0%, 88% { --brand-fade: 85%; } 100% { --brand-fade: 100%; } }

/* S1: the brand strip's Maextro mark (the owner's file through a mask, in the strip's ink) and a placeholder slot while
   the file is missing */
.home-body .brand-pill__mask { display: block; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.home-body .brand-pill__name--slot { font-family: var(--serif); font-stretch: 75%; font-weight: 400; font-size: 1.125rem; letter-spacing: .02em; text-transform: none; }

/* ==========================================================================
   3. S2 "Wybierz swój model." in the style of the old "Modele wybierane najchętniej" carousel (owner ~17:45, shot
   fb1-s2-target-old-carousel): the concept's head (eyebrow, title), the tools row under it (the body-type .seg on the
   left, the rail arrows on the right), the drag rail of white .card tiles (10-components .rail / .card / .facts) and
   its progress line. Restyled for models: the car alone on a soft light ground with a contact shadow (no photo
   crop), the brand, the name, the power line, three facts, the full-width "Skonfiguruj" pill. Compact: one card row.
   ========================================================================== */
.home-body .hm-anchor { display: block; height: 0; }
.home-body .hm-card { box-shadow: 0 1px 2px rgb(26 25 23 / .04); }
.home-body .hm-card__media { aspect-ratio: 16 / 10; isolation: isolate;
  background: radial-gradient(120% 92% at 50% 100%, #FFFFFF 0%, #F8F6F2 40%, #EFEBE4 78%, #E9E4DC 100%); }
/* the floor under the car: a soft contact shadow and a faint horizon */
.home-body .hm-card__media::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 11%; height: 12%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(46 38 30 / .26), rgb(46 38 30 / .1) 55%, rgb(46 38 30 / 0)); }
.home-body .hm-card__media::after { content: ""; position: absolute; left: 0; right: 0; top: 64%; height: 1px; z-index: -1;
  background: linear-gradient(90deg, rgb(120 108 92 / 0), rgb(120 108 92 / .16) 30%, rgb(120 108 92 / .16) 70%, rgb(120 108 92 / 0)); }
.home-body .hm-card__media img { position: relative; z-index: 1; padding: 4% 4.5% 6%; object-fit: contain; object-position: 50% 80%; transform-origin: 50% 85%; }
.home-body .hm-card .card__body { padding: 18px 22px 22px; }
.home-body .hm-card .card__title { font-family: var(--serif); font-weight: 400; font-stretch: 75%; font-size: 2rem; line-height: 1.05; letter-spacing: -0.005em; overflow-wrap: normal; }
.home-body .hm-card .card__title a { color: inherit; }
.home-body .hm-card__line { min-height: 0; margin-top: 6px; -webkit-line-clamp: unset; display: block; }
.home-body .hm-card__facts { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
/* the drive may be long ("Z range extenderem lub elektryczny", ru/uk): it wraps instead of being cut */
.home-body .hm-card__facts dd { white-space: normal; overflow: visible; text-overflow: clip; text-wrap: balance; }
.home-body .hm-card .card__body > .hm-card__btn { margin-top: auto; gap: 8px; }
/* the button keeps 18 px under the facts; in a taller neighbour's row the extra room goes above it (buttons align) */
.home-body .hm-card .card__body > dl { margin-bottom: 18px; align-content: start; }
.home-body .hm-card__btn svg { width: 18px; height: 18px; }
.home-body .hm-rail .rail__foot { gap: 32px; }
.home-body .hm-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 14px; font-size: .9375rem; color: var(--muted); }
.home-body .hm-more .link { font-size: .9375rem; }
/* tablets and phones: the line under the rail stands under the progress line */
@media (max-width: 1099px) {
  .home-body .hm-rail .rail__foot { flex-wrap: wrap; row-gap: 18px; }
  .home-body .hm-rail .rail__progress { flex: 1 1 100%; }
  .home-body .hm-more { justify-content: flex-start; }
}
/* phones: the five body types fit the column (tighter buttons); only if a language still needs more room does the
   switch scroll, and only then does it fade at its right edge (am-home.js sets .is-scroll, as the old drive filter) */
@media (max-width: 767px) {
  .home-body .hm-seg button { padding: 0 11px; font-size: .875rem; }
  .home-body .hm-models .section-head__tools .seg.is-scroll { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .home-body .hm-card .card__title { font-size: 1.75rem; }
}
@container (max-width: 300px) {
  .home-body .hm-card .card__body { padding: 16px 18px 18px; }
  .home-body .hm-card .card__title { font-size: 1.625rem; }
}
@media (forced-colors: active) {
  .home-body .hm-card__media::before, .home-body .hm-card__media::after { display: none; }
}

/* ==========================================================================
   4. S3 "Osiem marek. Trzynaście modeli." — prototype v3 "Marki" on a dark band: the brand tabs (white pill when
   selected, the change eased), per brand a showcase card (the big name, the catalogue facts on hairlines, two CTAs, the
   car alone on a warm spot), the model chips under it when the brand has more models, the showroom line.
   Motion (am-home.js, Web Animations): the car glides in, the name rises, the facts stagger in; reduced motion: none.
   ========================================================================== */
.home-body .hm-brands { --hm-night: #0D0C0B; --hm-line: rgb(255 255 255 / .12); background: var(--hm-night); }
.home-body .hm-eyebrow { color: var(--cherry-on-dark); margin-bottom: 14px; display: flex; }
.home-body .hm-brands__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: var(--head-gap); }
.home-body .hm-tabs { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; }
.home-body .hm-tabs .tabs__ind { display: none; }
.home-body .hm-tabs [role="tab"] { min-height: 44px; padding: 0 18px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--hm-line); font-size: .9375rem; font-weight: 600; color: var(--on-dark-muted); white-space: nowrap;
  transition: color 300ms var(--ease-out), background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.home-body .hm-tabs [role="tab"]:hover { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .34); }
.home-body .hm-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: none; }
/* the eight brand tabs (go-live 2026-11-09) keep one row under the heading from 768 px, as the six did: where the row
   of 18 px pills (712 px with the eight names) is wider than the head (661 px at 768, 705 px at 820), their side padding
   gives way, down to 12 px; a head of 720 px or more keeps the 18 px (golive-fix-r1 GLP-02) */
.home-body .hm-brands__head { container-type: inline-size; }
@media (min-width: 768px) {
  .home-body .hm-tabs [role="tab"] { padding-inline: clamp(12px, calc((100cqw - 432px) / 16), 18px); }
}
/* the heading breaks between its two sentences, never before its last word alone ("Eight brands. Thirteen / models."
   on a 390 px phone; golive-fix-r1 GLP-04) */
.home-body .hm-brands__head .t-title { text-wrap: balance; }
/* the uk / ru heading of the eight ("Вісім марок. Тринадцять моделей.", "Восемь марок. Тринадцать моделей.") has a second
   sentence 295 px wide at the title's 2rem floor: on a phone narrower than ~348 px it gives way with the width (9.2vw),
   so it keeps two lines there, as the old heading did, instead of leaving "моделей." alone on a third; from 348 px on,
   and in pl / en / de at every width, the title's own size (below 400 px its clamp is 2rem; golive-fix-r2 GLP2-01) */
@media (max-width: 399.98px) {
  .home-body .hm-brands__head .t-title:is(:lang(uk), :lang(ru)) { font-size: min(2rem, 9.2vw); }
}
/* a cold #marka-<brand> address (a shared link, an old brand page): the browser's own jump to the brand's panel, which
   comes after am-home.js has scrolled to the section, lands where the section starts as well (am-home.js sets
   --hm-panel-gap, the distance from the section's top to its panel; golive-fix-r1 GLP-05) */
html.js .home-body .hm-brand { scroll-margin-top: var(--hm-panel-gap, 0px); }
html.js .home-body .hm-brand:not(.is-active), html.js .home-body .hm-show:not(.is-active) { display: none; }
.home-body .hm-brand { outline: none; }
.home-body .hm-brand + .hm-brand { margin-top: 24px; } /* without JS every brand shows */
.home-body .hm-show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 24px var(--gutter); min-height: 500px; padding: 40px clamp(28px, 4vw, 64px); overflow: hidden;
  border-radius: var(--r-lg); background: radial-gradient(56% 70% at 72% 62%, #2E2925 0%, #1A1816 48%, #121110 78%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.home-body .hm-show + .hm-show { margin-top: 16px; }
.home-body .hm-show__brand { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cherry-on-dark); }
.home-body .hm-show__name { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-stretch: 75%; font-size: clamp(3.5rem, 2.2rem + 5vw, 7rem); line-height: .95; letter-spacing: -0.02em; color: #fff; overflow-wrap: normal; }
.home-body .hm-facts { margin-top: 28px; border-top: 1px solid var(--hm-line); }
.home-body .hm-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--hm-line); font-size: .9375rem; }
.home-body .hm-facts dt { color: var(--on-dark-muted); }
.home-body .hm-facts dd { margin: 0; font-weight: 600; color: #fff; text-align: right; }
.home-body .hm-show__stage { position: relative; min-width: 0; }
.home-body .hm-show__stage::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 238 214 / .14), rgb(255 238 214 / 0)); }
.home-body .hm-show__stage img { position: relative; width: 108%; max-width: none; height: auto; margin-left: -4%; }
.home-body .hm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.home-body .hm-chips button { min-height: 44px; padding: 0 20px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--hm-line); font-weight: 600; color: var(--on-dark-muted);
  transition: color 300ms var(--ease-out), background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.home-body .hm-chips button:hover { color: #fff; }
.home-body .hm-chips button[aria-pressed="true"] { background: rgb(255 255 255 / .1); color: #fff; box-shadow: inset 0 0 0 1px rgb(184 145 94 / .7); }
.home-body .hm-brands__note { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: .9375rem; color: var(--on-dark-muted); }
.home-body .hm-brands__note svg { width: 22px; height: 22px; flex: none; color: var(--cherry-on-dark); }
.home-body .hm-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
@media (max-width: 1099px) {
  .home-body .hm-show { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .home-body .hm-show__stage { order: -1; max-width: 720px; justify-self: center; width: 100%; }
}
/* phones held sideways: the card stays two columns, the copy beside the car */
@media (max-width: 1099px) and (orientation: landscape) and (max-height: 520px) {
  .home-body .hm-show { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding: 24px 28px; }
  .home-body .hm-show__stage { order: 0; }
  .home-body .hm-show__name { font-size: 3.25rem; }
  .home-body .hm-facts { margin-top: 16px; }
  .home-body .hm-facts div { padding: 7px 0; font-size: .875rem; }
  .home-body .hm-show .hm-ctas { margin-top: 18px; }
}
@media (max-width: 767px) {
  .home-body .hm-brands__head { display: block; }
  .home-body .hm-tabs { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-body .hm-tabs [role="tab"] { padding: 0 6px; font-size: .875rem; }
  .home-body .hm-show { padding: 24px 20px 28px; }
  .home-body .hm-show__name { font-size: 3.5rem; }
  .home-body .hm-show .hm-ctas .btn { flex: 1 1 100%; }
}
@media (forced-colors: active) {
  .home-body .hm-tabs [role="tab"][aria-selected="true"], .home-body .hm-chips button[aria-pressed="true"] { outline: 2px solid CanvasText; }
}

/* ==========================================================================
   5. S4 the import process (owner shot home-s4, prototype v1 "Import na zamówienie"): the head on two columns over a
   hairline (the title in the display size, as in the shot), five steps on ink rules with large serif numerals, the
   test-drive note, the trust row between hairlines. Motion (am-home.js, GSAP): the rules draw, the numerals rise.
   ========================================================================== */
.home-body .hm-process { --hm-hair: rgb(26 25 23 / .16); }
.home-body .hm-process__head { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 24px var(--gutter); align-items: end; padding-bottom: 40px; border-bottom: 1px solid var(--hm-hair); }
.home-body .hm-process__head .eyebrow { display: flex; margin-bottom: 14px; }
.home-body .hm-process__title { font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.125rem); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.home-body .hm-process__title .l { display: block; }
.home-body .hm-process__side p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--body); max-width: 46ch; }
.home-body .hm-process__side .hm-ctas { margin-top: 24px; gap: 12px 28px; }
.home-body .hm-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--gutter); margin-top: 48px; }
.home-body .hm-step { position: relative; padding-top: 22px; }
.home-body .hm-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: 0 50%; }
.home-body .hm-step__n { display: block; font-family: var(--serif); font-stretch: 75%; font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem); line-height: .9; letter-spacing: -0.02em; color: var(--ink); }
.home-body .hm-step h3 { margin-top: 22px; font-size: 1.0625rem; line-height: 1.35; font-weight: 700; color: var(--ink); }
.home-body .hm-step p { margin-top: 8px; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.home-body .hm-steps__note { margin-top: 32px; font-size: .9375rem; color: var(--muted); }
.home-body .hm-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-block: 1px solid var(--hm-hair); }
.home-body .hm-trust li { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px 20px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.home-body .hm-trust li + li { border-left: 1px solid var(--hm-hair); }
.home-body .hm-trust svg { width: 24px; height: 24px; flex: none; color: var(--cherry); }
/* while the motion layer draws them (am-home.js adds .am-steps for the reveal only) */
.home-body .am-steps .hm-step::before { transform: scaleX(var(--am-rule, 1)); }
@media (max-width: 1099px) {
  .home-body .hm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px var(--gutter); }
  .home-body .hm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-body .hm-trust li:nth-child(3) { border-left: 0; }
  .home-body .hm-trust li:nth-child(n + 3) { border-top: 1px solid var(--hm-hair); }
}
@media (max-width: 767px) {
  .home-body .hm-process__head { grid-template-columns: 1fr; padding-bottom: 28px; }
  .home-body .hm-steps { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .home-body .hm-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; padding: 18px 0; }
  .home-body .hm-step::before { background: var(--hm-hair); }
  .home-body .hm-step__n { grid-row: span 2; font-size: 2.75rem; }
  .home-body .hm-step h3 { margin-top: 2px; }
  .home-body .hm-trust { grid-template-columns: 1fr; margin-top: 40px; }
  .home-body .hm-trust li { min-height: 60px; padding: 10px 0; }
  .home-body .hm-trust li + li { border-left: 0; border-top: 1px solid var(--hm-hair); }
}

/* ==========================================================================
   6. S5 the Zeekr 9X exploded view (owner shot home-s5, prototype v2 "Każdy detal, z bliska.") on BLACK (owner
   ~17:10): a tall scroll run (--xv-run) whose stage sticks for the whole run (CSS position: sticky: anchors, reloads and
   back/forward land exactly; GSAP ScrollTrigger only reads the progress); the live three.js canvas (am-explode.js)
   over the car-only poster, which fades out at the first live frame; the head top left, the three captions bottom left
   (the one of the current phase lit, its rule filling with the phase), the CTAs bottom right, a thin progress line.
   Owner ~17:45 ("za pusto"): a larger car (am-explode.js fits its box), a soft beam of light from above and a pool of
   light on the floor where the car stands, callouts with hairline leaders on the parts as they separate (am-home.js
   places them on the anchors the 3D reports). Static mode (reduced motion, data saver, no WebGL): one screen, the
   exploded poster, all three captions, the callouts on the poster's anchors.
   ========================================================================== */
.home-body .xv { --xv-bg: #060606; --xv-run: 340vh; --xv-cx: 58.5%; --xv-floor: 64%; position: relative; height: var(--xv-run); background: var(--xv-bg); color: var(--on-dark); }
.home-body .xv__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.home-body .xv__backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(46% 40% at var(--xv-cx) 60%, rgb(255 236 210 / .07) 0%, rgb(255 236 210 / .025) 46%, rgb(255 236 210 / 0) 72%),
  linear-gradient(180deg, #060606 0%, #0A0908 62%, #060606 100%); }
/* the beam: a soft cone of warm light from above the car, fading toward the floor (blurred, then masked) */
.home-body .xv__beam { position: absolute; left: var(--xv-cx); top: -4%; width: min(78vw, 1100px); height: 84%; transform: translateX(-50%);
  background: conic-gradient(from 0deg at 50% 0%, rgb(255 240 220 / 0) 0deg 156deg, rgb(255 240 220 / .07) 166deg, rgb(255 240 220 / .12) 180deg, rgb(255 240 220 / .07) 194deg, rgb(255 240 220 / 0) 204deg 360deg);
  filter: blur(14px); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .85) 45%, transparent 96%); mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .85) 45%, transparent 96%); }
/* the light source: a thin bright line at the top of the beam */
.home-body .xv__beam::before { content: ""; position: absolute; left: 43%; right: 43%; top: 4%; height: 2px; border-radius: 2px; background: rgb(255 246 232 / .5); filter: blur(1.5px); }
/* the pool of light on the floor around the car, and the floor's faint horizon */
.home-body .xv__floor { position: absolute; left: var(--xv-cx); top: var(--xv-floor); width: min(92vw, 1300px); height: 34%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgb(255 238 214 / .11), rgb(255 238 214 / .04) 56%, rgb(255 238 214 / 0)); }
.home-body .xv__floor::after { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 1px;
  background: linear-gradient(90deg, rgb(255 238 214 / 0), rgb(255 238 214 / .1) 30%, rgb(255 238 214 / .1) 70%, rgb(255 238 214 / 0)); }
.home-body :is(.xv__poster, .xv__canvas) { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-body .xv__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 600ms var(--ease-out); }
.home-body .xv__canvas { opacity: 0; transition: opacity 600ms var(--ease-out); }
.home-body .xv.is-xv-ready .xv__canvas { opacity: 1; }
.home-body .xv.is-xv-ready .xv__poster img { opacity: 0; }
.home-body .xv__head { position: absolute; z-index: 2; left: var(--margin); top: calc(var(--header-h) + 36px); max-width: 440px; }
.home-body .xv__head .t-title { color: #fff; }
.home-body .xv__story { position: absolute; z-index: 2; left: var(--margin); bottom: 52px; display: grid; gap: 2px; width: min(380px, 32vw); }
.home-body .xv__story li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid rgb(255 255 255 / .14); opacity: .42; transition: opacity 400ms var(--ease-out); }
.home-body .xv__story li.is-on { opacity: 1; }
.home-body .xv__n { font-family: var(--serif); font-stretch: 75%; font-size: 1.25rem; line-height: 1.3; color: var(--cherry-on-dark); }
.home-body .xv__story h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; color: #fff; }
.home-body .xv__story p { margin-top: 2px; font-size: .875rem; line-height: 1.5; color: var(--on-dark-muted); }
.home-body .xv__cta { position: absolute; z-index: 2; right: var(--margin); bottom: 52px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.home-body .xv__bar { position: absolute; left: var(--margin); right: var(--margin); bottom: 26px; height: 2px; background: rgb(255 255 255 / .1); }
.home-body .xv__bar span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #DCCDB2, var(--cherry-on-dark) 50%, #DCCDB2); transform-origin: 0 50%; transform: scaleX(var(--xv-p, 0)); }
/* the active caption's rule fills with its phase (am-home.js sets --xv-step 0..1 on it, eased with the car on every
   frame, so no transition on the width: owner 2026-10-26 "te paski bardzo skaczą przy scrollu"); the rule of the
   caption just left keeps its length and fades out */
.home-body .xv__story li { position: relative; }
.home-body .xv__story li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--cherry-on-dark); transform-origin: 0 50%; transform: scaleX(var(--xv-step, 0)); opacity: 0; transition: opacity 360ms var(--ease-out); }
.home-body .xv__story li.is-on::before { opacity: 1; transition: none; }
/* callouts: hairline leaders (SVG) from a small ring on the part to the label; am-home.js writes the label's place
   (--x, --y), its share (--k: 0 hidden .. 1 full) and the paths; hidden without JS (the captions carry the story) */
.home-body .xv__lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.home-body .xv__lines path { fill: none; stroke: rgb(236 224 204 / .58); stroke-width: 1; vector-effect: non-scaling-stroke; }
.home-body .xv__lines .xv-dot { fill: #EFE3CC; }
.home-body .xv__lines .xv-ring { fill: rgb(220 205 178 / .12); stroke: rgb(236 224 204 / .7); stroke-width: 1; }
.home-body .xv__callouts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
html:not(.js) .home-body :is(.xv__callouts, .xv__lines) { display: none; }
.home-body .xv-call { position: absolute; left: 0; top: 0; display: grid; justify-items: start; gap: 3px; width: max-content; max-width: 270px; opacity: 0; visibility: hidden;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0); }
.home-body .xv-call.is-on { visibility: visible; opacity: var(--k, 0); }
.home-body .xv-call[data-align="end"] { justify-items: end; text-align: right; }
.home-body .xv-call__part { font-size: .6875rem; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--cherry-on-dark); }
.home-body .xv-call__fig { font-family: var(--serif); font-weight: 400; font-stretch: 75%; font-size: clamp(1.875rem, 1.3rem + 1.1vw, 2.625rem); line-height: 1; letter-spacing: -0.01em; color: #fff; }
/* the figure never breaks; its unit goes under it when the label is narrower than both (phones, longer languages) */
.home-body .xv-call__num, .home-body .xv-call__unit { white-space: nowrap; }
.home-body .xv-call__unit { display: inline-block; font-family: var(--sans); font-stretch: normal; font-size: .875rem; letter-spacing: 0; color: rgb(255 255 255 / .78); }
.home-body .xv-call__txt { max-width: 220px; font-size: .8125rem; line-height: 1.4; color: rgb(255 255 255 / .7); text-wrap: balance; }
/* static: one screen, the exploded poster (the <picture> picks it for reduced motion), every caption lit */
.home-body .xv.is-xv-static { height: auto; }
.home-body .xv.is-xv-static .xv__stage { position: relative; height: auto; min-height: 100vh; min-height: 100svh; }
.home-body .xv.is-xv-static .xv__story li { opacity: 1; }
.home-body .xv.is-xv-static .xv__bar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .home-body .xv { height: auto; }
  .home-body .xv__stage { position: relative; height: auto; min-height: 100svh; }
  .home-body .xv__story li { opacity: 1; transition: none; }
  .home-body .xv__bar { display: none; }
}
@media (max-width: 1099px) {
  .home-body .xv__story { width: min(340px, 40vw); }
}
/* the captions + CTAs wrapper (home.ejs .xv__foot): no box of its own on wide screens, so both keep their places */
.home-body .xv__foot { display: contents; }
/* a label without its line of text, where its free band is too tight (am-home.js) */
.home-body .xv-call.is-compact .xv-call__txt { display: none; }

/* ---------- phones and tablets upright, phones held sideways (mobile-polish, owner 2026-10-26 "na telefonie wygląda
   tragicznie", desktop unchanged) ----------
   Upright: the heading on top, the car big and centred, the labels in the free bands above and below the car's box
   (am-home.js: never over the car or each other, a straight leader from the part), and at the foot ONE column: the
   current caption (the three stacked in one cell, crossfading, so the column never jumps) over the CTAs (side by side
   when both fit, else one under the other), the progress line under them. Static (reduced motion, data saver, no
   WebGL): the heading, the exploded poster in a band of its own, the labels around it, the three captions, the CTAs,
   all in the flow. */
@media (max-width: 1023px) and (orientation: portrait) {
  .home-body .xv { --xv-run: 300vh; --xv-cx: 50%; --xv-floor: 58%; }
  /* live: the car is centred between the heading and the captions (am-home.js sets --xv-shift-y, the 3D camera's
     vertical offset; the posters were drawn at its default .01), the poster and the pool of light move with it */
  .home-body .xv:not(.is-xv-static) .xv__poster img { translate: 0 calc((var(--xv-shift-y, .01) - .01) * 100%); }
  .home-body .xv:not(.is-xv-static) .xv__floor { top: calc(var(--xv-floor) + (var(--xv-shift-y, .01) - .01) * 100%); }
  /* the beam's box as wide as its 48° cone and blur need on a tall, narrow stage (>= .75 x its height), so the box's
     sides do not cut the light into hard vertical seams; the stage clips the rest (mobile-fix) */
  .home-body .xv__beam { width: max(78vw, 80svh); }
  .home-body .xv__head { left: var(--margin); right: var(--margin); top: calc(var(--header-h) + 18px); max-width: 560px; }
  .home-body .xv__foot { position: absolute; z-index: 2; left: var(--margin); right: var(--margin); bottom: 36px; display: flex; flex-direction: column; gap: 18px; }
  .home-body .xv__story { position: static; display: grid; width: auto; gap: 0; }
  .home-body .xv__story li { grid-area: 1 / 1; padding: 12px 0 0; opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease-out), visibility 0s linear 360ms; }
  .home-body .xv__story li.is-on { opacity: 1; visibility: visible; transition: opacity 360ms var(--ease-out); }
  .home-body .xv__cta { position: static; display: flex; flex-wrap: wrap; justify-content: stretch; gap: 8px; }
  .home-body .xv__cta .btn { flex: 1 1 auto; min-height: 46px; white-space: nowrap; }
  .home-body .xv__bar { bottom: 16px; }
  /* static: everything in the flow, the poster car in a band of its own between the heading and the captions */
  .home-body .xv.is-xv-static .xv__stage { display: flex; flex-direction: column; height: auto; min-height: 100svh; padding: calc(var(--header-h) + 18px) 0 36px; }
  .home-body .xv.is-xv-static .xv__head { position: relative; inset: auto; order: -1; margin-inline: var(--margin); }
  .home-body .xv.is-xv-static .xv__poster { position: relative; inset: auto; display: block; flex: none; width: 100%; height: auto; aspect-ratio: 16 / 10; margin-block: 8px; }
  .home-body .xv.is-xv-static .xv__foot { position: relative; inset: auto; margin-inline: var(--margin); }
  .home-body .xv.is-xv-static .xv__story li { grid-area: auto; opacity: 1; visibility: visible; transition: none; }
}
@media (max-width: 767px) {
  .home-body .xv { --xv-run: 280vh; }
  .home-body .xv__head .hm-eyebrow { margin-bottom: 10px; }
  .home-body .xv__head .t-title { font-size: 1.875rem; }
  .home-body .xv__story li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .home-body .xv__n { font-size: 1.125rem; }
  .home-body .xv__story h3 { font-size: .9375rem; }
  .home-body .xv__story p { font-size: .8125rem; line-height: 1.45; }
  .home-body .xv__cta .btn { padding-inline: 18px; font-size: .9375rem; }
  .home-body .xv-call { max-width: calc(50vw - var(--margin) - 8px); gap: 2px; }
  .home-body .xv-call__part { font-size: .625rem; letter-spacing: .12em; }
  .home-body .xv-call__fig { font-size: 1.5rem; }
  .home-body .xv-call__unit { font-size: .75rem; }
  .home-body .xv-call__txt { max-width: none; font-size: .75rem; line-height: 1.35; }
}
/* static on a phone upright: the upright poster cropped to its car (cover) in a band as tall as the screen allows */
@media (max-width: 767px) and (orientation: portrait) {
  .home-body .xv.is-xv-static .xv__poster { aspect-ratio: auto; height: clamp(340px, 108vw, 58svh); }
  .home-body .xv.is-xv-static .xv__poster img { object-fit: cover; }
}
/* reduced motion without the script (with it, am-home.js sets .is-xv-static): the same static layout */
@media (max-width: 1023px) and (orientation: portrait) and (prefers-reduced-motion: reduce) {
  .home-body .xv__stage { display: flex; flex-direction: column; min-height: 100svh; padding: calc(var(--header-h) + 18px) 0 36px; }
  .home-body .xv__head { position: relative; inset: auto; order: -1; margin-inline: var(--margin); }
  .home-body .xv__poster { position: relative; inset: auto; display: block; flex: none; width: 100%; height: auto; aspect-ratio: 16 / 10; margin-block: 8px; }
  .home-body .xv__foot { position: relative; inset: auto; margin-inline: var(--margin); }
  .home-body .xv__story li { grid-area: auto; opacity: 1; visibility: visible; transition: none; }
}
@media (max-width: 767px) and (orientation: portrait) and (prefers-reduced-motion: reduce) {
  .home-body .xv__poster { aspect-ratio: auto; height: clamp(340px, 108vw, 58svh); }
  .home-body .xv__poster img { object-fit: cover; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .home-body .xv { --xv-run: 300vh; }
  .home-body .xv__head { top: calc(var(--header-h) + 10px); left: var(--margin); right: auto; max-width: 34vw; }
  .home-body .xv__head .eyebrow { margin-bottom: 6px; }
  .home-body .xv__head .t-title { font-size: 1.625rem; }
  .home-body .xv__story { left: var(--margin); right: auto; width: 34vw; bottom: 62px; display: grid; gap: 0; }
  /* the three captions stacked in one cell, crossfading */
  .home-body .xv__story li { grid-area: 1 / 1; padding: 8px 0 0; opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease-out), visibility 0s linear 360ms; }
  .home-body .xv__story li.is-on { opacity: 1; visibility: visible; transition: opacity 360ms var(--ease-out); }
  .home-body .xv__story p { display: none; }
  .home-body .xv__cta { left: auto; right: var(--margin); bottom: 14px; flex-direction: row; }
  .home-body .xv__cta .btn { min-height: 40px; padding: 0 16px; font-size: .8125rem; }
  .home-body .xv__bar { bottom: 6px; }
  .home-body .xv-call { max-width: 170px; gap: 1px; }
  .home-body .xv-call__part { font-size: .5625rem; letter-spacing: .12em; }
  .home-body .xv-call__fig { font-size: 1.25rem; }
  .home-body .xv-call__unit { font-size: .6875rem; }
  .home-body .xv-call__txt { max-width: 170px; font-size: .6875rem; line-height: 1.3; }
  .home-body .xv.is-xv-static .xv__story li { grid-area: auto; opacity: 1; visibility: visible; transition: none; padding-top: 6px; }
  .home-body .xv.is-xv-static .xv__story { bottom: 16px; }
  .home-body .xv.is-xv-static .xv__stage { min-height: 100svh; }
}
@media (orientation: landscape) and (max-height: 520px) and (prefers-reduced-motion: reduce) {
  .home-body .xv__story li { grid-area: auto; opacity: 1; visibility: visible; transition: none; }
  .home-body .xv__story { bottom: 62px; }
}
@media (forced-colors: active) {
  .home-body .xv__canvas, .home-body .xv__lines, .home-body .xv__beam { display: none; }
}

/* ==========================================================================
   7. S6 services, the test-drive band, the FAQ and the phone dock (owner ~20:45: the tile + podium version was
   "brzydka"). One editorial pattern, shared by S6 and the FAQ (.hm-split): the head on the left (eyebrow, serif title,
   lead, one CTA), the content on the right on fine hairlines. S6: the five services as a numbered list (bronze
   numerals, serif names, a calm hover: the rule fills in bronze, the name eases forward). The test drive: a band of its
   own on black (owner ~21:15 "to na czarnym tle": the S3 near-black, .band-dark light copy, bronze pill, light link),
   the car ALONE on a warm floor glow (its baked ground shadow reads as the contact shade), whole at every size (no
   podium, no wall logo). Motion (am-home.js, GSAP): the rows rise one after another, the car glides in.
   ========================================================================== */
.home-body :is(.hm-services, .hm-faq) { --hm-hair: rgb(26 25 23 / .16); }
.home-body .hm-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--head-gap) var(--gutter); align-items: start; }
.home-body .hm-split__head .eyebrow { display: flex; margin-bottom: 14px; }
.home-body .hm-split__head .t-title { text-wrap: balance; }
/* desktop: the head stays beside its list while the list scrolls by (under the header) */
@media (min-width: 1100px) {
  .home-body .hm-split__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.home-body .hm-split__lead { margin-top: 20px; max-width: 40ch; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.6; color: var(--body); }
.home-body .hm-split__head .btn { margin-top: 30px; gap: 8px; }
.home-body .hm-split__head .btn svg, .home-body .hm-drive .hm-ctas svg { width: 18px; height: 18px; }
/* the statement title of the two light editorial heads, S4 and S6, one size */
.home-body .hm-statement { font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.125rem); line-height: 1.02; letter-spacing: -0.015em; }

/* S6: the services list */
.home-body .hm-svc { border-bottom: 1px solid var(--hm-hair); }
.home-body .hm-svc__item { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr); align-items: baseline; column-gap: 24px; padding: 28px 0 30px; border-top: 1px solid var(--hm-hair); }
.home-body .hm-svc__item::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--cherry); transform: scaleX(0); transform-origin: 0 50%; }
.home-body .hm-svc__n { font-family: var(--serif); font-stretch: 75%; font-size: 1.125rem; line-height: 1; letter-spacing: .04em; color: var(--cherry); font-variant-numeric: tabular-nums; }
.home-body .hm-svc__item h3 { font-family: var(--serif); font-weight: 400; font-stretch: 75%; font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.375rem); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); overflow-wrap: normal; hyphens: auto; text-wrap: balance; }
.home-body .hm-svc__item p { max-width: 34ch; font-size: 1rem; line-height: 1.55; color: var(--muted); }

/* the test drive: the near-black band (the hero / S3 black), a faint warm studio light behind the car, the copy
   (head + info) beside the car, centred on it */
.home-body .hm-drive { --hm-night: #0D0C0B; --hm-line: rgb(255 255 255 / .14); position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(46% 64% at 72% 46%, rgb(255 238 214 / .075) 0%, rgb(255 238 214 / .03) 46%, rgb(255 238 214 / 0) 74%),
    var(--hm-night); }
.home-body .hm-drive__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head car" "info car"; column-gap: var(--gutter); }
.home-body .hm-drive__head { grid-area: head; align-self: end; }
.home-body .hm-drive__head .eyebrow { display: flex; margin-bottom: 14px; }
.home-body .hm-drive__head .t-title { text-wrap: balance; color: #fff; }
.home-body .hm-drive__lead { margin-top: 18px; max-width: 40ch; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.6; color: rgb(250 250 248 / .8); }
.home-body .hm-drive__info { grid-area: info; align-self: start; max-width: 440px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hm-line); }
.home-body .hm-drive__addr { display: grid; gap: 2px; font-style: normal; }
.home-body .hm-drive__label { margin-bottom: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.home-body .hm-drive__street { font-size: 1.0625rem; font-weight: 600; color: #fff; }
.home-body .hm-drive__place { font-size: .9375rem; color: var(--on-dark-muted); }
.home-body .hm-drive__note { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .9375rem; color: rgb(250 250 248 / .8); }
.home-body .hm-drive__note::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--cherry-on-dark); }
.home-body .hm-drive .hm-ctas { margin-top: 28px; }
/* the car alone on a soft warm floor glow (no podium): the glow sits in the picture's own frame (same width, same
   1216:624 ratio, so it stays under the wheels at every size); the picture's baked ground shadow darkens it right
   under the car, a contact shade on a lit floor. The picture reaches a little into the right margin, never past the
   screen */
.home-body .hm-drive__car { --hm-car-w: calc(100% + .5 * var(--margin)); grid-area: car; position: relative; align-self: center; min-width: 0; margin: 0; }
.home-body .hm-drive__car::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: var(--hm-car-w); aspect-ratio: 1216 / 624; pointer-events: none;
  background:
    radial-gradient(36% 8% at 50% 84%, rgb(255 240 222 / .25) 0%, rgb(255 240 222 / 0) 100%),
    radial-gradient(48% 15% at 50% 83%, rgb(255 236 212 / .17) 0%, rgb(255 236 212 / .06) 55%, rgb(255 236 212 / 0) 100%); }
.home-body .hm-drive__car img { display: block; width: var(--hm-car-w); max-width: none; height: auto; }
.home-body .hm-drive__car figcaption { margin-top: -4%; text-align: right; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }

/* the FAQ: the site's accordion on the same hairlines */
.home-body .hm-faq__list { border-top: 1px solid var(--hm-hair); }
.home-body .hm-faq__item { border-bottom-color: var(--hm-hair); }
.home-body .hm-faq__item > summary { min-height: 76px; padding: 20px 0; font-size: 1.125rem; line-height: 1.4; }
.home-body .hm-faq__item .acc__body { max-width: 62ch; padding: 0 48px 26px 0; font-size: 1rem; line-height: 1.65; color: var(--body); }
.home-body .hm-faq__item .acc__body .link { font-weight: 600; white-space: nowrap; }

@media (max-width: 1099px) {
  .home-body .hm-split { grid-template-columns: minmax(0, 1fr); }
  .home-body .hm-split__lead { max-width: 56ch; }
  .home-body .hm-svc__item { grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr); padding: 24px 0 26px; }
  .home-body .hm-drive__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "car" "info"; }
  .home-body .hm-drive__head { align-self: start; }
  .home-body .hm-drive__car { --hm-car-w: 100%; width: min(100%, 760px); justify-self: center; margin: 28px 0 0; }
  .home-body .hm-drive__info { max-width: none; margin-top: 20px; }
}
/* phones held sideways: the band stays two columns, the copy beside the car */
@media (max-width: 1099px) and (orientation: landscape) and (max-height: 520px) {
  .home-body .hm-drive__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head car" "info car"; }
  .home-body .hm-drive__head { align-self: end; }
  .home-body .hm-drive__car { width: auto; margin: 0; }
  .home-body .hm-drive__info { margin-top: 20px; padding-top: 16px; }
  .home-body .hm-drive .hm-ctas { margin-top: 18px; }
}
@media (max-width: 767px) {
  .home-body .hm-svc__item { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 20px 0 22px; }
  .home-body .hm-svc__item p { grid-column: 2; }
  .home-body .hm-svc__item h3 { font-size: 1.75rem; }
  .home-body .hm-split__head .btn { width: 100%; }
  .home-body .hm-drive .hm-ctas .btn { flex: 1 1 100%; }
  .home-body .hm-faq__item > summary { min-height: 64px; padding: 16px 0; font-size: 1.0625rem; }
  .home-body .hm-faq__item .acc__body { padding-right: 0; }
}
@media (forced-colors: active) {
  .home-body .hm-drive__car::before { display: none; }
}

/* the phone dock (portrait phones and phones held sideways): dark liquid glass, the phone and the bronze CTA; shown by
   am-home.js (.is-on), the right label and icon kept by its fit (.is-tight drops the icon, .is-tighter the long label) */
.home-body .hm-dock { display: none; }
@media (max-width: 767px), (orientation: landscape) and (max-height: 520px) {
  .home-body .hm-dock { display: block; position: fixed; z-index: var(--z-bottombar); left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    visibility: hidden; opacity: 0; transform: translate3d(0, calc(100% + 24px), 0); pointer-events: none;
    transition: transform 420ms var(--ease-settle), opacity 300ms var(--ease-out), visibility 0s linear 420ms; }
  .home-body .hm-dock.is-on { visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    transition: transform 420ms var(--ease-settle), opacity 300ms var(--ease-out), visibility 0s; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .home-body .hm-dock { left: auto; right: max(12px, env(safe-area-inset-right)); bottom: 10px; width: min(440px, calc(100% - 24px)); }
}
.home-body .hm-dock__in { display: flex; align-items: center; gap: 6px; padding: 6px; overflow: hidden; border-radius: var(--pill); background: rgb(20 19 17 / .86);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), 0 18px 40px -16px rgb(0 0 0 / .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.home-body .hm-dock__call { flex: none; min-width: max-content; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border-radius: var(--pill);
  color: #fff; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.home-body .hm-dock__call:active { background: rgb(255 255 255 / .1); }
.home-body .hm-dock__ico { flex: none; width: 18px; height: 18px; color: var(--cherry-on-dark); }
.home-body .hm-dock__cta { flex: 1 0 auto; min-width: max-content; min-height: 44px; padding: 0 18px; font-size: .875rem; }
.home-body .hm-dock__short { display: none; }
.home-body .hm-dock.is-tight .hm-dock__ico { display: none; }
.home-body .hm-dock.is-tight .hm-dock__call { padding-left: 14px; }
.home-body .hm-dock.is-tighter .hm-dock__long { display: none; }
.home-body .hm-dock.is-tighter .hm-dock__short { display: inline; }
/* the cookie banner sits at the bottom too: the dock waits for it. Only a child of <body> (privacy-consent.js appends
   the banner to it): a :has() over the whole page made the browser re-check <body> after any element was added
   anywhere (the heading reveals' line masks) and widened every forced style recalc to ~150 elements */
.home-body:has(> .aa-cookie-banner) .hm-dock { display: none; }
@media (prefers-reduced-motion: reduce) {
  .home-body .hm-dock, .home-body .hm-dock.is-on { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .home-body .hm-dock__in { -webkit-backdrop-filter: none; backdrop-filter: none; background: #1C1C1C; }
}
@media (forced-colors: active) {
  .home-body .hm-dock__in { border: 1px solid CanvasText; }
}
@media print {
  .home-body .hm-dock { display: none; }
}

/* ==========================================================================
   8. Articles — concept .articles/.article (10-components); an article without a cover keeps the media box
   ========================================================================== */
.home-body .article__placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--serif); font-stretch: 75%; font-size: 1.75rem; color: var(--muted); }

/* ==========================================================================
   9. Motion layer (am-home.js: GSAP + ScrollTrigger + SplitText, self-hosted) — home-extra.css §4
   Nothing here changes the resting page: every rule applies only while the motion layer holds an element in an
   animation (a class it adds and removes again). html.am-intro is set by the inline snippet before the hero (motion
   allowed, JS on); it holds the hero at the intro's first frame until am-home.js takes over in the same frame, and
   the snippet's watchdog drops it after 3.5 s if the motion layer never runs.
   ========================================================================== */
html.am-intro .home-body .hero .eyebrow, html.am-intro .home-body .hero h1, html.am-intro .home-body .hero__lead, html.am-intro .home-body .hero__ctas > * { opacity: 0; }
/* the film's first frame: the media layer settles from a slow push-in (transform only: the poster is the LCP element
   and is painted at once, never faded) */
html.am-intro .home-body .hero__media { transform: scale(1.06); }

/* line draws: the hero eyebrow rule and the 28 px .mark rule above section titles scale in from their start edge */
.home-body .am-draw::before { transform: scaleX(var(--am-draw, 0)); transform-origin: 0 50%; }
.home-body .section-head--center .am-draw::before { transform-origin: 50% 50%; }

/* SplitText line masks: the clip box reaches past the tight serif line box, so ascenders, descenders and Polish
   accents are never cut while a line rises; the negative margins keep the layout unchanged */
.home-body .am-line-mask { padding-block: .1em .2em; margin-block: -.1em -.2em; }
.home-body .am-split { display: flex; flex-direction: column; } /* while split: the masked lines are exactly as tall as the title's own lines */

/* ==========================================================================
   10. Preferences (concept.css 905-925, home parts)
   ========================================================================== */
/* the hero film: reduced motion = the poster only (am-home.js never loads it either); stronger, flat scrims for more
   contrast; a solid pause button without transparency; nothing of it in print */
@media (prefers-reduced-motion: reduce) {
  .home-body .hero__video, .home-body .hero__toggle { display: none; }
}
@media (prefers-contrast: more) {
  .home-body .hero__media::after { background: rgb(9 8 7 / .8); }
}
@media (prefers-contrast: more) and (max-width: 1099px) and (orientation: portrait) {
  .home-body .hero__media::after { background: linear-gradient(180deg, rgb(9 8 7 / .7) 0, rgb(9 8 7 / .7) 52%, #0D0C0B 100%); }
}
@media (prefers-reduced-transparency: reduce) {
  .home-body .hero__toggle { -webkit-backdrop-filter: none; backdrop-filter: none; background: #1C1C1C; }
}
@media (forced-colors: active) {
  .home-body .hero__toggle { border: 1px solid ButtonText; color: ButtonText; background: ButtonFace; }
}
@media print {
  .home-body .hero__video, .home-body .hero__toggle { display: none; }
}

/* ==========================================================================
   11. Hover layer (owner 2026-10-14: more hover animation on the home page). Pointer devices only (touch keeps the
   press feedback of am.js); anything that moves also needs prefers-reduced-motion: no-preference. Lifts and nudges use
   the individual translate / scale properties: they compose with the transforms the motion layer (GSAP) and the press
   feedback write. Never touched: everything inside the exploded view's stage (scroll-driven). Keyboard focus mirrors
   the hover where it helps (cards, articles, links, buttons, brand logos).
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  /* links: a quiet track at rest, the full underline draws in from the start edge */
  .home-body .link:not(.xv *) {
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(color-mix(in srgb, currentColor 30%, transparent), color-mix(in srgb, currentColor 30%, transparent));
    background-size: 0 1px, 100% 1px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
    transition: color var(--t-color) var(--ease-out), background-size 420ms var(--ease-expand); }
  .home-body .link:not(.xv *):is(:hover, :focus-visible),
  .home-body .article:is(:hover, :has(h3 a:focus-visible)) .link { background-size: 100% 1px, 100% 1px; }
  .home-body .article:is(:hover, :has(h3 a:focus-visible)) .link { color: var(--cherry); }
  .home-body .article h3 a { transition: color var(--t-color) var(--ease-out); }
  .home-body .article:hover h3 a { color: var(--cherry); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* buttons: a 2 px lift with a soft shadow, the arrow nudges toward where it leads */
  .home-body .btn { transition: background-color var(--t-color) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow 240ms var(--ease-out), translate 260ms var(--ease-settle); }
  .home-body .btn:is(:active, .is-pressed) { transition-duration: 60ms; }
  .home-body .btn:not(.btn--block):hover { translate: 0 -2px; box-shadow: 0 12px 24px -14px rgb(26 25 23 / .55); }
  .home-body :is(.hero, .on-dark, .band-dark) .btn:not(.btn--block):hover { box-shadow: 0 14px 30px -14px rgb(0 0 0 / .85); }
  .home-body :is(.btn, .link, .brand-pill .all) svg { transition: translate 280ms var(--ease-settle), transform var(--t-color) var(--ease-out); }
  .home-body :is(.btn, .brand-pill .all):is(:hover, :focus-visible) svg,
  .home-body .link:is(:hover, :focus-visible) svg,
  .home-body .article:is(:hover, :has(h3 a:focus-visible)) .link svg { transform: none; translate: 4px 0; }

  /* S2: the rail arrows point the way they move; a card lifts, its car eases forward (the rail keeps 8 px above its
     cards for the lift); never while it is dragged.
     The lift's shadow (--shadow-card-hover, a 40 px blur) is painted once on the slide's ::before, under the card, and
     only its opacity and lift move (on the compositor): an animated box-shadow repainted the card and its blur on
     every frame of the 300 ms, and each blur radius on the way was a new GPU pipeline in Chrome (up to 1.7 s frozen on
     a cold shader cache). At rest the ::before is not painted at all (visibility), so the page at rest is today's
     pixels; at the end of the lift the card shows the same two shadows, 4 px higher.
     .is-hover-off (am-home.js §2): while the PAGE moves, a card the scroll carries under a resting pointer stays at
     rest (the card the visitor was pointing at keeps its lift); it lifts as before once the page slows to its last
     ~30 px or stops. The hit target never changes: a click during the glide still opens the card. */
  .home-body .icon-btn:is([data-prev], [data-next]) svg { transition: translate 260ms var(--ease-settle); }
  .home-body .icon-btn[data-prev]:hover svg { translate: -2px 0; }
  .home-body .icon-btn[data-next]:hover svg { translate: 2px 0; }
  .home-body .hm-rail .rail__slide { position: relative; }
  .home-body .hm-rail .rail__slide::before { content: ""; position: absolute; inset: 0; border-radius: var(--r); pointer-events: none;
    box-shadow: var(--shadow-card-hover); opacity: 0; visibility: hidden;
    transition: opacity 300ms var(--ease-out), translate 360ms var(--ease-settle), visibility 0s linear 360ms; }
  .home-body .hm-rail .rail__slide:is(:hover:not(.is-hover-off), :has(.card__title a:focus-visible))::before { opacity: 1; visibility: visible; translate: 0 -4px;
    transition: opacity 300ms var(--ease-out), translate 360ms var(--ease-settle), visibility 0s; }
  .home-body .hm-card { transition: translate 360ms var(--ease-settle); }
  .home-body :is(.rail__slide:not(.is-hover-off) > .hm-card:hover, .hm-card:has(.card__title a:focus-visible)) { translate: 0 -4px; box-shadow: none; }
  .home-body :is(.rail__slide:not(.is-hover-off) > .hm-card:hover, .hm-card:has(.card__title a:focus-visible)) .hm-card__media img { transform: scale(1.04); }
  .home-body :is(.rail__slide:not(.is-hover-off) > .hm-card:hover, .hm-card:has(.card__title a:focus-visible)) .hm-card__btn { background: var(--bg-h); }
  .home-body :is(.rail__slide:not(.is-hover-off) > .hm-card:hover, .hm-card:has(.card__title a:focus-visible)) .hm-card__btn svg { translate: 4px 0; }
  .home-body .rail__track.is-dragging .hm-card { translate: none; transition: none; }
  .home-body .rail__track.is-dragging .rail__slide::before { translate: none; transition: none; }
  /* .is-hover-off: the components' own hovers (the car's 1.03 zoom, the pill's colour and arrow) stay at rest too;
     keyboard focus (the rules above, more specific) still lifts the card. The rules above key on the slide with a child
     combinator, so a toggle restyles ~60 elements of the rail, not its whole subtree (~280; fix/inval.json) */
  :where(.home-body .rail__slide.is-hover-off) .hm-card__media img { transform: none; }
  :where(.home-body .rail__slide.is-hover-off) .hm-card__btn:hover:not(:active, .is-pressed) { background: var(--bg); }
  .home-body .rail__slide.is-hover-off .hm-card__btn:hover svg { translate: none; }

  /* S6: a calm row: its rule fills in bronze from the left, the name eases forward */
  .home-body .hm-svc__item::before { transition: transform 700ms var(--ease-settle); }
  .home-body .hm-svc__item h3 { transition: translate 500ms var(--ease-settle); }
  .home-body .hm-svc__item:hover::before { transform: scaleX(1); }
  .home-body .hm-svc__item:hover h3 { translate: 6px 0; }

  /* articles: lift, the photo eases in */
  .home-body .article { transition: box-shadow 300ms var(--ease-out), transform 280ms var(--ease-out), translate 360ms var(--ease-settle); }
  .home-body .article:is(:hover, :has(h3 a:focus-visible)) { translate: 0 -4px; box-shadow: var(--shadow-card-hover); }
  .home-body .article:is(:hover, :has(h3 a:focus-visible)) .article__media img { transform: scale(1.05); }

  /* brand strip: the logo comes forward a little (more than 1.04 makes the hairline marks shimmer) */
  .home-body .brand-pill a[data-brand-logo] :is(.brand-pill__logo, .brand-pill__name) { transition: opacity var(--t-color) var(--ease-out), scale 320ms var(--ease-settle); }
  .home-body .brand-pill a[data-brand-logo]:is(:hover, :focus-visible) :is(.brand-pill__logo, .brand-pill__name) { scale: 1.04; }

  /* S4: the trust icons lift */
  .home-body .hm-trust li svg { transition: translate 320ms var(--ease-settle); }
  .home-body .hm-trust li:hover svg { translate: 0 -3px; }

  /* hero: the pause / play button */
  .home-body .hero__toggle svg { transition: scale 240ms var(--ease-settle); }
  .home-body .hero__toggle:hover svg { scale: 1.12; }
}
