.opening.portal {
  --portal-ink: #141615;
  background: var(--portal-ink);
  height: auto;
  min-height: 0;
}
.portal .stage {
  position: relative;
  block-size: var(--section-height);
  display: block;
  background: var(--portal-ink);
}
.portal-visual {
  position: absolute;
  inset: 0;
}
.portal-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 45px 17px var(--portal-ink);
}
.portal-visual img,
.portal-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portal-message {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 1rem;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 1px 12px #141615;
}
.portal-message :is(.portal-product, .portal-tagline) { transition: opacity .4s ease; }
.portal[data-playing] :is(.portal-product, .portal-tagline) {
  opacity: 0;
  transition: none;
}
.portal[data-complete] .portal-visual > :is(img, video) { visibility: hidden; }
.portal .portal-product {
  margin: 0;
  font-size: clamp(36px, 6vw, 84px);
  line-height: .98;
  white-space: nowrap;
}
.portal .portal-product span { display: inline; }
.portal .portal-tagline {
  margin: .75rem 0 0;
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.3;
  text-wrap: pretty;
}
.portal .cta {
  margin-top: 1.25rem;
  background: #a3ff47;
  pointer-events: auto;
  text-shadow: none;
}
.portal[data-playing] .cta {
  position: absolute;
  inset-inline-end: var(--edge);
  bottom: 1rem;
  gap: .65rem;
  min-height: 44px;
  margin: 0;
  padding: 8px 13px;
  background: var(--portal-ink);
  border: 1px solid rgb(243 240 230 / 55%);
  color: var(--paper);
  font-size: .875rem;
}
.portal[data-playing] .cta:hover { background: #292d28; }
.portal-control {
  position: absolute;
  z-index: 2;
  inset-inline-start: var(--edge);
  bottom: 1rem;
  min-height: 44px;
  padding: 12px 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-shadow: 0 1px 6px #141615;
  text-underline-offset: .25em;
  color: #fff;
  font-size: .875rem;
}
@media (max-aspect-ratio: 4/3), (min-aspect-ratio: 2/1) {
  .portal-visual img,
  .portal-visual video { object-fit: contain; }
}
@media (max-width: 720px) {
  .portal-visual::after { box-shadow: inset 0 0 20px 8px var(--portal-ink); }
}
@media (prefers-reduced-motion: reduce) {
  .portal-message :is(.portal-product, .portal-tagline) { transition: none; }
}
