/* Review 7: S1 quiet cinematic hero motion. v0.3 */
@font-face {
  font-family: "M PLUS 1";
  src: url("../assets/fonts/MPLUS1-wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.hero__title,
.section-title:not(#s12-title),
.cinematic-title,
.cinematic-subtitle,
.s8__brand-title,
.s9__title {
  font-family: "M PLUS 1", var(--font-sans);
  font-weight: 800;
}

.hero__media {
  isolation: isolate;
  background: #edf1f5;
}

.hero__poster,
.hero__media .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__poster {
  z-index: 0;
}

.hero__poster img,
.hero__media .hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__media .hero__video {
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity 360ms ease-out;
}

.hero__media .hero__video.is-playing {
  opacity: 1;
}

.hero__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(242, 245, 247, .26) 0%, rgba(242, 245, 247, .1) 42%, transparent 68%);
}

/* Review 7 UI refinement: S1-only brand, launch, offer and LINE CTA. */
.hero__logo .brand-mark__zip {
  font-size: clamp(1.875rem, 2.145vw, 1.9375rem);
}

.hero__logo .brand-mark__running {
  font-size: .64rem;
}

.hero__launch-badge {
  display: block;
  width: max-content;
  min-height: 1.55rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #31312f;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, .72);
}

.hero__launch-badge > span {
  display: inline-block;
  animation: zip-shrinker-wave-bounce 2.6s ease-in-out infinite;
}

@keyframes zip-shrinker-wave-bounce {
  0%, 40%, 100% { transform: translateY(0); }
  20% { transform: translateY(-8px); }
}

.hero__offer {
  align-items: flex-start;
  gap: .65rem;
}

.hero__offer-block {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: max-content;
  max-width: 100%;
  padding: .48rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50px;
  background: rgba(18, 20, 19, .62);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
  color: #fff;
  line-height: 1.1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__offer-label {
  display: inline;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .9);
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
}

.hero__offer-label::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: .82em;
  margin-inline: .68em;
  background: rgba(255, 255, 255, .28);
  vertical-align: -.05em;
}

.hero__offer-main {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  line-height: inherit;
  white-space: nowrap;
}

.hero__offer-prefix {
  margin-right: .14em;
  color: rgba(255, 255, 255, .96);
  font-size: .82rem;
  font-weight: 700;
}

.hero__offer-main strong {
  color: #e5c27a;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .015em;
}

.hero .hero__line-cta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: calc(100vw - 2rem);
  min-height: 0;
  gap: .5rem;
  padding: .48rem 1rem .5rem;
  border-radius: 40px;
  background: #00b900;
  box-shadow: none;
  transition: box-shadow .3s, transform .3s;
}

.hero .hero__line-icon {
  position: static;
  flex: 0 0 34px;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  object-fit: contain;
  transform: none;
}

.hero .hero__line-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  overflow: visible;
  text-align: left;
}

.hero .hero__line-kicker {
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .02em;
  opacity: .9;
  white-space: nowrap;
}

.hero .hero__line-benefits {
  display: block;
  font-size: clamp(.875rem, 1.04vw, .94rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  opacity: 1;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .hero .hero__line-cta:hover {
    filter: none;
    transform: translateY(-2px);
    background: #00b900;
    box-shadow: 0 0 8px rgba(0, 255, 0, .45), 0 0 18px rgba(0, 220, 0, .3), 0 0 32px rgba(0, 185, 0, .18), 0 0 48px rgba(0, 150, 0, .1);
  }
}

.hero .hero__line-cta:active {
  transform: translateY(1px) scale(.992);
}

@media (max-width: 900px) {
  .hero__poster img,
  .hero__media .hero__video {
    object-position: center 22%;
  }

  .hero__media::after {
    background: linear-gradient(to top, rgba(15, 15, 14, .22) 0%, transparent 48%);
  }

  .hero__logo {
    color: #171716;
    text-shadow: 0 1px 12px rgba(255, 255, 255, .45);
  }

  .hero__logo .brand-mark__zip {
    font-size: 1.98rem;
  }

  .hero__logo .brand-mark__running {
    font-size: .66rem;
  }

  .hero__launch-badge {
    min-height: 1.3rem;
    padding: 0;
    color: #fff;
    font-size: .82rem;
    line-height: 1.45;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(28, 39, 37, .45);
  }

  .hero__offer-block {
    gap: 0;
    padding: .4rem .88rem;
    border-radius: 50px;
    line-height: 1.05;
  }

  .hero__offer-label {
    min-height: 0;
    padding: 0;
    font-size: .62rem;
  }

  .hero__offer-prefix {
    font-size: .69rem;
  }

  .hero__offer-main strong {
    font-size: .88rem;
  }

  .hero .hero__line-cta {
    width: auto;
    max-width: calc(100vw - 2rem);
    min-height: 0;
    gap: .5rem;
    padding: .44rem .875rem;
  }

  .hero .hero__line-icon {
    flex-basis: 32px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
  }

  .hero .hero__line-kicker {
    font-size: .75rem;
  }

  .hero .hero__line-benefits {
    font-size: .875rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero__media .hero__video {
    display: none;
    transition: none;
  }

  .hero__launch-badge > span,
  .hero .hero__line-cta {
    animation: none !important;
    transform: none !important;
  }
}
