/* ---------- Accessible orange (WCAG 2.1 AA — set exactly at the minimum) ----------
 * Brand orange #F47716 is only 2.8:1 on white, so it stays for icons, lines, dots and decorative
 * shapes. Text uses the same hue, darkened only as far as the standard requires:
 *   --orange-text     #B55810  4.5:1 on the pale grey (4.8 on white)  → normal-size text & links  (AA 4.5)
 *   --orange-heading  #E36F15  3.0:1 on the pale grey (3.2 on white)  → large headings            (AA 3.0)
 *   --orange-btn      #EB7315 → #E36F15  white text 3.0–3.2:1         → buttons: label is ≥18.7px bold, which WCAG
 *                                                                       counts as LARGE text, so 3:1 is the minimum
 *   --orange-badge    #EB7315  white text 3.0:1                       → big bold step numbers     (AA 3.0, large text)
 * Text on the navy panels keeps the bright orange — it already passes there (4.9:1).                      */
:root {
  --orange-text: #B55810;
  --orange-heading: #E36F15;
  --orange-btn-top: #EB7315;
  --orange-btn-bottom: #E36F15;
  --orange-badge: #EB7315;
}

/* normal-size orange text on light backgrounds */
.section__eyebrow,
.svc-card__link,
.legal a,
.primary-nav__link[aria-current],
.submenu a:hover,
.header-phone:hover { color: var(--orange-text); }

/* keep the brighter shade where the background is navy */
.process .section__eyebrow, .contact__info .section__eyebrow { color: var(--color-orange-light); }

/* large two-tone headings */
.display-title span,
.services__title span,
.about__title span,
.hero__title-line--accent, .hero__prime { color: var(--orange-heading); }

/* orange buttons with white text — bold labels of at least 18.7px (WCAG "large text") */
.btn--primary { background: linear-gradient(180deg, var(--orange-btn-top), var(--orange-btn-bottom)); font-weight: 700; }
.btn--primary:not(.hero__cta):not(.header-cta) { font-size: 1.175rem; }
.hero__cta { font-size: max(1.2rem, calc(23 * var(--u, 0px))); }
.header-cta { font-size: max(1.175rem, calc(18 * var(--u, 0px))); }
@media (min-width: 1100px) {
  /* grows to the left (anchored to the original right edge) so the bigger label never leaves the screen */
  .header-cta { left: auto; right: calc(49 * var(--u)); width: auto; min-width: calc(245 * var(--u)); padding-inline: calc(18 * var(--u)); }
}
.step__num { background: var(--orange-badge); }
@media (max-width: 1099px) {
  .header-phone { background: linear-gradient(180deg, var(--orange-btn-top), var(--orange-btn-bottom)); font-size: 1.175rem; font-weight: 700; }
  .header-phone:hover { color: #fff; }
}
@media (max-width: 360px) {
  .header-phone { padding: 0 .65rem; gap: .3rem; }
  .header-phone svg { width: 1.05rem; height: 1.05rem; }
}
/* the bigger bold label needs the full width on the narrowest phones */
@media (max-width: 380px) {
  .form-submit { width: 100%; justify-content: center; padding-inline: 1rem; }
}
