/* R38 — bounded repair: Oferta / Realizacje and desktop process parenthesis. */

/* Gallery cards are static media states. Do not inherit viewport-entry zoom/fade; retain only their native link/modal interaction. */
.r21-gallery .r21-project,
.r21-gallery .r21-image,
.r21-gallery .r21-image img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
}

/* The brackets are intentionally driven by the caption's own viewport observer, so the expansion starts when this scene is actually reached — not during an earlier global reveal. */
@media (min-width: 761px) {
  #hugecaption-12 .c-huge-caption_text .-last[data-word-with-parenthesis]::before {
    transform: translateX(calc(-100% - .08em)) scale(1);
    transform-origin: right center;
  }
  #hugecaption-12 .c-huge-caption_text .-last[data-word-with-parenthesis]::after {
    left: 100% !important;
    right: auto !important;
    transform: translateX(.08em) scale(1);
    transform-origin: left center;
  }
  #hugecaption-12:not(.redford-brackets-active) .c-huge-caption_text .-last[data-word-with-parenthesis]::before {
    opacity: .14;
    transform: translateX(calc(-100% - .08em)) scale(.62);
  }
  #hugecaption-12:not(.redford-brackets-active) .c-huge-caption_text .-last[data-word-with-parenthesis]::after {
    opacity: .14;
    transform: translateX(.08em) scale(.62);
  }
  #hugecaption-12.redford-brackets-active .c-huge-caption_text .-last[data-word-with-parenthesis]::before,
  #hugecaption-12.redford-brackets-active .c-huge-caption_text .-last[data-word-with-parenthesis]::after {
    animation: redford-parenthesis-expand 900ms cubic-bezier(.22,1,.36,1) both;
  }
}
@keyframes redford-parenthesis-expand {
  from { opacity:.14; transform:translateX(var(--redford-parenthesis-translate, 0)) scale(.62); }
  to { opacity:1; transform:translateX(var(--redford-parenthesis-translate, 0)) scale(1); }
}
@media (min-width:761px) {
  #hugecaption-12.redford-brackets-active .c-huge-caption_text .-last[data-word-with-parenthesis]::before { --redford-parenthesis-translate: calc(-100% - .08em); }
  #hugecaption-12.redford-brackets-active .c-huge-caption_text .-last[data-word-with-parenthesis]::after { --redford-parenthesis-translate: .08em; }
}
/* Offer media is fully available before a fast scroll; the hero monitor keeps its full perimeter in the frame. */
html[data-redford-page="home"] #parallaximage-1 { --parallax-scale: 1.05 !important; }
.redford-price-quote { font-size: clamp(1.5rem,2.5vw,2.7rem); letter-spacing:-.04em; line-height:1; }
