/* =====================================================================
   TEMAI 7 | services.css
   owner task: code-services, act-services (second act)
   scope: makes strip (04), services specification sheet (05), the ROX 01 stage (06, replaces the offer band)
   Figma: makes 86:1913 / 86:1902, services 86:3748 / 86:3388 (+ service row sheet 03-site-servicerow-sheet.png), offer 86:5115 / 86:5512.
   Uses tokens.css and the primitives of base.css only. Read docs/dev/v7-css-api.md before you start.
   Logical properties (RTL first). Animate transform, opacity, clip-path, filter only
   (the row opens by grid-template-rows 0fr to 1fr, which the browser animates without a script measuring anything).
   ===================================================================== */

.svc [hidden] { display: none !important; }

/* ---------- 1. makes strip: two rows of plain mono text, hairlines above and below (desktop), stacked on phones ---------- */
.makes { padding-block: var(--space-40) var(--space-56); }
.makes__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-32); min-height: 75px; border-block: 1px solid var(--color-line-hair); }
.makes__row { display: flex; align-items: center; gap: var(--space-16); margin: 0; min-width: 0; }
.makes__label {
  flex: none; padding-inline-end: var(--space-16); border-inline-end: 1px solid var(--color-line-strong);
  font-size: var(--fs-label-m); line-height: var(--lh-label-m); font-weight: var(--fw-label-m); color: var(--color-text-secondary);
}
.makes__list {
  font-family: var(--font-code); font-size: var(--fs-code-m); line-height: var(--lh-code-m); font-weight: 500; letter-spacing: var(--ls-code); text-transform: uppercase;
  color: var(--color-text-primary); direction: ltr; unicode-bidi: isolate; white-space: nowrap;
}
.makes__row--acc .makes__list { color: var(--color-text-secondary); }
@media (max-width: 1099.98px) {
  .makes__in { flex-direction: column; align-items: stretch; gap: 0; border-block: 0; }
  .makes__row { flex-direction: column; align-items: flex-start; gap: var(--space-8); padding-block: var(--space-24); }
  .makes__row + .makes__row { border-block-start: 1px solid var(--color-line-hair); }
  .makes__label { padding-inline-end: 0; border-inline-end: 0; color: var(--color-text-muted); }
  .makes__list { white-space: normal; letter-spacing: 0.06em; }
}
@media (max-width: 759.98px) { .makes { padding-block: 0 var(--space-24); } }

/* ---------- 2. services section: header ---------- */
.svc { --svc-gap: 24px; --svc-pad: var(--space-24); --svc-cols: minmax(0, 0.86fr) minmax(0, 1fr) 130px 150px 150px 44px; }
.svc__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-24) var(--space-40); }
.svc__titles { display: flex; flex-direction: column; gap: var(--space-24); min-width: 0; }
.svc__title {
  font-family: var(--font-display); font-size: var(--fs-display-l); line-height: var(--lh-display-l); font-weight: var(--fw-display-l);
  color: var(--color-text-primary); text-wrap: balance;
}
:lang(en) .svc__title { letter-spacing: var(--ls-latin-display); }
.svc__lead { max-width: 500px; padding-block-end: var(--space-8); font-size: var(--fs-body-l); line-height: var(--lh-body-l); color: var(--color-text-secondary); text-wrap: pretty; }
@media (max-width: 759.98px) { .svc__head { flex-direction: column; align-items: flex-start; } .svc__lead { padding-block-end: 0; } }

