/* =====================================================================
   TEMAI 7 | showcase.css
   owner task: code-showcase
   scope: cars line-up (07), how it works (08), accessories (09), proof (10)
   Figma: Home / Desktop 06 Cars, 07 How, 08 Accessories, 09 Proof; phone Cars, How, Accessories, Proof; 08-proof-example-content.
   Uses tokens.css and the primitives of base.css only. Logical properties (RTL first).
   Animate transform, opacity, clip-path, filter only. Breakpoints: phone to 759, tablet 760, desktop 1100.
   ===================================================================== */

/* ---------- 07 · cars: large and alive (bible 16 S3, R3, R4) ----------
   Desktop: 380 high cells, the car at 84% of the cell width on a floor hairline that spans the cell, a light pool under it, the outlined model
   name behind. Hover or focus: pool 7 to 14%, the car moves 6px in the reading direction and scales to 1.03, the outlined name fades in,
   the service tags and Book rise onto the floor band. Below 1100: one flow layout (phone one per row at 86%, tablet two), tags always visible. */
.cars { padding-block: var(--space-96) var(--space-72); }
.cars__head { display: flex; flex-direction: column; gap: var(--space-24); margin-block-end: var(--space-40); }
.cars__title { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); }
.cars__lead { max-width: 44ch; }
.lineup { display: grid; grid-template-columns: minmax(0, 1fr); border-block-end: 1px solid var(--color-line-hair); --dx: 1; }
[dir="rtl"] .lineup { --dx: -1; }

.carcard { position: relative; isolation: isolate; border-block-start: 1px solid var(--color-line-hair); padding-block-start: var(--space-24); }
.carcard__pick { position: relative; display: block; width: 100%; text-align: start; cursor: pointer; padding: 0; }
.carcard__pick:focus-visible { outline: var(--focus-ring); outline-offset: -6px; border-radius: var(--radius-lg); }

.carcard__idx {
  position: absolute; z-index: 3; inset-block-start: 0; inset-inline-end: var(--space-20); direction: ltr; unicode-bidi: isolate;
  font-family: var(--font-code); font-size: var(--fs-code-s); line-height: var(--lh-code-s); font-weight: 500; letter-spacing: var(--ls-code); color: var(--color-text-muted);
}
.carcard__of { color: var(--color-text-muted); }
.carcard__ghost { display: none; }

.carcard__stage { position: relative; z-index: 2; display: block; width: 100%; margin-inline: auto; margin-block-end: -10px; padding-block-start: var(--space-24); }   /* the photo has ~8% empty margin below the tyres */
.carcard__stage img { display: block; width: 100%; height: auto; margin-block-end: 2px; transform-origin: 50% 100%; transition: transform var(--dur-slow) var(--ease-out); }
.carcard__pool {                                     /* the light pool: half on the car, half on the floor */
  position: absolute; z-index: 1; inset-inline: 0; height: 96px; margin-block-start: -8px; pointer-events: none; opacity: 0.55;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), transparent); transition: opacity var(--dur-slow) var(--ease-out);
}
.carcard__floor { display: block; position: relative; z-index: 2; height: 1px; background: var(--color-line-hair); }
.carcard__floor::after { content: ""; position: absolute; inset-inline: 0; top: 100%; height: 28px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.035), transparent); }

.carcard__id { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-16) var(--space-20) 0; }
.carcard__make { padding: 0; border: 0; background: none; color: var(--color-text-muted); align-self: flex-start; }
.carcard__model { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-heading-m); line-height: var(--lh-heading-m); color: var(--color-text-primary); }
:lang(en) .carcard__model { letter-spacing: var(--ls-latin-display); }

