/* Homepage: immediate copy, with secondary phone controls after the first screen. */
body[data-page="home"] .intro { display: none; }
.intro-play body[data-page="home"] .site-header,
.js body[data-page="home"] .hero .line > span,
.js body[data-page="home"] .hero .rise {
  animation: none;
  opacity: 1;
  transform: none;
}
.home-mobile-details { display: none; }

@media (max-width: 899px) {
  body[data-page="home"] > .site-header,
  body[data-page="home"] > .menu,
  body[data-page="home"] .hero .wall-hero,
  body[data-page="home"] .hero-side > nav,
  body[data-page="home"] .hero-followups { display: none; }

  body[data-page="home"] .hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding-block: max(28px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-bottom));
  }
  body[data-page="home"] .hero > .wrap { width: 100%; }
  body[data-page="home"] .hero #hero-title { font-size: clamp(2.2rem, 6vw, 3rem); }
  body[data-page="home"] .hero-side .lead { max-width: 40ch; font-size: clamp(1rem, 2.2vw, 1.125rem); }
  body[data-page="home"] .hero-side .actions { gap: 12px; }
  body[data-page="home"] .hero-side .actions .btn { min-height: 52px; }

  .home-mobile-details { display: block; padding-block: 28px 36px; border-block: 1px solid var(--line); }
  .home-mobile-details .wrap { display: grid; gap: 24px; }
  .home-mobile-details .brand { justify-self: start; min-height: 44px; }
  .home-mobile-details .need-links { margin-top: 0; }
  .home-mobile-details h2 { margin-bottom: 10px; color: var(--muted); font-size: 14px; font-weight: 500; }
  .home-mobile-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
  .home-mobile-contact a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: 14px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
  .home-mobile-contact a:hover { color: var(--accent-ink); }
  .home-mobile-details .hero-facts { display: inline-flex; align-items: center; min-height: 44px; }
  .home-mobile-chat { min-width: 0; }

  /* Static fallback stays after the footer if the small placement enhancement fails. */
  body[data-page="home"] .chat-launcher {
    position: static;
    width: auto;
    height: 52px;
    margin: 20px var(--gutter);
    gap: 10px;
    padding: 0 20px 0 8px;
    border-radius: 999px;
  }
  body[data-page="home"] .home-mobile-chat .chat-launcher { margin: 0; }
  body[data-page="home"] .chat-launcher-label { display: inline; }
  body[data-page="home"] .chat-nudge { display: none; }
}