/* ---------- 3. lane tabs (BYD, ROX 01, 4G SIM, accessories) ---------- */
.svc__tabs {
  display: flex; align-items: flex-end; gap: var(--space-8); margin-block-start: var(--space-72);
  border-block-end: 1px solid var(--color-line-hair); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.svc__tabs::-webkit-scrollbar { display: none; }
.svc__tab {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: var(--space-12); height: 70px; padding: 0 var(--space-24) var(--space-12);
  border: 1px solid var(--color-line-hair); border-block-end: 0; border-radius: var(--radius-md) var(--radius-md) 0 0; background: transparent; cursor: pointer;
  font-family: var(--font-text); font-size: var(--fs-label-l); line-height: var(--lh-label-l); font-weight: var(--fw-label-l); color: var(--color-text-secondary); white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.svc__tab .ic { width: 20px; height: 20px; color: var(--color-metal-steel); }
.svc__tab::after {                                    /* the red bar of the selected lane */
  content: ""; position: absolute; bottom: var(--space-12); left: 50%; width: 28px; height: 4px; margin-inline-start: -14px; border-radius: 1px;
  background: var(--color-brand-red); transform: scaleX(0); transition: transform var(--dur-base) var(--ease-out);
}
[dir="rtl"] .svc__tab::after { margin-inline-start: 0; margin-inline-end: -14px; left: auto; right: 50%; }
.svc__tab:hover { background: var(--color-surface-1); border-color: var(--color-line-strong); color: var(--color-text-primary); }
.svc__tab[aria-selected="true"] { background: var(--color-surface-2); border-color: var(--color-line-strong); color: var(--color-text-primary); }
.svc__tab[aria-selected="true"]::after { transform: scaleX(1); }
.svc__tab:active { background: var(--color-surface-3); }
.svc__tab:focus-visible { outline: var(--focus-ring); outline-offset: -3px; }
@media (max-width: 759.98px) {
  .svc__tab::after { background: var(--color-metal-steel); }
  .svc__tabs { margin-block-start: var(--space-40); margin-inline: calc(var(--page-margin) * -1); padding-inline: var(--page-margin); scroll-padding-inline: var(--page-margin); }
  .svc__tab { height: 56px; padding-inline: var(--space-20); }
}

/* ---------- 4. the sheet: column heads, ruler, rows ---------- */
.svc__cols, .svrow__main { display: grid; grid-template-columns: var(--svc-cols); column-gap: var(--svc-gap); align-items: center; padding-inline: var(--svc-pad); }
.svc__cols { padding-block-start: var(--space-40); padding-block-end: var(--space-8); font-size: var(--fs-label-s); line-height: var(--lh-label-s); font-weight: var(--fw-label-s); color: var(--color-text-muted); }
.svc__ruler { margin-block-end: 4px; }
.svc__list { position: relative; }

.svlane__h { display: none; }
.svrow { position: relative; background: transparent; transition: background-color var(--dur-base) var(--ease-out); }
.svrow__line { position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--color-line-hair); pointer-events: none; }
.svrow.is-open { background: var(--color-surface-1); }
.svrow.is-open .svrow__line { background: var(--color-line-strong); }
.svrow.is-open::before {                              /* the red bar on the start edge: this row is the open one (the only red of a row) */
  content: ""; position: absolute; inset-inline-start: 0; top: var(--space-24); width: 3px; height: 44px; border-radius: 1px; background: var(--color-brand-red);
}
.svrow__line { transition: background-color var(--dur-base) var(--ease-out); }
.svrow:not(.is-open):hover .svrow__line { background: var(--color-metal-steel); }     /* hover: the hairline brightens, no tint */

.svrow__main { min-height: 116px; padding-block: var(--space-24); cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out); }
.svrow.is-featured .svrow__main { padding-block-end: var(--space-12); }

.svc { --dir: 1; }
[dir="rtl"] .svc { --dir: -1; }
.svrow__name { min-width: 0; transition: transform var(--dur-base) var(--ease-out); }
.svrow:not(.is-open):hover .svrow__name { transform: translateX(calc(var(--dir) * 4px)); }      /* hover: the name moves 4px in the reading direction */
.svrow__title { font-family: var(--font-display); font-size: var(--fs-heading-s); line-height: var(--lh-heading-s); font-weight: var(--fw-heading-s); color: var(--color-text-primary); text-wrap: balance; }
:lang(en) .svrow__title, :lang(en) .svrow__now { letter-spacing: var(--ls-latin-display); }
.svrow__tags, .svrow__parts { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.svrow__tags { margin-block-start: var(--space-8); }
.svrow__tag-t { font-family: var(--font-text); font-size: var(--fs-label-s); line-height: var(--lh-label-s); font-weight: 500; letter-spacing: 0; text-transform: none; }
.svrow__desc { font-size: var(--fs-body-s); line-height: var(--lh-body-s); color: var(--color-text-secondary); text-wrap: pretty; }
.svrow__meta { display: contents; }
.svrow__time, .svrow__days { font-size: var(--fs-label-m); line-height: var(--lh-label-m); font-weight: var(--fw-label-m); color: var(--color-text-secondary); }

.svrow__price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.svrow__now { font-family: var(--font-display); font-size: var(--fs-numeric-m); line-height: var(--lh-numeric-m); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-text-primary); white-space: nowrap; }
.svrow__now.is-offer { color: var(--color-brand-red); }
.svrow__now.is-quote { font-family: var(--font-text); font-size: var(--fs-heading-s); line-height: var(--lh-heading-s); font-weight: 500; color: var(--color-text-secondary); white-space: normal; }
.svrow__was { font-size: var(--fs-label-s); line-height: var(--lh-label-s); color: var(--color-text-muted); font-variant-numeric: tabular-nums; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--color-text-muted) 70%, transparent); }
.svrow__note { font-size: var(--fs-label-s); line-height: var(--lh-label-s); color: var(--color-text-muted); }

