/**
 * AmourLuxe — reference-aligned home band + cinema hero layout.
 * Loads after cinematic-ecosystem; honors prefers-reduced-motion for transforms and marquee.
 */

/* --- Cinema hero: editorial two-column + trust rail --- */
.al-hero-slider--cinema .al-hero-slide__content {
  max-width: min(1280px, 94vw);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 36px);
}

.al-hero-slider--cinema .al-hero-slide__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 300px);
  gap: clamp(1.25rem, 4vw, 3.75rem);
  align-items: end;
  width: 100%;
}

.al-hero-slide__copy {
  min-width: 0;
}

.al-hero-slide__layout > .al-hero-slide__copy {
  transition-delay: 0.06s;
}

.al-hero-slide__layout > .al-hero-slide__trust-rail {
  transition-delay: 0.22s;
}

.al-hero-slide__title--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.02em;
  line-height: 0.96;
}

.al-hero-slide__title-line {
  display: block;
  letter-spacing: -0.02em;
}

.al-hero-slide__trust-rail {
  border-left: 1px solid rgba(214, 181, 109, 0.22);
  padding: 0.35rem 0 0.35rem clamp(0.85rem, 2vw, 1.65rem);
}

.al-hero-slide__trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vh, 1.1rem);
  font-family: var(--al-font-nav, "Montserrat", system-ui, sans-serif);
  font-size: clamp(0.6rem, 0.85vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.86);
}

.al-hero-slide__trust-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.al-hero-slide__trust-ic {
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(214, 181, 109, 0.72);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(214, 181, 109, 0.22);
}

/* Trust rail stays light on hero slides (dark photography backgrounds). */
body.al-ui-ivory .al-hero-slider .al-hero-slide__trust-list {
  color: rgba(255, 252, 245, 0.94);
}

body.al-ui-ivory .al-hero-slider .al-hero-slide__trust-ic {
  border-color: rgba(214, 181, 109, 0.72);
  box-shadow: 0 0 14px rgba(214, 181, 109, 0.22);
}

@media (max-width: 900px) {
  .al-hero-slider--cinema .al-hero-slide__layout {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    align-items: stretch;
  }

  .al-hero-slide__trust-rail {
    border-left: none;
    border-top: 1px solid rgba(214, 181, 109, 0.2);
    padding: 1.1rem 0 0;
    max-width: 26rem;
  }

  body.al-ui-ivory .al-hero-slide__trust-rail {
    border-top-color: rgba(18, 16, 14, 0.1);
  }
}

/* --- Reference home band --- */
.al-ref-showcase {
  position: relative;
  background: linear-gradient(180deg, rgba(250, 248, 244, 0.98) 0%, #faf7f2 40%, #f5f0e8 100%);
}

.al-ref-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background: radial-gradient(90% 50% at 50% 0%, rgba(214, 181, 109, 0.08), transparent 60%);
}

.al-ref-showcase .al-container {
  position: relative;
  z-index: 1;
}

.al-ref-showcase__head,
.al-ref-showcase__subhead {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.al-ref-showcase__subhead {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.al-ref-orbit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.65rem, 2.2vw, 1.85rem);
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  padding: 0;
}

.al-ref-orbit__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: clamp(88px, 13vw, 124px);
  text-align: center;
  text-decoration: none;
  color: rgba(22, 20, 18, 0.88);
  font-family: var(--al-font-nav, "Montserrat", system-ui, sans-serif);
}

.al-ref-orbit__ring {
  width: clamp(68px, 11vw, 100px);
  height: clamp(68px, 11vw, 100px);
  border-radius: 50%;
  border: 1px solid rgba(18, 16, 14, 0.1);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(245, 236, 220, 0.55) 42%, rgba(214, 181, 109, 0.12) 100%),
    linear-gradient(145deg, rgba(18, 16, 14, 0.04), rgba(255, 252, 245, 0.35));
  box-shadow:
    0 20px 50px rgba(18, 16, 14, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.al-ref-orbit__cell[data-al-orbit="women"] .al-ref-orbit__ring {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 245, 240, 0.95), rgba(217, 167, 160, 0.22) 55%, rgba(18, 16, 14, 0.05));
}

.al-ref-orbit__cell[data-al-orbit="men"] .al-ref-orbit__ring {
  background:
    radial-gradient(circle at 30% 25%, rgba(232, 228, 220, 0.95), rgba(74, 47, 36, 0.15) 60%, rgba(18, 16, 14, 0.06));
}

.al-ref-orbit__cell[data-al-orbit="bags"] .al-ref-orbit__ring,
.al-ref-orbit__cell[data-al-orbit="shoes"] .al-ref-orbit__ring {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 252, 245, 0.98), rgba(214, 181, 109, 0.2) 52%, rgba(18, 16, 14, 0.05));
}

.al-ref-orbit__cell[data-al-orbit="jewelry"] .al-ref-orbit__ring,
.al-ref-orbit__cell[data-al-orbit="watches"] .al-ref-orbit__ring {
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.95), rgba(214, 181, 109, 0.28) 48%, rgba(18, 16, 14, 0.06));
}

