/**
 * Zupp1 Presentation Foundation v1.0.2
 *
 * Extends the established `zupp-*` visual language. It deliberately reuses
 * the site's existing custom properties and supports the legacy homepage
 * classes so pages do not need to be rewritten during adoption.
 */

/* --------------------------------------------------------------------------
   Video hero
   New markup: .zupp-video-hero + BEM children
   Compatibility: .zupp-video-wrap + .zupp-hero-overlay
   -------------------------------------------------------------------------- */

.zupp-video-hero,
.zupp-video-wrap.zupp-video-wrap {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: 70vh;
  height: 70svh;
  min-height: 34rem;
  max-height: 44rem;
  overflow: hidden;
  background-color: #2f272b;
  background-image: var(
    --zupp-hero-poster-image,
    linear-gradient(135deg, #493f45, #211c1f)
  );
  background-position: center;
  background-size: cover;
  border-radius: 0;
  box-shadow: none;
}

.zupp-video-wrap > p {
  margin: 0;
}

.zupp-video-hero__media,
.zupp-video-hero > video,
.zupp-video-wrap video {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: var(--zupp-hero-media-position, center);
}

.zupp-video-hero::after,
.zupp-video-wrap::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: var(
    --zupp-hero-overlay,
    linear-gradient(180deg, rgba(18, 14, 16, .24), rgba(18, 14, 16, .68))
  );
}

.zupp-video-hero__overlay,
.zupp-video-hero__content,
.zupp-hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: transparent;
}

.zupp-video-hero :is(h1, h2, h3, .zupp-display),
.zupp-video-wrap :is(h1, h2, h3, .zupp-display),
.zupp-video-hero :is(p, .zupp-lead, .zupp-eyebrow),
.zupp-video-wrap :is(p, .zupp-lead, .zupp-eyebrow) {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .36);
}

.zupp-video-hero .zupp-container,
.zupp-video-wrap .zupp-container {
  width: min(56rem, calc(100% - 2.5rem));
}

.zupp-video-hero .zupp-actions,
.zupp-video-wrap .zupp-actions {
  justify-content: center;
}

.zupp-video-hero .zupp-actions > p,
.zupp-video-wrap .zupp-actions > p {
  margin: 0;
}

.zupp-video-hero.is-reduced-motion video,
.zupp-video-wrap.is-reduced-motion video {
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Customer decision content
   These classes are presentation-only and can be pasted as ordinary HTML.
   -------------------------------------------------------------------------- */

.zupp-decision {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.zupp-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.zupp-decision-card {
  --zupp-decision-accent: var(--zupp-primary, #d9709a);
  position: relative;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid var(--zupp-border, #f0dfe5);
  border-top: .3rem solid var(--zupp-decision-accent);
  border-radius: var(--zupp-radius-md, 1.25rem);
  background: #fff;
  box-shadow: var(--zupp-shadow-sm, 0 10px 30px rgba(73, 63, 69, .08));
}

.zupp-decision-card--why,
.zupp-decision-card--method {
  --zupp-decision-accent: var(--zupp-primary, #d9709a);
}

.zupp-decision-card--fit {
  --zupp-decision-accent: #76a88b;
  background: var(--zupp-blush, #f6f0ee);
}

.zupp-decision-card--caution,
.zupp-decision-card--check {
  --zupp-decision-accent: #c58b25;
  background: var(--zupp-rose-soft, #fff7f8);
}

.zupp-decision-card--alternative {
  --zupp-decision-accent: #8d78a8;
  background: var(--zupp-lilac-pale, #f6f1fa);
}

.zupp-decision-card__label {
  display: block;
  margin-bottom: .7rem;
  color: var(--zupp-decision-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.zupp-decision-card :is(h2, h3, .zupp-decision-card__title) {
  margin: 0 0 .75rem;
  color: var(--zupp-ink, #493f45);
  line-height: 1.18;
}

.zupp-decision-card :is(p, li, .zupp-decision-card__body) {
  color: var(--zupp-muted, #6f656b);
  line-height: 1.7;
}

.zupp-decision-card > :last-child {
  margin-bottom: 0;
}

.zupp-decision-card ul,
.zupp-decision-card ol {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.zupp-decision-card li + li {
  margin-top: .55rem;
}

@media (max-width: 48rem) {
  .zupp-video-hero,
  .zupp-video-wrap {
    height: 78vh;
    height: 78svh;
    min-height: 32.5rem;
    max-height: 45rem;
  }

  .zupp-video-hero__overlay,
  .zupp-video-hero__content,
  .zupp-hero-overlay {
    padding-block: 3rem;
  }

  .zupp-video-hero .zupp-container,
  .zupp-video-wrap .zupp-container {
    width: min(100% - 2rem, 40rem);
  }

  .zupp-decision-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zupp-video-hero video,
  .zupp-video-wrap video {
    visibility: visible;
  }
}
