.treats {
  width: min(26.5rem, calc(100% - 32px));
  margin-inline: auto;
}

.treats .shell { width: 100%; max-width: none; }

.treats-hero { padding-block: 4px 28px; }
.treats-hero h1 { max-width: none; margin-bottom: 12px; font-size: clamp(32px, 8.4vw, 40px); line-height: 1.08; }
.treats-lead { margin-bottom: 10px; color: #454a4c; font-size: 16px; line-height: 1.5; }
.treats-caution { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.45; }

.treats-match { padding-bottom: 8px; }
.treats-match h2 { margin-bottom: 14px; font-size: 28px; }

.match { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.match a {
  min-width: 0;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}
.match a:hover { border-color: #c9b2a6; }
.match a:focus-visible { outline-offset: 3px; }
.match picture { display: block; min-width: 0; }
.match img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  background: #efeae3;
}
.match-lollipop { object-position: center 18%; }
.match-gummies { object-position: center 12%; }
.match-balls { object-position: center 42%; }
.match-name {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.candy {
  display: grid;
  gap: 18px;
  scroll-margin-top: 16px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.candy-photo { margin: 0; border-radius: 8px; overflow: hidden; background: #efeae3; }
.candy-photo img { width: 100%; height: auto; }
.candy h2 { margin-bottom: 12px; font-size: 28px; }
.candy-kicker { margin-bottom: 6px; color: var(--terracotta-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.candy h3 { margin: 0 0 8px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.candy h4 { margin: 14px 0 4px; color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 800; }
.ingredients { margin: 0; color: #3e4443; font-size: 16px; line-height: 1.55; }

.treats-studio { margin-top: 8px; padding: 32px 0 24px; background: #f3f0eb; }
.treats-studio-inner { width: 100%; }
.treats-studio h2 { margin-bottom: 10px; font-size: 28px; }
.treats-studio p { margin-bottom: 18px; color: #454a4c; font-size: 16px; line-height: 1.5; }
.treats-actions .button { width: 100%; }

.treats-fine { padding-block: 28px 48px; }
.treats-fine p { margin: 0; color: #5c615f; font-size: 14px; line-height: 1.5; }

@media (prefers-contrast: more) {
  .match a { border-color: var(--ink); }
}
