/* ==========================================================================
   deepinthe.space , fullPage.js "zoom out" experiment
   A five-frame vertical journey: Solar System → Galaxy → Black Hole →
   Universe → Footer. Each frame is a fullPage section; the inner .fp-stage
   handles the camera-like "zoom out" feel so it never fights fullPage's own
   section transforms.
   ========================================================================== */

#fullpage .section {
  color: var(--text, #f0eee8);
}

/* Inner stage: this is what we scale/fade to fake a camera pull-back. */
.fp-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 72px 22px 64px;
  text-align: center;
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.75s ease;
  will-change: transform, opacity;
}

/* Non-active frames sit "zoomed in" (pulled away) so the active one feels
   like the camera has backed out to reveal it. */
.fp-stage {
  opacity: 0.16;
  transform: scale(0.84);
  filter: blur(2px);
}

.fp-section.active .fp-stage {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Shared frame furniture */
.fp-kicker {
  margin: 0 0 14px;
  color: var(--soft, rgba(240, 238, 232, 0.7));
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fp-title {
  margin: 0;
  font-size: clamp(2.125rem, calc(6vw * var(--dit-font-scale)), 3.625rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.fp-title .dim {
  color: #aab8d3;
  font-weight: 400;
}

.fp-copy {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--soft, rgba(240, 238, 232, 0.72));
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.72;
}

.fp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 11px 18px;
  border: 1px solid color-mix(in srgb, var(--fp-accent, #a9c8f0) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--fp-accent, #a9c8f0) 10%, transparent);
  color: var(--text, #f0eee8);
  font-size: 0.75rem;
  letter-spacing: 0;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.fp-cta:hover,
.fp-cta:focus-visible {
  border-color: color-mix(in srgb, var(--fp-accent, #a9c8f0) 78%, transparent);
  background: color-mix(in srgb, var(--fp-accent, #a9c8f0) 18%, transparent);
  transform: translateY(-1px);
  outline: none;
}

.fp-cta::after {
  content: "→";
  font-size: 0.8125rem;
}

.fp-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.fp-chip {
  padding: 6px 11px;
  border: 1px solid rgba(205, 216, 248, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft, rgba(240, 238, 232, 0.7));
  font-size: 0.65625rem;
  line-height: 1.4;
}

.fp-chip b {
  color: var(--text, #f0eee8);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* Frame 1 , Solar System (keeps the original landing-view language)   */
/* ------------------------------------------------------------------ */
.fp-solar .fp-stage {
  height: 100%;
  min-height: 0;
  padding: 0;
  justify-content: center;
}

.fp-solar .universe {
  min-height: 0;
  height: 100%;
  width: 100%;
  padding: 20px 22px 36px;
}

.fp-solar .solar-system {
  width: min(96vw, 1040px);
  margin: 0 auto 14px;
}

.fp-solar h1 {
  font-size: clamp(2.125rem, calc(6vw * var(--dit-font-scale)), 3.625rem);
}

.fp-solar .intro {
  font-size: 0.84375rem;
}

.fp-solar .model-note {
  font-size: 0.53125rem;
}

.fp-solar .model-note a {
  color: color-mix(in srgb, var(--fp-accent, #a9c8f0) 76%, var(--text));
  text-decoration: none;
}

.fp-solar .model-note a:hover,
.fp-solar .model-note a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* Frame 2 , Systems & planets                                         */
/* ------------------------------------------------------------------ */
.fp-systems {
  --fp-accent: #a9c8f0;
}

.fp-systems-roulette {
  position: relative;
  width: min(86vw, 680px);
  margin: 0 auto 20px;
}

.fp-systems-visual {
  position: relative;
  width: 100%;
  height: clamp(132px, 17vw, 166px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(181, 203, 235, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 22% 78%, rgba(255, 255, 255, 0.025)),
    radial-gradient(ellipse at 50% 50%, rgba(169, 200, 240, 0.16), transparent 56%),
    radial-gradient(ellipse at 50% 50%, rgba(169, 200, 240, 0.04), transparent 82%),
    rgba(7, 12, 22, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 34px rgba(4, 8, 16, 0.34),
    0 16px 44px rgba(2, 6, 14, 0.17);
  isolation: isolate;
  cursor: grab;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.fp-systems-visual.is-dragging {
  cursor: grabbing;
}

/* The bright pocket in the middle marks where a planet gets its close-up. */
.fp-systems-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 190px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(225, 239, 255, 0.2), rgba(169, 200, 240, 0.07) 40%, transparent 72%);
  filter: blur(2px);
  opacity: 0.55;
  transform: translate(-50%, -50%);
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.fp-systems-visual:hover::before,
.fp-systems-visual:focus-within::before {
  opacity: 1;
}

.fp-systems-visual:focus-visible {
  outline: 2px solid rgba(173, 205, 248, 0.72);
  outline-offset: 4px;
}

.fp-sys-chain {
  --fp-chain-x: 0px;
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(26px, 4.4vw, 52px);
  width: max-content;
  height: 100%;
  transform: translate3d(calc(-50% + var(--fp-chain-x)), 0, 0);
}

.fp-systems-visual.is-spinning .fp-sys-chain {
  filter: saturate(1.12) brightness(1.04);
}

.fp-sys-planet {
  --glow: rgba(169, 200, 240, 0.3);
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: var(--s);
  height: var(--s);
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--glow) 50%, rgba(255, 255, 255, 0.2));
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  box-shadow: 0 0 14px var(--glow, rgba(169, 200, 240, 0.25));
  backface-visibility: hidden;
  transform-origin: 50% 50%;
  transition: filter 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform, opacity;
}

.fp-sys-planet.is-focus-center {
  cursor: pointer;
}

.fp-sys-planet {
  pointer-events: auto;
  cursor: pointer;
  border: 0;
  background: transparent;
  box-shadow: 0 0 14px var(--glow, rgba(169, 200, 240, 0.25));
}

.fp-sys-planet:focus-visible {
  outline: 2px solid rgba(238, 246, 255, 0.9);
  outline-offset: 5px;
}

.fp-sys-planet.is-focus-center {
  box-shadow:
    0 0 18px var(--glow, rgba(169, 200, 240, 0.3)),
    0 0 42px color-mix(in srgb, var(--glow, rgba(169, 200, 240, 0.3)) 55%, transparent),
    0 8px 18px rgba(2, 6, 14, 0.24);
  filter: saturate(1.12) brightness(1.08);
}

.fp-sys-planet.is-focus-side {
  box-shadow:
    0 0 12px var(--glow, rgba(169, 200, 240, 0.26)),
    0 0 24px color-mix(in srgb, var(--glow, rgba(169, 200, 240, 0.26)) 38%, transparent);
  filter: saturate(1.05) brightness(1.03);
}

.fp-sys-mercury {
  --s: 9px;
  background: radial-gradient(circle at 34% 30%, #d8cdc1, #8b8078 68%, #4a4545);
}

.fp-sys-venus {
  --s: 13px;
  background: radial-gradient(circle at 34% 30%, #f2d3b0, #c08b6d 68%, #6b4840);
}

.fp-sys-earth {
  --s: 14px;
  --glow: rgba(109, 177, 244, 0.4);
  background: radial-gradient(circle at 34% 30%, #9ed0ff, #3f7fbe 55%, #173a63);
}

.fp-sys-mars {
  --s: 11px;
  background: radial-gradient(circle at 34% 30%, #f1b28d, #bb604e 68%, #5c2f2c);
}

.fp-sys-jupiter {
  --s: 30px;
  background: linear-gradient(180deg, #e8d3b4 0 14%, #c2a383 14% 30%, #e6cfae 30% 44%, #b48a69 44% 62%, #e0c4a0 62% 78%, #a77f60 78%);
}

.fp-sys-saturn {
  --s: 24px;
  background: radial-gradient(circle at 34% 30%, #f6e8bd, #c2ad79 68%, #6b5d43);
}

.fp-sys-saturn i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 14px;
  border: 1px solid rgba(238, 226, 190, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.fp-sys-uranus {
  --s: 19px;
  background: radial-gradient(circle at 34% 30%, #d5fff2, #76b7be 68%, #31596b);
}

.fp-sys-neptune {
  --s: 18px;
  background: radial-gradient(circle at 34% 30%, #b9dcff, #4e70c4 68%, #222c75);
}

.fp-sys-ceres {
  --s: 12px;
  --glow: rgba(193, 186, 174, 0.34);
  background: radial-gradient(circle at 34% 30%, #e1d7c8, #92887b 64%, #4b4640);
}

.fp-sys-pluto {
  --s: 13px;
  --glow: rgba(220, 184, 143, 0.34);
  background:
    radial-gradient(circle at 66% 68%, rgba(255, 240, 213, 0.82) 0 16%, transparent 19%),
    radial-gradient(circle at 34% 30%, #e7d3b8, #9e7761 66%, #4b3733);
}

.fp-sys-haumea {
  --s: 15px;
  --glow: rgba(215, 226, 243, 0.34);
  border-radius: 48% 52% 55% 45%;
  background: radial-gradient(circle at 35% 30%, #f1f5fb, #a9b4c4 68%, #566171);
  transform-origin: 50% 50%;
}

.fp-sys-makemake {
  --s: 12px;
  --glow: rgba(214, 154, 119, 0.34);
  background: radial-gradient(circle at 34% 30%, #e3b094, #996b5f 66%, #493437);
}

.fp-sys-eris {
  --s: 14px;
  --glow: rgba(220, 228, 242, 0.38);
  background: radial-gradient(circle at 34% 30%, #f5f7fb, #b5bfcf 68%, #616b7b);
}

.fp-sys-proxima-b {
  --s: 15px;
  --glow: rgba(235, 139, 111, 0.45);
  background: radial-gradient(circle at 34% 30%, #ffc0a2, #b75f50 64%, #4d2524);
}

.fp-sys-proxima-d {
  --s: 10px;
  --glow: rgba(221, 170, 139, 0.38);
  background: radial-gradient(circle at 34% 30%, #efd3bd, #8f7168 68%, #453d3a);
}

.fp-sys-trappist-e {
  --s: 14px;
  --glow: rgba(94, 174, 218, 0.42);
  background:
    radial-gradient(circle at 32% 29%, #b7e1f3 0 18%, transparent 21%),
    radial-gradient(circle at 65% 62%, #7dbec8 0 24%, transparent 27%),
    radial-gradient(circle at 34% 30%, #a9d7e8, #437f9b 68%, #253d5f);
}

.fp-sys-trappist-f {
  --s: 13px;
  --glow: rgba(112, 172, 205, 0.4);
  background: radial-gradient(circle at 34% 30%, #b7d9e4, #557f98 68%, #283c52);
}

.fp-sys-toi-d {
  --s: 15px;
  --glow: rgba(94, 143, 208, 0.44);
  background:
    radial-gradient(circle at 68% 64%, rgba(199, 226, 204, 0.72) 0 21%, transparent 24%),
    radial-gradient(circle at 34% 30%, #a9c4e3, #476d9c 68%, #22354f);
}

.fp-sys-teegarden-b {
  --s: 14px;
  --glow: rgba(221, 166, 105, 0.42);
  background: radial-gradient(circle at 34% 30%, #f2c49e, #aa704f 66%, #4d3127);
}

.fp-sys-planet > :is(.planet-swatch, .px-swatch, .planet-visual, .fp-sys-orb) {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fp-sys-planet > .planet-swatch,
.fp-sys-planet > .px-swatch {
  border-color: rgba(232, 242, 255, 0.24);
  box-shadow:
    inset -7px -7px 12px rgba(0, 0, 0, 0.44),
    inset 2px 2px 5px rgba(255, 255, 255, 0.12),
    0 4px 12px rgba(2, 7, 15, 0.28);
}

.fp-sys-planet > .planet-swatch {
  background-position: center, 34% center;
  transition: background-position 0.35s ease, filter 0.25s ease;
}

.fp-sys-planet:hover > .planet-swatch,
.fp-sys-planet.is-focus-center > .planet-swatch {
  background-position: center, 61% center;
  filter: saturate(1.08) contrast(1.04);
}

.fp-sys-planet > .planet-visual {
  isolation: isolate;
}

.fp-sys-orb {
  overflow: hidden;
  border: 1px solid rgba(232, 242, 255, 0.22);
  border-radius: 50%;
  background: var(--fp-sys-orb);
  box-shadow:
    inset -7px -7px 12px rgba(0, 0, 0, 0.44),
    inset 2px 2px 5px rgba(255, 255, 255, 0.12),
    0 4px 12px rgba(2, 7, 15, 0.28);
}

.fp-sys-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 37%, rgba(255, 255, 255, 0.18) 0 3%, transparent 5%),
    radial-gradient(circle at 67% 63%, rgba(19, 24, 31, 0.22) 0 5%, transparent 8%),
    radial-gradient(circle at 54% 25%, rgba(255, 255, 255, 0.12) 0 2%, transparent 4%),
    radial-gradient(circle at 38% 76%, rgba(24, 28, 34, 0.17) 0 4%, transparent 7%);
  mix-blend-mode: soft-light;
  opacity: 0.72;
}

.fp-sys-orb::after {
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(236, 247, 255, 0.12);
  border-radius: inherit;
  background: linear-gradient(122deg, rgba(255, 255, 255, 0.11), transparent 44% 68%, rgba(0, 0, 0, 0.08));
}

.fp-sys-orb-elongated {
  transform: scaleX(1.16) scaleY(0.82);
}

.fp-sys-payline {
  position: absolute;
  inset: 8px 14%;
  z-index: 4;
  border-top: 1px solid rgba(220, 235, 255, 0.11);
  border-bottom: 1px solid rgba(220, 235, 255, 0.11);
  pointer-events: none;
}

.fp-sys-payline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(214, 232, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(210, 232, 255, 0.035),
    0 0 28px rgba(170, 207, 255, 0.09);
  transform: translate(-50%, -50%);
}

.fp-sys-payline::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: calc(100% + 28px);
  background: linear-gradient(transparent, rgba(218, 233, 255, 0.16) 22% 78%, transparent);
  box-shadow: 0 0 14px rgba(188, 218, 255, 0.14);
  transform: translate(-50%, -50%);
}

.fp-sys-winner {
  position: absolute;
  left: 50%;
  top: calc(50% + 38px);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text, #f0eee8);
  font: inherit;
  line-height: 1;
  text-decoration: none;
  transform: translate(-50%, 0);
  pointer-events: auto;
  transition: color 0.2s ease;
}

.fp-sys-winner:hover {
  color: color-mix(in srgb, var(--fp-accent, #a9c8f0) 66%, var(--text));
}

.fp-sys-winner:focus-visible {
  outline: 1px solid rgba(204, 226, 255, 0.64);
  outline-offset: 4px;
}

.fp-sys-winner-name {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0;
}

.fp-sys-winner-arrow {
  color: color-mix(in srgb, var(--fp-accent, #a9c8f0) 78%, var(--text));
  font-size: 0.75rem;
}

.fp-sys-spin {
  --arcade-lamp: #f0ddba;
  position: absolute;
  top: 50%;
  right: -64px;
  z-index: 8;
  width: 82px;
  height: 82px;
  padding: 0;
  border: 2px solid rgba(230, 213, 190, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 30%, rgba(146, 157, 157, 0.3), transparent 32%),
    repeating-conic-gradient(from 4deg, rgba(255, 255, 255, 0.025) 0 2deg, rgba(0, 0, 0, 0.055) 2deg 5deg),
    rgba(23, 31, 34, 0.76);
  color: #f3e6cb;
  font: inherit;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.3),
    inset 0 -6px 9px rgba(0, 0, 0, 0.58),
    0 11px 24px rgba(2, 7, 12, 0.34);
  -webkit-backdrop-filter: blur(4px) saturate(1.08);
  backdrop-filter: blur(4px) saturate(1.08);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.25s cubic-bezier(0.22, 0.7, 0.24, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.fp-sys-spin::before {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border: 1px solid rgba(233, 201, 177, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(218, 180, 159, 0.025),
    0 0 28px rgba(211, 143, 124, 0.13);
  animation: fp-sys-spin-halo 5.2s ease-in-out infinite;
  pointer-events: none;
}

.fp-sys-spin:hover {
  border-color: rgba(248, 226, 199, 0.58);
  transform: translateY(calc(-50% - 2px)) scale(1.025);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.28),
    inset 0 -6px 9px rgba(0, 0, 0, 0.52),
    0 14px 30px rgba(2, 7, 12, 0.38),
    0 0 28px rgba(222, 155, 136, 0.16);
}

.fp-sys-spin:active,
.fp-sys-spin.is-pressed {
  transform: translateY(calc(-50% + 1px)) scale(0.985);
}

.fp-sys-spin:focus-visible {
  outline: 1px solid rgba(204, 226, 255, 0.66);
  outline-offset: 6px;
}

.fp-sys-spin-cap {
  position: absolute;
  inset: 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 229, 211, 0.38);
  background:
    radial-gradient(circle at 31% 20%, rgba(255, 255, 255, 0.4) 0 5%, transparent 28%),
    linear-gradient(145deg, rgba(202, 137, 131, 0.42), rgba(125, 68, 76, 0.24) 50%, rgba(56, 32, 40, 0.2));
  box-shadow:
    inset 0 3px 4px rgba(255, 242, 226, 0.3),
    inset 0 -7px 10px rgba(31, 11, 17, 0.24),
    0 2px 2px rgba(255, 255, 255, 0.2);
  color: #3f2529;
  overflow: hidden;
  transition: transform 0.18s ease, background 0.25s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.fp-sys-spin-cap::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 6%;
  height: 32%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent);
  pointer-events: none;
}

.fp-sys-spin:hover .fp-sys-spin-cap {
  background:
    radial-gradient(circle at 31% 20%, rgba(255, 255, 255, 0.5) 0 5%, transparent 30%),
    linear-gradient(145deg, rgba(218, 156, 147, 0.52), rgba(141, 80, 88, 0.3) 50%, rgba(62, 35, 43, 0.22));
}

.fp-sys-spin:active .fp-sys-spin-cap,
.fp-sys-spin.is-pressed .fp-sys-spin-cap {
  transform: translateY(1px);
}

.fp-sys-spin-label {
  position: relative;
  z-index: 2;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: var(--type-tracking-label);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 244, 222, 0.4);
  transform: translateX(0.065em);
}

.fp-sys-spin-lamp {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 231, 198, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 242, 209, 0.96) 0 30%, rgba(235, 190, 151, 0.74) 52%, rgba(193, 107, 99, 0.28) 72%, transparent 78%);
  box-shadow:
    inset 0 1px 4px rgba(255, 255, 255, 0.64),
    inset 0 0 0 3px rgba(255, 235, 202, 0.08),
    inset 0 -4px 7px rgba(108, 44, 44, 0.16),
    0 0 14px rgba(243, 202, 145, 0.3);
  opacity: 0.58;
  animation: fp-sys-spin-lamp 4.4s ease-in-out infinite;
}

.fp-sys-spin-lamp::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  top: 16%;
  height: 27%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), transparent);
}

.fp-sys-spin.is-spinning .fp-sys-spin-lamp {
  animation-duration: 2.2s;
}

@keyframes fp-sys-spin-halo {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.98);
    box-shadow:
      0 0 0 5px rgba(225, 204, 166, 0.02),
      0 0 22px rgba(211, 143, 124, 0.1);
  }

  50% {
    opacity: 0.88;
    transform: scale(1.035);
    box-shadow:
      0 0 0 6px rgba(225, 204, 166, 0.045),
      0 0 34px rgba(211, 143, 124, 0.2);
  }
}

@keyframes fp-sys-spin-lamp {
  0%,
  100% {
    opacity: 0.5;
    background:
      radial-gradient(circle at 50% 42%, rgba(247, 230, 196, 0.94) 0 30%, rgba(224, 174, 143, 0.65) 52%, rgba(184, 95, 92, 0.24) 72%, transparent 78%);
    box-shadow:
      inset 0 1px 3px rgba(255, 255, 255, 0.44),
      inset 0 0 0 3px rgba(255, 235, 202, 0.05),
      inset 0 -4px 7px rgba(108, 44, 44, 0.14),
      0 0 10px rgba(243, 202, 145, 0.22);
  }

  42%,
  58% {
    opacity: 0.96;
    background:
      radial-gradient(circle at 50% 42%, rgba(255, 247, 222, 1) 0 32%, rgba(242, 200, 167, 0.82) 54%, rgba(208, 127, 114, 0.34) 74%, transparent 80%);
    box-shadow:
      inset 0 1px 4px rgba(255, 255, 255, 0.7),
      inset 0 0 0 3px rgba(255, 240, 210, 0.12),
      inset 0 -4px 7px rgba(108, 44, 44, 0.12),
      0 0 24px rgba(243, 202, 145, 0.58);
  }
}

.fp-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.fp-cta-row .fp-cta {
  margin-top: 0;
}

.fp-cta-secondary {
  border-color: rgba(205, 216, 248, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.fp-cta-secondary:hover,
.fp-cta-secondary:focus-visible {
  border-color: rgba(205, 216, 248, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.fp-systems-actions {
  margin-top: 20px;
}

/* ------------------------------------------------------------------ */
/* Frame 3 , Galaxies                                                  */
/* ------------------------------------------------------------------ */
.fp-galaxy {
  --fp-accent: #c9a8e8;
}

.fp-galaxy,
.fp-universe,
.fp-small-bodies,
.fp-known {
  --fp-round-visual-size: min(68vw, 46vh, 400px);
}

.fp-galaxy-visual {
  position: relative;
  width: var(--fp-round-visual-size);
  margin: 0 auto 16px;
}

.fp-galaxy-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
}

.fp-galaxy-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.14) contrast(1.08) brightness(0.9) hue-rotate(-10deg);
  transform: scale(1.04);
  rotate: 0deg;
  scale: 1.04;
  transform-origin: center;
  transition: filter 0.6s ease;
  will-change: scale, rotate, filter;
}

.fp-galaxy-link:hover .fp-galaxy-photo,
.fp-galaxy-link:focus-visible .fp-galaxy-photo {
  animation:
    fp-galaxy-rotate 30s linear infinite,
    fp-galaxy-pull 7.5s cubic-bezier(0.45, 0, 0.3, 1) infinite alternate;
  filter: saturate(1.26) contrast(1.14) brightness(1.08) hue-rotate(-12deg);
}

@keyframes fp-galaxy-rotate {
  to {
    rotate: 360deg;
  }
}

@keyframes fp-galaxy-pull {
  0% {
    scale: 1.04;
  }

  55% {
    scale: 1.13;
  }

  100% {
    scale: 1.24;
  }
}

.fp-galaxy-link:focus-visible {
  outline: 2px solid rgba(201, 168, 232, 0.7);
  outline-offset: 3px;
}

.fp-galaxy-zoom-aura,
.fp-galaxy-depth {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.fp-galaxy-zoom-aura {
  background:
    radial-gradient(circle at 50% 48%, transparent 0 12%, rgba(230, 216, 255, 0.08) 20%, transparent 38%),
    conic-gradient(from 25deg, transparent 0 18%, rgba(213, 190, 255, 0.1) 23%, transparent 31% 64%, rgba(157, 197, 255, 0.08) 72%, transparent 81%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.65s ease;
}

.fp-galaxy-depth {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 8%, rgba(8, 7, 18, 0.06) 17%, transparent 32%),
    radial-gradient(circle at 50% 50%, transparent 60%, rgba(4, 5, 12, 0.2) 86%, rgba(2, 4, 10, 0.48) 100%);
  box-shadow: inset 0 0 36px rgba(8, 8, 22, 0.32);
}

.fp-galaxy-link:hover .fp-galaxy-zoom-aura,
.fp-galaxy-link:focus-visible .fp-galaxy-zoom-aura {
  opacity: 1;
  animation: fp-galaxy-aura-in 7.5s ease-in-out infinite alternate;
}

@keyframes fp-galaxy-aura-in {
  0% {
    transform: scale(0.72) rotate(0deg);
    opacity: 0.24;
  }

  100% {
    transform: scale(1.32) rotate(48deg);
    opacity: 0.78;
  }
}

.fp-galaxy-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 168, 232, 0.08), transparent 62%),
    radial-gradient(circle at 50% 50%, transparent 54%, rgba(5, 8, 16, 0.58) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 232, 0.3), inset 0 0 46px rgba(10, 12, 24, 0.5), 0 0 32px rgba(201, 168, 232, 0.14);
}

.fp-galaxy-visual figcaption {
  margin-top: 10px;
  color: var(--dim, rgba(240, 238, 232, 0.42));
  font-size: 0.5625rem;
  letter-spacing: 0.07em;
}

/* ------------------------------------------------------------------ */
/* Frame 4 , Black Holes                                               */
/* ------------------------------------------------------------------ */
.fp-blackhole {
  --fp-accent: #e2b48a;
}

.fp-bh-figure {
  width: min(82vw, 44vh, 460px);
  margin: 0 auto 16px;
}

.fp-bh-link {
  display: block;
  position: relative;
  aspect-ratio: 985 / 568;
  text-decoration: none;
}

.fp-bh-gif {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 34px rgba(226, 180, 138, 0.22));
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.55s ease;
  will-change: transform, filter;
}

.fp-bh-link:hover .fp-bh-gif,
.fp-bh-link:focus-visible .fp-bh-gif {
  transform: scale(1.07);
  animation: fp-bh-hover-pulse 1.9s ease-in-out infinite;
}

.fp-bh-link:focus-visible {
  outline: 2px solid rgba(226, 180, 138, 0.7);
  outline-offset: 3px;
}

.fp-bh-figure figcaption {
  margin-top: 8px;
  color: var(--dim, rgba(240, 238, 232, 0.42));
  font-size: 0.5625rem;
  letter-spacing: 0.07em;
}

@keyframes fp-bh-hover-pulse {
  0%, 100% {
    filter: saturate(1.25) brightness(1.08) drop-shadow(0 0 26px rgba(226, 180, 138, 0.36));
  }
  50% {
    filter: saturate(1.55) brightness(1.25) drop-shadow(0 0 52px rgba(255, 196, 126, 0.6));
  }
}

/* ------------------------------------------------------------------ */
/* Frame 5 , Universe                                                  */
/* ------------------------------------------------------------------ */
.fp-universe {
  --fp-accent: #8fb6f2;
}

.fp-universe-stage {
  position: relative;
  width: var(--fp-round-visual-size);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(143, 182, 242, 0.2);
  background: radial-gradient(circle at 50% 40%, #0f1726 0%, #070a12 72%);
  box-shadow:
    0 0 0 5px rgba(143, 182, 242, 0.035),
    0 18px 48px rgba(3, 7, 16, 0.22);
  isolation: isolate;
  transition: transform 0.25s ease;
}

.fp-universe-stage:hover,
.fp-universe-stage:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.fp-cosmos-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: 50% center;
  background: #050912;
  filter: saturate(0.92) contrast(1.04) brightness(0.94);
  transition: filter 0.7s ease;
  will-change: scale, filter;
}

.fp-universe-stage:hover .fp-cosmos-photo,
.fp-universe-stage:focus-visible .fp-cosmos-photo {
  animation: fp-universe-evolve 8s cubic-bezier(0.42, 0, 0.34, 1) infinite alternate;
}

.fp-cosmos-wash {
  position: absolute;
  inset: -12%;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 24% 46%, rgba(255, 194, 132, 0.22), transparent 28%),
    radial-gradient(circle at 72% 52%, rgba(125, 169, 255, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(255, 177, 111, 0.12), transparent 44% 62%, rgba(116, 164, 255, 0.16));
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-28%) scale(1.1);
  pointer-events: none;
}

.fp-universe-stage:hover .fp-cosmos-wash,
.fp-universe-stage:focus-visible .fp-cosmos-wash {
  animation: fp-universe-wash 8s ease-in-out infinite alternate;
}

.fp-cosmos-timeline {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 9%;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  padding: 8px 8px 7px;
  border: 1px solid rgba(224, 234, 249, 0.15);
  border-radius: 10px;
  background: rgba(5, 9, 17, 0.7);
  box-shadow: 0 8px 22px rgba(2, 5, 12, 0.22);
  color: rgba(236, 242, 251, 0.62);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.fp-universe-stage:hover .fp-cosmos-timeline,
.fp-universe-stage:focus-visible .fp-cosmos-timeline {
  opacity: 1;
  transform: translateY(0);
}

.fp-cosmos-era {
  position: relative;
  z-index: 2;
  font-size: 0.4375rem;
  font-weight: 600;
  letter-spacing: var(--type-tracking-label);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.fp-cosmos-era-now {
  color: rgba(232, 241, 255, 0.94);
}

.fp-cosmos-rail {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 1px;
  overflow: visible;
  background: linear-gradient(90deg, rgba(255, 196, 135, 0.34), rgba(206, 220, 244, 0.2) 48%, rgba(137, 177, 255, 0.42));
}

.fp-cosmos-rail i {
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff4df;
  box-shadow: 0 0 8px rgba(255, 215, 159, 0.82);
  transform: translate(-50%, -50%);
}

.fp-universe-stage:hover .fp-cosmos-rail i,
.fp-universe-stage:focus-visible .fp-cosmos-rail i {
  animation: fp-cosmos-progress 8s cubic-bezier(0.42, 0, 0.34, 1) infinite alternate;
}

@keyframes fp-universe-evolve {
  0% {
    scale: 1.01;
    filter: saturate(0.82) contrast(1.02) brightness(0.9) sepia(0.14) hue-rotate(-7deg);
  }

  54% {
    scale: 1.06;
    filter: saturate(1.08) contrast(1.09) brightness(1);
  }

  100% {
    scale: 1.11;
    filter: saturate(1.26) contrast(1.12) brightness(1.08) hue-rotate(8deg);
  }
}

@keyframes fp-universe-wash {
  0% {
    opacity: 0.38;
    transform: translateX(-28%) scale(1.08);
  }

  55% {
    opacity: 0.7;
    transform: translateX(0) scale(1.16);
  }

  100% {
    opacity: 0.5;
    transform: translateX(28%) scale(1.1);
  }
}

@keyframes fp-cosmos-progress {
  from {
    left: 0;
  }

  to {
    left: 100%;
  }
}

/* ------------------------------------------------------------------ */
/* Frame 6 , Small bodies                                              */
/* ------------------------------------------------------------------ */
.fp-small-bodies {
  --fp-accent: #d8c7a4;
}

.fp-small-visual {
  --window-glow: rgba(216, 199, 164, 0.09);
  --window-depth: rgba(8, 13, 24, 0.22);
  --comet-angle: 0deg;
  --comet-scale: 1;
  --comet-duration: 2.3s;
  --comet-tail-bright: rgba(241, 251, 255, 0.98);
  --comet-tail-mid: rgba(135, 197, 238, 0.72);
  --comet-tail-fade: rgba(111, 166, 215, 0.12);
  --comet-tail-glow: rgba(143, 203, 240, 0.36);
  --comet-dust-bright: rgba(231, 247, 255, 0.96);
  --comet-dust-mid: rgba(143, 201, 239, 0.84);
  --comet-dust-warm: rgba(240, 217, 186, 0.62);
  position: relative;
  display: block;
  width: var(--fp-round-visual-size);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(216, 199, 164, 0.13);
  background:
    radial-gradient(circle at 89% 18%, rgba(159, 210, 255, 0.08), transparent 31%),
    radial-gradient(ellipse at 50% 50%, var(--window-glow), transparent 72%),
    var(--window-depth);
  box-shadow:
    inset 0 0 46px rgba(4, 9, 18, 0.18),
    0 12px 34px rgba(4, 9, 18, 0.06);
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease;
}

.fp-small-bodies:hover .fp-small-visual,
.fp-small-bodies:focus-within .fp-small-visual {
  --window-glow: rgba(216, 199, 164, 0.17);
  --window-depth: rgba(7, 12, 23, 0.48);
  background:
    radial-gradient(circle at 89% 18%, rgba(159, 210, 255, 0.14), transparent 34%),
    radial-gradient(ellipse at 50% 50%, var(--window-glow), transparent 72%),
    var(--window-depth);
  box-shadow:
    inset 0 0 54px rgba(4, 9, 18, 0.26),
    inset 0 0 0 1px rgba(216, 199, 164, 0.08),
    0 16px 42px rgba(4, 9, 18, 0.1);
}

.fp-small-visual:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--fp-accent, #d8c7a4) 72%, transparent);
  outline-offset: 5px;
}

.fp-rock {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #d8cfc1, #786c60 68%, #3a332d);
  box-shadow: 0 0 8px rgba(216, 199, 164, 0.2);
  transform: translate(-50%, -50%);
  transition:
    filter 0.35s ease,
    box-shadow 0.35s ease;
}

.fp-small-bodies:hover .fp-rock,
.fp-small-bodies:focus-within .fp-rock {
  animation: fp-rock-drift 3.4s ease-in-out 1 forwards;
  filter: brightness(1.15);
  box-shadow: 0 0 11px rgba(216, 199, 164, 0.4);
}

.fp-small-bodies:hover .fp-rock:nth-of-type(2n),
.fp-small-bodies:focus-within .fp-rock:nth-of-type(2n) {
  animation-duration: 4.2s;
  animation-direction: reverse;
  animation-delay: -1.15s;
}

.fp-small-bodies:hover .fp-rock:nth-of-type(3n),
.fp-small-bodies:focus-within .fp-rock:nth-of-type(3n) {
  animation-duration: 3.8s;
  animation-delay: -2.1s;
}

.fp-comet-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transform: rotate(var(--comet-angle));
  will-change: transform;
}

.fp-small-bodies.is-comet-flying .fp-comet-track {
  opacity: 1;
}

.fp-comet-visual {
  position: absolute;
  left: 17%;
  top: 56%;
  width: 75%;
  height: 28px;
  transform: scale(var(--comet-scale));
  transform-origin: center;
  will-change: left, opacity;
}

@media (hover: hover) and (pointer: fine) {
  .fp-small-bodies.is-comet-flying .fp-comet-visual {
    animation: fp-comet-fly var(--comet-duration) cubic-bezier(0.18, 0.64, 0.32, 1) 1 forwards;
  }
}

.fp-comet-head {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 4;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 31%, #ffffff 0 24%, #dff5ff 46%, #a8dfff 72%, #ffe3a6 100%);
  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.95),
    0 0 13px rgba(197, 235, 255, 0.92),
    0 0 30px rgba(126, 193, 255, 0.72),
    0 0 50px rgba(255, 201, 128, 0.45);
  transform: translate(-50%, -50%);
}

.fp-comet-head::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 247, 255, 0.58), rgba(128, 194, 255, 0.18) 46%, transparent 72%);
  filter: blur(4px);
}

.fp-comet-head::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.9);
}

.fp-comet-flame {
  position: absolute;
  left: 7px;
  top: 50%;
  z-index: 1;
  width: 126px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff9de 0%, #ffdf9e 17%, #ffad61 40%, rgba(255, 118, 62, 0.35) 72%, transparent 100%);
  clip-path: polygon(0 38%, 14% 18%, 51% 36%, 100% 50%, 51% 64%, 14% 82%, 0 62%);
  filter: blur(1px) saturate(1.2);
  transform: translateY(-50%);
  transform-origin: left center;
}

.fp-comet-ice {
  position: absolute;
  left: 7px;
  top: 50%;
  z-index: 2;
  width: 288px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--comet-tail-bright), var(--comet-tail-mid) 27%, var(--comet-tail-fade) 70%, transparent 100%);
  box-shadow: 0 0 9px var(--comet-tail-glow);
  transform: translateY(-50%);
}

.fp-comet-dust {
  position: absolute;
  left: 20px;
  top: 50%;
  z-index: 0;
  width: 286px;
  height: 32px;
  background:
    radial-gradient(circle at 8px 15px, var(--comet-dust-bright) 0 1.2px, transparent 2px),
    radial-gradient(circle at 22px 5px, var(--comet-dust-mid) 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 34px 24px, var(--comet-dust-bright) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 47px 13px, var(--comet-dust-warm) 0 1px, transparent 2px),
    radial-gradient(circle at 59px 4px, var(--comet-dust-mid) 0 1.2px, transparent 2.2px),
    radial-gradient(circle at 68px 27px, var(--comet-dust-bright) 0 0.8px, transparent 1.7px),
    radial-gradient(circle at 81px 18px, var(--comet-dust-mid) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 95px 8px, var(--comet-dust-warm) 0 1px, transparent 2px),
    radial-gradient(circle at 108px 23px, var(--comet-dust-bright) 0 1px, transparent 2px),
    radial-gradient(circle at 121px 14px, var(--comet-dust-mid) 0 1.3px, transparent 2.3px),
    radial-gradient(circle at 136px 3px, var(--comet-dust-bright) 0 0.8px, transparent 1.7px),
    radial-gradient(circle at 148px 25px, var(--comet-dust-mid) 0 1.1px, transparent 2px),
    radial-gradient(circle at 160px 11px, var(--comet-dust-bright) 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 174px 19px, var(--comet-dust-warm) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 188px 6px, var(--comet-dust-mid) 0 1px, transparent 2px),
    radial-gradient(circle at 201px 25px, var(--comet-dust-bright) 0 0.9px, transparent 1.8px),
    radial-gradient(circle at 215px 15px, var(--comet-dust-mid) 0 1.2px, transparent 2.2px),
    radial-gradient(circle at 229px 4px, var(--comet-dust-bright) 0 0.8px, transparent 1.7px),
    radial-gradient(circle at 241px 21px, var(--comet-dust-mid) 0 1px, transparent 2px),
    radial-gradient(circle at 254px 11px, var(--comet-dust-bright) 0 0.8px, transparent 1.7px),
    radial-gradient(circle at 268px 27px, var(--comet-dust-mid) 0 0.7px, transparent 1.6px);
  filter: drop-shadow(0 0 2px var(--comet-tail-glow));
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.94) 20%, rgba(0, 0, 0, 0.56) 68%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.94) 20%, rgba(0, 0, 0, 0.56) 68%, transparent 100%);
  opacity: 0.9;
  transform: translateY(-50%);
}

.fp-comet-dust::before,
.fp-comet-dust::after {
  content: "";
  position: absolute;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--comet-dust-mid), transparent);
  filter: blur(0.6px);
}

.fp-comet-dust::before {
  left: 39px;
  top: 7px;
  width: 104px;
}

.fp-comet-dust::after {
  left: 132px;
  top: 23px;
  width: 118px;
  opacity: 0.68;
}

.fp-comet-tail {
  position: absolute;
  left: 5px;
  top: 50%;
  z-index: 3;
  width: 218px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--comet-tail-bright), var(--comet-tail-mid) 42%, transparent 100%);
  box-shadow: 0 0 5px var(--comet-tail-glow);
  transform: translateY(-50%);
}

@media (hover: hover) and (pointer: fine) {
  .fp-small-bodies.is-comet-flying .fp-comet-head {
    animation: fp-comet-pulse 0.9s ease-in-out 1;
  }

  .fp-small-bodies.is-comet-flying .fp-comet-flame {
    animation: fp-comet-flame 0.24s ease-in-out 1 alternate;
  }

  .fp-small-bodies.is-comet-flying .fp-comet-dust {
    animation: fp-comet-dust 0.32s ease-in-out 1 alternate;
  }
}

@keyframes fp-rock-drift {
  0%,
  100% {
    transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(0);
  }

  50% {
    transform: translate(-50%, -50%) translate3d(3px, -5px, 0) rotate(20deg);
  }
}

@keyframes fp-comet-fly {
  0% {
    left: 106%;
    top: 56%;
    opacity: 1;
  }

  100% {
    left: -112%;
    top: 56%;
    opacity: 1;
  }
}

@keyframes fp-comet-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.28);
  }
}

@keyframes fp-comet-flame {
  from {
    opacity: 0.72;
    transform: translateY(-50%) scaleX(0.9) scaleY(0.84);
    filter: blur(1.2px) saturate(1.05);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) scaleX(1.05) scaleY(1);
    filter: blur(0.7px) saturate(1.35) brightness(1.1);
  }
}

@keyframes fp-comet-dust {
  from {
    opacity: 0.62;
    transform: translateY(-50%) scaleX(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) scaleX(1.04);
  }
}

/* ------------------------------------------------------------------ */
/* Known & unknown                                                     */
/* ------------------------------------------------------------------ */
.fp-known {
  --fp-accent: #c8b8e8;
  --fp-known-gold: #f7cc68;
  --fp-known-gold-bright: #fff0b4;
}

.fp-known-visual {
  width: var(--fp-round-visual-size);
  margin: 0 auto 10px;
}

.fp-known-link {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #080b13;
  box-shadow:
    inset 0 0 0 1px rgba(200, 184, 232, 0.22),
    0 18px 44px rgba(3, 7, 15, 0.22);
  text-decoration: none;
  isolation: isolate;
  transition: box-shadow 0.45s ease;
}

.fp-known-link:hover,
.fp-known-link:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(247, 204, 104, 0.62),
    inset 0 0 34px rgba(247, 204, 104, 0.12),
    0 18px 50px rgba(3, 7, 15, 0.28),
    0 0 34px rgba(247, 204, 104, 0.2);
}

.fp-known-link:focus-visible {
  outline: 2px solid rgba(200, 184, 232, 0.76);
  outline-offset: 4px;
}

.fp-known-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.08) brightness(0.8);
  transition: filter 0.45s ease;
}

.fp-known-link:hover .fp-known-photo,
.fp-known-link:focus-visible .fp-known-photo,
.fp-known.active .fp-known-photo {
  animation: fp-known-reveal 4.2s cubic-bezier(0.22, 0.61, 0.36, 1) 1 both;
}

.fp-known-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(rgba(220, 230, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 230, 246, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(3, 6, 13, 0.36) 100%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  pointer-events: none;
}

.fp-known-grid::before,
.fp-known-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.38s ease;
}

/* Sparse highlights catch individual points in the lensing image while it
   is being inspected, like a detector finding candidate signals. */
.fp-known-grid::before {
  z-index: 1;
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 245, 190, 1) 0 1.6px, rgba(247, 204, 104, 0.78) 2.8px, transparent 9px),
    radial-gradient(circle at 27% 61%, rgba(255, 239, 167, 1) 0 1.5px, rgba(247, 204, 104, 0.66) 2.8px, transparent 10px),
    radial-gradient(circle at 37% 18%, rgba(255, 247, 203, 1) 0 1.2px, rgba(247, 204, 104, 0.62) 2.4px, transparent 8px),
    radial-gradient(circle at 46% 73%, rgba(255, 237, 154, 0.98) 0 1.6px, rgba(247, 204, 104, 0.64) 3px, transparent 10px),
    radial-gradient(circle at 57% 31%, rgba(255, 249, 217, 1) 0 1.3px, rgba(247, 204, 104, 0.68) 2.5px, transparent 8px),
    radial-gradient(circle at 66% 56%, rgba(255, 226, 129, 1) 0 1.7px, rgba(247, 204, 104, 0.72) 3.1px, transparent 11px),
    radial-gradient(circle at 73% 21%, rgba(255, 247, 196, 1) 0 1.2px, rgba(247, 204, 104, 0.6) 2.3px, transparent 8px),
    radial-gradient(circle at 82% 68%, rgba(255, 238, 158, 1) 0 1.5px, rgba(247, 204, 104, 0.66) 2.8px, transparent 10px),
    radial-gradient(circle at 89% 39%, rgba(255, 248, 210, 1) 0 1.2px, rgba(247, 204, 104, 0.6) 2.3px, transparent 8px),
    radial-gradient(circle at 22% 83%, rgba(255, 231, 142, 1) 0 1.4px, rgba(247, 204, 104, 0.64) 2.7px, transparent 9px),
    radial-gradient(circle at 52% 46%, rgba(247, 204, 104, 0.12), transparent 22%);
  filter: brightness(0.9) drop-shadow(0 0 5px rgba(247, 204, 104, 0.6));
  mix-blend-mode: screen;
}

/* A faint targeting reticle makes the search feel directional rather than
   like a generic decorative glow. */
.fp-known-grid::after {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 21.5%, rgba(247, 204, 104, 0.4) 21.8% 22.1%, transparent 22.5%),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(247, 204, 104, 0.34) 42.3% 42.6%, transparent 43%),
    radial-gradient(circle at 50% 50%, transparent 0 64%, rgba(247, 204, 104, 0.26) 64.3% 64.6%, transparent 65%),
    linear-gradient(90deg, transparent 49.75%, rgba(247, 204, 104, 0.32) 50%, transparent 50.25%),
    linear-gradient(transparent 49.75%, rgba(247, 204, 104, 0.32) 50%, transparent 50.25%);
}

