:root {
  --collection-ink: #1a1a1a;
  --collection-paper: #faf9f7;
  --collection-accent: #3d5467;
}

.collection-page {
  min-height: 100vh;
  color: var(--collection-ink);
  background: var(--collection-paper);
}

.collection-hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(126px, 12vw, 178px) clamp(22px, 6vw, 92px) clamp(34px, 5vw, 70px);
  color: var(--collection-paper);
  background: var(--collection-ink);
}

.collection-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.8) contrast(1.04);
  transform: scale(1.01);
}

.collection-hero--world .collection-hero__image {
  object-position: 45% center;
  filter: brightness(0.8) contrast(1.05);
}

.collection-hero__content {
  width: min(100%, 920px);
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.7);
}

.collection-hero__eyebrow {
  margin: 0 0 18px;
  color: rgba(250, 249, 247, 0.74);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.collection-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--collection-paper);
  font-size: clamp(3.3rem, 7.3vw, 7.8rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0;
}

.collection-hero__content > p:not(.collection-hero__eyebrow) {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(250, 249, 247, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.58;
}

.collection-hero__cta {
  width: fit-content;
  min-height: 58px;
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 22px;
  color: var(--collection-paper);
  background: rgba(250, 249, 247, 0.08);
  border: 1px solid rgba(250, 249, 247, 0.28);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(250, 249, 247, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  text-shadow: none;
  transition:
    color 260ms ease,
    background 260ms ease,
    border-color 260ms ease,
    transform 260ms ease,
    box-shadow 260ms ease;
}

.collection-hero__cta svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 260ms ease;
}

.collection-hero__cta:hover,
.collection-hero__cta:focus-visible {
  color: var(--collection-paper);
  background: var(--collection-accent);
  border-color: var(--collection-accent);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(61, 84, 103, 0.28);
}

.collection-hero__cta:hover svg,
.collection-hero__cta:focus-visible svg {
  transform: translateY(4px);
}

.collection-products {
  background: var(--collection-paper);
  scroll-margin-top: 90px;
}

.collection-products__inner {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 74px) clamp(74px, 8vw, 116px);
}

.collection-products__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.collection-products__eyebrow {
  margin: 0 0 14px;
  color: rgba(26, 26, 26, 0.56);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.collection-products h2 {
  margin: 0;
  color: var(--collection-ink);
  font-size: clamp(2.5rem, 5vw, 5.35rem);
  line-height: 0.98;
}

.collection-products h2::after {
  content: "";
  width: 52px;
  height: 3px;
  display: block;
  margin-top: 18px;
  border-radius: 3px;
  background: var(--collection-accent);
}

.collection-products__count {
  margin: 0 0 8px;
  color: rgba(26, 26, 26, 0.56);
  font-size: 0.95rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.collection-card {
  min-width: 0;
  overflow: hidden;
  background: var(--collection-paper);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(26, 26, 26, 0.08);
  transition:
    transform 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.collection-card:hover,
.collection-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(61, 84, 103, 0.34);
  box-shadow: 0 26px 62px rgba(26, 26, 26, 0.13);
}

.collection-card__media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e9e5de;
}

.collection-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  transform: scale(1);
  transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
}

.collection-card:hover .collection-card__media img,
.collection-card:focus-within .collection-card__media img {
  transform: scale(1.045);
}

.collection-card__body {
  min-height: 152px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 20px;
  padding: 20px 20px 18px;
}

.collection-card h3 {
  margin: 0;
  color: var(--collection-ink);
  font-size: 1.08rem;
  line-height: 1.22;
}

.collection-card__teaser {
  max-width: 32ch;
  min-height: 2.8em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 0;
  color: rgba(26, 26, 26, 0.6);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
  text-wrap: balance;
  transition: color 220ms ease;
}

.collection-card__teaser::before {
  content: "";
  width: 18px;
  height: 2px;
  flex: 0 0 18px;
  margin-top: 0.62em;
  background: var(--collection-accent);
  border-radius: 2px;
  transform-origin: left center;
  transition: transform 220ms ease;
}

.collection-card:hover .collection-card__teaser,
.collection-card:focus-within .collection-card__teaser {
  color: rgba(26, 26, 26, 0.78);
}

.collection-card:hover .collection-card__teaser::before,
.collection-card:focus-within .collection-card__teaser::before {
  transform: scaleX(1.35);
}

.collection-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.collection-card__footer > span {
  color: var(--collection-ink);
  font-size: 1rem;
}

.collection-card__button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: var(--collection-ink);
  background: #edebe7;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 50%;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(250, 249, 247, 0.9),
    0 10px 22px rgba(26, 26, 26, 0.08);
  transition:
    color 260ms ease,
    background 260ms ease,
    border-color 260ms ease,
    transform 260ms ease,
    box-shadow 260ms ease;
}

.collection-card:hover .collection-card__button,
.collection-card:focus-within .collection-card__button {
  color: var(--collection-paper);
  background: var(--collection-accent);
  border-color: var(--collection-accent);
  transform: translateX(4px);
  box-shadow: 0 16px 32px rgba(61, 84, 103, 0.25);
}

@media (max-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .collection-hero {
    padding-right: 24px;
    padding-left: 24px;
    padding-bottom: 38px;
  }

  .collection-products__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .collection-hero {
    padding-top: 108px;
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 28px;
  }

  .collection-hero__image {
    object-position: 52% center;
    filter: brightness(0.8) contrast(1.04);
  }

  .collection-hero__eyebrow {
    margin-bottom: 14px;
    font-size: 0.76rem;
  }

  .collection-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
    line-height: 0.98;
  }

  .collection-hero__content > p:not(.collection-hero__eyebrow) {
    margin-top: 20px;
    font-size: 0.96rem;
    line-height: 1.52;
  }

  .collection-hero__cta {
    min-height: 54px;
    margin-top: 28px;
    padding: 0 18px;
  }

  .collection-products__inner {
    padding-right: 14px;
    padding-left: 14px;
  }

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .collection-card__media {
    aspect-ratio: 3 / 4;
  }

  .collection-card__body {
    min-height: 148px;
  }

  .collection-card__teaser {
    min-height: auto;
  }
}

@media (max-width: 380px) {
  .collection-card__teaser {
    gap: 8px;
    font-size: 0.8rem;
  }

  .collection-card__teaser::before {
    width: 14px;
    flex-basis: 14px;
  }
}
