.aa-portal-trigger {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.topbar .aa-portal-trigger {
  margin-left: auto;
}

.aa-portal-trigger svg {
  width: 30px;
  height: 30px;
  overflow: visible;
  transition: transform 280ms ease;
}

.aa-portal-trigger:hover svg,
.aa-portal-trigger:focus-visible svg {
  transform: rotate(-8deg) scale(1.12);
}

.aa-beacon-ring {
  fill: rgba(255, 255, 255, 0.78);
  stroke: #17213b;
  stroke-width: 1.5;
}

.aa-beacon-plane {
  fill: #ffd21c;
}

.aa-beacon-star {
  fill: #35d7ff;
  filter: drop-shadow(0 0 5px #35d7ff);
  animation: aa-beacon 2.8s ease-in-out infinite;
}

.aa-portal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  visibility: hidden;
  overflow: auto;
  background: #06111f;
  color: #ffffff;
  opacity: 0;
  transition: opacity 280ms ease, visibility 0s 900ms;
}

.aa-portal.aa-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 280ms ease;
}

.aa-portal-gates {
  position: fixed;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.aa-gate {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    repeating-linear-gradient(0deg, transparent 0 86px, rgba(255,255,255,.055) 87px 90px),
    repeating-linear-gradient(90deg, #0f2134 0 90px, #091827 91px 96px);
  transition: transform 900ms 180ms cubic-bezier(.72, 0, .28, 1);
}

.aa-gate-left {
  left: 0;
  border-right: 2px solid #ffd21c;
}

.aa-gate-right {
  right: 0;
  border-left: 2px solid #ffd21c;
}

.aa-open .aa-gate-left {
  transform: translateX(-102%);
}

.aa-open .aa-gate-right {
  transform: translateX(102%);
}

.aa-gate-light {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5px;
  background: #ffd21c;
  box-shadow: 0 0 36px 12px rgba(255, 210, 28, .58);
  opacity: 0;
}

.aa-open .aa-gate-light {
  animation: aa-gate-flash 900ms both;
}

.aa-portal-close {
  position: fixed;
  z-index: 8;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(6,17,31,.72);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 250ms 900ms ease, background 180ms ease;
}

.aa-open .aa-portal-close {
  opacity: 1;
}

.aa-portal-close:hover,
.aa-portal-close:focus-visible {
  background: #ffd21c;
  color: #06111f;
}

.aa-portal-close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.aa-portal-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(66px, 8vw, 110px) 0 70px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms 980ms ease, transform 420ms 980ms ease;
}

.aa-open .aa-portal-content {
  opacity: 1;
  transform: translateY(0);
}

.aa-portal-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.aa-flight-badge {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border-left: 3px solid #ff4eaa;
  background: rgba(255,255,255,.08);
  color: #ff6bb6;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.aa-portal-heading > p {
  margin: 14px 0 0;
  color: #35d7ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.aa-portal-heading h2 {
  max-width: 1000px;
  margin: 7px 0 0;
  color: #ffd21c;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 900;
  line-height: .91;
  letter-spacing: 0;
  text-transform: uppercase;
}

.aa-portal-heading .aa-portal-subtitle {
  margin-top: 13px;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  text-transform: none;
}

.aa-episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 34px);
  margin-top: clamp(34px, 5vw, 58px);
}

.aa-episode {
  position: relative;
  min-height: clamp(300px, 39vw, 510px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.aa-episode img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.aa-episode:hover img,
.aa-episode:focus-visible img {
  transform: scale(1.035);
}

.aa-episode-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2,7,14,.94) 100%);
}

.aa-episode-copy {
  position: absolute;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 32px);
  left: clamp(18px, 3vw, 32px);
  display: grid;
  justify-items: start;
}

.aa-episode-copy small {
  padding: 5px 8px;
  background: #ffd21c;
  color: #06111f;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.aa-episode-new .aa-episode-copy small {
  background: #ff4eaa;
  color: #ffffff;
}

.aa-episode-copy strong {
  max-width: 520px;
  margin-top: 9px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(29px, 4vw, 54px);
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.aa-episode-copy > span {
  margin-top: 12px;
  color: #35d7ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes aa-beacon {
  50% { opacity: .4; transform: scale(.86); }
}

@keyframes aa-gate-flash {
  0% { opacity: 0; }
  25% { opacity: 1; }
  100% { opacity: 0; transform: scaleX(22); }
}

@media (max-width: 760px) {
  .aa-portal-trigger {
    width: 32px;
    height: 32px;
  }

  .topbar .aa-portal-trigger {
    position: static;
  }

  .aa-portal-content {
    width: min(100% - 24px, 620px);
    padding-top: 76px;
  }

  .aa-portal-heading h2 {
    font-size: clamp(44px, 13vw, 70px);
  }

  .aa-episode-grid {
    grid-template-columns: 1fr;
  }

  .aa-episode {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aa-beacon-star { animation: none; }
  .aa-gate, .aa-portal-content, .aa-portal-close, .aa-portal, .aa-episode img { transition-duration: 1ms !important; transition-delay: 0s !important; }
  .aa-open .aa-gate-light { animation-duration: 1ms !important; }
}
