:root {
  --oa-dark: #102c2a;
  --oa-green: #153f3a;
  --oa-light: #b9f6b4;
  --oa-paper: #f5f3eb;
}

html, body { margin: 0; width: 100%; min-height: 100%; overflow: hidden; background: var(--oa-dark); }

.oa-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: #fff;
  background: var(--oa-dark);
  font-family: Arial, Helvetica, sans-serif;
  pointer-events: none;
  isolation: isolate;
}

.oa-intro[hidden] { display: none; }

.oa-intro::before,
.oa-intro::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .55;
  z-index: -1;
  animation: oa-float 12s ease-in-out infinite alternate;
}

.oa-intro::before {
  width: min(70vw, 820px);
  aspect-ratio: 1;
  right: -20%;
  top: -36%;
  background: radial-gradient(circle, rgba(185,246,180,.25), transparent 67%);
}

.oa-intro::after {
  width: min(62vw, 700px);
  aspect-ratio: 1;
  left: -22%;
  bottom: -40%;
  background: radial-gradient(circle, rgba(80,170,130,.2), transparent 67%);
  animation-delay: -5s;
}

.oa-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: clamp(44px, 6vw, 88px) clamp(44px, 6vw, 88px);
  mask-image: radial-gradient(circle at center, #000, transparent 88%);
}

.oa-intro-head {
  position: absolute;
  z-index: 3;
  top: max(18px, env(safe-area-inset-top));
  left: clamp(20px, 5vw, 76px);
  right: clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.oa-intro-logo {
  width: clamp(145px, 17vw, 230px);
  height: auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(245,243,235,.96);
}

.oa-wait {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(9px, 1vw, 12px);
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

.oa-wait i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oa-light);
  box-shadow: 0 0 0 6px rgba(185,246,180,.13);
  animation: oa-pulse 1.4s ease-in-out infinite;
}

.oa-slides {
  position: absolute;
  inset: 0;
}

.oa-slide {
  position: absolute;
  inset: 0;
  display: block;
  padding: clamp(86px, 12vh, 135px) clamp(22px, 7vw, 110px) clamp(88px, 12vh, 125px);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transition: opacity .9s ease, transform 1.15s cubic-bezier(.2,.8,.2,1), visibility 0s linear .9s;
}

.oa-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

.oa-copy {
  position: absolute;
  top: 33%;
  left: 50%;
  width: min(calc(100% - 44px), 1180px);
  text-align: center;
  transform: translate(-50%, -50%);
}

.oa-kicker {
  display: block;
  margin-bottom: clamp(20px, 4vh, 36px);
  color: var(--oa-light);
  font-size: clamp(10px, 1.15vw, 14px);
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.oa-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 7.4vw, 112px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.oa-copy p {
  max-width: 830px;
  margin: clamp(24px, 4vh, 38px) auto 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(17px, 2vw, 27px);
  line-height: 1.45;
  text-wrap: balance;
}

.oa-copy strong,
.oa-copy em {
  color: var(--oa-light);
  font-family: Georgia, serif;
  font-weight: 400;
}

.oa-progress-wrap {
  position: absolute;
  z-index: 4;
  left: clamp(20px, 5vw, 76px);
  right: clamp(20px, 5vw, 76px);
  bottom: max(22px, env(safe-area-inset-bottom));
}

.oa-progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.oa-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.oa-progress span {
  height: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.17);
}

.oa-progress span::after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  background: var(--oa-light);
}

.oa-progress span.is-done::after { width: 100%; }
.oa-progress span.is-running::after { animation: oa-progress var(--slide-time) linear forwards; }

.oa-launch-date {
  margin-top: clamp(24px, 4vh, 38px) !important;
  color: var(--oa-light) !important;
  font-size: clamp(17px, 2vw, 27px) !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.oa-countdown {
  width: min(100%, 920px);
  margin: clamp(28px, 5vh, 50px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.oa-time {
  min-width: 0;
  padding: clamp(16px, 3vh, 28px) 6px;
  border-right: 1px solid rgba(255,255,255,.18);
}

.oa-time:last-child { border-right: 0; }

.oa-time b {
  display: block;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(36px, 6.3vw, 88px);
  font-weight: 400;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}

.oa-time span {
  display: block;
  margin-top: 11px;
  color: rgba(255,255,255,.55);
  font-size: clamp(7px, .9vw, 10px);
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.oa-intro.is-launching {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 1s ease;
}

@keyframes oa-progress { to { width: 100%; } }
@keyframes oa-pulse { 50% { opacity: .38; transform: scale(.75); } }
@keyframes oa-float { to { transform: translate3d(5%, 5%, 0) scale(1.08); } }

@media (max-width: 620px) {
  .oa-slide { padding-left: 19px; padding-right: 19px; }
  .oa-copy h1 { font-size: clamp(39px, 12vw, 60px); }
  .oa-copy p { font-size: clamp(16px, 4.8vw, 21px); }
  .oa-countdown { width: 100%; }
  .oa-time { padding-left: 2px; padding-right: 2px; }
}

@media (max-height: 610px) and (orientation: landscape) {
  .oa-slide { padding-top: 55px; padding-bottom: 55px; }
  .oa-kicker { margin-bottom: 12px; }
  .oa-copy h1 { font-size: clamp(35px, 7vw, 66px); }
  .oa-copy p { margin-top: 16px; font-size: clamp(14px, 2vw, 18px); }
  .oa-countdown { margin-top: 18px; }
  .oa-time { padding-top: 12px; padding-bottom: 12px; }
  .oa-time b { font-size: clamp(30px, 5vw, 52px); }
}

@media (prefers-reduced-motion: reduce) {
  .oa-intro::before, .oa-intro::after, .oa-wait i { animation: none; }
  .oa-slide { transition-duration: .25s; }
}
