/* Keep the Academy landing heading and course choices in normal page flow. */
body.planet-mode[data-view="home"]:not(.gallery-exploring) {
  overflow-y: auto;
}

body.planet-mode:not(.gallery-exploring) #home.hero {
  position: relative;
  inset: auto;
  width: min(1120px, 100%);
  height: auto;
  margin: 0 auto;
  padding: 150px clamp(20px, 5vw, 64px) 44px;
  overflow: visible;
  touch-action: pan-y pinch-zoom;
}

body.planet-mode:not(.gallery-exploring) #home .hero-wordmark {
  position: static;
  margin: 0;
  font-size: clamp(40px, 7.5vw, 100px);
  line-height: 1.04;
  text-align: start;
  white-space: normal;
  transform: none;
  opacity: 1;
}

body.planet-mode:not(.gallery-exploring) #home .brand-story-open {
  white-space: normal;
  text-align: start;
}

body.planet-mode:not(.gallery-exploring) #home .story-invitation {
  display: block;
  position: static;
  margin-top: 12px;
  font-size: 13px;
  text-align: start;
  opacity: 1;
}

body.planet-mode:not(.gallery-exploring) #home .planet-navigation {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  opacity: 1;
}

body.planet-mode:not(.gallery-exploring) #home .planet-hit {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  align-content: start;
  gap: 4px;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: clamp(14px, 2.8vw, 24px);
  transform: none;
  text-align: start;
  border: 1px solid #ffffff25;
  background: #16151c;
  text-decoration: none;
}

body.planet-mode:not(.gallery-exploring) #home .planet-hit:hover {
  border-color: #c6b1ef;
  background: #211b2a;
}

body.planet-mode:not(.gallery-exploring) #home .planet-orb-space,
body.planet-mode:not(.gallery-exploring) #home :is(.hero-intro, .motion-controls, .home-hint),
body.planet-mode[data-view="home"]:not(.gallery-exploring) .immersive-stage {
  display: none;
}

body.planet-mode:not(.gallery-exploring) #home .planet-name {
  padding: 0;
  font-size: clamp(14px, 2vw, 19px);
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  text-shadow: none;
}

body.planet-mode:not(.gallery-exploring) #home .planet-enter {
  padding: 5px 0 0;
  font-size: 12px;
  color: #c9b8eb;
}

body.planet-mode:not(.gallery-exploring) #home .explore-button {
  position: static;
  display: inline-flex;
  margin: 16px 0 0;
  transform: none;
  font-size: 13px;
}

body.planet-mode[data-view="home"]:not(.gallery-exploring) .rfl-footer {
  position: relative;
  inset: auto;
}

body.planet-mode[data-view="home"]:not(.gallery-exploring) .rfl-shortcuts {
  position: static;
}

@media (max-width: 600px) {
  body.planet-mode:not(.gallery-exploring) #home.hero {
    padding-top: 132px;
  }
}

@media (max-width: 350px) {
  body.planet-mode:not(.gallery-exploring) #home .planet-navigation {
    grid-template-columns: 1fr;
  }
}
