.md-dark-home .pv-actionbar.is-hidden {
  visibility: hidden;
}

.md-dark-home #service {
  padding-top: clamp(28px, 4vw, 56px);
}

.md-dark-home #service h2,
.md-dark-home #home-faq h2 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.md-dark-home #service + #home-faq {
  border-top: 0;
  padding-top: 8px;
}

/* Keep the address and its map in one group. */
.md-dark-home #contacts.md-contact-graphite .graphite-location {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  border-top: 0;
  padding-top: 0;
}

.md-dark-home #contacts.md-contact-graphite .graphite-location-with-map {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important;
}

.md-dark-home #contacts .graphite-home-title {
  margin: 0;
  font-size: clamp(28px, 3.7vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.md-dark-home #contacts .graphite-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
}

.md-dark-home #contacts .graphite-contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.md-dark-home #contacts .graphite-contact-actions .graphite-contact-sales {
  padding: 10px 14px;
  background: var(--accent, #9e1b32);
  color: #fff;
}

.md-dark-home #contacts .graphite-contact-email {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.md-dark-home #contacts .graphite-contact-actions a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.md-dark-home #contacts .graphite-contact-actions a:focus-visible {
  outline: 2px solid #eeeae1;
  outline-offset: 4px;
}

.md-dark-home #contacts .graphite-address-group {
  display: grid;
  gap: 14px 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #454c45;
}

.md-dark-home #contacts .graphite-location .graphite-address {
  margin: 0;
  font-size: clamp(22px, 2.15vw, 30px);
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.md-dark-home #contacts .graphite-location .graphite-place {
  margin-top: 6px;
  max-width: none;
  color: #bfc5bb;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
}

.md-dark-home #contacts .graphite-location .graphite-map {
  min-height: 44px;
  grid-column: 1 / -1;
  justify-self: start;
}

.md-dark-home #contacts .graphite-location .graphite-map:focus-visible {
  outline: 2px solid #eeeae1;
  outline-offset: 4px;
}

.md-dark-home #contacts .graphite-location .graphite-notice {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.md-dark-home #contacts .graphite-location .graphite-schedule .graphite-label {
  margin-bottom: 6px;
}

.md-dark-home #contacts .graphite-location .graphite-hours {
  display: inline;
  margin: 0 8px 0 0;
  font-size: 15px;
  letter-spacing: normal;
}

.md-dark-home #contacts .graphite-location .graphite-days {
  display: inline;
  font-size: 13px;
  color: #bfc5bb;
}

.md-dark-home #contacts .graphite-location .graphite-operator {
  margin-top: 4px;
}

@media (min-width: 1101px) {
  .md-dark-home #contacts .graphite-address-group {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .md-dark-home #contacts .graphite-location .graphite-schedule {
    padding-inline-start: 20px;
    border-inline-start: 1px solid #454c45;
  }

  .md-dark-home #contacts .graphite-location .graphite-hours {
    display: block;
    margin: 0;
    font-size: 20px;
  }
}

.md-dark-home #contacts .graphite-location .graphite-map-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #454c45;
  border-radius: 6px;
}

.md-dark-home #contacts .graphite-location .graphite-map-card iframe {
  height: clamp(240px, 24vw, 340px);
}

@media (prefers-contrast: no-preference) and (forced-colors: none) {
  .md-dark-home #contacts .graphite-location .graphite-map-card iframe {
    /* Darken the raster and shift the lime map pin toward the site accent. */
    filter: invert(1) hue-rotate(75deg) saturate(0.68) contrast(0.84) brightness(1.08) sepia(0.08);
  }
}

@media (max-width: 760px) {
  .md-dark-home #contacts.md-contact-graphite .graphite-location-with-map {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Match the photo stage and card to the storefront surface, including on hover. */
.md-dark-home .md-range .md-model-card {
  background: transparent;
}

.md-dark-home .md-range .md-model-card .md-model-photo {
  background: var(--md-paper, #f0eee7) !important;
}

/* Bring the four tall cutouts closer so their stitching and sole detail read on mobile. */
.md-dark-home .md-range :is([data-model="MD-44"], [data-model="MD-855"], [data-model="MD-550"], [data-model="MD-34"]) .md-model-photo img {
  scale: 1.3;
  transform-origin: center;
}
