.pack-editorial {
  background: #f1eacf;
  color: #302925;
  font-family: Avenir, "Avenir Next", system-ui, sans-serif;
}
.pack-sequence {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
}
.pack-spread {
  position: relative;
  aspect-ratio: 16 / 9;
  scroll-margin-top: 1rem;
}
.pack-backdrop,
.pack-rules {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.pack-rules,
.pack-copy {
  z-index: 2;
}
.pack-copy {
  position: absolute;
  inset: 0;
}
.pack-box {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--w);
  margin: 0;
  font-size: var(--f);
  line-height: 1.2;
  text-align: var(--align);
  color: var(--ink);
}
.pack-copy :is(h3,h4,h5) {
  letter-spacing: normal;
  text-transform: none;
}
.pack-copy .pack-name {
  top: 9.85%;
  left: 0;
  width: 100%;
  color: var(--pack-color);
  text-align: center;
  font-size: 3.3333cqw;
  font-weight: 900;
}
.pack-copy :is(.pack-label,.pack-price) {
  font-weight: 700;
}
.pack-group h5 {
  font: inherit;
  margin: 0;
}
.pack-group ul {
  margin: 0;
  padding: 0 0 0 2em;
}
.pack-language-note {
  margin: 0;
  padding: 1rem 5%;
  font-size: .875rem;
}
@container (max-width: 1050px) {
  .pack-spread {
    aspect-ratio: auto;
  }
  .pack-copy {
    position: relative;
    padding: clamp(2.5rem, 7cqw, 5rem) 5.625% clamp(3rem, 7cqw, 5rem);
  }
  .pack-backdrop {
    left: auto;
    width: max(80%, 20rem);
    height: auto;
    aspect-ratio: 16 / 9;
    top: 50%;
    transform: translateY(-50%);
    overflow: visible;
    clip-path: inset(0);
  }
  .pack-rules {
    display: none;
  }
  .pack-box {
    position: static;
    width: auto;
    font-size: 1rem;
    line-height: 1.45;
    text-align: left;
  }
  .pack-copy .pack-name {
    margin-bottom: 1.4rem;
    font-size: clamp(2rem, 5cqw, 3rem);
  }
  .pack-copy .pack-label,
  .pack-copy .pack-price {
    font-size: 1.5rem;
  }
  .pack-includes,
  .pack-fact,
  .pack-price {
    border-top: 1px solid #302925;
    padding-top: .5rem;
  }
  .pack-groups,
  .pack-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
  }
  .pack-facts {
    margin-top: 1.75rem;
  }
  .pack-group h5 {
    font-weight: 600;
  }
  .pack-group ul {
    padding-left: 1.25em;
  }
  .pack-copy .pack-price {
    margin-top: 1.75rem;
    text-align: right;
  }
}
@container (max-width: 580px) {
  .pack-groups,
  .pack-facts {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
}

@container (min-width: 1051px) {
  .pack-box {
    translate: 0 -.09em;
  }
  .pack-includes {
    white-space: nowrap;
    text-align: left;
  }
  .pack-group ul {
    padding-left: 1.72em;
    list-style: none;
  }
  .pack-group li {
    position: relative;
  }
  .pack-group li::before {
    content: "";
    position: absolute;
    width: .21em;
    height: .21em;
    top: .51em;
    left: -.76em;
    border-radius: 50%;
    background: currentColor;
  }
  .pack-roots .pack-group:nth-child(n+3) {
    width: calc(var(--w) + .7em);
  }
}

.pack-sequence {
  overflow: clip;
}
@media (prefers-reduced-motion: reduce) {
  .pack-backdrop {
    opacity: 1 !important;
  }
}

@container (min-width: 1051px) {
  .pack-copy .pack-price {
    left: auto;
    right: 12.58%;
    width: max-content;
    white-space: nowrap;
  }
}
:lang(en) .pack-group { text-align:left }