.carcard__info { position: relative; z-index: 3; display: flex; flex-direction: column; gap: var(--space-8); padding: var(--space-12) var(--space-20) var(--space-32); }
.carcard__kind { font-size: var(--fs-body-s); line-height: var(--lh-body-s); color: var(--color-text-secondary); }
.carcard__panel { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8) var(--space-16); }
.carcard__panel[hidden] { display: none; }
.carcard__tags { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.carcard__tag { position: relative; }
.carcard__tag::after { content: ""; position: absolute; inset: -10px -4px; }          /* 44px touch target */
.carcard__tag--acc { display: none; }
.carcard__tag:hover { border-color: var(--color-metal-steel); color: var(--color-text-primary); }
.carcard__book { position: relative; display: inline-flex; align-items: center; gap: var(--space-8); min-height: 44px; font-size: var(--fs-label-m); line-height: var(--lh-label-m); font-weight: var(--fw-label-m); color: var(--color-text-primary); }
.carcard__book .ic { width: 18px; height: 18px; transition: transform var(--dur-base) var(--ease-out); }
.carcard__book:hover .ic { transform: translateX(calc(var(--dx) * 4px)); }
[dir="rtl"] .carcard__book:hover .ic { transform: translateX(-4px) scaleX(-1); }
.carcard__book:focus-visible, .carcard__tag:focus-visible { outline: var(--focus-ring); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (min-width: 760px) {
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carcard:nth-child(2n + 1) { border-inline-end: 1px solid var(--color-line-hair); }
  .carcard__stage { width: 96%; }
  .carcard__id, .carcard__info { padding-inline: var(--space-24); }
  .carcard__idx { inset-inline-end: var(--space-24); }
}

@media (min-width: 1100px) {
  .cars { padding-block: var(--space-128) var(--space-96); }
  .cars__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: var(--space-40); align-items: end; margin-block-end: var(--space-72); }
  .cars__lead { padding-block-end: var(--space-12); }
  .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .carcard:nth-child(2n + 1) { border-inline-end: 0; }
  .carcard:not(:nth-child(3n + 1)) { border-inline-start: 1px solid var(--color-line-hair); }
  .carcard { --band: 124px; height: 380px; padding: 0; overflow: hidden; }
  .carcard__pick { position: absolute; inset: 0; }
  .carcard__idx { inset-block-start: var(--space-24); inset-inline-end: var(--space-24); }
  .carcard__ghost {                                  /* the outlined model name, behind the car */
    display: block; position: absolute; z-index: 0; inset-inline: 6%; inset-block-start: 96px; width: 88%; height: 150px; overflow: visible; pointer-events: none;
    opacity: 0; transform: translateY(8px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); direction: ltr;
  }
  .carcard__ghost rect { fill: var(--color-metal-steel); }
  .carcard__ghost text { font-family: var(--font-display); font-weight: 800; font-size: 100px; letter-spacing: 0; }
  .carcard__stage { position: absolute; inset-inline: 3.5%; bottom: calc(var(--band) - 10px); width: auto; margin: 0; padding: 0; }
  .carcard__pool { inset-inline: -6%; bottom: calc(var(--band) - 50px); margin: 0; height: 100px; }
  .carcard__floor { position: absolute; inset-inline: 0; bottom: var(--band); }
  .carcard__id { position: absolute; inset-inline: 0; bottom: 0; height: calc(var(--band) - 1px); padding: var(--space-16) var(--space-24) 0; }
  .carcard__info { position: absolute; inset-inline: 0; bottom: 0; padding: 0 var(--space-24) var(--space-16); pointer-events: none; }
  .carcard__kind { display: none; }
  .carcard__panel { flex-wrap: nowrap; justify-content: space-between; pointer-events: auto; }
  .carcard__tags { flex-wrap: nowrap; }
  .carcard__tag:nth-child(n + 4) { display: none; }
  .carcard__tag--acc { display: inline-flex; }
}
/* hover-capable pointers: the tags rise onto the floor band; on touch screens they stay visible and the tap selects the car */
@media (min-width: 1100px) and (hover: hover) {
  .carcard__panel { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
  .carcard:hover .carcard__panel, .carcard:focus-within .carcard__panel { opacity: 1; transform: none; pointer-events: auto; }
}
@media (min-width: 1100px) {
  .carcard:hover .carcard__stage img, .carcard:focus-within .carcard__stage img { transform: translateX(calc(var(--dx) * 6px)) scale(1.03); }
  .carcard:hover .carcard__pool, .carcard:focus-within .carcard__pool { opacity: 1; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.26), transparent); }
  .carcard:hover .carcard__ghost, .carcard:focus-within .carcard__ghost { opacity: 0.2; transform: none; }
  .carcard:hover .carcard__idx, .carcard:focus-within .carcard__idx { color: var(--color-text-secondary); }
}

