/* A clean, close halo: bright enough to lift text from the dark interface,
   but short enough to keep every letter edge sharp. */
:where(
  h1, h2, h3, h4,
  p, li, blockquote, cite, small,
  label, legend, summary,
  .eyebrow, .script, .scroll-note,
  .hero-contact, .hero-contact a, .hero-contact > span,
  .nav .brand, .nav nav a,
  .text-link, .journey-button, .project-submit-button,
  .footer-faq, .header-faq-link,
  .form-status, .rating-status,
  .footer-domain, .footer-enterprise, .footer-year,
  .service-options span, .service-intro, .service-support,
  .milestone, .reel-note, .slide-count, .portal-top,
  .rating-panel label, .rating-panel legend,
  .team-hero p, .team-profile p, .founder-profile p,
  .resume-viewer-header p, .resume-page-image figcaption
) {
  text-shadow:
    0 0 1px rgba(255, 255, 255, .78),
    0 0 4px rgba(174, 229, 255, .48),
    0 0 9px rgba(52, 166, 232, .25) !important;
}

/* Headings and the footer signature retain a slightly stronger halo, without
   the broad outer blur that made the type hazy. */
:where(h1, h2, h3, h4, .numbers strong, .reel-mark, footer > p) {
  text-shadow:
    0 0 1px rgba(255, 255, 255, .90),
    0 0 5px rgba(185, 235, 255, .62),
    0 0 12px rgba(55, 171, 237, .34) !important;
}

/* The signature line is the reference treatment: a compact halo all around
   the letters, clear at every screen size. */
footer > p {
  color: #eefaff;
  text-shadow:
    0 0 1px rgba(255, 255, 255, .95),
    0 0 5px rgba(191, 237, 255, .68),
    0 0 11px rgba(53, 164, 232, .34) !important;
}

/* Preserve the understated gold guidance text without adding a blue haze. */
#contact-form textarea::placeholder,
.rating-panel textarea::placeholder {
  text-shadow:
    0 0 2px rgba(255, 218, 102, .22),
    0 0 6px rgba(236, 166, 25, .10) !important;
}

/* These selectors deliberately have enough weight to replace the older,
   wider glows left in the original style layers. */
body :is(
  h1, h2, h3, h4,
  p, li, blockquote, cite, small,
  label, legend, summary,
  .eyebrow, .script, .scroll-note,
  .hero-contact, .hero-contact a, .hero-contact > span,
  .nav .brand, .nav nav a,
  .text-link, .journey-button, .project-submit-button,
  .footer-faq, .header-faq-link,
  .form-status, .rating-status,
  .footer-domain, .footer-enterprise, .footer-year,
  .service-options span, .service-intro, .service-support,
  .milestone, .reel-note, .slide-count, .portal-top,
  .rating-panel label, .rating-panel legend,
  .team-hero p, .team-profile p, .founder-profile p,
  .resume-viewer-header p, .resume-page-image figcaption
) {
  text-shadow:
    0 0 1px rgba(255, 255, 255, .78),
    0 0 4px rgba(174, 229, 255, .48),
    0 0 9px rgba(52, 166, 232, .25) !important;
}

body :is(h1, h2, h3, h4, .numbers strong, .reel-mark) {
  text-shadow:
    0 0 1px rgba(255, 255, 255, .90),
    0 0 5px rgba(185, 235, 255, .62),
    0 0 12px rgba(55, 171, 237, .34) !important;
}

body footer > p {
  color: #eefaff;
  text-shadow:
    0 0 1px rgba(255, 255, 255, .95),
    0 0 5px rgba(191, 237, 255, .68),
    0 0 11px rgba(53, 164, 232, .34) !important;
}