.fp-known-link:hover .fp-known-grid::before,
.fp-known-link:focus-visible .fp-known-grid::before {
  animation: fp-known-stars 2.4s ease-in-out infinite alternate;
}

.fp-known-link:hover .fp-known-grid::after,
.fp-known-link:focus-visible .fp-known-grid::after {
  opacity: 0.72;
}

.fp-known-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(247, 204, 104, 0.56);
  border-radius: 50%;
  background:
    conic-gradient(
      from -24deg,
      transparent 0deg 270deg,
      rgba(247, 204, 104, 0.12) 282deg,
      rgba(247, 204, 104, 0.42) 338deg,
      rgba(247, 204, 104, 0.84) 353deg,
      rgba(255, 240, 180, 1) 359deg,
      transparent 360deg
    );
  box-shadow:
    0 0 30px rgba(247, 204, 104, 0.24),
    inset 0 0 34px rgba(247, 204, 104, 0.08);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.46);
  pointer-events: none;
}

.fp-known-ring::before,
.fp-known-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.fp-known-ring::before {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 240, 180, 0.92);
  background: rgba(247, 204, 104, 0.42);
  box-shadow:
    0 0 8px rgba(247, 204, 104, 0.9),
    0 0 18px rgba(247, 204, 104, 0.42);
  transform: translate(-50%, -50%);
}