/* ---------- shared: the tick-ruler divider before Questions, full content width (bible 17 T2; drawn by 11-faq.html) ---------- */
.ruler--cap { width: 100%; margin-block-end: var(--space-56); }

/* ---------- 08 · how it works: the THIRD STAGE MOMENT (bible 17 T1) ----------
   The ROX stage recipe again (floor hairline with a lift, one light pool, vignette, entrance on a third of the section), but quieter: the Zeekr 9X
   three-quarter photo is very large and cut by the section edge (the section clips it, never the page), a little dimmed so the text side stays dominant.
   Desktop: text on columns 1 to 6, stage on the end half. Below 1100: the car first, bleeding off the end side, then the steps.
   In Arabic the visual sits at the left and the photo is mirrored so the car still looks toward the text. Numerals: the same mask technique as before (no inner contours). */
.how { --dir: 1; --to-end: to right; --floor-h: 96px; --tyre: 0.04; --cut: 0.28; }
[dir="rtl"] .how { --dir: -1; --to-end: to left; }
.how {
  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"] .how { background: radial-gradient(70% 80% at 32% 46%, #101317 0%, var(--color-bg-base) 72%); }
.how__fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.how__vignette { position: absolute; inset: 0; background: radial-gradient(120% 110% at 50% 46%, transparent 55%, var(--color-bg-base) 100%); }

.how__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-32) var(--pad) var(--space-72);
}
.how__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.how__title { margin-block-start: var(--space-24); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-heading-l); line-height: var(--lh-heading-l); color: var(--color-text-primary); text-wrap: balance; }
:lang(en) .how__title { letter-spacing: var(--ls-latin-display); }

.how__steps { width: 100%; margin: var(--space-32) 0 0; padding: 0; list-style: none; border-block-end: 1px solid var(--color-line-hair); }
.how__row { display: grid; grid-template-columns: calc(var(--fs-numeric-l) * 1.7) minmax(0, 1fr); column-gap: var(--space-16); align-items: start; padding-block: var(--space-20); border-block-start: 1px solid var(--color-line-hair); }
.how__num { display: block; justify-self: start; direction: ltr; height: calc(var(--fs-numeric-l) * 1.11); color: var(--color-metal-steel); }
.how__num svg { display: block; height: 100%; width: auto; aspect-ratio: 112 / 80; overflow: visible; }
.how__num rect { fill: currentColor; opacity: 0.8; }
.how__num text { font-family: var(--font-display); font-weight: 800; font-size: 72px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.how__t { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-heading-m); line-height: var(--lh-heading-m); color: var(--color-text-primary); }
:lang(en) .how__t { letter-spacing: var(--ls-latin-display); }
.how__p { margin-block-start: var(--space-8); max-width: 44ch; font-size: var(--fs-body-m); line-height: var(--lh-body-m); color: var(--color-text-secondary); text-wrap: pretty; }
.how__cta { width: 100%; margin-block-start: var(--space-32); }
@media (max-width: 759.98px) { .how { --floor-h: 56px; } }

