/* Homepage-only layout refinements. */
.cta-mobile { display: none; }

.fact-grid > div,
.fact-grid > div:first-child,
.fact-grid > div:last-child {
  justify-content: center;
}

.category-card:last-child .category-media img {
  object-fit: contain;
}

.inquiry-copy h2 > span {
  display: block;
}

@media (max-width: 680px) {
  .hero,
  .hero-content {
    min-height: 560px;
  }

  .hero-content {
    padding-top: 48px;
  }

  .hero-intro-mobile {
    white-space: normal;
  }

  .hero-intro-mobile > span {
    white-space: nowrap;
    font-size: 15px;
  }

  .hero-actions .cta-desktop {
    display: none;
  }

  .hero-actions .cta-mobile {
    display: inline;
  }

  .fact-grid > div,
  .fact-grid > div:first-child,
  .fact-grid > div:last-child {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: start;
    justify-content: initial;
    gap: 8px;
    height: auto;
    border: 0;
  }

  .fact-grid p { min-width: 0; }
  .fact-grid strong { white-space: nowrap; }

  .fact-grid small {
    font-size: 13px;
  }

  .fact-grid [data-icon] {
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    font-size: 26px;
  }

  .fact-grid [data-icon] svg {
    width: 26px;
    height: 26px;
  }

  .products-section {
    padding-block: 52px;
  }

  .category-grid {
    gap: 16px;
  }

  .category-card {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    min-height: 148px;
  }

  .category-media {
    height: 100%;
    min-height: 148px;
  }

  .category-media img {
    height: 100%;
    object-fit: contain;
  }

  .category-body {
    display: flex;
    min-height: 148px;
    flex-direction: column;
    justify-content: center;
    padding: 20px 16px 34px;
  }

  .category-body h3 {
    margin-bottom: 9px;
    font-size: 18px;
  }

  .category-body p {
    font-size: 15px;
    line-height: 1.65;
    text-wrap: balance;
  }

  .category-body > [data-icon] {
    right: 10px;
    bottom: 16px;
  }

  .why-section {
    padding-block: 46px;
  }

  .why-card,
  .why-card:first-child,
  .why-card:last-child,
  .why-card:nth-child(2),
  .why-card:nth-child(3) {
    padding-block: 18px;
  }

  .why-card p {
    word-break: keep-all;
    text-wrap: balance;
  }

  .inquiry-copy h2 > span {
    white-space: nowrap;
  }

  .inquiry-copy h2 {
    font-size: 28px;
  }
}

/* Four approved industry directions; mobile retains its photo carousel. */
@media(min-width:1101px){.industries-section .industry-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:681px) and (max-width:1100px){.industries-section .industry-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.industries-section .industry-grid-four .industry-card:first-child{grid-column:auto;height:240px}}