.fp-known-ring::after {
  width: 24%;
  aspect-ratio: 1;
  border: 1px dashed rgba(247, 204, 104, 0.68);
  box-shadow: 0 0 16px rgba(247, 204, 104, 0.14);
  transform: translate(-50%, -50%);
}

.fp-known.active .fp-known-ring {
  animation: fp-known-ring 4.2s cubic-bezier(0.2, 0.65, 0.25, 1) 1 both;
}

.fp-known-link:hover .fp-known-ring,
.fp-known-link:focus-visible .fp-known-ring {
  opacity: 0.9;
  animation: fp-known-radar 4.6s linear infinite;
}

.fp-known-link:hover .fp-known-ring::after,
.fp-known-link:focus-visible .fp-known-ring::after {
  animation: fp-known-lock 2.3s ease-out infinite;
}

.fp-known-visual figcaption {
  margin-top: 9px;
  color: var(--dim, rgba(240, 238, 232, 0.42));
  font-size: 0.5625rem;
  letter-spacing: 0.07em;
}

.fp-known-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 650px);
  gap: 10px;
  margin-top: 12px;
  text-align: left;
}

.fp-known-column {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  padding: 10px 11px;
  border: 1px solid rgba(205, 216, 248, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
}

.fp-known-label {
  color: color-mix(in srgb, var(--fp-accent) 60%, var(--text));
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: var(--type-tracking-label);
  text-transform: uppercase;
}

.fp-known-column strong {
  color: var(--soft, rgba(240, 238, 232, 0.72));
  font-size: 0.71875rem;
  font-weight: 400;
  line-height: 1.45;
}

.fp-known-column .fp-cta {
  width: 100%;
  margin-top: 2px;
  padding: 8px 10px;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.6875rem;
}

@keyframes fp-known-reveal {
  0% {
    scale: 1.04;
    filter: saturate(0.7) contrast(1.04) brightness(0.68);
  }

  58% {
    scale: 1.09;
    filter: saturate(1.04) contrast(1.12) brightness(0.96);
  }

  100% {
    scale: 1.045;
    filter: saturate(0.9) contrast(1.08) brightness(0.84);
  }
}

@keyframes fp-known-ring {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.46);
  }

  30% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