.al-ref-orbit__cell[data-al-orbit="beauty"] .al-ref-orbit__ring {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 248, 252, 0.95), rgba(217, 167, 160, 0.18) 55%, rgba(18, 16, 14, 0.04));
}

.al-ref-orbit__cell[data-al-orbit="collections"] .al-ref-orbit__ring {
  background:
    radial-gradient(circle at 32% 28%, rgba(250, 248, 244, 0.95), rgba(14, 42, 36, 0.12) 58%, rgba(214, 181, 109, 0.1) 100%);
}

.al-ref-orbit__cell:hover .al-ref-orbit__ring,
.al-ref-orbit__cell:focus-visible .al-ref-orbit__ring {
  transform: scale(1.06);
  box-shadow:
    0 26px 60px rgba(18, 16, 14, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  border-color: rgba(214, 181, 109, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .al-ref-orbit__cell:hover .al-ref-orbit__ring,
  .al-ref-orbit__cell:focus-visible .al-ref-orbit__ring {
    transform: none;
  }
}

.al-ref-orbit__cell:focus-visible {
  outline: 2px solid rgba(214, 181, 109, 0.55);
  outline-offset: 4px;
  border-radius: 12px;
}

.al-ref-orbit__label {
  font-size: clamp(0.62rem, 0.85vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.al-ref-orbit__meta {
  font-family: var(--al-font-body, "Inter", system-ui, sans-serif);
  font-size: clamp(0.58rem, 0.75vw, 0.68rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(22, 20, 18, 0.48);
}

/* Maison rail — editorial marquee */
.al-ref-maison-rail {
  position: relative;
  overflow: hidden;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  padding: 0.65rem 0;
  border-block: 1px solid rgba(18, 16, 14, 0.06);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.al-ref-maison-rail__track {
  display: flex;
  width: max-content;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  animation: al-ref-maison-scroll 42s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .al-ref-maison-rail__track {
    animation: none;
  }
}

@keyframes al-ref-maison-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.al-ref-maison {
  flex: 0 0 auto;
  font-family: var(--al-font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(22, 20, 18, 0.55);
  white-space: nowrap;
  transition: color 0.35s ease, letter-spacing 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.al-ref-maison:hover,
.al-ref-maison:focus-visible {
  color: rgba(22, 20, 18, 0.92);
  letter-spacing: 0.32em;
}

html:not(.al-motion-ok) .al-ref-maison:hover,
html:not(.al-motion-ok) .al-ref-maison:focus-visible {
  letter-spacing: 0.28em;
}

.al-ref-maison:focus-visible {
  outline: 2px solid rgba(214, 181, 109, 0.5);
  outline-offset: 6px;
}

/* Premium collections — five-card editorial grid */
.al-ref-premium-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 1.1rem);
}

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

@media (max-width: 720px) {
  .al-ref-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .al-ref-premium-grid {
    grid-template-columns: 1fr;
  }
}

.al-ref-premium-card {
  margin: 0;
  min-height: clamp(220px, 32vw, 340px);
}

.al-ref-premium-card__media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(220px, 32vw, 340px);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #faf7f2;
  background-image: var(--al-ref-premium-bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 60px rgba(18, 16, 14, 0.14);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.al-ref-premium-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 5, 8, 0.05) 35%, rgba(6, 5, 8, 0.78) 100%);
  pointer-events: none;
}

.al-ref-premium-card__copy {
  position: relative;
  z-index: 1;
}

.al-ref-premium-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--al-font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.al-ref-premium-card__desc {
  margin: 0 0 0.85rem;
  font-family: var(--al-font-body, "Inter", system-ui, sans-serif);
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  line-height: 1.45;
  color: rgba(250, 247, 242, 0.82);
  max-width: 22rem;
}

.al-ref-premium-card__media:hover,
.al-ref-premium-card__media:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(18, 16, 14, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .al-ref-premium-card__media:hover,
  .al-ref-premium-card__media:focus-visible {
    transform: none;
  }
}

.al-ref-premium-card__media:focus-visible {
  outline: 2px solid rgba(214, 181, 109, 0.65);
  outline-offset: 3px;
}

/* Promotional trio */
.al-ref-banners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 1rem);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

@media (max-width: 900px) {
  .al-ref-banners {
    grid-template-columns: 1fr;
  }
}

.al-ref-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(180px, 28vw, 260px);
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #12100e;
  background-image: var(--al-ref-banner-bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 50px rgba(18, 16, 14, 0.1);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.al-ref-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 252, 245, 0.72) 0%, rgba(255, 252, 245, 0.35) 45%, rgba(18, 16, 14, 0.12) 100%);
  pointer-events: none;
}

.al-ref-banner__title {
  position: relative;
  z-index: 1;
  font-family: var(--al-font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.al-ref-banner__cta {
  position: relative;
  z-index: 1;
  font-family: var(--al-font-nav, "Montserrat", system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(18, 16, 14, 0.65);
}

.al-ref-banner:hover,
.al-ref-banner:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(18, 16, 14, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .al-ref-banner:hover,
  .al-ref-banner:focus-visible {
    transform: none;
  }
}

.al-ref-banner:focus-visible {
  outline: 2px solid rgba(214, 181, 109, 0.55);
  outline-offset: 3px;
}