.svrow__toggle {
  position: relative; display: grid; place-items: center; justify-self: end; width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-line-strong); border-radius: var(--radius-sm);
  background: transparent; color: var(--color-text-primary); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.svrow__toggle .ic { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.svrow__minus { opacity: 0; transform: rotate(-90deg); }
.svrow.is-open .svrow__plus { opacity: 0; transform: rotate(90deg); }
.svrow.is-open .svrow__minus { opacity: 1; transform: none; }
.svrow__main:hover .svrow__toggle, .svrow__toggle:hover { border-color: var(--color-metal-steel); background: var(--color-surface-2); }
.svrow.is-open .svrow__toggle { border-color: var(--color-line-strong); background: var(--color-surface-3); color: var(--color-text-primary); }
.svrow__toggle:active { transform: scale(0.96); background: var(--color-surface-3); }
.svrow__toggle:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }

.svrow__parts { padding: 0 var(--svc-pad) var(--space-24); }

/* ---------- 5. the opened row: what we do, good to know, the two actions ---------- */
.svrow__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base); }
.svrow.is-open .svrow__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.svrow__clip { min-height: 0; overflow: hidden; }
.svrow__body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 168px; column-gap: var(--space-56); align-items: start;
  padding-block: var(--space-8) var(--space-40); padding-inline: var(--svc-pad) calc(var(--svc-pad) + 44px + var(--svc-gap));
  opacity: 0; transform: translateY(-8px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.svrow.is-open .svrow__body { opacity: 1; transform: none; transition-delay: 60ms; }
.svrow__body.is-solo { grid-template-columns: minmax(0, 62ch) 1fr 168px; }
.svrow__body.is-solo .svrow__act { grid-column: 3; }
.svrow__label { margin-block-end: var(--space-8); font-size: var(--fs-label-s); line-height: var(--lh-label-s); font-weight: var(--fw-label-s); color: var(--color-text-muted); }
.svrow__what .svrow__text { font-size: var(--fs-body-m); line-height: var(--lh-body-m); color: var(--color-text-primary); text-wrap: pretty; }
.svrow__know .svrow__text { font-size: var(--fs-body-s); line-height: var(--lh-body-s); color: var(--color-text-secondary); text-wrap: pretty; }
.svrow__know li + li { margin-block-start: var(--space-8); }
.svrow__act { display: flex; flex-direction: column; gap: var(--space-12); }
.svrow__act .btn { width: 100%; }

/* ---------- 6. narrower than 1100: the two-line form of the phone frame ---------- */
@media (max-width: 1099.98px) {
  .svc__cols, .svc__ruler { display: none; }
  .svrow__main {
    grid-template-columns: minmax(0, 1fr) auto 44px; grid-template-areas: "name price toggle" "meta meta meta"; column-gap: var(--space-12); row-gap: var(--space-8);
    min-height: 0; padding: var(--space-20) var(--space-16);
  }
  .svrow.is-featured .svrow__main { padding-block-end: var(--space-12); }
  .svrow__name { grid-area: name; }
  .svrow__desc { display: none; }
  .svrow__title { text-wrap: pretty; }
  .svrow__price { grid-area: price; align-items: flex-end; text-align: end; }
  .svrow__toggle { grid-area: toggle; }
  .svrow__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; }
  .svrow__time, .svrow__days { font-size: var(--fs-label-s); line-height: var(--lh-label-s); color: var(--color-text-muted); }
  .svrow__days::before { content: "\00b7"; margin-inline: var(--space-8); }
  .svrow.is-open::before { top: var(--space-20); height: 36px; }
  .svrow__parts { padding: 0 var(--space-16) var(--space-20); }
  .svrow__body, .svrow__body.is-solo { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-24); padding: var(--space-4) var(--space-16) var(--space-24); }
  .svrow__body.is-solo .svrow__act { grid-column: auto; }
  .svrow__what .svrow__text { font-size: var(--fs-body-s); line-height: var(--lh-body-s); }
}
@media (min-width: 760px) and (max-width: 1099.98px) {
  .svrow__body, .svrow__body.is-solo { grid-template-columns: minmax(0, 1fr) 220px; column-gap: var(--space-40); }
  .svrow__act, .svrow__body.is-solo .svrow__act { grid-row: 1 / span 2; grid-column: 2; }
}