@keyframes fp-known-stars {
  0%,
  100% {
    opacity: 0.22;
    filter: brightness(0.82) drop-shadow(0 0 4px rgba(247, 204, 104, 0.4));
  }

  44% {
    opacity: 0.92;
    filter: brightness(1.18) drop-shadow(0 0 7px rgba(247, 204, 104, 0.72));
  }

  72% {
    opacity: 0.54;
    filter: brightness(1.02) drop-shadow(0 0 5px rgba(247, 204, 104, 0.56));
  }
}

@keyframes fp-known-radar {
  from {
    transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
  }
}

@keyframes fp-known-lock {
  0% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.72);
  }

  72% {
    opacity: 0.12;
    transform: translate(-50%, -50%) scale(1.34);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.46);
  }
}

/* ------------------------------------------------------------------ */
/* Classroom                                                          */
/* ------------------------------------------------------------------ */
.fp-teachers {
  --fp-accent: #efc48d;
  --fp-teachers-mint: #95e0c5;
  --fp-teachers-panel: rgba(10, 27, 34, 0.94);
  --fp-teachers-line: rgba(195, 231, 222, 0.2);
}

.fp-teachers-visual {
  position: relative;
  display: block;
  width: min(78vw, 42vh, 540px);
  margin: 0 auto 22px;
  color: var(--text, #f0eee8);
  text-decoration: none;
  perspective: 900px;
}

.fp-teachers-visual:focus-visible {
  outline: 2px solid rgba(239, 196, 141, 0.76);
  outline-offset: 6px;
  border-radius: 22px;
}

.fp-teachers-frame {
  position: relative;
  z-index: 2;
  display: block;
  padding: 9px;
  overflow: hidden;
  border: 1px solid var(--fp-teachers-line);
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), transparent 55%),
    var(--fp-teachers-panel);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotate(-1.2deg);
  transform-origin: center;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.fp-teachers-visual:hover .fp-teachers-frame,
