/* Renasanz v2 readiness pass: compatibility, booking CTA, and asset crops only. */
.legacy-marquee-compat {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

/* The original animated hero remains the source of truth. */
.ready-hero {
  display: none !important;
}

body .simplybook-widget-button,
body .sb-widget-button {
  position: fixed;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 2.4rem !important;
  z-index: 9999;
  transform: translateX(-50%) !important;
  transform-origin: 50% 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15.2rem;
  min-height: 6rem;
  padding: 1.5rem 2.6rem;
  background: var(--red-1, #A52422);
  color: var(--white-1, #FFFBF2);
  border: 1px solid var(--red-1, #A52422);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

#pg-home .team-gallery img[src$="team/yuri/05.webp"] {
  object-position: 50% 24%;
}

#pg-home .team-gallery img[src$="team/yuri/08.webp"] {
  object-position: 50% 22%;
}

#pg-home .team-gallery img[src$="team/yuri/09.webp"] {
  object-position: 50% 20%;
}

@media (max-width: 900px) {
  .team-portfolio {
    padding: 2rem 0 3rem;
  }

  .team-pf-grid {
    gap: 2.4rem;
  }

  .team-names {
    gap: .8rem 1.6rem;
  }

  .team-name {
    min-height: 4.4rem;
    display: flex;
    align-items: center;
  }

  .team-galleries {
    height: min(70vh, 420px);
  }

  .tg-caption {
    font-size: 11px;
    max-width: calc(100% - 24px);
  }

  body .simplybook-widget-button,
  body .sb-widget-button {
    top: auto;
    right: auto;
    left: 50%;
    bottom: 1.6rem;
    transform: translateX(-50%);
    min-width: 15.2rem;
    min-height: 5.8rem;
    padding: 1.5rem 2.2rem;
    font-size: 1.3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
  }
}
