/* Phone readability. The base styles set many labels at 7–9px and shrink details further on 360px screens, a common Android width, which many guests (parents, grandparents) cannot read comfortably. This sets a floor for text size, contrast and tap targets on phones without changing the layout. */
@media (max-width: 540px) {
  :root { --muted: #586765; }

  .site-header nav { font-size: 11px; }
  .calligraphy-wrap p, .hero-eyebrow, .couples-divider span { font-size: 10px; }
  .hero-date > span, .hero-scroll span { font-size: 9.5px; }
  .hero-venue { font-size: 11.5px; }

  .date-strip p span { font-size: 10px; }
  .chapter-label, .invitation-copy > .eyebrow, .celebration-heading .eyebrow, .event-copy .eyebrow, .venue-card .eyebrow, .blessing .eyebrow, .closing .eyebrow { font-size: 10.5px; }
  .invitation-copy .invitation-signature { font-size: 12px; }

  .event-time time span { font-size: 10px; }
  .event-copy > p:not(.eyebrow) { font-size: 14px; color: #53635d; }
  .event-copy .event-venue, .event-directions { font-size: 13px; }
  .text-link, .closing-actions .text-link { font-size: 12px; }
  .calendar-label { font-size: 11px; }

  .venue-address, .button { font-size: 14px; }
  .share-link { font-size: 13px; }

  .hadith-source { font-size: 10.5px; }
  footer p { font-size: 10px; }
  .footer-location { font-size: 11px; }

  /* No single orphaned word at the end of short lines. */
  .hero-eyebrow, .hero-poem, h2, h3 { text-wrap: balance; }
  .event-copy > p, .celebration-intro, .invitation-copy p, .closing-copy p, .dua-meaning { text-wrap: pretty; }

  /* Small links keep their look but get a 44px-tall touch area. */
  .date-strip p a, .hadith-source, .footer-location { position: relative; }
  .date-strip p a::after, .hadith-source::after, .footer-location::after { content: ''; position: absolute; inset: -12px -6px; }
}
