/* Modular range teaser — homepage redesign §7.
   Dark two-column section that bridges the homepage to the modular page.
   See design_handoff_homepage/README.md §7. */

.mrt {
  background: var(--mrt-bg, #262521);
  color: var(--mrt-text, #f2efe8);
  padding: 72px 24px;
}

.mrt__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1408px;
  margin: 0 auto;
}

/* Media */
.mrt__media {
  position: relative;
}

.mrt__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mrt__pill {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(11, 11, 9, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #f2efe8;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mrt__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mrt-accent, #c98b6f);
}

/* Content */
.mrt__eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

.mrt__heading {
  margin: 0 0 24px;
  font-family: "Urbanist", sans-serif;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.mrt__body {
  margin: 0 0 36px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.78;
}

.mrt__body p {
  margin: 0;
}

/* Piece thumbnails */
.mrt__pieces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.mrt-piece {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.mrt-piece__media {
  overflow: hidden;
}

.mrt-piece__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.02, 0.01, 0, 0.95);
}

a.mrt-piece:hover .mrt-piece__img {
  transform: scale(1.04);
}

.mrt-piece__name {
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.mrt-piece__price {
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* Offer band */
.mrt__offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  margin-bottom: 32px;
  border: 1px solid color-mix(in srgb, var(--mrt-accent, #c98b6f) 45%, transparent);
  background: color-mix(in srgb, var(--mrt-accent, #c98b6f) 10%, transparent);
}

.mrt__offer-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mrt-accent, #c98b6f);
}

.mrt__offer-sep {
  opacity: 0.5;
}

.mrt__offer-text {
  font-size: 14px;
  opacity: 0.9;
}

/* CTA */
.mrt__cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.mrt__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: #f2efe8;
  color: #242424;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.mrt__cta:hover {
  opacity: 0.88;
}

.mrt__cta-arrow {
  transition: transform 0.2s ease;
}

.mrt__cta:hover .mrt__cta-arrow {
  transform: translateX(3px);
}

.mrt__cta-caption {
  margin: 0;
  max-width: 220px;
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* Desktop */
@media screen and (min-width: 990px) {
  .mrt {
    padding: 110px 96px;
  }

  .mrt__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
  }

  .mrt__img {
    aspect-ratio: auto;
    height: 560px;
  }

  .mrt-piece__img {
    aspect-ratio: auto;
    height: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mrt-piece__img,
  .mrt__cta-arrow {
    transition: none;
  }
}
