* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #001452;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stage {
  position: relative;
  width: min(100vw, calc(100vh * 1366 / 768));
  aspect-ratio: 1366 / 768;
  overflow: hidden;
  background: #001452;
}

.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.logo {
  position: absolute;
  top: 2.2%;
  right: 2.1%;
  width: clamp(69px, 10.2vw, 142px);
  height: auto;
  object-fit: contain;
  display: block;
  z-index: 3;
}

.video-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #000;
  z-index: 2;
}

.main-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact {
  position: absolute;
  left: 50%;
  bottom: 6.0%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0 12px;
  color: #eef3fb;
  font-weight: 700;
  font-size: clamp(12px, 1.45vw, 18px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  z-index: 3;
  text-shadow: 0 1px 10px rgba(0, 26, 82, 0.24);
}

@media (max-aspect-ratio: 4/5) {
  body { overflow: auto; }

  .stage {
    width: 100vw;
    min-height: 100vh;
    aspect-ratio: auto;
  }

  .logo {
    top: 22px;
    right: 18px;
    width: clamp(66px, 19.2vw, 106px);
  }

  .video-wrap {
    width: 88vw;
    top: 47%;
  }

  .contact {
    bottom: 28px;
    width: calc(100% - 32px);
    white-space: normal;
    font-size: 13px;
  }
}