/* lane filter: the tabs filter on every screen size; the lane heading is only the tab again, so it stays hidden */
.svlane:not(.is-active) { display: none; }
@media (min-width: 760px) { .svc__sheet { margin-block-start: 0; } }
@media (max-width: 759.98px) { .svc__sheet { margin-block-start: var(--space-8); } }
/* between 1100 and 1280 the columns tighten */
@media (min-width: 1100px) and (max-width: 1279.98px) {
  .svc { --svc-gap: 16px; --svc-pad: var(--space-16); --svc-cols: minmax(0, 0.9fr) minmax(0, 1fr) 108px 124px 140px 44px; }
  .svrow__body { column-gap: var(--space-32); }
}

/* ---------- 7. THE ROX 01 STAGE (bible 16, S1): the hero's stage recipe again ----------
   horizon hairline + floor lift, one light pool, the car with a masked reflection, the tick ruler, the outlined model name, vignette and a far red breath.
   Desktop: text on columns 1 to 5, stage on 7 to 12 (the end side). Below 1100: the car first, then the text. Entrance runs when a third of the band is visible. */
.offers[hidden], .rox [hidden] { display: none !important; }
.rox { --dir: 1; --floor-h: 128px; --to-end: to right; }
[dir="rtl"] .rox { --dir: -1; --to-end: to left; }
.rox {
  position: relative; isolation: isolate; overflow: clip; container-type: inline-size;
  border-block-start: 1px solid var(--color-line-hair);
  background: radial-gradient(70% 80% at 68% 46%, #101317 0%, var(--color-bg-base) 72%);
}
[dir="rtl"] .rox { background: radial-gradient(70% 80% at 32% 46%, #101317 0%, var(--color-bg-base) 72%); }
.rox__fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rox__breath {                                       /* the far red breath behind the car, never behind the text */
  position: absolute; inset-block-start: 8%; inset-inline-end: 4%; width: min(62cqw, 900px); aspect-ratio: 2 / 1;
  background: radial-gradient(closest-side, rgba(230, 50, 59, 0.13), transparent);
  animation: rox-breath 7s var(--ease-inout) infinite alternate;
}
@keyframes rox-breath { from { opacity: 0.6; } to { opacity: 1; } }
.rox__vignette { position: absolute; inset: 0; background: radial-gradient(120% 110% at 50% 46%, transparent 55%, var(--color-bg-base) 100%); }

.rox__in {
  --pad: max(var(--page-margin), calc((100cqw - var(--content-max)) / 2));
  position: relative; z-index: 1; display: flex; flex-direction: column; padding: var(--space-56) var(--pad) var(--space-72);
}
.rox__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }

.rox__title {
  margin-block-start: var(--space-24); font-family: var(--font-display); font-size: var(--fs-display-m); line-height: var(--lh-display-m); font-weight: var(--fw-display-m);
  color: var(--color-text-primary); text-wrap: balance;
}
:lang(en) .rox__title { letter-spacing: var(--ls-latin-display); }
.rox__tags { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-block-start: var(--space-20); }
.rox__tag-t { font-family: var(--font-text); font-size: var(--fs-label-s); line-height: var(--lh-label-s); font-weight: 500; letter-spacing: 0; text-transform: none; }
.rox__desc { max-width: 46ch; margin-block-start: var(--space-16); font-size: var(--fs-body-l); line-height: var(--lh-body-l); color: var(--color-text-secondary); text-wrap: pretty; }

.rox__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-8) var(--space-16); margin-block-start: var(--space-24); }
.rox__now {
  font-family: var(--font-display); font-size: var(--fs-numeric-xl); line-height: var(--lh-numeric-xl); font-weight: var(--fw-numeric-xl); font-variant-numeric: tabular-nums;
  letter-spacing: 0; color: var(--color-text-primary); white-space: nowrap;
}
.rox__now small { margin-inline-start: 0.12em; font-size: var(--fs-heading-m); line-height: 1; font-weight: 600; color: var(--color-text-secondary); }
.rox__now.is-offer { color: var(--color-brand-red); }
.rox__now.is-offer small { color: var(--color-text-secondary); }
.rox__now.is-quote { font-size: var(--fs-heading-l); line-height: var(--lh-heading-l); }
.rox__was { font-size: var(--fs-body-m); line-height: var(--lh-body-m); color: var(--color-text-muted); font-variant-numeric: tabular-nums; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--color-text-muted) 70%, transparent); }
.rox__aside { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-8); align-self: center; }

