/* Approved 2026-09-14 visual restoration: old Rosa banners, full-color catalogues, neutral photo overlays. */

.public-hero-carousel,
.rosa-preview-hero[data-restored-home-hero] {
  position: relative;
  min-height: clamp(30rem, 52vw, 42.5rem);
  overflow: hidden;
  background: #111317;
  color: #fff;
}

.public-hero-carousel__slide,
.rosa-preview-hero[data-restored-home-hero] [data-rosa-hero-slide] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 560ms ease;
}

.public-hero-carousel__slide.is-active,
.rosa-preview-hero[data-restored-home-hero] [data-rosa-hero-slide].is-active {
  opacity: 1;
  pointer-events: auto;
}

.public-hero-carousel__media,
.rosa-restored-hero__media,
.public-hero-carousel__picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rosa-restored-hero__media picture,
.public-hero-carousel__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.public-hero-carousel__mobile-composition {
  display: none;
}

.public-hero-carousel__media img,
.rosa-restored-hero__media img,
.public-hero-carousel__picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--hero-desktop-focal, 50% 50%);
}

.rosa-preview-hero[data-restored-home-hero] .rosa-restored-hero__media img {
  width: 100%;
  height: 100%;
}

.rosa-preview-hero[data-restored-home-hero] [data-slide-index="3"] .rosa-restored-hero__media img {
  filter: saturate(.14) brightness(.88) contrast(1.08);
}

.public-hero-carousel__overlay,
.rosa-restored-hero__overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(10 12 16 / .74) 0%, rgb(10 12 16 / .48) 34%, rgb(10 12 16 / .14) 70%, rgb(10 12 16 / .08) 100%);
}

.public-hero-carousel__slide[data-copy-side="right"] .public-hero-carousel__overlay {
  background: linear-gradient(270deg, rgb(10 12 16 / .74) 0%, rgb(10 12 16 / .48) 34%, rgb(10 12 16 / .14) 70%, rgb(10 12 16 / .08) 100%);
}

.public-hero-carousel__content,
.rosa-preview-hero[data-restored-home-hero] .rosa-preview-hero__inner {
  position: relative;
  z-index: 3;
  min-height: inherit;
}

