/* Bhawani Estates v13 — readable buttons and labels (public-site only).
   Maintains the approved burgundy/cream palette, cinematics and CMS fields.
   WCAG AA-aligned foreground/background contrast in the revised elements. */

/* Three View landmark buttons previously inherited dark burgundy text on a
   dark cinematic panel. Use a light, deliberately legible button surface. */
body.atelier-v5.page-landmarks .split.landmark a.btn.outline,
body.atelier-v5.page-landmarks .split.landmark a.btn.outline:visited {
  background: #f7eadd !important;
  color: #442335 !important;
  border-color: #f7eadd !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-weight: 600;
}
body.atelier-v5.page-landmarks .split.landmark a.btn.outline:hover {
  background: #fff8ed !important;
  border-color: #fff8ed !important;
  color: #442335 !important;
}

/* The Office addresses action sits over a dark photograph. Keep it a
   secondary outline treatment beside the primary light enquiry CTA. */
body.atelier-v5.page-contact .opening a.btn.outline,
body.atelier-v5.page-contact .opening a.btn.outline:visited {
  background: #37222e !important;
  color: #fffaf3 !important;
  border-color: #f1e0cb !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-weight: 600;
}
body.atelier-v5.page-contact .opening a.btn.outline:hover {
  background: #f7eadd !important;
  color: #442335 !important;
  border-color: #f7eadd !important;
}
body.atelier-v5.page-landmarks .split.landmark a.btn.outline:focus-visible,
body.atelier-v5.page-contact .opening a.btn.outline:focus-visible {
  outline: 3px solid #ffd79c !important;
  outline-offset: 4px;
}

/* Audit of all 30 public pages found several very small, muted headings and
   project labels below recommended contrast on cream cards. Darken only the
   labels on light backgrounds; gold accent text on dark bands is unchanged. */
body.atelier-v5 :is(
  .bv5-curated,
  .bv5-finder-block,
  .bv5-portfolio-intro,
  .bv5-manifesto,
  .bv5-related,
  .bv5-contact-note
) .bv5-kicker { color: #69482c !important; }
body.atelier-v5 .bv5-project-nav > span { color: #69482c !important; }
body.atelier-v5 .bv5-related-meta > span { color: #69482c !important; }
body.atelier-v5 .bv5-collection-category { color: #69482c !important; }
body.atelier-v5 .bv5-finder-foot { color: #69482c !important; }
body.atelier-v5 .bv5-portfolio-categories a > span:first-child:not(.cms-phrase) {
  color: #69482c !important;
}

/* Small over-image tags should never depend on photo brightness. */
body.atelier-v5 .bv5-index {
  background: #291922 !important;
  color: #ffffff !important;
}
body.atelier-v5 .drawing-sheet a > span {
  background: #30212b !important;
  color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
  body.atelier-v5.page-landmarks .split.landmark a.btn.outline,
  body.atelier-v5.page-contact .opening a.btn.outline {
    transition: none !important;
  }
}
