/* Circular navigation with the existing illuminated button treatment. */
.has_floating_explore > header { padding-top: 5.5rem; min-height: 140px; }
.floating_explore {
  position: fixed; z-index: 60; top: calc(1rem + env(safe-area-inset-top));
  left: 50%; transform: translateX(-50%); width: 150px;
  border-radius: 72px; box-shadow: 0 8px 32px #0005;
}
.floating_explore .menu_toggle {
  width: 100%; height: 52px; padding: 0 1.25rem; display: flex;
  align-items: center; justify-content: space-between; font-size: 1.05rem;
  position: relative; translate: none;
}
.floating_explore .menu_icon { width: 18px; height: 18px; border: 0; position: relative; }
.floating_explore .menu_icon::before, .floating_explore .menu_icon::after {
  content: ''; position: absolute; width: 18px; height: 2px; top: 8px; left: 0;
  border-radius: 2px; background: currentColor; transform: translateY(-3px);
}
.floating_explore .menu_icon::after { transform: translateY(3px); }
.floating_explore.is_open .menu_icon::before { transform: rotate(45deg); }
.floating_explore.is_open .menu_icon::after { transform: rotate(-45deg); }
body.explore_open { overflow: hidden; }
.floating_explore .navigation_panel {
  position: fixed; inset: 0; margin: auto; padding: 0;
  width: min(480px, calc(100vw - 24px), calc(100dvh - 24px));
  height: auto; aspect-ratio: 1; max-height: none; max-width: none;
  border: 1px solid #ffffff38; border-radius: 50%;
  background: #15243270; color: #fff8ee; overflow: visible;
  box-shadow: inset 2px 2px 2px #ffffff55, inset -1px -1px 1px #ffffff38;
  backdrop-filter: blur(8px);
}
.navigation_panel::backdrop { background: #050b16b8; }
.floating_explore .navigation_panel #main_navigation {
  display: block; position: absolute; inset: 0; margin: 0; padding: 0; border: 0;
  background: transparent;
}
.floating_explore .navigation_panel #main_navigation a.shiny-cta {
  position: absolute; left: var(--orbit-x); top: var(--orbit-y);
  transform: translate(-50%, -50%); width: 24%; aspect-ratio: 1;
  display: flex; flex-direction: column; gap: .25rem; align-items: center; justify-content: center;
  min-height: 0; text-decoration: none;
}
.floating_explore .floating_label {
  display: flex; flex-wrap: wrap; justify-content: center;
  font-family: var(--font_body); font-weight: 650; line-height: 1.2; column-gap: .25em; color: inherit;
}
.floating_explore .orbit_close {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; padding: 0; border-radius: 50%; font-size: 2rem;
}
.floating_explore :is(a, button):focus-visible { outline: 3px solid #c3eff8; outline-offset: 3px; }
.rolling_char { display: inline-block; height: 1.2em; overflow: hidden; }
.rolling_track { display: flex; flex-direction: column; transition: transform 650ms cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--char-index) * 20ms); }
.rolling_track > span { height: 1.2em; line-height: 1.2; }
.floating_explore a:is(:hover, :focus-visible) .rolling_track { transform: translateY(-50%); }
/* Every Explore option shares the About me button's illuminated rim. */
.floating_explore .navigation_panel #main_navigation a.shiny-cta {
  background: var(--shiny-background);
  border: 1px solid transparent;
  border-radius: 1.5rem;
  color: #fff8ee;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
  margin-block: .15rem;
  padding: .75rem .6rem;
}
.floating_explore .floating_label.shiny_label { font-size: 1rem; }
html[data-motion='off'] .floating_explore *::before,
html[data-motion='off'] .floating_explore *::after { animation: none !important; transition: none !important; }
html[data-motion='off'] .floating_explore .rolling_track { transform: none !important; }

/* Match the trigger to the illuminated options without changing disclosure behavior. */
.floating_explore { background: #242424; }
.floating_explore .menu_toggle.shiny-cta {
  background: var(--shiny-background);
  color: #fff8ee;
  border: 1px solid transparent;
  border-radius: 72px;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
}
.floating_explore.is_open .menu_toggle.shiny-cta {
  --shiny-cta-bg: #142d3b;
  --gradient-shine: #c3eff8;
  color: #c3eff8;
}

/* Keep all seven destinations legible within the responsive orbit. */
.floating_explore .navigation_panel #main_navigation a.shiny-cta {
  padding: .3rem; margin: 0; border-radius: 50%;
}
.floating_explore .floating_label.shiny_label { font-size: clamp(.65rem, 2.5vw, .85rem); }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion='off']) .navigation_panel[open] { animation: orbit_arrive 400ms ease both; }
}
@keyframes orbit_arrive { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
@media (max-height: 400px) {
  .floating_explore .navigation_panel { width: min(480px, calc(100vw - 24px)); height: calc(100dvh - 24px); aspect-ratio: auto; border-radius: 24px; overflow-y: auto; }
  .floating_explore .navigation_panel #main_navigation { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; padding: 1rem 1rem 5rem; }
  .floating_explore .navigation_panel #main_navigation a.shiny-cta { position: relative; left: auto; top: auto; transform: none; width: auto; aspect-ratio: auto; min-height: 48px; border-radius: 24px; }
  .floating_explore .orbit_close { position: sticky; display: block; top: auto; bottom: .5rem; margin: -4rem auto .5rem; left: auto; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .floating_explore *, .floating_explore *::before, .floating_explore *::after { animation: none !important; transition: none !important; }
  .floating_explore .rolling_track { transform: none !important; }
}
@media print { .floating_explore { display: none; } }

.orbit_word { display: inline-flex; }
.orbit_icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* Exact Spline scene from the reference, contained within the menu center. */
.floating_explore .orbit_close.shiny-cta {
  width: clamp(80px, 23vw, 112px); height: clamp(80px, 23vw, 112px);
  padding: 3px; overflow: hidden; background: var(--shiny-background);
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
  border-radius: 50%;
}
.spline_robot { position: relative; display: block; width: 100%; height: 100%; pointer-events: none; overflow: hidden; border-radius: inherit; }
.spline_robot canvas { display: block; width: 100% !important; height: 100% !important; }
.floating_explore .spline_robot,
.floating_explore .spline_robot canvas {
  background: transparent !important;
  border: 0;
  box-shadow: none;
}
.robot_load_status { position: absolute; inset: 0; display: grid; place-items: center; font: 11px/1.3 var(--font_body); color: #c3eff8; }
.robot_load_status[hidden] { display: none; }
.spline_robot .robot_load_status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-height: 400px) { .floating_explore .orbit_close.shiny-cta { width: 52px; height: 52px; } }