/* ---- the stage (stacked layout first: phone and tablet). Height = the car above the floor; the photo has --tyre of its width below the tyres. ---- */
.how__stage {
  --car-w: 140cqw;
  position: relative; order: -1; flex: none; height: calc(var(--car-w) * (0.435 - var(--tyre)) + var(--space-24));
  margin-inline: calc(var(--pad) * -1); margin-block-end: var(--floor-h);
}
@media (min-width: 760px) { .how__stage { --car-w: min(112cqw, 900px); } }
.how__stage::before {                                /* the floor hairline and the soft lift under it, fading 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);
  -webkit-mask-image: linear-gradient(var(--to-end), transparent, #000 38%); mask-image: linear-gradient(var(--to-end), transparent, #000 38%);
}
.how__halo {                                         /* a wide soft ground behind the dark body so its silhouette reads */
  position: absolute; z-index: -1; pointer-events: none; inset-inline-end: calc(var(--car-w) * var(--cut) * -1 - var(--car-w) * 0.05); bottom: calc(var(--car-w) * 0.02);
  width: calc(var(--car-w) * 1.1); height: calc(var(--car-w) * 0.55);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.075), transparent);
}
.how__pool {                                         /* the one light pool, on the floor under the car */
  position: absolute; pointer-events: none; inset-inline-end: calc(var(--car-w) * var(--cut) * -1 + var(--car-w) * 0.03); bottom: calc(var(--car-w) * -0.07);
  width: calc(var(--car-w) * 0.94); height: calc(var(--car-w) * 0.2);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.15), transparent);
}
.how__car { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.how__img {
  position: absolute; inset-inline-end: calc(var(--car-w) * var(--cut) * -1); bottom: calc(var(--car-w) * var(--tyre) * -1); width: var(--car-w); max-width: none; height: auto;
  filter: brightness(0.86); user-select: none; -webkit-user-drag: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 92%, transparent 92%); mask-image: linear-gradient(to bottom, #000 92%, transparent 92%);
}
[dir="rtl"] .how__img { transform: scaleX(-1); }
.how__plate { display: none; }
[dir="rtl"] .how__plate {                            /* the mirrored photo would show the plate lettering backwards: a blank plate (the plate is plain black) sits over it */
  display: block; position: absolute; background: #0e0f10; border-radius: 2px;
  inset-inline-end: calc(var(--car-w) * (0.818 - var(--cut))); bottom: calc(var(--car-w) * 0.1166); width: calc(var(--car-w) * 0.056); height: calc(var(--car-w) * 0.0165);
}
.how__floor { position: absolute; inset-inline: 0; top: 100%; height: 1px; z-index: 0; background: linear-gradient(var(--to-end), transparent 20%, rgba(255, 255, 255, 0.22)); }

@media (min-width: 760px) {
  .how__in { padding-block: var(--space-56) var(--space-96); }
  .how__cta { width: auto; }
}
/* ---- desktop: text on columns 1 to 6, the stage on the end half, the photo cut by the section edge ---- */
@media (min-width: 1100px) {
  .how__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gutter); align-items: center; min-height: 720px; padding-block: var(--space-96); }
  .how__copy { grid-column: 1 / span 6; grid-row: 1; }
  .how__stage {
    --car-w: min(62.5cqw, 1100px);
    position: absolute; order: 0; inset-block-start: 0; inset-block-end: clamp(120px, 22%, 200px); inset-inline-end: 0; width: calc(50cqw - var(--grid-gutter) / 2); height: auto; margin: 0;
  }
  .how__stage::before { inset-inline-start: -160px; -webkit-mask-image: linear-gradient(var(--to-end), transparent, #000 160px); mask-image: linear-gradient(var(--to-end), transparent, #000 160px); }
}

/* ---- entrance: a slow 24px slide with a fade when a third of the section is visible (ui-content.js arms it); nothing but a short fade with reduced motion ---- */
.how__rise, .how__car, .how__pool, .how__halo, .how__stage::before, .how__floor { transition: opacity var(--dur-cinema) var(--ease-out), transform var(--dur-cinema) var(--ease-out); }
.how__rise { transition-delay: var(--d, 0s); }
.how.is-armed:not(.is-in) .how__rise { opacity: 0; transform: translateY(18px); }
.how.is-armed:not(.is-in) .how__car { opacity: 0; transform: translateX(calc(var(--dir) * 24px)); }
.how.is-armed:not(.is-in) .how__pool, .how.is-armed:not(.is-in) .how__halo, .how.is-armed:not(.is-in) .how__stage::before, .how.is-armed:not(.is-in) .how__floor { opacity: 0; }
.how.is-in .how__car { transition-delay: 0.1s; }
.how.is-in .how__pool, .how.is-in .how__halo, .how.is-in .how__floor { transition-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
  .how__rise, .how__car, .how__pool, .how__halo, .how__stage::before, .how__floor { transition: opacity 120ms linear; transition-delay: 0s; }
  .how.is-armed:not(.is-in) .how__rise, .how.is-armed:not(.is-in) .how__car { transform: none; }
}
html.reduce-motion .how__rise, html.reduce-motion .how__car, html.reduce-motion .how__pool, html.reduce-motion .how__halo, html.reduce-motion .how__stage::before, html.reduce-motion .how__floor { transition: opacity 120ms linear; transition-delay: 0s; }
html.reduce-motion .how.is-armed:not(.is-in) .how__rise, html.reduce-motion .how.is-armed:not(.is-in) .how__car { transform: none; }

/* ---------- 09 · accessories ---------- */
.acc__top { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-24); }
.acc__actions { display: flex; align-items: center; gap: var(--space-12); }
.acc__book, .acc__arrows { display: none; }
.acc__store { padding-inline: 0; background: none; border-color: transparent; justify-content: flex-start; --btn-px: 0; }
.acc__store:hover { background: none; border-color: transparent; }