.fp-teachers-visual:focus-visible .fp-teachers-frame {
  border-color: rgba(239, 196, 141, 0.45);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(239, 196, 141, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(0deg) translateY(-3px) scale(1.012);
}

.fp-teachers-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 28px;
  padding: 0 7px 8px;
  color: var(--soft, rgba(240, 238, 232, 0.72));
  font-size: 0.5625rem;
  letter-spacing: 0.07em;
}

.fp-teachers-topbar > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.fp-teachers-topbar > span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fp-teachers-mint);
  box-shadow: 0 0 9px rgba(149, 224, 197, 0.58);
}

.fp-teachers-topbar b {
  color: var(--dim, rgba(240, 238, 232, 0.42));
  font-weight: 400;
}

.fp-teachers-screen {
  display: grid;
  min-height: clamp(190px, 25vh, 260px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 11px;
  background: #071217;
}

.fp-teachers-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.fp-teachers-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 45%, rgba(8, 22, 21, 0.72)),
    radial-gradient(circle at 35% 55%, transparent, rgba(4, 10, 13, 0.32));
}

.fp-teachers-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.78);
  transform: scale(1.04);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.fp-teachers-visual:hover .fp-teachers-photo img,
.fp-teachers-visual:focus-visible .fp-teachers-photo img {
  filter: saturate(1.08) brightness(0.92);
  transform: scale(1.09);
}

.fp-teachers-slide-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 3vw, 32px);
  text-align: left;
  background:
    radial-gradient(circle at 10% 100%, rgba(149, 224, 197, 0.14), transparent 48%),
    linear-gradient(145deg, #102a25, #081619 76%);
}