.public-hero-carousel__content {
  width: min(calc(100% - 2 * clamp(1.25rem, 4vw, 5rem)), 80rem);
  height: 100%;
  min-height: clamp(30rem, 52vw, 42.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.public-hero-carousel__copy {
  max-width: 39rem;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.public-hero-carousel__slide[data-copy-side="right"] .public-hero-carousel__content {
  justify-content: flex-end;
}

.public-hero-carousel__title {
  margin: .45rem 0 1rem;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: .98;
}

.public-hero-carousel__copy-text {
  max-width: 36rem;
  margin: 0;
  color: rgb(255 255 255 / .88);
}

.public-hero-carousel__dots,
.rosa-restored-hero__dots {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  bottom: clamp(1rem, 2.4vw, 1.75rem);
  display: flex;
  justify-content: center;
  gap: .55rem;
}

.public-hero-carousel__dot,
.rosa-restored-hero__dot {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.public-hero-carousel__dot::before,
.rosa-restored-hero__dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 50%;
  background: rgb(255 255 255 / .45);
  transition: transform 180ms ease, background-color 180ms ease;
}

.public-hero-carousel__dot[aria-current="true"]::before,
.rosa-restored-hero__dot[aria-current="true"]::before {
  background: #fff;
  transform: scale(1.35);
}

/* Catalogue restoration: exact old-site family treatment, fitted to the WordPress homepage rhythm. */
.home-product-range {
  width: 100%;
  max-width: 100%;
  overflow: clip;
  padding-block: clamp(2.65rem, 4vw, 3.6rem);
  background: var(--preview-page, #f6f6f6);
}

.home-product-range > .rosa-preview-rail,
.home-product-range__rail {
  width: min(calc(100% - 2 * clamp(1.25rem, 4vw, 3rem)), 72rem);
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}

.home-product-range .home-compact-section-title {
  max-width: 42rem;
  margin: 0 auto clamp(1.2rem, 2vw, 1.65rem);
  color: var(--preview-accent, #b71920);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-align: center;
}

.home-family-gallery-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.home-family-gallery__mobile-controls {
  display: none;
}

.home-family-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.7rem, 1.25vw, 1.1rem);
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  list-style: none;
  scroll-snap-type: none;
}

.home-family-gallery__panel {
  min-width: 0;
  width: auto;
  height: auto;
  overflow: visible;
  background: transparent;
}

.home-family-gallery__link {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  overflow: visible;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
}

.home-family-gallery__media,
.home-family-gallery__media--catalogue-cover {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 786;
  overflow: hidden;
  border: 1px solid rgb(25 25 23 / .11);
  border-radius: .35rem;
  background: #fff;
  box-shadow: 0 .35rem 1.25rem rgb(17 24 39 / .055);
  transition:
    border-color 360ms cubic-bezier(.22,.61,.36,1),
    box-shadow 480ms cubic-bezier(.22,.61,.36,1);
}

.home-family-gallery__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 786;
  object-fit: cover;
  object-position: 50% 50%;
  filter: none !important;
  transform: scale(1);
  transform-origin: center;
  transition: transform 440ms cubic-bezier(.22,.61,.36,1), filter 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .home-family-gallery__link:hover .home-family-gallery__image,
  .home-family-gallery__link:focus-visible .home-family-gallery__image,
  .home-family-gallery__link:focus-within .home-family-gallery__image {
    transform: scale(1.09);
    filter: none !important;
  }

  .home-family-gallery__link:hover .home-family-gallery__media--catalogue-cover,
  .home-family-gallery__link:focus-visible .home-family-gallery__media--catalogue-cover,
  .home-family-gallery__link:focus-within .home-family-gallery__media--catalogue-cover {
    border-color: rgb(183 25 32 / .32);
    box-shadow: 0 .72rem 1.7rem rgb(17 24 39 / .11);
  }
}

@media (min-width: 40.001rem) and (max-width: 64rem) {
  .home-product-range {
    padding-block: clamp(2.35rem, 4.5vw, 3rem);
  }

  .home-product-range > .rosa-preview-rail,
  .home-product-range__rail {
    width: min(calc(100% - 2 * clamp(1.5rem, 4vw, 2rem)), 60rem);
  }

  .home-family-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(.48rem, 1vw, .72rem);
  }
}

@media (max-width: 40rem) {
  .home-product-range {
    overflow: clip;
    padding-block: 2.15rem 2.45rem;
  }

  .home-product-range > .rosa-preview-rail,
  .home-product-range__rail {
    width: calc(100% - 2.5rem);
    max-width: calc(100% - 2.5rem);
  }

  .home-product-range .home-compact-section-title {
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 7vw, 1.7rem);
  }

  .home-family-gallery-shell {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .home-family-gallery__mobile-controls {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-bottom: .75rem;
  }

  .home-family-gallery__arrow {
    display: inline-grid;
    place-items: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgb(25 25 23 / .14);
    border-radius: 999px;
    background: #fff;
    color: var(--preview-ink, #191917);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
  }

  .home-family-gallery {
    display: flex;
    gap: clamp(.75rem, 3vw, 1rem);
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 .7rem;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-family-gallery::-webkit-scrollbar {
    display: none;
  }

  .home-family-gallery__panel {
    flex: 0 0 min(44vw, 10.75rem);
    min-width: min(44vw, 10.75rem);
    scroll-snap-align: start;
  }

  .home-family-gallery__media,
  .home-family-gallery__media--catalogue-cover,
  .home-family-gallery__image {
    max-width: 100%;
  }
}

/* About + Contact top banners: photograph first, neutral contrast only. */
.rosa-preview-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111317 !important;
  background-image: none !important;
}

.rosa-preview-page-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.rosa-preview-page-hero__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.rosa-preview-page-hero__media img {
  object-position: var(--page-hero-desktop-focal, 50% 50%);
}

.rosa-preview-page-hero::after {
  position: absolute !important;
  z-index: 1;
  inset: 0;
  content: "" !important;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(10 12 16 / .68), rgb(10 12 16 / .38) 48%, rgb(10 12 16 / .22)) !important;
}

.rosa-preview-page-hero > .rosa-preview-rail {
  position: relative;
  z-index: 2;
}

/* Remove reddish image washes while preserving readable neutral contrast. */
.rosa-preview-media-slot::after {
  background: linear-gradient(135deg, rgb(31 41 55 / .08), rgb(31 41 55 / .02)) !important;
}

.rosa-preview-hero > .rosa-preview-media-slot::after,
.rosa-preview-feature > .rosa-preview-media-slot::after,
.rosa-preview-evidence > .rosa-preview-media-slot::after,
.rosa-preview-about-feature__media::after,
.rosa-preview-about-evidence__media::after {
  background: linear-gradient(135deg, rgb(12 14 18 / .72), rgb(12 14 18 / .30)) !important;
}

/* The catalogue covers are exempt from the site's editorial grayscale language. */
.home-family-gallery__media--catalogue-cover .rosa-preview-media-slot__image--curated-fallback,
.home-family-gallery__media--catalogue-cover img {
  filter: none !important;
}


/* Audited fallback crops: preserve each image's actual instrument focal point.
   Client/Elementor-selected images are intentionally not forced through these rules. */
[data-media-slot="home-who-01"] .rosa-preview-media-slot__image--curated-fallback {
  object-position: 50% 52%;
}

.rosa-preview-who__visual .rosa-preview-media-slot {
  position: relative;
  overflow: hidden;
}

.rosa-preview-who__visual .rosa-preview-media-slot > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* Editorial frames keep their own responsive height; their images must fill it.
   Family catalogue covers and individual product media retain their own rules. */
:is(
  .rosa-preview-feature > .rosa-preview-media-slot,
  .rosa-preview-why__intro > .rosa-preview-media-slot,
  .rosa-preview-evidence > .rosa-preview-media-slot,
  .rosa-preview-about-feature__media > .rosa-preview-media-slot,
  .rosa-preview-about-evidence__media > .rosa-preview-media-slot,
  .rosa-live-shop-support__intro .rosa-preview-media-slot
) {
  overflow: hidden;
}

:is(
  .rosa-preview-feature > .rosa-preview-media-slot,
  .rosa-preview-why__intro > .rosa-preview-media-slot,
  .rosa-preview-evidence > .rosa-preview-media-slot,
  .rosa-preview-about-feature__media > .rosa-preview-media-slot,
  .rosa-preview-about-evidence__media > .rosa-preview-media-slot,
  .rosa-live-shop-support__intro .rosa-preview-media-slot
) > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.rosa-preview-about-feature__media > img,
.rosa-preview-about-evidence__media > img,
.rosa-preview-split__media > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.rosa-preview-split__media {
  position: relative;
}

[data-media-slot="home-feature-01"] .rosa-preview-media-slot__image--curated-fallback {
  object-position: 50% 56%;
}

[data-media-slot="home-why-01"] .rosa-preview-media-slot__image--curated-fallback {
  object-position: 46% 50%;
}

[data-media-slot="home-evidence-01"] .rosa-preview-media-slot__image--curated-fallback {
  object-position: 61% 58%;
}

[data-media-slot="about-who-instruments"] .rosa-preview-media-slot__image--curated-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-position: 50% 50%;
}

