/* Homepage refinements requested after the content update. */
.home-hero {
  margin-top: 18px;
  border-radius: 20px;
}

.home-btn,
.home-form button {
  font: 800 16px/1.1 Raleway,sans-serif;
}

.home-core a {
  transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.home-core a:hover,
.home-core a:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(13,15,47,.17);
  outline: none;
}

.home-purpose {
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
}

.home-purpose-grid {
  gap: 12px;
  border: 0;
}

.home-purpose-grid article {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

.home-intro h2,
.home-purpose h2,
.home-section-heading h2,
.home-solution h2,
.home-full-copy h2,
.home-commitment h2 {
  font-size: clamp(34px,3.2vw,48px);
}

.home-solution-copy h2 {
  font-size: clamp(32px,3vw,44px);
}

.home-full-service {
  margin-inline: auto;
  border: 1px solid #dbe0e9;
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%,rgba(199,39,52,.08),transparent 28%),
    linear-gradient(135deg,#f0f2f6 0%,#e8ecf3 100%);
  overflow: hidden;
}

.home-process {
  display: grid;
  gap: 10px;
}

.home-process li,
.home-process li:first-child {
  padding: 20px 22px;
  border: 1px solid rgba(17,19,47,.1);
  border-radius: 13px;
  background: rgba(255,255,255,.72);
}

.home-strategy-grid article,
.home-purpose-grid article,
.home-process li,
.home-industry-grid a {
  transition: transform .44s cubic-bezier(.16,1,.3,1), border-color .44s cubic-bezier(.16,1,.3,1), background-color .44s cubic-bezier(.16,1,.3,1), box-shadow .44s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

.home-strategy-grid article:hover,
.home-strategy-grid article:focus-within,
.home-purpose-grid article:hover,
.home-purpose-grid article:focus-within,
.home-process li:hover,
.home-industry-grid a:hover,
.home-industry-grid a:focus-visible {
  transform: translateY(-4px);
}

.home-strategy-grid article:hover,
.home-strategy-grid article:focus-within {
  box-shadow: 0 20px 46px rgba(13,15,47,.13);
}

.home-purpose-grid article:hover,
.home-purpose-grid article:focus-within {
  border-color: rgba(255,112,122,.38);
  background: rgba(255,255,255,.075);
}

.home-process li:hover {
  border-color: rgba(199,39,52,.24);
  box-shadow: 0 14px 30px rgba(13,15,47,.08);
}

.home-industry-grid a:hover,
.home-industry-grid a:focus-visible {
  box-shadow: 0 20px 42px rgba(13,15,47,.2);
  outline: none;
}

.home-directory {
  padding: 90px 42px;
  border-radius: 20px;
  background: #11132f;
  color: #fff;
}

.home-directory .home-section-heading {
  max-width: 760px;
  margin-left: 0;
  text-align: left;
}

.home-directory .home-section-heading h2 {
  color: #fff;
}

.home-directory .home-section-heading p {
  margin-left: 0;
  color: rgba(255,255,255,.7);
}

.home-directory-grid {
  max-width: none;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: start;
  gap: 16px;
  padding-inline: 0;
}

.home-directory details {
  position: relative;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: #1a1d4f;
  overflow: hidden;
  transition: transform .44s cubic-bezier(.16,1,.3,1), border-color .44s cubic-bezier(.16,1,.3,1), box-shadow .44s cubic-bezier(.16,1,.3,1);
}

.home-directory details:hover {
  border-color: rgba(255,112,122,.62);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
}

.home-directory details[open] {
  grid-column: 1/-1;
  transform: none;
}

.home-directory summary {
  position: relative;
  min-height: 170px;
  padding: 28px;
  background:
    linear-gradient(0deg,rgba(8,10,35,.93),rgba(8,10,35,.2)),
    var(--directory-image) center/cover;
  color: #fff;
}

.home-directory details:nth-child(1) { --directory-image: url("assets/custom-signs-5.jpg"); }
.home-directory details:nth-child(2) { --directory-image: url("assets/retail-hero.webp"); }
.home-directory details:nth-child(3) { --directory-image: url("assets/acrylic-hero.webp"); }

.home-directory summary span {
  display: flex;
  flex-direction: column;
  align-self: end;
  font-size: 18px;
}

.home-directory summary b {
  min-width: 0;
  color: #fff;
  font: 800 48px Raleway,sans-serif;
  line-height: 1;
}

.home-directory summary i {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c92531;
  color: #fff;
  font-size: 24px;
  transition: transform .25s ease;
}

.home-directory details[open] summary i {
  transform: rotate(45deg);
}

.home-directory .directory {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px;
  padding: 22px;
  background: #f7f8fb;
}

.home-directory .directory a {
  padding: 10px 12px;
  border: 1px solid #e1e4eb;
  border-radius: 8px;
  background: #fff;
  color: #34394b;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.home-directory .directory a:hover,
.home-directory .directory a:focus-visible {
  border-color: #c92531;
  background: #c92531;
  color: #fff;
  outline: none;
}

.home-commitment {
  margin-bottom: 24px;
  border-radius: 20px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .home-core a,
  .home-strategy-grid article,
  .home-purpose-grid article,
  .home-process li,
  .home-industry-grid a,
  .home-directory details {
    transition: none;
  }

  .home-core a:hover,
  .home-core a:focus-visible,
  .home-strategy-grid article:hover,
  .home-strategy-grid article:focus-within,
  .home-purpose-grid article:hover,
  .home-purpose-grid article:focus-within,
  .home-process li:hover,
  .home-industry-grid a:hover,
  .home-industry-grid a:focus-visible,
  .home-directory details:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .home-hero,
  .home-purpose,
  .home-full-service,
  .home-commitment {
    width: calc(100% - 20px);
    margin-inline: auto;
  }

  .home-directory-grid {
    grid-template-columns: 1fr;
  }

  .home-directory details[open] {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  .home-hero { margin-top: 10px; }

  .home-intro h2,
  .home-purpose h2,
  .home-section-heading h2,
  .home-solution h2,
  .home-full-copy h2,
  .home-commitment h2,
  .home-solution-copy h2 {
    font-size: 33px;
  }

  .home-directory {
    width: calc(100% - 20px);
    padding: 62px 18px;
  }

  .home-directory > .home-section-heading {
    padding-inline: 0;
  }

  .home-directory .directory {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 480px) {
  .home-directory .directory {
    grid-template-columns: 1fr;
  }

}

/* Compact linked Google rating artwork in the homepage hero. */
.home-rating {
  display: block;
  width: min(189px, 72vw);
  margin-top: 35px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease;
}

.home-rating img {
  display: block;
  width: 100%;
  height: auto;
}

.home-rating:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
