.toppr-hero,
.toppr-hero * {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.toppr-hero {
  --hero-grid-copy: minmax(360px, 0.42fr);
  --hero-grid-media: minmax(0, 0.58fr);
  --hero-title-size: clamp(4rem, 5.5vw, 7.4rem);
  --hero-title-max: 620px;
  --hero-copy-max: 560px;
  --hero-subtitle-max: 520px;
  --hero-gap: clamp(28px, 4vw, 68px);

  position: relative;
  z-index: 0;
  width: 100%;
  max-width: var(--page-max-width, 1672px);
  margin: 0 auto;
  padding: 0 var(--page-gutter, clamp(22px, 4.9vw, 58px)) var(--section-top-padding, clamp(34px, 4vw, 64px));
  overflow: visible;
  background: var(--page-background);
  color: #08090b;
  font-family: var(--font-text);
  font-weight: 700;
}

.toppr-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  content: "";
  background: var(--page-background);
  pointer-events: none;
}

.toppr-hero > topr-header .site-header,
.toppr-hero__layout {
  display: grid;
  grid-template-columns: var(--hero-grid-copy) var(--hero-grid-media);
  gap: var(--hero-gap);
  width: 100%;
}

.toppr-hero > topr-header .site-header {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.toppr-hero > topr-header .site-nav {
  align-items: center;
  padding-left: 0;
  color: #08090b;
}

.toppr-hero__layout {
  align-items: start;
  margin-top: var(--section-gap, clamp(18px, 2.2vw, 36px));
  padding-top: 0;
}

.toppr-hero__bottom-bars {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.toppr-hero__bottom-bar {
  height: 4px;
}

.toppr-hero__bottom-bar--white {
  background: #fff;
}

.toppr-hero__bottom-bar--pink {
  background: #fbf2f3;
}

.toppr-hero__copy {
  position: relative;
  z-index: 5;
  width: 100%;
  min-width: 0;
  /*max-width: var(--hero-copy-max);*/
}

.toppr-hero__copy h1 {
  position: relative;
  display: block;
  width: 100%;
  max-width: var(--hero-title-max);
  margin: 0;
  color: #08090b;
  font-size: var(--hero-title-size);
  line-height: 0.94;
  text-shadow: none;
}

.toppr-hero h1 span {
  display: block;
}

.hero-star-single {
  position: absolute;
  right: -30px;
  bottom: -20px;
  display: block;
  width: clamp(0.52em, 0.95vw, 0.78em);
  height: auto;
  pointer-events: none;
}

.hero-title-copy {
  display: block;
  max-width: 100%;
  white-space: normal;
}

.hero-title-copy strong {
  color: var(--hot);
}

.toppr-hero strong {
  color: var(--hot, #ea3972);
}

.toppr-hero__copy p {
  max-width: min(100%, var(--hero-subtitle-max));
  margin: clamp(18px, 1.8vw, 26px) 0 0;
  color: #08090b;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 500;
  line-height: 1.25;
  text-shadow: none;
}

.toppr-hero__media {
  width: 100%;
  margin: 0;
  aspect-ratio: 2.125 / 1;
  align-self: center;
  overflow: hidden;
  border: 6px solid var(--hot, #ea3972);
  border-radius: clamp(20px, 2vw, 32px);
  background: #111;
}

.toppr-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-image-position, center center);
}

.toppr-hero--index {
  --hero-title-size: clamp(4.2rem, 5.8vw, 7.9rem);
  --hero-title-max: 580px;
  --hero-copy-max: 540px;
  --hero-subtitle-max: 520px;
}

.toppr-hero--index .toppr-hero__copy p {
  max-width: 500px;
}

.toppr-hero--index .toppr-hero__sticker {
  margin-top: clamp(12px, 1.2vw, 22px);
}

.toppr-hero__sticker {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: min(100%, 500px);
  margin-left: auto;
}

.toppr-hero__sticker img {
  display: block;
  width: clamp(82px, 7.65vw, 133px);
  height: auto;
  transform: translateX(clamp(10px, 1.4vw, 24px)) rotate(8deg);
}

.toppr-hero--about {
  --hero-title-size: clamp(3.6rem, 5vw, 6.8rem);
}

.toppr-hero--faq {
  --hero-title-size: clamp(3.4rem, 4.8vw, 6.4rem);
}

@media (max-width: 980px) {
  .toppr-hero {
    --hero-grid-copy: minmax(0, 1fr);
    --hero-grid-media: minmax(0, 1fr);

    min-height: 0;
    padding-bottom: clamp(28px, 4vw, 44px);
  }

  .toppr-hero > topr-header .site-header,
  .toppr-hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .toppr-hero__layout {
    gap: 18px;
    min-height: 0;
  }

  .toppr-hero__media {
    aspect-ratio: auto;
    height: 360px;
  }
}

@media (max-width: 760px) {
  .toppr-hero > topr-header .site-header {
    grid-template-columns: auto auto;
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .toppr-hero {
    padding-bottom: clamp(24px, 8vw, 36px);
  }

  .toppr-hero__layout {
    gap: clamp(16px, 5vw, 24px);
  }

  .toppr-hero__media {
    width: 100vw;
    height: clamp(230px, 62vw, 300px);
    margin-inline: calc(50% - 50vw);
    border-width: 3px 0;
    border-radius: 0;
  }

  .toppr-hero__copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.1rem);
    overflow-wrap: normal;
  }

  .hero-star-single {
    right: -0.32em;
    bottom: 0.02em;
    width: 0.46em;
  }

  .toppr-hero__copy p {
    width: min(100%, 360px);
    font-size: clamp(1rem, 5vw, 1.2rem);
  }

  .toppr-hero--index .toppr-hero__sticker,
  .toppr-hero--how .toppr-hero__sticker {
    justify-content: flex-start;
    margin-top: clamp(18px, 8vw, 34px);
    margin-left: 0;
  }

  .toppr-hero__sticker img {
    width: clamp(74px, 22vw, 104px);
    transform: rotate(8deg);
  }

  .toppr-hero--index,
  .toppr-hero--faq,
  .toppr-hero--order {
    --hero-image-position: center center;
  }

  .toppr-hero--about {
    --hero-image-position: 52% center;
  }

  .toppr-hero--how,
  .toppr-hero--bulk {
    --hero-image-position: center top;
  }
}

@media (max-width: 500px) {
  .toppr-hero {
    padding-right: var(--page-gutter, 18px);
    padding-left: var(--page-gutter, 18px);
  }

  .toppr-hero__copy h1 {
    font-size: clamp(2.1rem, 11.6vw, 2.9rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .toppr-hero__copy p {
    width: min(100%, 320px);
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.32;
  }

  .toppr-hero__media {
    height: clamp(205px, 58vw, 248px);
  }
}
