/* ============================================================
   SWEET'S — COLLECTIONS PAGE
   Aligned with brand: Work Sans + Playfair accent
   Palette: #0a0a0a / #fff / #f8f8f8 / rgba(0,0,0,0.06)
   Buttons: pill-shaped (999px radius) — matches sw-btn
   Cards: 6px radius — matches recom_card
   ============================================================ */

:root {
  --black:       #0a0a0a;
  --white:       #ffffff;
  --bg-alt:      #f8f8f8;
  --bg-surface:  rgba(0,0,0,0.03);
  --border:      rgba(0,0,0,0.1);
  --muted:       rgba(0,0,0,0.55);
  --gray-light:  #f5f5f5;
  --gray-mid:    #d4d4d4;
  --serif:       'Playfair Display', 'Georgia', serif;
  --sans:        'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --r-card:      6px;
  --r-pill:      999px;
  --max-w:       1200px;
  --pad-x:       clamp(1.5rem, 6vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.lux-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.lux-title {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}

.lux-title--xl  { font-size: clamp(3rem, 7vw, 7rem); }
.lux-title--lg  { font-size: clamp(2.2rem, 4.5vw, 4.4rem); }
.lux-title--md  { font-size: clamp(1.6rem, 3vw, 2.8rem); }
.lux-title--sm  { font-size: clamp(1.2rem, 2vw, 1.8rem); }

.lux-body {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

/* ── HERO FULL-SCREEN ───────────────────────────────────── */
.lux-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--black);
}

.lux-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.7;
  transition: opacity 1.2s ease;
}

.lux-hero__media--video {
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
.lux-hero__media--video.is-ready { opacity: 0.7; }

.lux-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.2) 55%,
    rgba(0,0,0,0.05) 100%
  );
}

.lux-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 5rem) var(--pad-x);
  max-width: 820px;
  color: var(--white);
}

.lux-hero__content .lux-eyebrow { color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.lux-hero__content .lux-title   { color: var(--white); margin-bottom: 1.4rem; }
.lux-hero__content .lux-body    { color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 2.2rem; }

.lux-hero__scroll {
  position: absolute;
  bottom: 2.4rem;
  right: var(--pad-x);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lux-hero__scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.15); }
}

/* ── BUTTONS — pill-shaped, matches sw-btn ──────────────── */
.lux-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.lux-btn--light {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.lux-btn--light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-2px);
}

.lux-btn--dark {
  color: var(--black);
  border-color: rgba(0,0,0,0.25);
  background: transparent;
}
.lux-btn--dark:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-2px);
}

.lux-btn--filled {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.lux-btn--filled:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ── SECTION WRAPPER ────────────────────────────────────── */
.lux-section {
  padding: clamp(4rem, 7vw, 8rem) var(--pad-x);
}

.lux-section--alt   { background: var(--bg-alt); }
.lux-section--black { background: var(--black); color: var(--white); }
.lux-section--gray  { background: var(--gray-light); }

/* Cream kept as subtle variant only */
.lux-section--cream { background: #f8f6f3; }

.lux-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}

.lux-section__header-left { flex: 1; min-width: 200px; }
.lux-section__header-left .lux-eyebrow { margin-bottom: 0.6rem; }

/* ── EDITORIAL GRID ─────────────────────────────────────── */
.lux-editorial-grid { display: grid; gap: 2px; }

.lux-editorial-grid--3col {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
}
.lux-editorial-grid--3col .lux-card:first-child { grid-row: 1 / 3; }

.lux-editorial-grid--4col { grid-template-columns: repeat(4, 1fr); }

/* ── CARD ───────────────────────────────────────────────── */
.lux-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--gray-light);
  border-radius: var(--r-card);
}

.lux-card__img-wrap {
  position: relative;
  width: 100%;
  padding-top: 130%;
  overflow: hidden;
  border-radius: var(--r-card) var(--r-card) 0 0;
}

.lux-card--landscape .lux-card__img-wrap { padding-top: 70%; }
.lux-card--square    .lux-card__img-wrap { padding-top: 100%; }

.lux-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition);
  will-change: transform;
}

.lux-card:hover .lux-card__img { transform: scale(1.04); }

.lux-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}

.lux-card:hover .lux-card__overlay { opacity: 1; }

.lux-card__body {
  padding: 1rem 0.9rem 1.2rem;
  background: var(--white);
  border-radius: 0 0 var(--r-card) var(--r-card);
}

.lux-card__eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.lux-card__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.lux-card__cta {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.lux-card:hover .lux-card__cta { gap: 0.7rem; color: var(--black); }

/* Overlay card variant (text on image) */
.lux-card--overlay .lux-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 1.4rem 1.2rem;
  color: var(--white);
  border-radius: 0;
}

.lux-card--overlay .lux-card__eyebrow { color: rgba(255,255,255,0.65); }
.lux-card--overlay .lux-card__title   { color: var(--white); }
.lux-card--overlay .lux-card__cta     { color: rgba(255,255,255,0.7); }
.lux-card--overlay:hover .lux-card__cta { color: var(--white); }
.lux-card--overlay .lux-card__overlay { opacity: 1; }

