/* Small, non-visual accessibility layer for the static build. */
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid #c5a059;
  outline-offset: 3px;
}

:where(button, a)[aria-disabled="true"] {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Location rows sit on a deep navy surface; keep their labels readable. */
#location .min-w-0 > span,
#location .flex-shrink-0 span {
  color: #f4ede4 !important;
}

#location span[style*="font-size:var(--type-body"],
#location span[style*="font-size:clamp"] {
  color: #f4ede4 !important;
}

#location .grid span {
  color: #f4ede4 !important;
}

/* The generated static markup can carry the old dark inline color before hydration. */
span[style*="color:#081c32"],
span[style*="color:#081c31"] {
  color: #f4ede4 !important;
}

/* Muted body copy on the site's ivory/white panels needs at least 4.5:1. */
main :is(p, span, label)[style*="color:rgba(6, 26, 48, 0.3"],
main :is(p, span, label)[style*="color:rgba(6, 26, 48, 0.4"],
main :is(p, span, label)[style*="color:rgba(6, 26, 48, 0.5"],
main :is(p, span, label)[style*="color: rgba(6, 26, 48, 0.3"],
main :is(p, span, label)[style*="color: rgba(6, 26, 48, 0.4"],
main :is(p, span, label)[style*="color: rgba(6, 26, 48, 0.5"],
#residences .caption,
#residences .heading-2 + p {
  color: #536475 !important;
}

#hero .ds-btn-primary,
#hero .ds-btn-primary span {
  color: #061a30 !important;
}

main a.kalipso-contact-messenger-btn,
main a.kalipso-contact-messenger-btn span {
  color: #fff !important;
}

#catalog span[style*="background:rgba(197, 160, 89, 0.12)"] {
  color: #78541f !important;
}

main .min-w-0 > span.block.mb-2 {
  color: #c5a059 !important;
}

main a.liquid-btn[style*="background:#8A6428"],
main a.liquid-btn[style*="background:#8A6428"] > span {
  color: #fff !important;
}

form .pointer-events-none[aria-hidden="true"] {
  color: #536475 !important;
}
#location .space-y-0 > div {
  /* Keep location facts readable before the scroll animation initializes. */
  opacity: 1 !important;
  clip-path: none !important;
}
