.item,.item:visited,#hero a,#hero a:visited {
  color: var(--ink);
  text-decoration: none;
}

#hero a {
  display: block;
  min-width: 0;
}

#hero a:hover small {
  text-decoration: underline;
}

.mast nav a {
  align-self: center;
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}

.mast nav a:hover {
  text-decoration: underline;
}

#detail-page {
  min-height: 75vh;
}

#back {
  display: inline-block;
  margin: 24px 0;
  font-size: 13px;
  text-decoration: none;
}

#back:hover {
  text-decoration: underline;
}

.object-layout {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr);
  gap: 6%;
  align-items: start;
  padding: 8px 0 40px;
}

.object-visual {
  min-width: 0;
}

.object-visual .large-image {
  height: clamp(280px,44vw,590px);
  max-height: none;
}

.object-visual .large-image img {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  max-width: 100%;
  object-fit: contain;
}

.object-info h1 {
  font: normal clamp(33px,4.2vw,62px)/1.02 var(--serif);
  letter-spacing: -.04em;
}

.object-season {
  margin: 14px 0 24px;
  color: var(--wine);
}

.object-info .specs div {
  grid-template-columns: minmax(100px,32%) 1fr;
  padding: 8px 0;
}

.thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.thumbnails button {
  width: 67px;
  height: 69px;
  border: 1px solid var(--line);
  padding: 3px;
  background: #f1f0e9;
}

.thumbnails button[aria-pressed=true] {
  border: 2px solid var(--wine);
}

.thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.more-detail {
  margin-top: 22px;
}

.more-detail h2 {
  font: 25px var(--serif);
  margin-bottom: 6px;
}

.more-detail p {
  color: var(--muted);
  font-size: 14px;
}

@media(max-width:670px) {
  #hero a+a {
    display: none;
  }
  .object-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .object-visual .large-image {
    height: 260px;
  }
  .object-info h1 {
    font-size: 36px;
  }
  .mast nav a {
    font-size: 12px;
    padding: 8px 0;
  }
  .object-info .eyebrow {
    margin-bottom: 6px;
  }
  .object-season {
    margin: 8px 0 14px;
  }
}

.colorway-group {
  border-top: 1px solid var(--line);
  padding: 24px 0 48px;
}

.colorway-group h2 {
  font: normal 30px var(--serif);
}

.colorway-group>p {
  font-size: 14px;
  color: var(--muted);
  margin: 7px 0 18px;
}

.colorways {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(138px,1fr));
  gap: 18px;
}

.colorways a {
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.colorways a:hover strong {
  text-decoration: underline;
}

.colorways .pic {
  height: 138px;
}

.colorways strong,.colorways small {
  display: block;
  font-size: 13px;
  font-weight: normal;
  margin-top: 5px;
}

.colorways small {
  color: var(--muted);
  font-size: 11px;
}

.colorway-more {
  margin-top: 18px;
}

.colorways .pic {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eeede7;
}

.colorways .pic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.photo-note {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}

.thumbnails {
  max-height: 246px;
  overflow: auto;
}

.thumbnails button {
  flex: 0 0 67px;
}
