/* =========================================================
   HOMES BY MADHU — Accessibility (Nov 14, 2026)
   Makes gold text easy to read for everyone, including people with low vision,
   to meet the Web Content Accessibility Guidelines (WCAG) 2.1 level AA.
   Rule: normal-size text needs a contrast of at least 4.5 to 1 with its background;
   large headings need at least 3 to 1. The bright gold (#C8A24A) stays for lines,
   icons and ornaments. Only gold TEXT uses the deeper golds below.
   Loaded last on every page.
   ========================================================= */

:root {
  --gold-text:  #86661C; /* small gold text: 4.8 to 1 or better on the cream backgrounds */
  --gold-large: #9C7A2A; /* large gold headings: 3.6 to 1 or better */
}

/* Small gold labels above headings ("eyebrows" and "kickers") */
.approved-kicker,
.approved-communities__kicker,
.hbm-guiding__eyebrow,
.hbm-hub .hbm-hub__kicker,
.hbm-reviews__brand,
.hbm-story__kicker,
.hbm-story__by,
.hbm-philo__eyebrow,
.hbm-philo cite,
.am-dialog__kicker,
.hbm-path__areas,
.hbm-path__areas span { color: var(--gold-text) !important; }

/* Large gold heading words */
.hbm-reviews h2 .w2,
.hbm-path__n,
#fin-title span { color: var(--gold-large) !important; }

/* Star ratings */
.hbm-path__stars,
.hbm-review__stars,
.hbm-story__stars,
.testimonial-stars,
.am-stars { color: var(--gold-text) !important; }

/* Gold links and small gold text on the sell and contact pages */
.testimonial-initials,
.testimonial-verified,
.hbm-philo figcaption a,
.form-privacy-note a { color: var(--gold-text) !important; }

/* Gold buttons: keep the bright gold, and use dark burgundy text on it (7 to 1).
   White text on bright gold was too faint (2.4 to 1). */
.btn-sell-hero,
.hbm-acu__tab.is-active,
.hbm-acu__tab:hover { background: #C8A24A !important; border-color: #C8A24A !important; color: #3B0A10 !important; }
.btn-sell-hero:hover { background: #B8913A !important; border-color: #B8913A !important; color: #3B0A10 !important; }

/* Outline gold buttons */
.btn-outline { color: var(--gold-text) !important; border-color: var(--gold-text) !important; }
.btn-outline:hover { background: var(--gold-text) !important; color: #fff !important; }

/* A clear focus ring for keyboard users on every page */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible { outline: 3px solid #3B0A10 !important; outline-offset: 3px !important; }

/* Respect visitors who turn off motion in their device settings */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Sell page: the three "Transparency and Integrity" headings are now level 3 headings
   (they were level 4 directly under a level 2 heading). Same size and look as before. */
.transparency-item h3 { font-size: 1rem; margin-bottom: 8px; }