.acc__rail {
  --pad: max(var(--page-margin), calc((100% - var(--content-max)) / 2));
  display: flex; gap: var(--space-12); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: var(--space-8) var(--pad) var(--space-8); margin-block-start: var(--space-24);
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
}
.acc__rail::-webkit-scrollbar { display: none; }
.acc__rail:focus-visible { outline: var(--focus-ring); outline-offset: -4px; }
.acc__rail:empty { display: none; }

.acc {
  flex: 0 0 min(300px, 76vw); display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start;
  background: var(--color-surface-1); border: 1px solid var(--color-line-hair); border-radius: var(--radius-lg);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.js .acc.rv, .js .acc.rv.in { opacity: 1; clip-path: none; transform: none; transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
@media (hover: hover) {
  .acc:hover, .js .acc.rv:hover { transform: translateY(-2px); border-color: var(--color-line-strong); }
}
/* the photo: every photo gets the same treatment (bible 16 S5). A panel with a radial pool, the photo contained inside a rounded tile with 24 of padding,
   grey and a little dimmer at rest, full colour on hover or focus (always colour on phones). Shimmer while loading, a clean placeholder if it fails. */
.acc__img { position: relative; padding: var(--space-24); background: radial-gradient(closest-side at 50% 52%, rgba(255, 255, 255, 0.09), transparent); transition: background-color var(--dur-slow) var(--ease-out); }
.acc__ph {
  position: relative; isolation: isolate; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; border-radius: var(--radius-md);
  background: radial-gradient(closest-side at 50% 54%, color-mix(in srgb, var(--color-metal-steel) 62%, var(--color-surface-2)), var(--color-surface-2) 118%);
  box-shadow: inset 0 0 0 1px var(--color-line-hair);
}
/* store photos have white backgrounds: multiply drops the white into the well's light pool, the product stays at about 70% of the tile */
.acc__ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: var(--space-24); mix-blend-mode: multiply; filter: grayscale(1) brightness(1.18) contrast(1.06); opacity: 1; transition: opacity var(--dur-base) var(--ease-out), filter var(--dur-slow) var(--ease-out); }
.acc__ph.is-loading img { opacity: 0; }
.acc__ph.is-loading::after {                          /* shimmer: a soft band sweeping across, transform only */
  content: ""; position: absolute; inset: 0; z-index: 2; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 30%, rgba(8, 9, 10, 0.16) 50%, transparent 70%); animation: acc-shim 1.4s var(--ease-inout) infinite;
}
[dir="rtl"] .acc__ph.is-loading::after { animation-name: acc-shim-rtl; }
@keyframes acc-shim { to { transform: translateX(100%); } }
@keyframes acc-shim-rtl { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
.acc__none { display: none; width: 40px; height: 40px; color: var(--color-metal-steel); }
.acc__ph.is-failed { background: var(--color-surface-2); }
.acc__ph.is-failed img { display: none; }
.acc__ph.is-failed .acc__none { display: block; }
.acc:hover .acc__ph img, .acc:focus-within .acc__ph img { filter: brightness(1.12) contrast(1.04); }
@media (max-width: 759px), (hover: none) { .acc__ph img { filter: brightness(1.12) contrast(1.04); } }
@media (prefers-reduced-motion: reduce) { .acc__ph.is-loading::after { animation: none; transform: none; opacity: 0.5; } }

/* one light behind the rail */
.showcase { isolation: isolate; overflow: clip; }
.showcase::before { content: ""; position: absolute; z-index: -1; inset-inline: 0; inset-block-start: 30%; height: 75%; pointer-events: none; background: radial-gradient(52% 55% at 50% 55%, rgba(255, 255, 255, 0.085), transparent); }
.acc__title { 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) .acc__title { letter-spacing: var(--ls-latin-display); }
.acc__body { flex: 1; display: flex; flex-direction: column; padding: var(--space-24) var(--space-24) var(--space-20); }
.acc__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-heading-s); line-height: var(--lh-heading-s); color: var(--color-text-primary); text-wrap: balance; }
.acc__name a { color: inherit; }
.acc__name a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--color-line-strong); }
.acc__fit { margin-block-start: var(--space-4); font-size: var(--fs-body-s); line-height: var(--lh-body-s); color: var(--color-text-secondary); }
.acc__foot { margin-block-start: auto; padding-block-start: var(--space-16); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-12); }
.acc__price { display: flex; flex-direction: column; }
.acc__price small { font-size: var(--fs-label-s); line-height: var(--lh-label-s); color: var(--color-text-muted); }
.acc__price b { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-numeric-m); line-height: var(--lh-numeric-m); font-variant-numeric: tabular-nums; color: var(--color-text-primary); }
.acc__go { margin-block-end: calc(var(--space-4) * -1); border-color: transparent; background: none; }
.acc__go:hover { background: var(--color-surface-2); border-color: var(--color-line-strong); }
.acc__go .ic { transition: transform var(--dur-base) var(--ease-out); }
@media (hover: hover) {
  .acc__go:hover .ic { transform: translateX(-3px); }
  [dir="ltr"] .acc__go:hover .ic { transform: translateX(3px); }
  [dir="rtl"] .acc__go:hover .ic { transform: translateX(-3px) scaleX(-1); }
}