.fp-teachers-slide-copy small {
  color: var(--fp-teachers-mint);
  font-size: clamp(0.46rem, 0.7vw, 0.58rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fp-teachers-slide-copy strong {
  display: block;
  max-width: 17ch;
  margin-top: 10px;
  color: #f4f8f6;
  font-size: clamp(1rem, 2.25vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.03;
}

.fp-teachers-slide-copy i {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.fp-teachers-slide-copy i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  background: var(--fp-teachers-mint);
  transition: width 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fp-teachers-visual:hover .fp-teachers-slide-copy i::after,
.fp-teachers-visual:focus-visible .fp-teachers-slide-copy i::after {
  width: 58%;
}

.fp-teachers-note {
  position: absolute;
  right: -5%;
  bottom: -24px;
  z-index: 3;
  display: flex;
  width: min(68%, 330px);
  flex-direction: column;
  padding: 12px 14px;
  border: 1px solid rgba(239, 196, 141, 0.28);
  border-radius: 11px;
  background: rgba(24, 28, 27, 0.96);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  text-align: left;
  transform: rotate(1.6deg);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fp-teachers-visual:hover .fp-teachers-note,
.fp-teachers-visual:focus-visible .fp-teachers-note {
  transform: rotate(0) translateY(-3px);
}

.fp-teachers-note small {
  color: var(--fp-accent);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fp-teachers-note > span {
  display: block;
  margin-top: 4px;
  color: var(--text, #f0eee8);
  font-size: clamp(0.57rem, 0.86vw, 0.69rem);
  line-height: 1.38;
}

.fp-teachers-note b {
  margin-top: 6px;
  color: var(--dim, rgba(240, 238, 232, 0.42));
  font-size: 0.46rem;
  font-weight: 400;
}

.fp-teachers-orbit {
  position: absolute;
  inset: -9% -12%;
  z-index: 1;
  border: 1px solid rgba(149, 224, 197, 0.11);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}

.fp-teachers-orbit::before,
.fp-teachers-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.fp-teachers-orbit::before {
  inset: 10% -7%;
  border: 1px solid rgba(239, 196, 141, 0.08);
}

.fp-teachers-orbit::after {
  top: 8%;
  left: 8%;
  width: 7px;
  height: 7px;
  background: var(--fp-accent);
  box-shadow: 0 0 15px rgba(239, 196, 141, 0.62);
}

.fp-teachers .fp-copy {
  max-width: 590px;
}

.fp-teacher-actions {
  justify-content: center;
  margin-top: 22px;
}

.fp-teacher-actions .fp-cta {
  margin-top: 0;
}

@media (max-width: 699px) {
  .fp-teachers .fp-stage {
    padding: 72px 16px 34px;
  }

  .fp-teachers-visual {
    width: min(88vw, 370px);
    margin-bottom: 28px;
  }

  .fp-teachers-screen {
    min-height: 190px;
  }

  .fp-teachers-note {
    right: -2%;
    bottom: -22px;
    width: 72%;
    padding: 9px 11px;
  }

  .fp-teachers-slide-copy {
    padding: 16px;
  }

  .fp-teachers-slide-copy strong {
    font-size: clamp(0.9rem, 4.2vw, 1.25rem);
  }

  .fp-teachers .fp-title {
    font-size: clamp(1.75rem, calc(8.5vw * var(--dit-font-scale)), 2.25rem);
  }

  .fp-teachers .fp-copy {
    max-width: min(360px, calc(100vw - 84px));
    margin-top: 10px;
    font-size: 0.75rem;
    line-height: 1.52;
  }

  .fp-teachers .fp-chips {
    margin-top: 13px;
  }

  .fp-teacher-actions {
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 14px;
  }

  .fp-teacher-actions .fp-cta {
    padding: 8px 12px;
    font-size: 0.68rem;
  }
}

@media (max-height: 720px) and (min-width: 700px) {
  .fp-teachers-visual {
    width: min(70vw, 35vh, 450px);
    margin-bottom: 16px;
  }

  .fp-teachers .fp-kicker {
    margin-bottom: 8px;
  }

  .fp-teachers .fp-copy {
    max-width: 580px;
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .fp-teachers .fp-chips {
    margin-top: 12px;
  }

  .fp-teacher-actions {
    margin-top: 14px;
  }
}

/* ------------------------------------------------------------------ */
/* More details (footer)                                               */
/* ------------------------------------------------------------------ */
.fp-footer {
  background: var(--page-bg-soft, rgba(255, 255, 255, 0.015));
}

.fp-footer-copy {
  width: min(100%, calc(var(--max-width, 1160px) + 48px));
  margin: 0 auto;
  padding: 44px 24px 30px;
  text-align: left;
}

.fp-footer-tagline {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  margin: 0;
  color: var(--dim, rgba(240, 238, 232, 0.5));
  font-size: 0.625rem;
  letter-spacing: 0.07em;
}

.fp-footer-tagline::before,
.fp-footer-tagline::after {
  content: "";
  height: 1px;
  flex: 0 0 22px;
  background: rgba(205, 216, 248, 0.2);
}

.fp-footer-line {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--soft, rgba(240, 238, 232, 0.68));
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.7;
}

.fp-footer-line a {
  color: #a9c8e8;
  text-decoration: none;
}

.fp-footer-line a:hover {
  text-decoration: underline;
}

.fp-footer .site-footer {
  width: 100%;
}

/* ------------------------------------------------------------------ */
/* Discoverability beacon + hint                                       */
/* ------------------------------------------------------------------ */
.fp-hint {
  position: absolute;
  left: 50%;
  top: 14px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(560px, calc(100vw - 32px));
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(205, 216, 248, 0.16);
  border-radius: 999px;
  background: rgba(12, 16, 28, 0.82);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
  color: rgba(240, 238, 232, 0.72);
  font-size: 0.65625rem;
  line-height: 1.45;
  text-align: center;
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.fp-hint-mark {
  color: #ffd9a0;
  animation: fp-hint-pulse 2.2s ease-in-out infinite;
}

.fp-hint.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.fp-hint.is-dismissing {
  opacity: 0;
  transform: translate(-50%, -6px);
}

@keyframes fp-hint-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@property --fp-reveal {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes fp-beacon-ignite {
  from { --fp-reveal: 0deg; }
  to { --fp-reveal: 360deg; }
}

@keyframes fp-beacon-fade {
  0%, 63%, 77% { opacity: 1; }
  100% { opacity: 0; }
}

/* Orbits: the light runs around the ellipse and the ring ignites behind
   it, ending with the whole orbit highlighted. */
.orbit.is-attracting::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  background: conic-gradient(from var(--start-angle, 0deg),
    color-mix(in srgb, var(--orbit-color) 32%, transparent) 0deg,
    color-mix(in srgb, var(--orbit-color) 68%, #fff) calc(var(--fp-reveal) - 70deg),
    color-mix(in srgb, var(--orbit-color) 58%, #fff) calc(var(--fp-reveal) - 7deg),
    transparent var(--fp-reveal) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1px));
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--orbit-color) 45%, transparent));
  animation:
    fp-beacon-ignite 1.9s cubic-bezier(0.45, 0, 0.25, 1) forwards,
    fp-beacon-fade 3s ease-out forwards;
  pointer-events: none;
}

.orbit-hit {
  vector-effect: non-scaling-stroke;
}

/* Planets: the same ignition around the edge of the world. */
.planet.is-attract .planet-dot::after {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    color-mix(in srgb, var(--planet-glow, #a9c8f0) 32%, transparent) 0deg,
    color-mix(in srgb, var(--planet-glow, #a9c8f0) 68%, #fff) calc(var(--fp-reveal) - 70deg),
    color-mix(in srgb, var(--planet-glow, #a9c8f0) 58%, #fff) calc(var(--fp-reveal) - 7deg),
    transparent var(--fp-reveal) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 0.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 0.5px));
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--planet-glow, #a9c8f0) 45%, transparent));
  animation: fp-beacon-ignite 1.6s cubic-bezier(0.45, 0, 0.25, 1) forwards;
  pointer-events: none;
}

.proxima-portal.is-attract {
  animation: none;
}

.solar-controls-toggle {
  position: relative;
}

.proxima-portal.is-attract::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(255, 230, 190, 0.3) 0deg,
    rgba(255, 230, 190, 0.72) calc(var(--fp-reveal) - 70deg),
    rgba(255, 242, 214, 0.78) calc(var(--fp-reveal) - 7deg),
    transparent var(--fp-reveal) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 0.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 0.5px));
  filter: drop-shadow(0 0 4px rgba(255, 230, 190, 0.4));
  animation: fp-beacon-ignite 1.6s cubic-bezier(0.45, 0, 0.25, 1) forwards;
  pointer-events: none;
}

.solar-controls-toggle.is-attract {
  animation: none;
}

.solar-controls-toggle.is-attract::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(220, 231, 247, 0.3) 0deg,
    rgba(220, 231, 247, 0.72) calc(var(--fp-reveal) - 70deg),
    rgba(236, 243, 255, 0.78) calc(var(--fp-reveal) - 7deg),
    transparent var(--fp-reveal) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 0.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 0.5px));
  filter: drop-shadow(0 0 4px rgba(220, 231, 247, 0.4));
  animation: fp-beacon-ignite 1.6s cubic-bezier(0.45, 0, 0.25, 1) forwards;
  pointer-events: none;
}

/* The Sun has its own igniting ring child. */
.sun-run {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  opacity: 0;
  background: conic-gradient(from 0deg,
    rgba(255, 240, 210, 0.3) 0deg,
    rgba(255, 240, 210, 0.72) calc(var(--fp-reveal) - 70deg),
    rgba(255, 248, 232, 0.78) calc(var(--fp-reveal) - 7deg),
    transparent var(--fp-reveal) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 0.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 0.5px));
  filter: drop-shadow(0 0 4px rgba(255, 240, 210, 0.4));
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.sun.is-attract .sun-run {
  opacity: 1;
  animation: fp-beacon-ignite 1.9s cubic-bezier(0.45, 0, 0.25, 1) forwards;
}

.milky-way-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffe6b0;
  box-shadow: 0 0 0 4px rgba(255, 230, 176, 0.14), 0 0 14px rgba(255, 230, 176, 0.75);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.milky-way-marker.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ------------------------------------------------------------------ */
/* "What can I do here?" info pill                                     */
/* ------------------------------------------------------------------ */
.fp-info {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 300;
  display: block;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.fp-info.is-scope-hidden {
  opacity: 0;
  visibility: hidden;
}

.fp-info-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(220, 231, 247, 0.26);
  border-radius: 50%;
  background: rgba(12, 17, 30, 0.52);
  color: #dbe5f3;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.fp-info-toggle:hover,
.fp-info-toggle:focus-visible,
.fp-info.is-open .fp-info-toggle {
  border-color: rgba(220, 231, 247, 0.46);
  background: rgba(20, 28, 45, 0.72);
  color: #fff;
  outline: none;
}

.fp-info-toggle:hover {
  transform: translateY(-1px);
}

@keyframes fp-info-nudge {
  0%, 100% { scale: 1; border-color: rgba(220, 231, 247, 0.26); }
  50% { scale: 1.07; border-color: rgba(220, 231, 247, 0.5); }
}

.fp-info.is-attract .fp-info-toggle {
  animation: fp-info-nudge 2.4s ease-in-out 3;
}

.fp-info-panel {
  position: absolute;
  top: 42px;
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 14px 15px 12px;
  border: 1px solid rgba(220, 231, 247, 0.16);
  border-radius: 14px;
  background: rgba(12, 16, 28, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  color: #e4e9f2;
  font-size: 0.71875rem;
  line-height: 1.55;
  text-align: left;
  pointer-events: auto;
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.fp-info.is-open .fp-info-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fp-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(220, 231, 247, 0.1);
}

.fp-info-head strong {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0;
}

.fp-info-panel ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.fp-info-panel li {
  position: relative;
  padding-left: 14px;
  color: rgba(238, 243, 252, 0.78);
}

.fp-info-panel li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffd9a0;
  font-size: 0.5625rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* fullPage.js chrome                                                  */
/* ------------------------------------------------------------------ */
#fp-nav ul li a span {
  background: rgba(238, 243, 252, 0.38);
}

#fp-nav ul li a.active span,
#fp-nav ul li:hover a.active span {
  background: #f0eee8;
}

#fp-nav ul li .fp-tooltip {
  color: #aab8d3;
  font-family: inherit;
  font-size: 0.625rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

#fp-nav ul li.fp-tooltip-flash .fp-tooltip {
  opacity: 1;
  width: auto;
  transition: opacity 0.2s ease-in;
}

/* ------------------------------------------------------------------ */
/* Small / short screens                                               */
/* ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .fp-stage {
    padding: 78px 18px 60px;
  }

  .fp-footer-copy {
    padding: 28px 18px 24px;
  }

  .fp-solar .solar-system {
    width: min(92vw, 560px);
  }

  .fp-systems-roulette {
    width: min(calc(100vw - 28px), 600px);
    margin-bottom: 22px;
  }

  .fp-systems-visual {
    height: 138px;
    border-radius: 24px;
  }

  .fp-sys-chain {
    gap: clamp(58px, 16vw, 76px);
  }

  .fp-sys-spin {
    top: -36px;
    right: auto;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translateX(-50%);
  }

  .fp-sys-spin:hover {
    transform: translateX(-50%) scale(1.025);
  }

  .fp-sys-spin:active,
  .fp-sys-spin.is-pressed {
    transform: translate(-50%, 1px) scale(0.985);
  }

  .fp-sys-spin-cap {
    inset: 4px;
    border-color: rgba(255, 226, 177, 0.58);
    background:
      radial-gradient(circle at 31% 20%, rgba(255, 251, 235, 0.58) 0 5%, transparent 28%),
      radial-gradient(circle at 50% 54%, rgba(255, 203, 126, 0.36), rgba(205, 99, 60, 0.18) 56%, rgba(77, 39, 32, 0.3) 100%),
      linear-gradient(145deg, rgba(244, 178, 124, 0.48), rgba(133, 66, 48, 0.3) 52%, rgba(46, 27, 26, 0.46));
    box-shadow:
      inset 0 3px 5px rgba(255, 248, 226, 0.42),
      inset 0 -8px 12px rgba(51, 20, 16, 0.34),
      inset 0 0 18px rgba(255, 180, 92, 0.2),
      0 0 12px rgba(227, 132, 76, 0.16);
    animation: fp-sys-spin-cover 3.4s ease-in-out infinite;
  }

  .fp-sys-spin-lamp {
    inset: 10px;
    border-color: rgba(255, 238, 199, 0.54);
    background:
      radial-gradient(circle at 50% 44%, rgba(255, 250, 218, 1) 0 26%, rgba(255, 195, 113, 0.94) 53%, rgba(210, 104, 62, 0.42) 74%, transparent 79%);
    box-shadow:
      inset 0 1px 5px rgba(255, 255, 255, 0.8),
      inset 0 0 0 4px rgba(255, 224, 165, 0.08),
      inset 0 -4px 8px rgba(111, 42, 29, 0.16),
      0 0 18px rgba(255, 178, 88, 0.42);
    mix-blend-mode: screen;
    opacity: 0.72;
    animation: fp-sys-spin-blink 3.4s ease-in-out infinite;
  }

  .fp-sys-spin-label {
    font-size: 0.5rem;
    color: #4a271b;
    text-shadow:
      0 1px 0 rgba(255, 244, 212, 0.58),
      0 0 7px rgba(255, 213, 143, 0.42);
  }

  .fp-galaxy-visual,
  .fp-universe-stage,
  .fp-small-visual,
  .fp-known-visual {
    width: var(--fp-round-visual-size);
  }

  .fp-bh-figure {
    width: min(88vw, 360px);
  }

  .fp-galaxy,
  .fp-universe,
  .fp-small-bodies,
  .fp-known {
    --fp-round-visual-size: min(68vw, 42vh, 350px);
  }

  .fp-known-columns {
    grid-template-columns: 1fr;
    width: min(100%, 440px);
    gap: 8px;
  }

  .fp-known-column {
    padding: 9px 12px;
  }

  .fp-hint {
    font-size: 0.59375rem;
  }
}

@keyframes fp-sys-spin-cover {
  0%,
  18%,
  72%,
  100% {
    box-shadow:
      inset 0 3px 5px rgba(255, 248, 226, 0.38),
      inset 0 -8px 12px rgba(51, 20, 16, 0.34),
      inset 0 0 14px rgba(255, 180, 92, 0.16),
      0 0 10px rgba(227, 132, 76, 0.12);
    filter: brightness(0.94);
  }

  34%,
  54% {
    box-shadow:
      inset 0 3px 7px rgba(255, 250, 231, 0.56),
      inset 0 -8px 12px rgba(51, 20, 16, 0.3),
      inset 0 0 24px rgba(255, 192, 108, 0.44),
      0 0 22px rgba(246, 151, 80, 0.32);
    filter: brightness(1.13);
  }
}

@keyframes fp-sys-spin-blink {
  0%,
  18%,
  72%,
  100% {
    opacity: 0.54;
    background:
      radial-gradient(circle at 50% 44%, rgba(255, 238, 191, 0.9) 0 26%, rgba(239, 163, 91, 0.76) 53%, rgba(174, 77, 49, 0.3) 74%, transparent 79%);
    box-shadow:
      inset 0 1px 4px rgba(255, 255, 255, 0.62),
      inset 0 0 0 4px rgba(255, 224, 165, 0.05),
      inset 0 -4px 8px rgba(111, 42, 29, 0.16),
      0 0 10px rgba(255, 178, 88, 0.22);
  }

  34%,
  54% {
    opacity: 0.98;
    background:
      radial-gradient(circle at 50% 44%, rgba(255, 252, 225, 1) 0 30%, rgba(255, 199, 117, 0.96) 55%, rgba(222, 115, 66, 0.46) 75%, transparent 80%);
    box-shadow:
      inset 0 1px 5px rgba(255, 255, 255, 0.92),
      inset 0 0 0 4px rgba(255, 230, 176, 0.1),
      inset 0 -4px 8px rgba(111, 42, 29, 0.1),
      0 0 26px rgba(255, 176, 83, 0.68);
  }
}

@media (max-width: 699px) {
  .fp-known .fp-stage {
    padding: 70px 16px 28px;
  }

  .fp-known-visual {
    margin-bottom: 8px;
  }

  .fp-known .fp-title {
    font-size: clamp(1.75rem, calc(8.5vw * var(--dit-font-scale)), 2.25rem);
  }

  .fp-known .fp-copy {
    max-width: 360px;
    margin-top: 10px;
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .fp-known-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    margin-top: 10px;
  }

  .fp-known-column {
    gap: 5px;
    padding: 8px;
  }

  .fp-known-label {
    font-size: 0.5rem;
  }

  .fp-known-column strong {
    font-size: 0.625rem;
    line-height: 1.35;
  }

  .fp-known-column .fp-cta {
    padding: 7px 8px;
    font-size: 0.625rem;
  }
}

@media (max-height: 720px) and (min-width: 700px) {
  .fp-solar .solar-system {
    width: min(84vh, 760px);
    margin-bottom: 10px;
  }

  .fp-stage {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .fp-systems-roulette {
    margin-bottom: 12px;
  }

  .fp-systems-visual {
    height: 112px;
  }

  .fp-cta-row {
    margin-top: 16px;
  }

  .fp-galaxy-visual,
  .fp-universe-stage,
  .fp-small-visual {
    width: var(--fp-round-visual-size);
  }

  .fp-bh-figure {
    width: min(66vh, 360px);
  }

  .fp-galaxy,
  .fp-universe,
  .fp-small-bodies,
  .fp-known {
    --fp-round-visual-size: min(68vw, 46vh, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit.is-attracting::after,
  .planet.is-attract .planet-dot::after,
  .proxima-portal.is-attract::before,
  .solar-controls-toggle.is-attract::after,
  .sun.is-attract .sun-run,
  .fp-hint-mark,
  .fp-info.is-attract .fp-info-toggle {
    animation: none;
  }

  .orbit.is-attracting::after,
  .planet.is-attract .planet-dot::after,
  .proxima-portal.is-attract::before,
  .solar-controls-toggle.is-attract::after,
  .sun.is-attract .sun-run {
    --fp-reveal: 360deg;
  }

  .fp-hint {
    transition-duration: 0.01ms;
  }

  .milky-way-marker {
    transition-duration: 0.01ms;
  }

  .fp-galaxy-photo,
  .fp-bh-gif {
    transition-duration: 0.01ms;
  }

  .fp-galaxy-link:hover .fp-galaxy-photo,
  .fp-galaxy-link:focus-visible .fp-galaxy-photo {
    animation: none;
    scale: 1.04;
  }

  .fp-bh-link:hover .fp-bh-gif,
  .fp-bh-link:focus-visible .fp-bh-gif {
    animation: none;
    transform: scale(1.03);
  }

  .fp-galaxy-link:hover .fp-galaxy-zoom-aura,
  .fp-galaxy-link:focus-visible .fp-galaxy-zoom-aura,
  .fp-universe-stage:hover .fp-cosmos-photo,
  .fp-universe-stage:focus-visible .fp-cosmos-photo,
  .fp-universe-stage:hover .fp-cosmos-wash,
  .fp-universe-stage:focus-visible .fp-cosmos-wash,
  .fp-universe-stage:hover .fp-cosmos-rail i,
  .fp-universe-stage:focus-visible .fp-cosmos-rail i {
    animation: none;
  }

  .fp-universe-stage:hover .fp-cosmos-photo,
  .fp-universe-stage:focus-visible .fp-cosmos-photo {
    scale: 1;
  }

  .fp-cosmos-photo {
    transition-duration: 0.01ms;
  }

  .fp-cosmos-wash,
  .fp-cosmos-timeline,
  .fp-bh-gif {
    transition-duration: 0.01ms;
  }

  .fp-known.active .fp-known-photo,
  .fp-known-link:hover .fp-known-photo,
  .fp-known-link:focus-visible .fp-known-photo,
  .fp-known.active .fp-known-ring,
  .fp-known-link:hover .fp-known-ring,
  .fp-known-link:focus-visible .fp-known-ring,
  .fp-known-link:hover .fp-known-grid::before,
  .fp-known-link:focus-visible .fp-known-grid::before,
  .fp-known-link:hover .fp-known-ring::after,
  .fp-known-link:focus-visible .fp-known-ring::after {
    animation: none;
  }

  .fp-known-link:hover .fp-known-grid::before,
  .fp-known-link:focus-visible .fp-known-grid::before {
    opacity: 0.82;
  }

  .fp-known-link:hover .fp-known-grid::after,
  .fp-known-link:focus-visible .fp-known-grid::after {
    opacity: 0.65;
  }

  .fp-known.active .fp-known-ring,
  .fp-known-link:hover .fp-known-ring,
  .fp-known-link:focus-visible .fp-known-ring {
    opacity: 0.82;
    transform: translate(-50%, -50%) scale(1);
  }

  .fp-known-link:hover .fp-known-ring::after,
  .fp-known-link:focus-visible .fp-known-ring::after {
    opacity: 0.42;
  }

  .fp-known-photo {
    transition-duration: 0.01ms;
  }

  .fp-systems-visual::before {
    transition-duration: 0.01ms;
  }

  .fp-sys-spin::before,
  .fp-sys-spin-cap,
  .fp-sys-spin-lamp {
    animation: none;
  }

  .fp-small-bodies:hover .fp-rock,
  .fp-small-bodies:focus-within .fp-rock,
  .fp-small-bodies:hover .fp-comet-visual,
  .fp-small-bodies:focus-within .fp-comet-visual,
  .fp-small-bodies:hover .fp-comet-head,
  .fp-small-bodies:focus-within .fp-comet-head,
  .fp-small-bodies:hover .fp-comet-flame,
  .fp-small-bodies:focus-within .fp-comet-flame,
  .fp-small-bodies:hover .fp-comet-dust,
  .fp-small-bodies:focus-within .fp-comet-dust,
  .fp-small-bodies.is-comet-flying .fp-comet-visual,
  .fp-small-bodies.is-comet-flying .fp-comet-head,
  .fp-small-bodies.is-comet-flying .fp-comet-flame,
  .fp-small-bodies.is-comet-flying .fp-comet-dust {
    animation: none;
  }
}

/* Homepage solar-system scale: every planet is 1.5× larger while retaining
   the original relative sizes and hover/focus end state. */
.fp-solar .mercury { --dot-size: 13.5px; }
.fp-solar .venus { --dot-size: 18px; }
.fp-solar .earth { --dot-size: 19.5px; }
.fp-solar .mars { --dot-size: 16.5px; }
.fp-solar .jupiter { --dot-size: 28.5px; }
.fp-solar .saturn { --dot-size: 25.5px; }
.fp-solar .uranus { --dot-size: 21px; }
.fp-solar .neptune { --dot-size: 21px; }

.fp-solar .planet:hover .planet-dot,
.fp-solar .planet:focus-visible .planet-dot,
.fp-solar .planet.is-active .planet-dot {
  scale: 5;
}

.fp-solar .orbit {
  border-width: 1.4px;
}

/* ------------------------------------------------------------------ */
/* Mobile solar-system reading order and touch details                 */
/* ------------------------------------------------------------------ */

.planet-touch-sheet {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  align-items: end;
  padding: 14px 12px max(14px, env(safe-area-inset-bottom));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.planet-touch-sheet[hidden] {
  display: none;
}

.planet-touch-sheet.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.planet-touch-sheet-scrim {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 6, 13, 0.62);
  backdrop-filter: blur(4px);
}

.planet-touch-sheet-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  max-height: min(68svh, 540px);
  margin: auto;
  overflow: hidden;
  padding: 17px 17px calc(16px + env(safe-area-inset-bottom));
  border: 1px solid rgba(224, 230, 255, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(22, 29, 45, 0.98), rgba(9, 13, 23, 0.98));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  color: #f6f2ea;
  text-align: left;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.24s cubic-bezier(0.22, 0.7, 0.25, 1);
}

.planet-touch-sheet.is-open .planet-touch-sheet-panel {
  transform: translateY(0) scale(1);
}

.planet-touch-sheet-panel:focus {
  outline: none;
}

.planet-touch-sheet-content {
  display: grid;
  min-height: 0;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(210, 220, 245, 0.28) transparent;
}

.planet-touch-sheet-content::-webkit-scrollbar {
  width: 5px;
}

.planet-touch-sheet-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(210, 220, 245, 0.28);
}

.planet-touch-sheet-content > strong {
  color: #f7f3ec;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.planet-touch-sheet-content .planet-summary,
.planet-touch-sheet-content .sun-summary {
  margin: 0;
  color: rgba(238, 239, 245, 0.82);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.planet-touch-sheet-content .planet-facts,
.planet-touch-sheet-content .sun-facts {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(224, 230, 255, 0.12);
  color: rgba(238, 239, 245, 0.66);
  font-size: 0.6875rem;
  line-height: 1.48;
}

.planet-touch-sheet-content .planet-facts > span {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.planet-touch-sheet-content .planet-facts b,
.planet-touch-sheet-content .sun-facts b {
  color: rgba(246, 242, 234, 0.92);
  font-weight: 600;
}

.planet-touch-sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(220, 231, 247, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(240, 245, 255, 0.76);
  font: inherit;
  font-size: 1.1875rem;
  line-height: 1;
  cursor: pointer;
}

.planet-touch-sheet-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(224, 230, 255, 0.12);
}

.planet-touch-sheet-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(169, 200, 240, 0.34);
  border-radius: 999px;
  background: rgba(169, 200, 240, 0.1);
  color: #e9f3ff;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  margin-left: auto;
}

.planet-touch-sheet-link::after {
  content: "→";
  margin-left: 7px;
}

.planet-touch-sheet-link[hidden] {
  display: none;
}

[data-theme="light"] .planet-touch-sheet-panel {
  border-color: rgba(45, 74, 104, 0.18);
  background: linear-gradient(145deg, #f7f9fc, #eaf0f7);
  color: #173047;
}

[data-theme="light"] .planet-touch-sheet-content > strong {
  color: #173047;
}

[data-theme="light"] .planet-touch-sheet-content .planet-summary,
[data-theme="light"] .planet-touch-sheet-content .sun-summary,
[data-theme="light"] .planet-touch-sheet-content .planet-facts,
[data-theme="light"] .planet-touch-sheet-content .sun-facts {
  color: rgba(28, 56, 80, 0.76);
}

[data-theme="light"] .planet-touch-sheet-content .planet-facts b,
[data-theme="light"] .planet-touch-sheet-content .sun-facts b {
  color: #173047;
}

[data-theme="light"] .planet-touch-sheet-close {
  border-color: rgba(29, 61, 88, 0.18);
  background: rgba(29, 61, 88, 0.06);
  color: #244b6a;
}

[data-theme="light"] .planet-touch-sheet-link {
  border-color: #2c668d;
  background: #2c668d;
  color: #ffffff;
}

@media (max-width: 700px) {
  .section.fp-solar > .fp-overflow {
    overflow: hidden !important;
  }

  #fp-nav.fp-right {
    top: 50%;
    right: 2px;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
  }

  #fp-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 7px 5px;
    border: 1px solid rgba(205, 216, 248, 0.12);
    border-radius: 999px;
    background: rgba(10, 14, 24, 0.72);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
  }

  #fp-nav ul li {
    width: 20px;
    height: 20px;
    margin: 0;
  }

  #fp-nav ul li a {
    width: 20px;
    height: 20px;
  }

  #fp-nav ul li a span {
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
  }

  #fp-nav ul li a.active span,
  #fp-nav ul li:hover a.active span {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
  }

  #fp-nav ul li .fp-tooltip {
    display: none;
  }

  [data-theme="light"] #fp-nav ul {
    border-color: rgba(44, 75, 105, 0.12);
    background: rgba(248, 250, 253, 0.82);
    box-shadow: 0 5px 18px rgba(44, 75, 105, 0.14);
  }

  .fp-solar .universe {
    padding: 64px 14px 22px;
  }

  .fp-solar .content {
    width: 100%;
    padding-bottom: 0;
  }

  .fp-solar .solar-system {
    width: min(calc(100% - 36px), 430px);
    aspect-ratio: 0.86;
    margin: 0 36px 40px auto;
  }

  .fp-solar .orbit {
    border-width: 1px;
  }

  .fp-solar #solar-system > .orbit[data-orbit] {
    transform: translate(-50%, -50%) scaleY(1.34);
  }

  .fp-solar .kuiper-belt-svg,
  .fp-solar .frontier-native-svg {
    transform: scaleY(1.34);
    transform-origin: center;
  }

  .fp-solar .object-region-layer {
    transform: scaleY(1.34);
    transform-origin: center;
  }

  .fp-solar .planet {
    width: 44px;
    height: 44px;
    touch-action: manipulation;
  }

  .fp-solar .sun {
    width: 32px;
    min-width: 32px;
  }

  .fp-solar .mercury { --dot-size: 8.5px; }
  .fp-solar .venus { --dot-size: 11px; }
  .fp-solar .earth { --dot-size: 12px; }
  .fp-solar .mars { --dot-size: 10.5px; }
  .fp-solar .jupiter { --dot-size: 20px; }
  .fp-solar .saturn { --dot-size: 18px; }
  .fp-solar .uranus { --dot-size: 14.5px; }
  .fp-solar .neptune { --dot-size: 14.5px; }

  .fp-solar .eyebrow {
    display: none;
  }

  .fp-solar h1 {
    font-size: clamp(1.875rem, calc(9.44vw * var(--dit-font-scale)), 2.125rem);
  }

  .fp-solar .model-note {
    max-width: 300px;
    margin: 9px auto 0;
    font-size: 0.53125rem;
    line-height: 1.45;
  }

  .fp-solar .fp-hint {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .fp-solar .planet:hover .planet-label,
  .fp-solar .planet:focus-visible .planet-label {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .fp-solar .planet:hover .planet-dot,
  .fp-solar .planet:focus-visible .planet-dot,
  .fp-solar .planet.is-active .planet-dot {
    scale: 1.8;
    box-shadow:
      0 0 12px var(--planet-glow),
      0 0 24px color-mix(in srgb, var(--planet-glow) 34%, transparent);
    filter: saturate(1.12) brightness(1.08);
  }

  .fp-solar .sun:hover,
  .fp-solar .sun:focus-visible {
    scale: 1.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  .planet-touch-sheet,
  .planet-touch-sheet-panel {
    transition: none;
  }
}
