/* Full-screen overview film. The overlay is position:fixed, so removing
   it does not move the page. */

.piq-intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0A0A0A;
  opacity: 1;
  transition: opacity 600ms ease;
  overflow: hidden;
}
.piq-intro[hidden] { display: none !important; }
.piq-intro.is-closing {
  opacity: 0;
  pointer-events: none;
}

.pi-frame {
  position: relative;
  width: min(100vw, 177.78vh);
  aspect-ratio: 16 / 9;
  background: #0A0A0A;
  container-type: inline-size;
}
.pi-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0A0A0A;
}

/* End card. The film leaves this band empty. These links wipe into it. */
.pi-cta {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.pi-cta a {
  position: absolute;
  top: 65.19%;
  height: 7.41%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  clip-path: inset(0 100% 0 0 round 0.55cqw);
  opacity: 0;
  transform: translateX(-1.1%);
  transition: clip-path 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s ease-out,
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.pi-cta a:nth-child(2) { transition-delay: 0.25s; }
.pi-cta .btn-gold {
  left: 34.64%;
  width: 14.06%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.55cqw;
  background: #C9A45C;
  color: #0A0A0A;
  font: 500 1.42cqw/1 "Jost", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em;
}
.pi-cta .btn-gold:hover { background: #A67C37; color: #0A0A0A; }
.pi-cta .pi-domain {
  left: 50.26%;
  width: auto;
  padding: 0 0.6cqw 0 0;
  background: none;
  border: none;
  border-radius: 0;
  color: #F3F0EB;
  font: 400 1.42cqw/1 "Jost", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.005em;
}
.pi-cta .pi-domain:hover { color: #C9A45C; }
#piq-intro.cta .pi-cta { pointer-events: auto; }
#piq-intro.cta .pi-cta a {
  clip-path: inset(0 0 0 0 round 0.55cqw);
  opacity: 1;
  transform: none;
}
#piq-intro.cta-now .pi-cta a { transition: none; }
.pi-cta a:focus,
.pi-cta a:focus-visible {
  outline: 2px solid #C9A45C;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .pi-cta a,
  #piq-intro.cta .pi-cta a {
    clip-path: none;
    transform: none;
    transition: opacity 300ms ease-out;
    transition-delay: 0s;
  }
}

.piq-intro-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.piq-intro-controls button,
.piq-intro-controls a {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  text-decoration: none;
}
.piq-intro-controls button:hover,
.piq-intro-controls a:hover {
  border-color: #C9A45C;
  color: #C9A45C;
}
.piq-intro-controls [hidden] { display: none !important; }
.piq-intro-controls .btn-gold {
  background: #C9A45C;
  color: #0A0A0A;
  border-color: transparent;
}
.piq-intro-controls .btn-gold:hover {
  background: #A67C37;
  color: #0A0A0A;
}

html.intro-open,
html.intro-open body {
  overflow: hidden;
}
html.intro-open body {
  padding-right: var(--intro-scrollbar, 0px);
}
#main:focus { outline: none; }

.overview-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 12px 5px 5px;
  background: transparent;
  color: #8A8A8A;
  border: 1px solid #2A2A2A;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.overview-chip:hover { border-color: #C9A45C; color: #FFFFFF; }
.overview-chip .overview-play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #C9A45C;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.overview-chip:hover .overview-play { background: #A67C37; }
.overview-chip .overview-label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: inherit;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .overview-chip { margin-left: auto; }
  .piq-intro-controls { right: 12px; bottom: 12px; }
}
