/* R3.0.3-hero-ba3-car: Before & After as a compact horizontal carousel (owner layout refinement, 2026-11-12).
   Same five original-pixel pairs, same Before -> After pairing and order, same image files: only the layout changes.
   Website use only (express oral consent). No links, no CTA. Every panel keeps its own aspect ratio (width 100%, height auto);
   no object-fit, no CSS crop, no filters, no transforms on the photos.
   Phones: one pair per view, swipe (scroll-snap, one pair per swipe), dots. >= 700 px: two pairs + a peek of the next, arrows, mouse drag. */
.ba { padding-top: 44px; text-align: center; }
.wrap.ba { max-width: 1320px; }
.ba .sec-h { margin-bottom: 4px; }
.ba-sub { margin: 0 0 12px; font: italic 500 19px/1.3 var(--serif); color: var(--gold-text); }
.ba-stage { position: relative; --bleed: 16px; }
.ba-track {
  display: flex; align-items: flex-start; gap: 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--bleed);
  margin: 0 calc(-1 * var(--bleed)); padding: 6px var(--bleed) 12px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ba-track::-webkit-scrollbar { display: none; }
.ba-track:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.ba-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.ba-p {
  flex: 0 0 calc(100% - 4px); scroll-snap-align: start; scroll-snap-stop: always; margin: 0;
  padding: 6px 6px 5px; background: #F7EEE7; border-radius: 14px; box-shadow: 0 4px 14px rgba(34, 26, 21, .08);
}
.ba-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; align-items: start; }
.ba-t { margin: 0; }
.ba-t img { display: block; width: 100%; height: auto; border-radius: 9px; user-select: none; -webkit-user-drag: none; }
.ba-l { display: block; margin-top: 6px; font: 700 14px/1.2 var(--sans); letter-spacing: .02em; color: var(--espresso); }
.ba-dots { display: flex; justify-content: center; gap: 7px; padding: 2px 0 2px; }
.ba-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.ba-dots i.on { background: var(--espresso); }
/* arrows: plain divs (role="button"), no text node (glyph via CSS), deliberately NOT <button> and NOT links: no CTA */
.ba-arrow {
  display: none; position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--espresso);
  font: 700 18px/42px var(--sans); text-align: center; cursor: pointer; user-select: none;
  box-shadow: 0 6px 16px rgba(34, 26, 21, .14); transition: opacity .2s;
}
.ba-prev::before { content: "\2190"; }
.ba-next::before { content: "\2192"; }
.ba-arrow:hover { background: var(--ivory); }
.ba-arrow:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.ba-arrow[aria-disabled="true"] { opacity: 0; pointer-events: none; }
.ba-disc { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
@media (min-width: 700px) {
  .ba-stage { --bleed: 0px; }
  .ba-track { gap: 18px; cursor: grab; }
  .ba-p { flex-basis: calc(50% - 46px); padding: 12px 12px 8px; border-radius: 16px; }
  .ba-pair { gap: 10px; }
  .ba-t img { border-radius: 10px; }
  .ba-l { margin-top: 8px; font-size: 15px; }
  .ba-arrow { display: block; }
  .ba-prev { left: -14px; }
  .ba-next { right: -14px; }
  .ba-dots { display: none; }
}
@media (min-width: 960px) { .ba-sub { font-size: 21px; } .ba-prev { left: -20px; } .ba-next { right: -20px; } }
@media (prefers-reduced-motion: reduce) { .ba-arrow { transition: none; } }