.acc__tail.wrap { display: flex; flex-direction: column; gap: var(--space-24); margin-block-start: var(--space-24); }
.acc__progress { position: relative; height: 2px; overflow: hidden; background: var(--color-line-hair); }
.acc__bar { position: absolute; inset-block: 0; inset-inline-start: 0; width: 30%; background: var(--color-brand-red); will-change: transform; }

@media (min-width: 760px) {
  .acc__rail { gap: var(--space-24); margin-block-start: var(--space-56); }
  .acc { flex-basis: 360px; }
  .acc__top { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-24); align-items: end; }
  .acc__head { display: contents; }
  .acc__head .kicker, .acc__head .acc__title { grid-column: 1 / -1; }
  .acc__top { row-gap: var(--space-24); }
  .acc__head .section-head__lead { align-self: end; }
  .acc__actions { padding-block-end: var(--space-4); }
  .acc__book, .acc__arrows { display: inline-flex; }
  .acc__store { padding-inline: var(--space-24); border-color: var(--color-line-strong); background: transparent; justify-content: center; --btn-px: var(--space-24); }
  .acc__store:hover { background: var(--color-surface-2); border-color: var(--color-metal-steel); }
  .acc__arrows { gap: var(--space-8); margin-inline-start: var(--space-8); }
  .acc__arrows[hidden] { display: none; }
  .acc__tail.wrap { display: none; }
}
.acc__arrows .icon-btn:disabled { opacity: 0.35; cursor: default; }

