/* Clear category entrances and two real views of Keymel's storefront. */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.category-link {
  display: block;
  min-width: 0;
}
.category-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 46% 46% 3px 3px;
}
.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transition: transform .7s var(--motion-ease);
}
.category-link:hover .category-media img,
.category-link:focus-visible .category-media img {
  transform: scale(1.035);
}
.category-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
}
.category-caption h3 {
  font-size: 29px;
  letter-spacing: -.6px;
}
.category-caption p {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.category-arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid #cfc4b4;
  border-radius: 50%;
  font-size: 23px;
  transition: transform .35s var(--motion-ease), background .25s;
}
.category-link:hover .category-arrow {
  transform: translate(2px, -2px);
  background: var(--paper);
}
.category-action {
  display: block;
  margin-top: 13px;
  font-size: 10px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #b69a64;
}
.story-visual.store-story-photo {
  padding: 0;
  min-width: 0;
}
.story-visual.store-story-photo::before {
  content: none;
}
.store-photos {
  position: relative;
  padding: 0 0 28px;
}
.store-photo--day {
  width: 74%;
}
.store-photo--night {
  position: absolute;
  top: 29%;
  right: 0;
  width: 47%;
  padding: 7px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 15px 30px -20px #422b3b55;
}
.story-visual.store-story-photo .store-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
}
.store-photo--day img {
  border: 1px solid var(--line);
}
.store-photo figcaption {
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 8px;
}
.store-photo--night figcaption {
  padding: 7px 2px 1px;
}
.store-story-caption {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: #8a6a37;
}
@media (min-width: 641px) and (max-width: 850px) {
  .category-grid { gap: 19px; }
  .category-caption { gap: 8px; padding-top: 16px; }
  .category-caption h3 { font-size: 23px; }
  .category-caption p { font-size: 10px; }
  .category-arrow { width: 32px; height: 32px; font-size: 20px; }
  .store-photo--night { padding: 5px; }
  .store-story-caption { font-size: 18px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 10px; gap: 22px; }
  .hero-copy { padding: 0; }
  .hero h1 {
    font-size: clamp(42px, 13.6vw, 53px);
    letter-spacing: -2.1px;
    line-height: 1.07;
    margin: 15px 0 17px;
  }
  .hero h1 em::after { bottom: -5px; height: 8px; }
  .hero-copy > p { line-height: 1.8; max-width: 355px; }
  .hero-actions { margin-top: 18px; gap: 20px; }
  .hero-trust { margin-top: 17px; gap: 11px; }
  .category-grid { gap: 12px; }
  .category-media { aspect-ratio: 3 / 4; }
  .category-caption { display: block; padding-top: 13px; }
  .category-caption h3 {
    font-size: clamp(15px, 4.4vw, 22px);
    letter-spacing: -.4px;
  }
  .category-caption p { font-size: 10px; margin-top: 6px; }
  .category-arrow { display: none; }
  .category-action { font-size: 9px; line-height: 1.7; margin-top: 9px; }
  .store-photos { padding-bottom: 24px; }
  .store-photo--night { padding: 5px; }
  .store-photo figcaption { font-size: 8px; letter-spacing: .7px; }
  .store-story-caption { font-size: 19px; }
}
@media (max-width: 370px) {
  .hero-actions { gap: 16px; }
  .hero-actions .button { min-height: 45px; padding: 11px 14px; font-size: 10px; }
  .hero-actions .text-link { font-size: 9px; gap: 8px; }
  .category-grid { gap: 9px; }
  .category-caption p { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .category-media img, .category-arrow { transition: none; }
  .category-link:hover .category-media img,
  .category-link:focus-visible .category-media img,
  .category-link:hover .category-arrow { transform: none; }
}
