.collections {
  position: relative;
  z-index: 3;
  padding: clamp(76px, 11vw, 176px) clamp(20px, 3.5vw, 64px) clamp(88px, 10vw, 160px);
  color: #f0efe8;
  background: #0a0a09;
}
.collections-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 clamp(32px, 5vw, 76px);
}
.collections-heading h2 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 10.3vw, 164px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.collections-heading > span {
  padding-top: 8px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 78px) clamp(16px, 2.1vw, 32px);
}
.collection { grid-column: span 2; min-width: 0; }
.collection:nth-child(-n+2) { grid-column: span 3; }
.collection__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.collection__image { aspect-ratio: 4 / 3; overflow: hidden; }
.collection:nth-child(-n+2) .collection__image { aspect-ratio: 5 / 4; }
.collection__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.collection__caption { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 15px; }
.collection__title { margin: 0; font-size: clamp(13px, 1.12vw, 17px); font-weight: 700; line-height: 1.25; }
.collection__count { flex-shrink: 0; font-size: 11px; font-variant-numeric: tabular-nums; opacity: .65; }
.collection__button:hover .collection__title { text-decoration: underline; text-underline-offset: .25em; }
.collection__button:focus-visible { outline: 2px solid currentColor; outline-offset: 7px; }

.ff-gallery {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0 clamp(14px, 3.5vw, 64px);
  border: 0;
  color: #f0efe8;
  background: #0a0a09;
  overscroll-behavior: contain;
}
.ff-gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.ff-gallery::backdrop { background: #0a0a09; }
.ff-gallery__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(14px, env(safe-area-inset-top)) 0 14px; }
.ff-gallery__title { margin: 0; font-size: clamp(14px, 1.4vw, 20px); font-weight: 700; line-height: 1.2; }
.ff-gallery__close, .ff-gallery__arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ff-gallery__close { font-size: 36px; line-height: 1; }
.ff-gallery__arrow { font-size: 30px; line-height: 1; }
.ff-gallery button:hover { opacity: .65; }
.ff-gallery button:focus-visible { outline: 1px solid currentColor; outline-offset: -4px; }
.ff-gallery__stage { display: grid; place-items: center; min-width: 0; min-height: 0; touch-action: pan-y pinch-zoom; }
.ff-gallery__photo { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; user-select: none; }
.ff-gallery__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0 max(14px, env(safe-area-inset-bottom)); }
.ff-gallery__count { font-size: 12px; font-variant-numeric: tabular-nums; }
@media (min-width: 901px) {
  .collection:last-child { grid-column: 3 / span 2; }
}
@media (max-width: 900px) {
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection, .collection:nth-child(-n+2) { grid-column: span 1; }
  .collection__image, .collection:nth-child(-n+2) .collection__image { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .collections-heading { gap: 12px; }
  .collections-heading h2 { font-size: clamp(44px, 13vw, 76px); }
  .collection-grid { grid-template-columns: 1fr; gap: 36px; }
  .collection__caption { margin-top: 12px; }
  .collection__title { font-size: 14px; }
  .ff-gallery__header { padding-bottom: 8px; }
  .ff-gallery__footer { padding-top: 8px; }
}