/* ── UNISEX FEATURE SECTION ─────────────────────────────── */
.lux-unisex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
}

.lux-unisex__visual {
  position: relative;
  overflow: hidden;
  background: var(--black);
  border-radius: var(--r-card) 0 0 var(--r-card);
}

.lux-unisex__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform var(--transition);
}

.lux-unisex:hover .lux-unisex__img { transform: scale(1.03); }

.lux-unisex__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 7rem);
  background: var(--bg-alt);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}

.lux-unisex__content .lux-eyebrow { margin-bottom: 1rem; }
.lux-unisex__content .lux-title   { margin-bottom: 1.4rem; }
.lux-unisex__content .lux-body    { margin-bottom: 2.2rem; max-width: 400px; }

/* ── STYLE CAROUSEL ─────────────────────────────────────── */
.lux-carousel { position: relative; overflow: hidden; }

.lux-carousel__track {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.lux-carousel__track::-webkit-scrollbar { display: none; }

.lux-carousel__item {
  flex: 0 0 clamp(220px, 28vw, 360px);
  scroll-snap-align: start;
}

.lux-carousel__nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.4rem;
  justify-content: flex-end;
}

.lux-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--black);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.lux-carousel__btn:hover { background: var(--black); color: var(--white); }

/* ── RELEASES GRID ──────────────────────────────────────── */
.lux-releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
}

.lux-badge-new {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: var(--r-pill);
  z-index: 2;
}

/* ── DIVIDER ────────────────────────────────────────────── */
.lux-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.lux-divider--dark { background: rgba(255,255,255,0.1); }

/* ── MARQUEE ────────────────────────────────────────────── */
.lux-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 1.2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.lux-marquee__inner {
  display: inline-flex;
  animation: marqueeScroll 28s linear infinite;
}

.lux-marquee__text {
  font-family: var(--sans);
  font-size: clamp(0.85rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 2.5rem;
  opacity: 0.2;
}

.lux-marquee__text--accent { opacity: 1; font-weight: 500; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── NEWSLETTER FOOTER ──────────────────────────────────── */
.lux-newsletter {
  background: var(--black);
  color: var(--white);
  padding: clamp(4rem, 7vw, 8rem) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.lux-newsletter__left .lux-eyebrow { color: rgba(255,255,255,0.45); margin-bottom: 0.8rem; }
.lux-newsletter__left .lux-title   { color: var(--white); margin-bottom: 1rem; }
.lux-newsletter__left .lux-body    { color: rgba(255,255,255,0.5); }

.lux-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lux-newsletter__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.8rem 0;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.lux-newsletter__input::placeholder { color: rgba(255,255,255,0.3); }
.lux-newsletter__input:focus { border-bottom-color: var(--white); }

.lux-newsletter__submit { align-self: flex-start; margin-top: 0.4rem; }

.lux-newsletter__note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
}

/* ── KEYWORD PILLS ──────────────────────────────────────── */
.lux-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0,0,0,0.2);
  color: var(--black);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.lux-pill:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.lux-pill--light {
  border-color: rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.65);
}

.lux-pill--light:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ── STICKY SUBNAV ──────────────────────────────────────── */
.lux-subnav {
  position: sticky;
  top: 60px;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 var(--pad-x);
}

.lux-subnav::-webkit-scrollbar { display: none; }

.lux-subnav__item {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 1rem 1.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.lux-subnav__item:hover,
.lux-subnav__item.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

/* ── FADE-IN ANIMATION ──────────────────────────────────── */
.lux-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.lux-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.lux-fade-in--delay-1 { transition-delay: 0.1s; }
.lux-fade-in--delay-2 { transition-delay: 0.2s; }
.lux-fade-in--delay-3 { transition-delay: 0.3s; }
.lux-fade-in--delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lux-editorial-grid--3col {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .lux-editorial-grid--3col .lux-card:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .lux-editorial-grid--3col .lux-card:first-child .lux-card__img-wrap {
    padding-top: 60%;
  }
  .lux-editorial-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
  .lux-unisex {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .lux-unisex__visual {
    min-height: 55vw;
    border-radius: var(--r-card) var(--r-card) 0 0;
  }
  .lux-unisex__content {
    border-radius: 0 0 var(--r-card) var(--r-card);
  }
  .lux-newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lux-editorial-grid--3col,
  .lux-editorial-grid--4col {
    grid-template-columns: 1fr;
  }
  .lux-editorial-grid--3col .lux-card:first-child {
    grid-column: auto;
  }
  .lux-hero__content { padding-bottom: 3rem; }
  .lux-section { padding-left: 1.2rem; padding-right: 1.2rem; }
  .lux-subnav { padding: 0 1.2rem; }
  .lux-newsletter { padding-left: 1.2rem; padding-right: 1.2rem; }
}
