/* =========================================
   LUX CATEGORIES — MINI LUXURY STRIP
========================================= */

.lux-cats {
  position: relative;
  padding: clamp(34px, 4vw, 58px) 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.025), transparent 34%),
    #000;
  color: #fafafa;
  overflow: hidden;
}

.lux-cats__inner {
  position: relative;
  z-index: 1;

  width: min(1040px, calc(100% - 56px));
  margin: 0 auto;
}

/* =========================================
   HEAD
========================================= */

.lux-cats__head {
  width: min(520px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}

.lux-cats__head h2 {
  margin: 0;

  color: #fff;

  font-family: var(--lux-font-display, "Cormorant Garamond", serif);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lux-cats__head p {
  max-width: 320px;
  margin: 8px auto 0;

  color: rgba(255,255,255,.44);

  font-family: var(--lux-font-ui, Inter, system-ui, sans-serif);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .035em;
}

/* =========================================
   GRID — SMALL DESKTOP CARDS
========================================= */

.lux-cats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: start;
}

/* =========================================
   CARD
========================================= */

.lux-cat {
  position: relative;
  display: block;

  color: inherit;
  text-decoration: none;
}

.lux-cat__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;

  border-radius: 9px;
  background-size: cover;
  background-position: center;
  background-color: #090909;

  overflow: hidden;

  box-shadow:
    0 12px 32px rgba(0,0,0,.42),
    inset 0 0 0 1px rgba(255,255,255,.065);

  filter:
    saturate(.9)
    contrast(1.02)
    brightness(.9);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    filter .3s ease;
}

.lux-cat__img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.06),
      rgba(0,0,0,0) 42%,
      rgba(0,0,0,.34)
    ),
    radial-gradient(
      circle at 50% 38%,
      rgba(255,255,255,.06),
      transparent 44%
    );

  opacity: .65;
  pointer-events: none;

  transition: opacity .3s ease;
}

.lux-cat__img::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;

  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.06);

  pointer-events: none;
}

/* =========================================
   TITLE
========================================= */

.lux-cat__title {
  margin-top: 8px;

  text-align: center;

  color: rgba(255,255,255,.64);

  font-family: var(--lux-font-ui, Inter, system-ui, sans-serif);
  font-size: 8.8px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;

  transition:
    color .25s ease,
    transform .25s ease;
}

.lux-cat__title::after {
  content: "";
  display: block;

  width: 13px;
  height: 1px;
  margin: 6px auto 0;

  background: var(--lux-header-gold, #c6a15b);

  opacity: .34;
  transform: scaleX(.6);
  transform-origin: center;

  transition:
    opacity .25s ease,
    transform .25s ease;
}

/* =========================================
   HOVER
========================================= */

.lux-cat:hover .lux-cat__img {
  transform: translateY(-3px);

  filter:
    saturate(1)
    contrast(1.04)
    brightness(.98);

  box-shadow:
    0 18px 48px rgba(0,0,0,.58),
    inset 0 0 0 1px rgba(198,161,91,.16);
}

.lux-cat:hover .lux-cat__img::before {
  opacity: .48;
}

.lux-cat:hover .lux-cat__title {
  color: #fff;
  transform: translateY(-1px);
}

.lux-cat:hover .lux-cat__title::after {
  opacity: .72;
  transform: scaleX(1);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1180px) {
  .lux-cats__inner {
    width: min(860px, calc(100% - 44px));
  }

  .lux-cats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }

  .lux-cat__img {
    aspect-ratio: 4 / 4.4;
  }
}

/* =========================================
   MOBILE — MINI GRID, NO SCROLL
========================================= */

@media (max-width: 768px) {
  .lux-cats {
    padding: 32px 0 36px;
  }

  .lux-cats__inner {
    width: min(100%, calc(100% - 28px));
    margin: 0 auto;
  }

  .lux-cats__head {
    width: min(100%, 330px);
    margin: 0 auto 20px;
  }

  .lux-cats__head h2 {
    font-size: clamp(20px, 5.8vw, 27px);
    line-height: 1.08;
    letter-spacing: .03em;
  }

  .lux-cats__head p {
    max-width: 280px;
    margin-top: 7px;
    font-size: 9.5px;
    line-height: 1.45;
  }

  .lux-cats__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;

    overflow: visible;
    padding: 0;
  }

  .lux-cat {
    max-width: none;
    width: 100%;
  }

  .lux-cat__img {
    aspect-ratio: 4 / 4.45;
    border-radius: 9px;

    box-shadow:
      0 12px 34px rgba(0,0,0,.48),
      inset 0 0 0 1px rgba(255,255,255,.065);
  }

  .lux-cat__title {
    margin-top: 8px;

    font-size: 8.5px;
    letter-spacing: .095em;
    color: rgba(255,255,255,.68);
  }

  .lux-cat__title::after {
    width: 12px;
    margin-top: 6px;
  }
}

/* =========================================
   SMALL MOBILE — EVEN MORE COMPACT
========================================= */

@media (max-width: 430px) {
  .lux-cats {
    padding: 30px 0 34px;
  }

  .lux-cats__inner {
    width: min(100%, calc(100% - 24px));
  }

  .lux-cats__head {
    width: min(100%, 300px);
    margin-bottom: 18px;
  }

  .lux-cats__head h2 {
    font-size: clamp(19px, 6vw, 24px);
  }

  .lux-cats__head p {
    font-size: 9px;
  }

  .lux-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .lux-cat__img {
    aspect-ratio: 4 / 4.5;
    border-radius: 8px;
  }

  .lux-cat__title {
    margin-top: 7px;
    font-size: 8px;
    letter-spacing: .08em;
  }
}

/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 370px) {
  .lux-cats__inner {
    width: min(100%, calc(100% - 20px));
  }

  .lux-cats__grid {
    gap: 14px 9px;
  }

  .lux-cats__head h2 {
    font-size: 19px;
  }

  .lux-cat__title {
    font-size: 7.7px;
  }
}