/* ======================================================
   EPIGENELUX COLLECTION — editorial product showcase
   ====================================================== */
.collection {
  background: var(--bg-deeper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.collection::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 20% 30%, rgba(200, 160, 78, 0.06), transparent 70%),
    radial-gradient(ellipse 55% 40% at 80% 70%, rgba(184, 115, 51, 0.05), transparent 70%);
  pointer-events: none;
}
.collection__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 1;
}
.collection__header .section__eyebrow {
  justify-content: center;
}
.collection__header .section__eyebrow::before {
  display: none;
}
.collection__signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-bright);
  letter-spacing: 0.2em;
  margin-top: 0.9rem;
  text-transform: none;
}

.collection__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) {
  .collection__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .collection__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

.product {
  background: linear-gradient(180deg, rgba(29, 22, 16, 0.85) 0%, rgba(20, 16, 10, 0.85) 100%);
  border: 1px solid var(--line-soft);
  padding: 1.75rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease), background var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
  transform-origin: center;
}
.product:hover {
  border-color: var(--gold-deep);
  transform: translateY(-4px);
}
.product:hover::before { transform: scaleX(1); }

.product__image {
  aspect-ratio: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
}
.product__image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
  transition: transform var(--t-med) var(--ease);
}
.product:hover .product__image img { transform: scale(1.04); }

.product__index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.product__name {
  font-family: var(--serif-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
  margin-bottom: 0.4rem;
  line-height: 1.2;
  font-weight: 400;
}
.product__claim {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ivory-soft);
  margin-bottom: 0.7rem;
  min-height: 1em;
}
.product__tag {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.collection__caption {
  margin-top: 3.5rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Billboard — full-width brand image */
.collection__billboard {
  margin: 0 0 3.5rem;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
}
.collection__billboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collection__billboard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 120px 40px rgba(10, 7, 5, 0.7);
}
@media (max-width: 700px) {
  .collection__billboard { aspect-ratio: 4 / 3; }
}