.rox__timer { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-4) var(--space-12); margin-block-start: var(--space-12); }
.rox__ends { font-size: var(--fs-label-m); line-height: var(--lh-label-m); font-weight: var(--fw-label-m); color: var(--color-text-secondary); }
.rox__clock { display: inline-flex; align-items: baseline; gap: var(--space-8); font-size: var(--fs-label-m); line-height: var(--lh-label-m); color: var(--color-text-secondary); }
.rox__n { font-family: var(--font-code); font-size: var(--fs-code-m); line-height: var(--lh-code-m); font-weight: 500; letter-spacing: var(--ls-code); font-variant-numeric: tabular-nums; color: var(--color-text-primary); direction: ltr; unicode-bidi: isolate; white-space: nowrap; }

.rox__cta { display: flex; flex-wrap: wrap; gap: var(--space-12); margin-block-start: var(--space-32); }
.rox__more { display: grid; gap: var(--space-4); margin-block-start: var(--space-24); }
.rox__more-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-4) var(--space-16); font-size: var(--fs-body-s); line-height: var(--lh-body-s); color: var(--color-text-muted); }
.rox__more-line a { display: inline-flex; align-items: center; min-height: var(--tap-min); color: var(--color-text-secondary); text-decoration: underline; text-decoration-color: var(--color-line-strong); text-underline-offset: 4px; transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out); }
.rox__more-line a:hover { color: var(--color-text-primary); text-decoration-color: var(--color-metal-steel); }
.rox__more-line a:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-xs); }
.rox__coupon { margin-block-start: var(--space-16); font-size: var(--fs-label-m); line-height: var(--lh-label-m); color: var(--color-text-secondary); }

