/* Luna's Coffee Wagon — responsive refinements, December 2026.
   Works alongside existing styles, without changing booking/Turnstile code. */
*, *::before, *::after { box-sizing: border-box; }
img, svg, video { max-width: 100%; }
/* Keep the headline to two intentional lines on larger screens. */
.status-title { min-width: 0; }
.status-title h2#where-title {
  font-size: clamp(3.1rem, 4.35vw, 4.35rem);
  line-height: .96;
  letter-spacing: -.025em;
  transform: rotate(-2deg);
  min-width: 0;
}
.status-title h2#where-title .wagon-today { white-space: nowrap; }
.status-title h2#where-title::after { margin-top: 12px; }
@media (min-width: 1221px) {
  .home-status .status-grid { padding-inline: clamp(20px, 2.5vw, 40px); }
}
@media (min-width: 651px) and (max-width: 980px) {
  /* Mid-size tablets were cropping the hero headline behind the header. */
  .hero { height: auto !important; min-height: 0 !important; display: flex !important;
    flex-direction: column; padding: 0 !important; overflow: hidden !important; }
  .hero .hero-grinder-visible { position: relative !important; inset: auto !important;
    width: 100% !important; max-width: 100% !important; min-width: 0 !important;
    height: 250px !important; object-fit: cover !important;
    object-position: 16% 52% !important; opacity: 1 !important; }
  .hero::after, .corner-leaf { display: none !important; }
  .hero .hero-content { margin: 0 !important; padding: 28px 0 34px !important;
    position: relative !important; justify-content: center !important; }
  .hero-copy { padding: 0 !important; width: 100% !important; max-width: 650px; }
  .hero h1 { font-size: clamp(3.6rem, 8.3vw, 4.6rem) !important;
    line-height: .98 !important; margin: 0 !important; }
  .hero .orange-swoosh { margin: 14px auto 16px !important; }
  .orange-brush { margin-top: 20px !important; }
}
@media (min-width: 981px) and (max-width: 1220px) {
  /* Avoid squeezing the handwritten headline into a narrow desktop column. */
  .status-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .status-title { justify-content: center; }
  .status-content { border-left: 0; border-top: 1px solid #73786c; padding: 20px 0 0; }
}
@media (max-width: 980px) {
  .status-title h2#where-title { font-size: clamp(3rem, 7.5vw, 4.2rem); }
  .status-title { gap: 10px; }
}
@media (max-width: 650px) {
  /* A stacked hero keeps the entire welcome headline visible beneath the photo. */
  .hero { display: flex !important; flex-direction: column; height: auto !important; min-height: 0 !important;
    padding: 0 !important; overflow: hidden; background: #171d18; }
  .hero .hero-grinder-visible { position: relative !important; inset: auto !important;
    display: block !important; height: clamp(170px, 51vw, 235px) !important;
    min-height: 0 !important; width: 100% !important; min-width: 0 !important;
    object-fit: cover !important; object-position: 16% 50% !important;
    max-width: 100% !important; margin: 0 !important; opacity: 1 !important; }
  .hero::after { display: none !important; content: none !important; }
  .hero .hero-content { display: block !important; position: relative !important;
    margin: 0 !important; padding: 22px 0 28px !important; }
  .hero-copy { width: 100% !important; max-width: none !important; padding: 0 7px !important; }
  .hero h1 { font-size: clamp(2.55rem, 11.8vw, 4rem) !important; line-height: .97 !important;
    transform: rotate(-2deg); margin: 0 0 6px; }
  .hero .orange-swoosh { margin: 8px auto 14px !important; }
  .hero-descriptor { font-size: clamp(.68rem, 3.1vw, .8rem) !important;
    line-height: 1.55 !important; }
  .orange-brush { margin: 14px auto 0 !important; font-size: clamp(1.25rem, 6.1vw, 1.75rem) !important; }
  .corner-leaf { display: none; }
  /* Heading and daily schedule need to fit 320–430px phones. */
  .home-status { padding-top: 25px; }
  .status-title { display: flex; justify-content: center; align-items: center; gap: 9px; }
  .status-title .heart { flex: 0 0 auto; font-size: 1.7rem; }
  .status-title h2#where-title { font-size: clamp(2.25rem, 9vw, 2.75rem) !important;
    line-height: .95 !important; transform: rotate(-2deg); }
  .status-title h2#where-title::after { height: 4px; margin-top: 12px; }
  .status-content { min-width: 0; }
  .today-row, .today-copy, .next-list, .upcoming-strip { min-width: 0; }
  .next-card { flex-basis: 100%; overflow-wrap: anywhere; }
  .today-directions { width: 100%; min-height: 44px; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .container, .card, .info-panel, .page-wrap, .status-grid { min-width: 0; }
  .page-hero h1 { font-size: clamp(2.55rem, 11vw, 3.8rem); line-height: 1.05; }
  .page-hero p, .place-title, .place-address, .footer-meta, .contact-line,
  .menu-section, .info-panel { overflow-wrap: anywhere; }
  .nav-list a { min-height: 44px; }
}
@media (max-width: 360px) {
  .site-header .brand-logo { width: 67px; height: 67px; left: 8px; top: 5px; }
  .header-inner { padding-left: 78px; gap: 5px; }
  .menu-toggle { white-space: nowrap; font-size: .85rem; padding: 7px 8px; }
  .header-inner .social-links { gap: 5px; }
  .social-circle { height: 26px; width: 26px; }
  .status-title { gap: 5px; }
  .status-title h2#where-title { font-size: 2.14rem !important; }
}
