/* o2 overlays: load cover, dialogs (reel, player, menu). */
.cover {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  background: var(--white);
  clip-path: inset(0 0 0 0);
}
html.is-loading .cover { display: grid; }
html.is-loading { overflow: hidden; }
.cover__k { overflow: visible; }
html.is-loading .cover__k { opacity: 0; }

.dlg {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--white);
  --focus: var(--white);
}
.dlg[open] { display: grid; place-items: center; }
.dlg::backdrop { background: rgba(10, 26, 63, 0.92); }
.dlg__panel {
  position: relative;
  width: min(1200px, calc(100vw - var(--pad) * 2));
  max-height: 100dvh;
  padding: 72px 0 24px;
}
.dlg__close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--blue-ink);
  color: var(--white);
  cursor: pointer;
}
.dlg__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dlg__video {
  display: block;
  width: min(100%, calc((100dvh - 150px) * 16 / 9));
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: var(--blue-ink);
}
.dlg__label { width: min(100%, calc((100dvh - 150px) * 16 / 9)); margin: 16px auto 0; color: var(--blue-sky); }

.player__stage {
  width: min(100%, calc((100dvh - 190px) * 16 / 9));
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--blue-ink);
}
.player__stage iframe, .player__stage video { display: block; width: 100%; height: 100%; border: 0; background: var(--blue-ink); }
.player__stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.player__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  width: min(100%, calc((100dvh - 190px) * 16 / 9));
  margin: 20px auto 0;
}
.player__text { flex: 1 1 260px; min-width: 0; }
.player__service { margin-top: 6px; color: var(--blue-sky); }
.player__gallery-nav { display: flex; align-items: center; gap: 16px; }
.player__meta [hidden] { display: none !important; }

.dlg--menu { background: var(--blue); }
.menu__panel { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s7); padding-top: 96px; }
.menu__list { display: flex; flex-direction: column; gap: 8px; }
.menu__list a {
  display: inline-block;
  padding: 6px 0;
  font-size: clamp(32px, 9vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.menu__wa { align-self: stretch; }
@media (min-width: 640px) { .menu__wa { align-self: flex-start; } }

@media (prefers-reduced-motion: reduce) {
  .nav__list a::after { transition: none; }
}