.rosa-preview-about-cards__media .rosa-preview-media-slot {
  position: relative;
  overflow: hidden;
}

.rosa-preview-about-cards__media .rosa-preview-media-slot > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

[data-media-slot="about-product-families"] img {
  object-position: 46% 50%;
}

[data-media-slot="about-feature-instruments"] .rosa-preview-media-slot__image--curated-fallback {
  object-position: 58% 50%;
}

[data-media-slot="about-proof-instruments"] .rosa-preview-media-slot__image--curated-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-position: 50% 58%;
}

[data-media-slot="about-catalogue-support"],
[data-media-slot^="catalogue-family-"] {
  background: #fff;
}

[data-media-slot="about-catalogue-support"]::after,
[data-media-slot^="catalogue-family-"]::after {
  display: none;
}

[data-media-slot="about-catalogue-support"] .rosa-preview-media-slot__image--curated-fallback,
[data-media-slot^="catalogue-family-"] .rosa-preview-media-slot__image--curated-fallback {
  object-fit: contain !important;
  object-position: 50% 50%;
  filter: none !important;
  padding: clamp(.3rem, .8vw, .65rem);
}

[data-media-slot="about-catalogue-support"] img {
  object-fit: cover !important;
  object-position: 50% 50%;
  padding: 0 !important;
}

@media (max-width: 40rem) {
  .public-hero-carousel,
  .rosa-preview-hero[data-restored-home-hero] {
    min-height: 34rem;
  }

  .public-hero-carousel__media img,
  .rosa-restored-hero__media img,
  .public-hero-carousel__picture img {
    object-position: var(--hero-mobile-focal, 50% 50%);
  }

  .rosa-preview-hero[data-restored-home-hero] [data-slide-index="2"] .rosa-restored-hero__media img {
    filter: brightness(.72) saturate(.55);
  }

  .public-hero-carousel__overlay,
  .public-hero-carousel__slide[data-copy-side="right"] .public-hero-carousel__overlay,
  .rosa-restored-hero__overlay {
    background: linear-gradient(180deg, rgb(10 12 16 / .58) 0%, rgb(10 12 16 / .22) 34%, rgb(10 12 16 / .70) 100%);
  }

  .public-hero-carousel__content {
    align-items: flex-end;
  }

  .public-hero-carousel__copy {
    padding-block: 5rem 4.5rem;
  }

  .rosa-preview-page-hero__media img {
    object-position: var(--page-hero-mobile-focal, 50% 50%);
  }

  [data-media-slot="home-who-01"] .rosa-preview-media-slot__image--curated-fallback {
    object-position: 50% 50%;
  }

  [data-media-slot="home-feature-01"] .rosa-preview-media-slot__image--curated-fallback {
    object-position: 50% 55%;
  }

  [data-media-slot="about-who-instruments"] .rosa-preview-media-slot__image--curated-fallback {
    object-position: 50% 18%;
  }

  [data-media-slot="home-why-01"] .rosa-preview-media-slot__image--curated-fallback {
    object-position: 50% 48%;
  }

  .rosa-preview-page-hero::after {
    background: linear-gradient(180deg, rgb(10 12 16 / .48), rgb(10 12 16 / .64)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-hero-carousel__slide,
  .rosa-preview-hero[data-restored-home-hero] [data-rosa-hero-slide],
  .home-family-gallery__media--catalogue-cover,
  .home-family-gallery__image {
    transition: none !important;
  }

  .home-family-gallery__image {
    transform: none !important;
  }
}
