.hero__frame {
  aspect-ratio: 2 / 1;
  background: #fff;
}

.hero__frame img {
  object-fit: contain;
  object-position: center;
}

.media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0;
  aspect-ratio: 3 / 2;
  padding: 1rem;
  background: #fff;
  border: 1px dashed #e4d5cc;
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
}

.feature {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.feature__photo img,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.feature__copy h2 {
  margin-bottom: 0.85rem;
}

.feature__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.1rem 0 0;
}

.feature__links .text-link {
  font-weight: 600;
}

.materials .media-placeholder {
  margin-bottom: 0.9rem;
}

.materials .trust-card p:last-child {
  margin-top: 0.85rem;
}

.narrow {
  max-width: 40rem;
}

.narrow .feature__links {
  margin-top: 1.25rem;
}

.gallery {
  display: grid;
  gap: 1.5rem;
}

.gallery figure {
  margin: 0;
}

.gallery figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  text-align: center;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 55.99rem) {
  .hero__copy {
    order: -1;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 56rem) {
  .hero__frame {
    aspect-ratio: 2 / 1;
  }

  .feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }

  .feature--reverse .feature__photo {
    order: 2;
  }

  .materials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}
