/* The prefix uses the original transparent logo artwork, not a substituted font. */
#collections {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
}
#collections .collection {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 76px;
  border: 0;
  border-right: 1px solid #ded4c8;
  transition: background-color 180ms ease;
}
#collections .collection:last-child { border-right: 0; }
#collections .collection:hover { background: transparent; }
#collections h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
  padding: 18px 6px;
  border: 0;
  font-size: clamp(12px, 1.24vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: inherit;
}
#collections .collection-prefix {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-5px);
  transition: width 240ms cubic-bezier(.2,.7,.2,1), opacity 180ms ease, transform 240ms ease;
}
#collections .collection-prefix svg {
  display: block;
  width: 3.95em;
  height: .641em;
  flex: 0 0 3.95em;
  overflow: hidden;
}
#collections .collection-label { flex: 0 0 auto; font-family: Arial, Helvetica, sans-serif; font-size: .82em; font-weight: 400; line-height: 1; letter-spacing: .035em; text-transform: uppercase; }
#collections .collection:focus-visible { background: #eee4d9; }
#collections .collection:focus-visible .collection-prefix {
  width: 4.35em;
  opacity: 1;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  #collections .collection:hover { background: #eee4d9; }
  #collections .collection:hover .collection-prefix {
    width: 4.35em;
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1200px) {
  #collections { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #collections h3 { font-size: 14px; }
  #collections .collection:nth-child(-n+4) { border-bottom: 1px solid #ded4c8; }
  #collections .collection:nth-child(4n) { border-right: 0; }
}
@media (max-width: 650px) {
  #collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #collections h3 { font-size: clamp(12px, 3.5vw, 15px); }
  #collections .collection:nth-child(-n+6) { border-bottom: 1px solid #ded4c8; }
  #collections .collection:nth-child(even) { border-right: 0; }
}
/* Touch reveals the brand only during activation; every destination stays one tap away. */
@media (max-width: 650px), (hover: none), (pointer: coarse) {
  #collections .collection:hover { background: transparent; }
  #collections .collection:hover .collection-prefix {
    width: 0;
    opacity: 0;
    transform: translateX(-5px);
  }
  #collections .collection:is(:active, :focus-visible, .is-tapped) { background: #eee4d9; }
  #collections .collection:is(:active, :focus-visible, .is-tapped) .collection-prefix {
    width: 4.35em;
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #collections .collection,
  #collections .collection-prefix { transition: none; }
}