/* ---------- 10 · proof: one quiet row between two hairlines (bible 16 S6, R2, R5) ---------- */
.proof { padding-block: var(--space-24) var(--space-24); }
.rating {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-16);
  padding-block: var(--space-32); border-block: 1px solid var(--color-line-hair);
}
.rating__t { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-heading-s); line-height: var(--lh-heading-s); color: var(--color-text-primary); }
.rating__p { font-size: var(--fs-body-m); line-height: var(--lh-body-m); color: var(--color-text-secondary); max-width: 52ch; text-wrap: pretty; }
.rating__score { display: flex; align-items: center; gap: var(--space-16); }
.rating__score b { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-numeric-l); line-height: var(--lh-numeric-l); font-variant-numeric: tabular-nums; color: var(--color-text-primary); }
.rating__stars { display: inline-flex; gap: 2px; color: var(--color-text-primary); }
.rating__stars .ic { width: 16px; height: 16px; }
.rating .btn { flex: none; }
@media (min-width: 760px) {
  .rating { flex-direction: row; align-items: center; gap: var(--space-40); padding-block: var(--space-40); }
  .rating__p { flex: 1; min-width: 0; }
}

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: var(--space-32) var(--space-24); margin-block-start: var(--space-56); }
.stat { padding-block: var(--space-24) var(--space-8); border-block-start: 1px solid var(--color-line-hair); }
.stat__v { display: flex; align-items: center; gap: var(--space-8); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-numeric-xl); line-height: var(--lh-numeric-xl); font-variant-numeric: tabular-nums; color: var(--color-text-primary); }
:lang(en) .stat__v { letter-spacing: var(--ls-latin-display); }
.stat__v .ic { width: 0.5em; height: 0.5em; }
.stat__l { margin-block-start: var(--space-8); font-size: var(--fs-body-m); line-height: var(--lh-body-m); color: var(--color-text-secondary); max-width: 28ch; }

.reviews { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-24); margin-block-start: var(--space-56); }
.reviews:empty, .gallery:empty { display: none; }
.review { display: flex; flex-direction: column; padding: var(--space-32); background: var(--color-surface-1); border: 1px solid var(--color-line-hair); border-radius: var(--radius-lg); }
.review__q { font-size: var(--fs-body-l); line-height: var(--lh-body-l); color: var(--color-text-primary); text-wrap: pretty; }
.review__who { display: flex; flex-direction: column; margin-block-start: auto; padding-block-start: var(--space-20); }
.review__who strong { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-heading-s); line-height: var(--lh-heading-s); color: var(--color-text-primary); }
.review__who span { font-size: var(--fs-label-m); line-height: var(--lh-label-m); color: var(--color-text-muted); }
.rating--cell { align-self: start; flex-direction: column; align-items: flex-start; padding: var(--space-32); border: 1px solid var(--color-line-hair); border-radius: var(--radius-lg); background: var(--color-surface-1); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--space-24); margin-block-start: var(--space-56); }
.gallery figure { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--color-line-hair); background: var(--color-surface-1); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: var(--space-12) var(--space-16); font-size: var(--fs-body-s); line-height: var(--lh-body-s); color: var(--color-text-secondary); }

@media (min-width: 760px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-40); }
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
