/* ==========================================================================
   Products landing (home) — page styles
   ========================================================================== */

/* --- Hero slider (static: first slide shown) ----------------------------- */
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 340px;
  background: var(--color-surface);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.slide.is-active { opacity: 1; z-index: 1; }

.slide__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 23, 18, 0.75) 0%, rgba(13, 23, 18, 0.25) 55%, rgba(13, 23, 18, 0.1) 100%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.slide__copy { max-width: 520px; }

.slide__kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.slide__title {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.05;
  margin: var(--space-3) 0 0;
}

/* Not in the export, whose slides carried a kicker and a title only. Sized and
   coloured like the product pages' hero ledes (.hero__sub, .stock-hero__lede). */
.slide__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin: var(--space-4) 0 0;
}

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line-strong);
  background: rgba(13, 23, 18, 0.55);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  text-decoration: none;
}
.slider__nav:hover { border-color: var(--color-accent); color: var(--color-accent); }
.slider__nav svg { width: 18px; height: 18px; }
.slider__nav--prev { left: 16px; }
.slider__nav--next { right: 16px; }

.slider__dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.slider__dot.is-active { background: var(--color-accent); }

/* --- Product grid -------------------------------------------------------- */
.products__head { margin-bottom: 40px; }

.products__title {
  font-size: clamp(26px, 3.6vw, 38px);
  margin: var(--space-3) 0 0;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card__frame {
  border-color: rgba(244, 241, 228, 0.18);
  overflow: hidden;
}
.product-card:hover .product-card__frame { border-color: var(--color-accent); }

.product-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--color-surface);
}

.product-card__body { padding: 20px 22px; }

.product-card__title {
  font-size: 20px;
  margin: 0;
}

/* --- Contact ------------------------------------------------------------- */
.contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-8) 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.contact__title {
  font-size: clamp(24px, 3.2vw, 32px);
  margin: var(--space-3) 0 0;
}

.contact__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: var(--space-2);
}

.contact__text {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}
.contact__text + .contact__label { margin-top: 20px; }
.contact__text a { text-decoration: none; }

@media (max-width: 760px) {
  .slider { aspect-ratio: 4 / 5; min-height: 420px; }
}
