/* =========================================
   ACTIVE NAVBAR INDICATOR
========================================= */

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  white-space: nowrap;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 0;

  color: rgba(233, 221, 200, 0.78);
  text-decoration: none;

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;

  transition: color 0.25s ease;
}

.nav-menu a:hover {
  color: #d9b26f;
}

.nav-menu a.is-active {
  color: #e3c17e;
}

.nav-menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;

  height: 1.5px;
  background: #e3c17e;
}
/* ==================================================
   HOME COLLECTIONS V3
================================================== */

.home-collections-v3 {
  padding:
    110px
    26px
    120px;
}

/* ==================================================
   HEADING
================================================== */

.home-collections-v3-heading {
  width: min(1500px, 100%);

  margin:
    0 auto
    60px;

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 50px;
}

.home-collections-v3-heading h2 {
  font-family:
    var(--heading-font);

  font-size:
    clamp(
      62px,
      7.5vw,
      105px
    );

  font-weight: 500;

  letter-spacing: -3px;

  line-height: 0.86;
}

.home-collections-v3-heading h2 span {
  display: block;

  color: var(--brown);

  font-style: italic;
}

.home-collections-v3-heading > p {
  max-width: 310px;

  padding-bottom: 6px;

  color: var(--muted-dark);

  font-size: 11px;

  line-height: 1.8;

  text-align: right;
}

/* ==================================================
   GRID
================================================== */

.home-collection-grid {
  width: min(1500px, 100%);

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  border-top:
    1px solid
    var(--border-dark);

  border-bottom:
    1px solid
    var(--border-dark);
}

/* ==================================================
   CARD
================================================== */

.home-collection-card {
  min-width: 0;

  display: flex;

  flex-direction: column;

  color: var(--dark-text);

  border-right:
    1px solid
    var(--border-dark);

  text-decoration: none;

  overflow: hidden;

  cursor: pointer;
}

.home-collection-card:last-child {
  border-right: 0;
}

/* ==================================================
   IMAGE
================================================== */

.home-collection-visual {
  position: relative;

  width: 100%;

  height:
    clamp(
      620px,
      46vw,
      720px
    );

  background: var(--black);

  overflow: hidden;
}

.home-collection-visual img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  transform: scale(1.025);

  transition:
    transform 0.7s ease,
    filter 0.5s ease;
}

/* BLAK */

.home-collection-blak
.home-collection-visual img {
  object-position:
    50% 50%;
}

/* WHYT */

.home-collection-whyt
.home-collection-visual img {
  object-position:
    52% 50%;
}

/* RHYTHM */

.home-collection-rhythm
.home-collection-visual img {
  object-position:
    50% 50%;
}

.home-collection-card:hover
.home-collection-visual img {
  transform:
    scale(1.065);
}

/* overlay */

.home-collection-visual::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0.08) 55%,
      rgba(0, 0, 0, 0.48)
    );

  pointer-events: none;
}

/* ==================================================
   NUMBER
================================================== */

.home-collection-number {
  position: absolute;

  top: 28px;
  left: 28px;

  z-index: 3;

  color: var(--cream);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 2px;
}

/* ==================================================
   WATERMARK
================================================== */

.home-collection-watermark {
  position: absolute;

  left: 24px;
  right: 24px;

  bottom: -9px;

  z-index: 3;

  overflow: hidden;

  color:
    rgba(
      233,
      221,
      200,
      0.15
    );

  font-family:
    var(--heading-font);

  font-size:
    clamp(
      70px,
      7vw,
      120px
    );

  font-weight: 700;

  line-height: 0.78;

  white-space: nowrap;

  pointer-events: none;
}

/* ==================================================
   COPY
================================================== */

.home-collection-copy {
  min-height: 365px;

  padding:
    34px
    28px
    30px;

  display: flex;

  flex-direction: column;

  background:
    var(--cream);

  transition:
    background 0.35s ease;
}

.home-collection-card:hover
.home-collection-copy {
  background:
    var(--cream-light);
}

.home-collection-label {
  color: var(--brown);

  font-size: 8px;

  font-weight: 700;

  letter-spacing: 2px;
}

.home-collection-copy h3 {
  margin-top: 7px;

  font-family:
    var(--heading-font);

  font-size:
    clamp(
      46px,
      4.5vw,
      66px
    );

  font-weight: 600;

  line-height: 0.95;
}

.home-collection-description {
  min-height: 64px;

  margin-top: 22px;

  color: var(--muted-dark);

  font-size: 11px;

  line-height: 1.8;
}

/* ==================================================
   TAGS
================================================== */

.home-collection-tags {
  margin-top: 20px;

  display: flex;

  flex-wrap: wrap;

  gap: 7px;
}

.home-collection-tags span {
  padding:
    7px
    11px;

  border:
    1px solid
    var(--border-dark);

  color: var(--brown);

  font-family:
    var(--heading-font);

  font-size: 15px;

  font-style: italic;
}

/* ==================================================
   ACTION
================================================== */

.home-collection-action {
  margin-top: auto;

  padding-top: 38px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  color: var(--dark-text);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 1.3px;

  text-transform: uppercase;
}

.home-collection-action b {
  font-size: 20px;

  font-weight: 400;

  transition:
    transform 0.3s ease;
}

.home-collection-card:hover
.home-collection-action b {
  transform:
    translate(
      5px,
      -5px
    );
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {

  .home-collections-v3 {
    padding:
      85px
      20px;
  }

  .home-collections-v3-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 25px;
  }

  .home-collections-v3-heading > p {
    text-align: left;
  }

  .home-collection-grid {
    grid-template-columns: 1fr;
  }

  .home-collection-card {
    display: grid;

    grid-template-columns:
      1.05fr
      0.95fr;

    border-right: 0;

    border-bottom:
      1px solid
      var(--border-dark);
  }

  .home-collection-card:last-child {
    border-bottom: 0;
  }

  .home-collection-visual {
    height: 600px;
  }

  .home-collection-copy {
    min-height: 600px;
  }

}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

  .home-collections-v3 {
    padding:
      75px
      16px;
  }

  .home-collections-v3-heading h2 {
    font-size: 55px;

    letter-spacing: -2px;
  }

  .home-collection-card {
    display: flex;
  }

  .home-collection-visual {
    height: 560px;
  }

  .home-collection-copy {
    min-height: 330px;

    padding:
      27px
      22px;
  }

  .home-collection-copy h3 {
    font-size: 49px;
  }

  .home-collection-description {
    min-height: auto;
  }

}
