body.subpage {
  --ink: #613a31;
  --muted: #584a42;
  --line: #bdaca2;
  --paper: #fffcf9;
  --quiet: #f2e6df;
  --accent: #613a31;
  --oat: #eee8d9;
  --leaf: #e3ebda;
}

.site-header { border-bottom: 3px solid var(--quiet); }
.site-brand strong { font-family: var(--mincho); }
.page-heading h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
.article > .page-heading { margin-bottom: clamp(1.5rem, 4vw, 2.55rem); }
.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.category-entry, .category-entry:nth-child(-n+2) {
  grid-template-columns: minmax(4.5rem, 35%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.4rem);
  border: 0;
  background: var(--oat);
  padding: clamp(.75rem, 2.1vw, 1.25rem);
}
.category-entry:nth-child(even) { background: var(--leaf); }
.category-entry .product-media img { margin-inline: auto; }
.category-entry h2, .product-copy :is(h2, h3) { font-family: var(--mincho); }
.store-layout { gap: .85rem; }
.store-layout > figure img { width: 100%; }
.store-info { background: var(--oat); padding: clamp(1rem, 3vw, 1.75rem); }
.kabosco-lead { gap: .85rem; }
.kabosco-media { padding: 1.1rem; background: var(--oat); }
.kabosco-media img { margin-inline: auto; }
.kabosco-summary { padding: clamp(1.1rem, 3vw, 1.75rem); background: var(--leaf); }
.shopping-copy > section {
  background: var(--oat);
  padding: clamp(1rem, 3vw, 1.75rem);
}
.shopping-copy > section:nth-child(even) { background: var(--leaf); }
.shopping-copy > section + section {
  margin-top: .8rem;
  border: 0;
  padding-top: clamp(1rem, 3vw, 1.75rem);
}
.site-footer { background: var(--quiet); }

@media (min-width: 54rem) {
  .category-entry:first-child {
    grid-row: span 2;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    text-align: center;
  }
  .category-entry:first-child .product-media img { max-height: 13.5rem; }
  .category-entry:last-child { grid-column: 1 / -1; grid-template-columns: minmax(6rem, 16.5%) minmax(0, 1fr); }
  .store-layout, .kabosco-lead { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: stretch; }
  .store-layout > figure img { height: 100%; object-fit: cover; object-position: 49% center; }
  .kabosco-media { display: grid; place-items: center; }
  .kabosco-summary { align-content: center; }
  .shopping-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    max-width: none;
  }
  .shopping-copy > section:first-child {
    grid-row: span 2;
    display: grid;
    align-content: center;
    justify-items: start;
  }
  .shopping-copy > section + section { margin-top: 0; }
}
@media (max-width: 49rem) {
  .category-entry, .category-entry:nth-child(-n+2) {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: .7rem;
  }
  .category-entry .product-media img {
    width: 100%;
    height: clamp(6rem, 23vw, 9.5rem);
    max-height: none;
    object-fit: contain;
  }
  .category-entry h2 { font-size: 1.08rem; }
}
@media (max-width: 39rem) {
  .kabosco-lead {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }
  .kabosco-summary { display: block; }
  .kabosco-media img { max-height: min(14.5rem, 62vw); }
}
@media (max-width: 21rem) {
  .category-grid { grid-template-columns: minmax(0, 1fr); }
  .category-entry, .category-entry:nth-child(-n+2) {
    grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
    align-items: center;
  }
}