/* ---- the stage (stacked layout first: phone and tablet) ---- */
.rox__stage {
  --car-w: min(87cqw, 340px);
  position: relative; order: -1; container-type: inline-size; flex: none; height: calc(var(--car-w) * 0.44 + var(--space-24));
  margin-inline: calc(var(--pad) * -1); margin-block-end: var(--floor-h);
}
@media (min-width: 560px) { .rox__stage { --car-w: min(78cqw, 600px); } }
.rox__stage::before {                                /* horizon hairline and the soft lift of the floor under it; fades out toward the text side */
  content: ""; position: absolute; inset-inline: 0; top: 100%; height: var(--floor-h); z-index: -1; pointer-events: none;
  border-block-start: 1px solid var(--color-line-strong);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
}
.rox__name {                                         /* outlined model name standing behind the car, rising above the roof */
  position: absolute; inset-inline: 0; bottom: calc(var(--car-w) * 0.34); text-align: center; white-space: nowrap; overflow: hidden; pointer-events: none; user-select: none; direction: ltr;
  font-family: var(--font-display); font-weight: 800; font-size: calc(var(--car-w) * 0.25); line-height: 1; letter-spacing: -0.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 206, 212, 0.3);
}
.rox__pool {                                         /* the one light pool, under and a little behind the car */
  position: absolute; left: 50%; bottom: -34px; width: min(120%, 980px); height: 150px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.12), transparent); pointer-events: none;
}
.rox__car { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.rox { --tyre: 0.068; }                               /* the photo has 6.8% of the car width below the tyres: that is where the contact line sits (measured on the alpha) */
.rox__car img {
  position: absolute; left: 50%; bottom: calc(var(--car-w) * var(--tyre) * -1); width: var(--car-w); max-width: none; height: auto; transform: translateX(-50%); user-select: none; -webkit-user-drag: none;
}
.rox__car .rox__img {                                /* the baked shadow has hard side edges: below the tyres the photo fades out sideways */
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 80%), linear-gradient(to right, transparent 3%, #000 10%, #000 90%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 80%), linear-gradient(to right, transparent 3%, #000 10%, #000 90%, transparent 97%);
  -webkit-mask-composite: source-over; mask-composite: add;
}
.rox__car .rox__refl {                               /* same photo, mirrored about the contact line (the horizon), 18%, gone within 70% of its height */
  transform-origin: 50% calc(100% - var(--car-w) * var(--tyre)); transform: translateX(-50%) scaleY(-1); opacity: 0.18;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 55%); mask-image: linear-gradient(to top, #000 0%, transparent 55%);
}
.rox__floor { position: absolute; inset-inline: 0; top: 100%; height: 14px; z-index: 0; opacity: 0.9; -webkit-mask-image: linear-gradient(var(--to-end), transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(var(--to-end), transparent, #000 18%, #000 82%, transparent); }

/* ---- desktop: text on columns 1 to 5, the stage on the end side (7 to 12), 640 high at least ---- */
@media (min-width: 1100px) {
  .rox__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gutter); align-items: center; min-height: 620px; padding-block: var(--space-72) var(--space-40); }
  .rox__copy { grid-column: 1 / span 5; grid-row: 1; }
  .rox__stage {
    --car-w: min(100cqw, 760px);       /* resolves against the stage itself (it is the container) */
    position: absolute; order: 0; inset-block: 0 calc(var(--floor-h) - 24px); inset-inline-end: var(--pad); width: calc((100cqw - 2 * var(--pad)) * 0.5833); height: auto; margin: 0;
  }
  .rox__stage::before { inset-inline-start: -140px; inset-inline-end: calc(var(--pad) * -1); -webkit-mask-image: linear-gradient(var(--to-end), transparent, #000 140px); mask-image: linear-gradient(var(--to-end), transparent, #000 140px); }
  .rox__name { bottom: calc(var(--car-w) * 0.27); }
}
@media (max-width: 759.98px) {
  .rox { --floor-h: 72px; }
  .rox__in { padding-block: var(--space-32) var(--space-56); }
  .rox__title { margin-block-start: var(--space-16); }
  .rox__cta { flex-direction: column; align-items: stretch; margin-block-start: var(--space-24); }
  .rox__cta .btn { width: 100%; }
}

/* ---- entrance: when a third of the band is visible the car slides in with the short blur, the rest rises (the script arms it) ---- */
.rox__rise, .rox__car, .rox__name, .rox__pool, .rox__stage::before, .rox__floor { transition: opacity var(--dur-cinema) var(--ease-out), transform var(--dur-cinema) var(--ease-out), filter var(--dur-cinema) var(--ease-out), clip-path 1.2s var(--ease-out); }
.rox__rise { transition-delay: var(--d, 0s); }
.rox.is-armed:not(.is-in) .rox__rise { opacity: 0; transform: translateY(18px); }
.rox.is-armed:not(.is-in) .rox__car { opacity: 0; transform: translateX(calc(var(--dir) * 60px)); filter: blur(8px); }
.rox.is-armed:not(.is-in) .rox__name, .rox.is-armed:not(.is-in) .rox__pool, .rox.is-armed:not(.is-in) .rox__stage::before { opacity: 0; }
.rox.is-armed:not(.is-in) .rox__floor { clip-path: inset(0 50% 0 50%); }
.rox.is-in .rox__car { transition-delay: 0.1s; }
.rox.is-in .rox__name, .rox.is-in .rox__pool { transition-delay: 0.2s; }
.rox.is-in .rox__floor { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .rox__breath { animation: none; }
  .rox__rise, .rox__car, .rox__name, .rox__pool, .rox__stage::before, .rox__floor { transition: opacity 120ms linear; transition-delay: 0s; }
  .rox.is-armed:not(.is-in) .rox__rise, .rox.is-armed:not(.is-in) .rox__car { transform: none; filter: none; }
  .rox.is-armed:not(.is-in) .rox__floor { clip-path: none; }
}
html.reduce-motion .rox__breath { animation: none; }
html.reduce-motion .rox__rise, html.reduce-motion .rox__car, html.reduce-motion .rox__name, html.reduce-motion .rox__pool, html.reduce-motion .rox__stage::before, html.reduce-motion .rox__floor { transition: opacity 120ms linear; transition-delay: 0s; }
html.reduce-motion .rox.is-armed:not(.is-in) .rox__rise, html.reduce-motion .rox.is-armed:not(.is-in) .rox__car { transform: none; filter: none; }
html.reduce-motion .rox.is-armed:not(.is-in) .rox__floor { clip-path: none; }
