/* Bend Slush Club — shared readability fixes.
   Loaded after each page's own styles. Same poster palette, nudged so text passes WCAG AA (4.5:1). */
:root {
  --yellow: #D6A066;         /* honey: navy text on it now 4.75:1 (was 3.61) */
  --card-honey: #D6A066;
  --teal: #626B59;           /* sage: white text on it now 5.58:1 (was 4.18) */
  --teal-deep: #5A6353;
  --orange-deep: #8F431E;
  --text-soft: #4D5861;
  --orange-on-dark: #EE9466; /* terracotta for use on navy: 4.74:1 (plain terracotta was 2.21) */
  --soft-on-dark: #C9BCA6;   /* small print on navy: 5.87:1 */
}

/* ---------- One footer style everywhere (event pages had a white footer) ---------- */
footer:has(.footer-locations) {
  background: var(--dark-text) !important;
  color: #fff !important;
  border-top: 4px solid var(--dark-text);
}
footer:has(.footer-locations) p[style*="opacity"] { opacity: 1 !important; color: var(--soft-on-dark); }
footer .footer-locations, footer .footer-locations strong { color: var(--soft-on-dark); }

/* Small print and links on navy footers */
footer .footer-copy, footer p[style*="opacity"] { opacity: 1 !important; color: var(--soft-on-dark); }
footer .footer-copy a { color: var(--soft-on-dark) !important; }
footer a[href="/redmond"], footer a[href="/sunriver"], footer a[href="/sisters"], footer a[href="/"],
footer .footer-locations a, footer .footer-areas a { color: #F1E5CF !important; }

/* ---------- Accent words on navy (headings, hero, footer tagline) ---------- */
.hero h1 > span:not([class]), .page-hero h1 > span, .section-header h2 > span, .section-title h2 > span,
.tips-section h2 > span, .footer-tagline, .batch-callout { color: var(--orange-on-dark) !important; }
.batch-callout { border-color: var(--orange-on-dark) !important; }

/* Honey text on the lighter navy cards */
.tip-card h3, .psp-result p > strong { color: #E9C08E; }
.psp-stat span { color: #DCD5C7 !important; opacity: 1 !important; }

/* ---------- Faded grey labels → readable soft grey ---------- */
.psp-label, label[for="pspGuests"],
[id^="mbc"][id$="Buy"], .mbc-foot span, .mbc-item-name small, .mbc-fineprint,
.privacy .updated, .updated { color: var(--text-soft) !important; opacity: 1 !important; }

/* Homepage hero price badge */
.hero-price-from, .hero-price-per { color: var(--dark-text) !important; opacity: 1 !important; }

/* Text links styled sage on cream */
a[style*="var(--teal)"] { color: var(--teal-deep) !important; }

/* Text inside honey boxes: full-strength navy */
.serving-box:not(.highlight) .guest-label, .serving-box:not(.highlight) .recommendation, .timeline-note, .timeline-note strong,
.recipe-tip, .fun-banner, .fun-banner span { color: var(--dark-text) !important; opacity: 1 !important; }

/* Legal pages: section headings in deeper terracotta on cream */
.legal h2, body > .container > h2, main h2 { color: var(--orange-deep); }

/* Terracotta CTA band label */
.mid-cta-label { color: #fff !important; opacity: 1 !important; }

/* iPhone: date inputs overflow their card unless reset */
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  text-align: left;
  background-color: #fff;
  color: var(--dark-text);
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; }

/* Keyboard users can see where they are */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ice, #3FB8E5) !important;
  outline-offset: 2px;
}

/* Respect "reduce motion" 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; }
  .fade-in-section, .path-card { opacity: 1 !important; transform: none !important; }
}

/* ---------- Faded body copy (opacity) → solid soft grey ---------- */
.recipe-card h3, .pricing-card small, .price small, .price-amount small,
:not(footer) > p[style*="opacity: 0.5"], :not(footer) > p[style*="opacity: 0.55"], :not(footer) > p[style*="opacity: 0.6"] {
  opacity: 1 !important; color: var(--text-soft) !important;
}
article p[style*="opacity"], .step p { opacity: 1 !important; }
footer[style*="opacity"], footer > p { opacity: 1 !important; }
footer > p, footer > a { color: var(--soft-on-dark); }

/* Honey labels on navy */
strong[style*="var(--yellow)"] { color: #E9C08E !important; }

/* Two-machine highlight box keeps white text */
.serving-box.highlight .guest-label, .serving-box.highlight .recommendation { color: #fff !important; }

/* Terracotta price text inside honey tiles */
.honey-tile span, p > span[style*="var(--orange)"] { color: var(--orange-deep) !important; }
.context-strip span { color: var(--orange-deep) !important; }
.content-card div[style*="opacity"] { opacity: 1 !important; color: var(--dark-text); }
p[style*="opacity"] > a[style*="var(--teal)"], a[style*="var(--teal)"] { color: var(--teal-deep) !important; }
:not(footer) > p[style*="opacity: 0.8"] { opacity: 1 !important; color: var(--text-soft); }

/* ---------- Final pass ---------- */
.context-strip span { color: var(--dark-text) !important; font-weight: 700; }
.recipe-body h3, .mbc label, label[for="mbcGuests"], .use-cases > span:first-child,
label > span[style*="opacity"], p[style*="opacity: 0.7"] { opacity: 1 !important; color: var(--text-soft) !important; }
.footer-disclaimer strong { color: #E9C08E !important; }
.acceptance-notice strong { color: var(--orange-deep) !important; }
footer { opacity: 1 !important; }
footer p[style*="opacity"], footer div > p[style*="opacity"] { opacity: 1 !important; color: var(--soft-on-dark) !important; }
footer > a:not([class]) { color: #F1E5CF; }
.mbc-label { opacity: 1 !important; color: var(--text-soft) !important; }
.footer-disclaimer, .footer-disclaimer p { opacity: 1 !important; }
body > .container > p a, body > .container > ul a { color: var(--orange-deep); }

/* Reviews heading: same boxed label as every other section (cream box on the navy band) */
.proof-header h2 {
  display: inline-block;
  font-weight: 800;
  background: #F1E5CF;
  color: var(--dark-text);
  padding: 8px 20px;
  letter-spacing: 0.01em;
  box-shadow: 4px 4px 0 var(--orange-on-dark);
}
.proof-header p { margin-top: 12px; }

/* Footer service-area list wraps neatly */
.footer-areas { max-width: 520px; margin: 15px auto; font-size: 0.78rem; line-height: 2; }
.footer-areas a { margin: 0 6px; white-space: nowrap; }
