/* Smartphone layout only. Desktop and tablet keep their existing styles. */
@media (max-width: 600px) {
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 86px;
  }

  .hero-image {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: clamp(280px, 90vw, 460px);
    opacity: 1;
    transform: none;
    will-change: auto;
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  }

  .hero-image img {
    object-fit: cover;
    object-position: 50% 18%;
    filter: saturate(.72) brightness(.94);
  }

  .hero-shade { display: none; }

  .hero-content {
    position: relative;
    inset: auto;
    max-width: none;
    padding: 12px var(--gutter) 0;
  }

  .hero-kicker { margin-bottom: 24px; line-height: 1.5; }
  .hero h1 {
    font-size: clamp(62px, 19vw, 108px);
    margin: 0 0 24px -2px;
    line-height: .9;
  }
  .hero-message h2 { font-size: clamp(21px, 5.9vw, 28px); line-height: 1.25; }
  .hero-message p { max-width: 390px; line-height: 1.7; }
  .hero-message p br { display: initial; }
  .hero-content > .button { max-width: 100%; margin-top: 24px; }

  .hero-bottom {
    position: relative;
    inset: auto;
    margin-top: 36px;
    padding: 20px 0 24px;
  }

  .menu-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
  .mobile-nav { max-height: calc(100dvh - 86px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-nav a { min-height: 44px; display: flex; align-items: center; }
  .work-dialog-header .work-close { width: 44px; height: 44px; }
  .service-item summary { gap: 16px; padding-right: 14px; font-size: clamp(22px, 6.6vw, 29px); }
  .service-item summary > span:first-child { min-width: 0; overflow-wrap: break-word; }
  .contact-title h2 { font-size: clamp(38px, 11.8vw, 69px); }
}
