/* Homepage mobile-only stylesheet.
   This file exists specifically so homepage mobile optimization does not touch
   the stable desktop homepage rules in home.css. */

.home-hero__mobile-extra {
  display: inline;
}

@media (max-width: 600px) {
  .home-hero {
    padding: 18px 0 14px;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .home-hero__copy {
    padding: 22px 18px 18px;
  }

  .home-hero__copy h1 {
    font-size: 1.9rem;
    line-height: 1.06;
    margin: 0 0 12px;
  }

  .home-hero__copy p {
    font-size: 0.95rem;
    margin: 0 0 18px;
  }

  .home-hero__mobile-extra {
    display: none;
  }

  .eyebrow,
  .home-about__mini {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
  }

  .home-hero__actions,
  .home-contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .home-hero__actions > *,
  .home-contact-actions > * {
    width: 100%;
    padding: 12px 16px;
  }

  .home-hero__media {
    min-height: 185px;
    max-height: 220px;
  }

  .home-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .home-section-head h2,
  .home-about__copy h2,
  .home-contact-box h2 {
    font-size: 1.42rem;
    line-height: 1.12;
  }

  /* Match the old site's tighter mobile homepage by hiding section intro copy. */
  .home-section-head p {
    display: none;
  }

  .home-categories,
  .home-featured,
  .home-about,
  .home-recent-work,
  .home-faq,
  .home-contact-strip {
    padding: 18px 0 10px;
  }

  .home-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-category-card {
    min-width: 0;
    padding: 14px 10px;
    border-radius: 14px;
  }

  .home-category-card__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 6px;
    font-size: 1rem;
  }

  .home-category-card h3 {
    font-size: 0.86rem;
    line-height: 1.1;
    margin-bottom: 3px;
  }

  .home-category-card p {
    font-size: 0.7rem;
    line-height: 1.15;
  }

  /* Keep featured and recent work in one row on mobile, but FAQ should be 2-up for readability. */
  .home-product-grid,
  .home-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .home-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-product-card,
  .home-gallery-card,
  .home-faq-card,
  .home-about__card,
  .home-contact-box {
    border-radius: 16px;
  }

  .home-product-card img,
  .home-gallery-card img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .home-gallery-card img {
    aspect-ratio: 3 / 4;
  }

  .home-product-card__body,
  .home-gallery-card__body {
    padding: 8px;
  }

  .home-product-card__body h3,
  .home-gallery-card__body h3,
  .home-faq-card h3 {
    font-size: 0.82rem;
    line-height: 1.15;
    margin: 0;
  }

  .home-gallery-card__body p {
    display: none;
  }

  .home-faq-card {
    padding: 12px;
  }

  .home-faq-card p {
    font-size: 0.72rem;
    line-height: 1.2;
    margin-top: 6px;
  }

  .home-about__card,
  .home-contact-box {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-about__image-wrap img {
    height: 150px;
    min-height: 150px;
    width: 100%;
  }

  .home-about__copy {
    padding: 16px;
  }

  .home-about__copy p {
    margin-bottom: 10px;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .home-bullets {
    display: none;
  }

  .home-contact-box {
    padding: 16px;
  }

  .home-contact-box p {
    display: none;
  }

  .home-coming-soon {
    padding: 18px 14px;
  }

  .home-coming-soon h3 {
    font-size: 1.05rem;
  }

  .home-coming-soon p {
    font-size: 0.86rem;
  }
}

@media (max-width: 430px) {
  .home-hero {
    padding: 8px 0 6px;
  }

  .home-hero__copy {
    padding: 16px 14px 12px;
  }

  .home-hero__copy h1 {
    font-size: 1.54rem;
  }

  .home-hero__copy p {
    font-size: 0.88rem;
    margin-bottom: 9px;
  }

  .home-hero__actions > *,
  .home-contact-actions > * {
    padding: 11px 12px;
  }

  .home-categories__grid {
    gap: 8px;
  }

  .home-category-card {
    padding: 12px 8px;
  }

  .home-category-card__icon {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }

  .home-category-card h3 {
    font-size: 0.8rem;
  }

  .home-category-card p {
    font-size: 0.66rem;
  }

  .home-product-grid,
  .home-gallery-grid {
    gap: 6px;
  }

  .home-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .home-product-card__body,
  .home-gallery-card__body {
    padding: 6px;
  }

  .home-product-card__body h3,
  .home-gallery-card__body h3,
  .home-faq-card h3 {
    font-size: 0.74rem;
  }

  .home-faq-card {
    padding: 10px;
  }

  .home-faq-card p {
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .home-about__image-wrap img {
    height: 138px;
    min-height: 138px;
  }

  .home-about__copy,
  .home-contact-box {
    padding: 14px;
  }

  .home-about__copy h2,
  .home-contact-box h2 {
    font-size: 1.28rem;
  }
}

@media (max-width: 600px) {
  /* Hide the hero body copy on mobile, matching the old site’s compact hero. */
  .home-hero__copy p {
    display: none;
  }

  .home-section-head__link,
  .home-section-head__link--light {
    align-self: flex-end;
    margin-left: auto;
    padding: 8px 12px;
    min-height: 0;
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .home-hero__actions > *,
  .home-contact-actions > * {
    padding: 10px 12px;
    font-size: 0.84rem;
    line-height: 1.15;
  }
}

@media (max-width: 430px) {
  .home-section-head__link,
  .home-section-head__link--light,
  .home-contact-actions > *,
  .home-hero__actions > * {
    padding: 9px 10px;
    font-size: 0.76rem;
    line-height: 1.1;
  }
}
