/* Four one-way directions; existing texture, density and card surfaces retained. */
.continuous-sky .flow-cloud[data-flow-direction=up] { animation-name: cloud-cross-up; top: 0; left: -12vw; }
.continuous-sky .flow-cloud[data-flow-direction=down] { animation-name: cloud-cross-down; top: 0; left: 43vw; }
@keyframes cloud-cross-up {
  from { transform: translate3d(0,var(--flow-end),0); }
  to { transform: translate3d(0,var(--flow-start),0); }
}
@keyframes cloud-cross-down {
  from { transform: translate3d(0,var(--flow-start),0); }
  to { transform: translate3d(0,var(--flow-end),0); }
}
body:not(.service-page) .hero .hero-image-slot { border-radius: 36px 0 0 36px; }

/* Actual gallery counters only; review count remains absent. */
body .gallery-controls {
  display: grid; grid-template-columns: 44px minmax(0,1fr) auto 44px;
  align-items: center; gap: 4px;
}
body .gallery-controls [data-gallery-prev] { grid-column: 1; grid-row: 1; }
body .gallery-controls .gallery-counter { grid-column: 2; grid-row: 1; text-align: center; direction: ltr; min-width: 0; }
body .gallery-controls [data-gallery-pause] { grid-column: 3; grid-row: 1; width: auto; min-height: 44px; border: 0; }
body .gallery-controls [data-gallery-next] { grid-column: 4; grid-row: 1; }
body .gallery-controls-single { grid-template-columns: minmax(0,1fr); min-height: 44px; }
body .gallery-controls-single .gallery-counter { grid-column: 1; }

/* The closing photograph keeps its complete 438:360 composition. */
body .contact-art[data-image-slot=closing] {
  aspect-ratio: 438/360; width: 100%; height: auto; min-height: 0;
}
body .contact-art[data-image-slot=closing] img { object-fit: contain; object-position: center; filter: none; }
@media(max-width:850px) {
  /* Third vertical cohorts retain coverage along the taller mobile viewport. */
  .continuous-sky .flow-cloud[data-flow-axis=y][data-flow-cohort="2"] { display: block; }
  .continuous-sky .flow-cloud[data-flow-direction=up] { left: -90vw; }
  .continuous-sky .flow-cloud[data-flow-direction=down] { left: 10vw; }
  body:not(.service-page) .hero .hero-image-slot { border-radius: 28px 0 0 28px; }
  body .services .extra-price-item .gallery-controls { grid-template-columns: 44px minmax(0,1fr) 44px; }
  body .services .extra-price-item .gallery-controls [data-gallery-prev] { grid-column: 1; grid-row: 1; }
  body .services .extra-price-item .gallery-controls .gallery-counter { grid-column: 2; grid-row: 1; }
  body .services .extra-price-item .gallery-controls [data-gallery-next] { grid-column: 3; grid-row: 1; }
  body .services .extra-price-item .gallery-controls [data-gallery-pause] { grid-column: 1/-1; grid-row: 2; width: 100%; min-height: 32px; border-top: 1px solid var(--card-edge); }
  body .services .extra-price-item .gallery-controls-single { grid-template-columns: minmax(0,1fr); }
  body .services .extra-price-item .gallery-controls-single .gallery-counter { grid-column: 1; }
}
@media(prefers-reduced-motion:reduce) {
  .continuous-sky .flow-cloud[data-flow-axis=y][data-flow-cohort="2"] { display: none; }
}
