/* EXUPERY DISCOVERY / HOME V5
   This stylesheet is used only by the planet-selection home page.
   Institution pages, their registration forms and progress are not touched. */

:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #050e23;
  --text: #fff4df;
  --muted: #b9c9df;
  --gold: #ffd27a;
  --world-rgb: 255, 202, 104;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.srOnly { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skipLink { position: fixed; z-index: 100; top: -80px; left: 20px; padding: 14px 20px; background: var(--gold); color: #09142b; border-radius: 14px; }
.skipLink:focus { top: 12px; }
.kg { --world-rgb: 255, 202, 104; }
.school { --world-rgb: 255, 106, 113; }
.high { --world-rgb: 124, 211, 255; }

/* Ambient space. The illustration itself is not repainted or replaced. */
.cosmicBackdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse at 52% 4%, #10265155, transparent 60%); }
.nebula { position: absolute; display: block; border-radius: 50%; filter: blur(55px); opacity: .55; animation: nebulaDrift 34s ease-in-out infinite alternate; }
.nebulaBlue { width: 85vw; height: 82vh; left: 27%; top: 7%; background: radial-gradient(ellipse at 50% 45%, #305daa4a, #15386818 45%, transparent 68%); }
.nebulaCoral { width: 64vw; height: 70vh; left: -31%; top: 36%; background: radial-gradient(ellipse at 50% 50%, #a32b4b3a, #5e225b1a 40%, transparent 70%); animation-delay: -15s; }
.nebulaGold { width: 65vw; height: 60vh; right: -35%; bottom: -15%; background: radial-gradient(ellipse, #ad6c361d, transparent 65%); animation-delay: -24s; }
#livingSky { position: fixed; inset: 0; z-index: 3; pointer-events: none; width: 100%; height: 100%; }

/* Clear, direct navigation to the three existing worlds. */
.top {
  position: fixed; z-index: 40; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 26px;
  width: min(1260px, calc(100% - 48px)); min-height: 66px;
  padding: 9px 13px 9px 25px; border-radius: 36px;
  border: 1px solid rgba(191, 213, 250, .24);
  background: linear-gradient(115deg, rgba(207, 225, 255, .14), rgba(14, 32, 64, .61) 34%, rgba(16, 31, 61, .54));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 36px #01071438;
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  transition: background-color .3s, border-color .3s;
}
.top.scrolled { background-color: #07132e55; border-color: #c2d9ff52; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: .085em; white-space: nowrap; }
.brand b { color: var(--gold); }
.brandStar { color: #ffe7b8; font-size: 22px; text-shadow: 0 0 17px #ffd27a40; }
.desktopNav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-left: auto; }
.navWorld { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid transparent; border-radius: 99px; font-size: 14px; color: #e1e9f8; font-weight: 550; white-space: nowrap; transition: background .25s, border-color .25s, color .25s; }
.navWorld i, .menuWorld i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--world-rgb)); box-shadow: 0 0 12px rgba(var(--world-rgb),.45); }
.navWorld>span { color: rgb(var(--world-rgb)); font-size: 13px; opacity: .75; }
.navWorld:hover, .navWorld:focus-visible, .navWorld.is-highlight {
  color: #fff5e6; background: rgba(var(--world-rgb),.07); border-color: rgba(var(--world-rgb),.28);
}
.headerActions { display: flex; align-items: center; gap: 9px; }
.motionToggle, .menuToggle { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #c9dcff2b; border-radius: 50%; background: #adc8ff0a; }
.motionToggle { color: #f7d995; transition: background .25s; }
.motionToggle:hover { background: #adc8ff19; }
.motionToggle .playIcon { display: none; }
.motionToggle[aria-pressed="true"] .pauseIcon { display: none; }
.motionToggle[aria-pressed="true"] .playIcon { display: block; }
.motionToggle:disabled { cursor: default; opacity: .65; }
.menuToggle { display: none; flex-direction: column; gap: 6px; }
.menuToggle span { width: 18px; height: 1.5px; border-radius: 2px; background: #f6e9d0; transition: transform .2s; }
.menuToggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menuToggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobileMenu[hidden] { display: none; }
.mobileMenu { position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 12px; border: 1px solid #c6dcff38; border-radius: 24px; background: linear-gradient(145deg, #142648f7, #07142cf7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 20px 60px #0006; }
.mobileMenu>a { display: flex; align-items: center; padding: 14px; font-size: 14px; border-radius: 14px; }
.mobileMenu>a:hover { background: #c6dcff0a; }
.menuWorld { gap: 12px; border: 1px solid #ffffff0b; margin: 4px 0; }
.menuWorld i { width: 10px; height: 10px; }
.menuWorld span { flex: 1; }
.menuWorld small { display: block; color: #adc0d8; font-size: 12px; line-height: 1.4; margin-top: 5px; }
.menuWorld b { color: rgb(var(--world-rgb)); }

/* Desktop scene: keep the original artwork, proportions and all its lettering. */
.planetSection { position: relative; padding-top: 92px; }
.hero {
  position: relative;
  width: min(100%, 1920px, calc((100svh - 196px) * 1.776833));
  min-width: min(100%, 1040px);
  aspect-ratio: 1672 / 941;
  margin: 0 auto;
  overflow: visible;
}
.desktopArt {
  display: block; width: 100%; height: auto;
  /* Fade only the outer edges; the central title and planets remain intact. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 3.5%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 3.5%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.sceneAtmosphere { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.sceneMist { position: absolute; display: block; pointer-events: none; border-radius: 50%; mix-blend-mode: screen; filter: blur(24px); }
.sceneMistBlue { width: 25%; height: 53%; left: -7%; top: 21%; background: radial-gradient(ellipse at 50% 25%, #3855b04d, transparent 49%), radial-gradient(ellipse at 42% 75%, #773f7c2b, transparent 66%); animation: mistBreathe 21s ease-in-out infinite alternate; }
.sceneMistCoral { width: 27%; height: 37%; right: -7%; top: 37%; background: radial-gradient(ellipse at 52% 60%, #c13e552b, transparent 65%), radial-gradient(ellipse at 60% 30%, #476fbd25, transparent 57%); animation: mistBreathe 26s ease-in-out -12s infinite alternate; }
.galaxyBloom { position: absolute; right: 3%; top: 7%; width: 19%; height: 22%; border-radius: 50%; background: radial-gradient(ellipse, #ffe4b230, #9378e31c 26%, transparent 68%); filter: blur(13px); transform: rotate(-28deg); mix-blend-mode: screen; animation: galaxyPulse 11s ease-in-out infinite; }
.horizonBloom { position: absolute; right: 16%; bottom: 12%; width: 23%; height: 19%; background: radial-gradient(ellipse, #ffd77740, transparent 68%); filter: blur(14px); mix-blend-mode: screen; animation: galaxyPulse 15s ease-in-out -6s infinite; }

/* V3: light, never an outlined circular border. The image stays intact. */
.planetHotspot { position: absolute; z-index: 6; display: block; border-radius: 50%; isolation: isolate; border: 0; background: none; }
.planetHotspot[data-planet="0"] { left: 13.51675%; top: 22.52922%; width: 19.97608%; height: 35.49416%; }
.planetHotspot[data-planet="1"] { left: 40.37081%; top: 33.68757%; width: 21.88995%; height: 38.89479%; }
.planetHotspot[data-planet="2"] { left: 67.88278%; top: 22.31668%; width: 20.21531%; height: 35.91923%; }
.planetHotspot:focus-visible { outline: none; }
.planetHalo, .planetGlow { position: absolute; inset: -28%; border-radius: 50%; pointer-events: none; border: 0; box-shadow: none; mix-blend-mode: screen; }
.planetHalo {
  background: radial-gradient(ellipse at center, transparent 30%, rgba(var(--world-rgb),.045) 41%, rgba(var(--world-rgb),.27) 49%, rgba(var(--world-rgb),.13) 59%, rgba(var(--world-rgb),.035) 69%, transparent 78%);
  filter: blur(14px); opacity: .45; animation: planetBreath 9s ease-in-out infinite;
}
.school .planetHalo { animation-delay: -3.2s; }
.high .planetHalo { animation-delay: -6.1s; }
.planetGlow {
  background: radial-gradient(ellipse, transparent 28%, rgba(var(--world-rgb),.07) 40%, rgba(var(--world-rgb),.36) 51%, rgba(var(--world-rgb),.13) 64%, transparent 79%);
  filter: blur(18px); opacity: 0; transform: scale(.98); transition: opacity .65s ease, transform 1s ease;
}
.planetHotspot:is(:hover, :focus-visible, .is-highlight) .planetGlow { opacity: .94; transform: scale(1.035); }
.planetSpark { position: absolute; right: 10%; bottom: 8%; width: 20px; height: 20px; display: grid; place-items: center; color: #fff3d5; font-size: 18px; line-height: 1; pointer-events: none; text-shadow: 0 0 7px rgb(var(--world-rgb)), 0 0 18px rgba(var(--world-rgb),.8); opacity: .7; transition: opacity .4s, transform .4s; }
.planetHotspot:is(:hover,:focus-visible,.is-highlight) .planetSpark { opacity: 1; transform: scale(1.3); }
/* One small hint appears in the quiet foreground, never over planet names. */
.sceneHint { position: absolute; z-index: 8; bottom: 3.6%; left: 50%; max-width: calc(100% - 36px); display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; border-radius: 99px; white-space: nowrap; background: rgba(6,17,38,.76); border: 1px solid rgba(var(--world-rgb),.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fdf1dd; font-size: 12px; box-shadow: 0 6px 24px #0003; pointer-events: none; opacity: 0; visibility: hidden; transform: translate(-50%,6px); transition: opacity .25s, transform .25s, visibility .25s; }
.sceneHint.is-visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.sceneHint i { width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--world-rgb)); box-shadow: 0 0 10px rgba(var(--world-rgb),.6); }
.sceneHint strong { font-weight: 650; }
.sceneHint>span { color: #c2d3e7; font-size: 11px; }
.sceneHint>b { color: rgb(var(--world-rgb)); font-size: 16px; font-weight: 500; margin-left: 3px; }
.sceneHint.keyboard-focus { outline: 2px solid rgba(var(--world-rgb),.8); outline-offset: 3px; }
/* Local re-sampling of the existing artwork, without new illustrated scenes. */
.scenePatch, .sceneLights { position: absolute; display: block; pointer-events: none; z-index: 1; }
.scenePatch { opacity: 0; }
.scenePatch.is-ready { opacity: 1; }
.scarfMotion { left: 2.03349%; top: 59.29862%; width: 14.11483%; height: 16.152%; }
.galaxyMotion { left: 78.94737%; top: 1.59405%; width: 20.93301%; height: 26.56748%; }
.sceneLights { inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero { transform: translate3d(var(--scene-x,0px),var(--scene-y,0px),0); }
.sceneIntro { position: relative; z-index: 5; text-align: center; max-width: 1000px; padding: 4px 24px 0; margin: -8px auto 0; }
.sceneIntro p { margin: 0 0 9px; font-size: clamp(15px, 1.12vw, 19px); line-height: 1.6; font-weight: 450; color: #e1e7f3; }
.sceneIntro strong { color: #ffe0a0; font-weight: 650; }
.sceneIntro>span { display: inline-block; color: #a9bfd9; font-size: 12px; }
.sceneIntro>a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--gold); margin-left: 7px; border: 1px solid #e6c47a30; border-radius: 50%; background: #e8c98006; transition: background .2s; }
.sceneIntro>a:hover { background: #e8c98012; }
.mobileStage { display: none; }

/* Existing event detail cards retained from V1. */
.intro { position: relative; z-index: 4; padding: 88px 24px 75px; scroll-margin-top: 90px; }
.intro::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 12% 50%,#842f3f17,transparent 40%), radial-gradient(ellipse at 87% 50%,#2761a224,transparent 46%); }
.introHeading { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.eyebrow { font-size: 10px; letter-spacing: .19em; font-weight: 800; line-height: 1.7; color: var(--gold); margin: 0 0 18px; }
.introHeading h2 { font-size: clamp(30px,3.7vw,49px); letter-spacing: -.035em; margin: 0 0 18px; line-height: 1.18; }
.introHeading h2 em { font-family: Georgia,"Times New Roman",serif; color: var(--gold); font-weight: 400; }
.introCopy { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0 auto; max-width: 590px; }
.worlds { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 1140px; margin: auto; gap: 24px; }
.worldCard { position: relative; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(155deg,#1c2f50a8,#08162fde); border: 1px solid rgba(var(--world-rgb),.26); border-radius: 25px; padding: 10px; box-shadow: 0 14px 45px #0000002e; transition: transform .35s, border-color .35s, box-shadow .35s; --mx: 50%; --my: 40%; }
.worldCard::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle 220px at var(--mx) var(--my),rgba(var(--world-rgb),.13),transparent 70%); opacity: 0; transition: opacity .3s; }
.worldCard:hover { transform: translateY(-5px); border-color: rgba(var(--world-rgb),.64); box-shadow: 0 16px 46px #0004, 0 0 32px rgba(var(--world-rgb),.08); }
.worldCard:hover::before { opacity: 1; }
.posterLink { position: relative; display: block; border-radius: 17px; overflow: hidden; }
.posterLink img { display: block; width: 100%; height: auto; aspect-ratio: 1122 / 1402; object-fit: contain; transition: transform .6s; }
.posterLink:hover img { transform: scale(1.02); }
.posterCaption { position: absolute; display: flex; justify-content: space-between; align-items: center; left: 10px; right: 10px; bottom: 10px; padding: 11px 14px; border-radius: 13px; color: #fff2dc; border: 1px solid rgba(var(--world-rgb),.36); background: #051125cc; backdrop-filter: blur(16px); font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.posterCaption span { font-size: 16px; color: rgb(var(--world-rgb)); }
.worldContent { display: flex; flex-direction: column; flex: 1; position: relative; padding: 22px 16px 12px; }
.worldIndex { font-size: 9px; letter-spacing: .16em; font-weight: 800; color: rgb(var(--world-rgb)); margin: 0 0 11px; }
.worldContent h3 { font-size: 24px; letter-spacing: -.025em; margin: 0 0 5px; color: #fff2dc; }
.org { font-family: Georgia,serif; font-size: 18px; line-height: 1.4; color: #d5def0; margin: 0 0 12px; }
.worldCopy { color: #b2c3d9; font-size: 13px; line-height: 1.75; margin: 0 0 20px; }
.worldMeta { font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px; color: #e2e8f3; margin-top: auto; margin-bottom: 18px; padding-top: 15px; border-top: 1px solid rgba(var(--world-rgb),.16); }
.worldLink { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; color: #f7ecdb; background: rgba(var(--world-rgb),.09); border: 1px solid rgba(var(--world-rgb),.38); font-size: 13px; font-weight: 750; transition: background .2s; }
.worldLink span { color: rgb(var(--world-rgb)); font-size: 18px; }
.worldLink:hover { background: rgba(var(--world-rgb),.16); }
.journeyNote { position: relative; z-index: 4; text-align: center; padding: 0 20px 60px; }
.journeyCopy>span { font-size: 25px; color: var(--gold); }
.journeyNote p { font-size: 20px; font-weight: 700; margin: 12px 0; }
.journeyNote em { font-family: Georgia,serif; font-size: 24px; font-weight: 400; color: #ffe4b2; }
.journeyNote small { color: #a5bad4; font-size: 12px; }
footer { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 18px; max-width: 1140px; margin: 0 auto; padding: 24px 0 32px; border-top: 1px solid #c9dfff1a; font-size: 11px; letter-spacing: .09em; color: #aebed6; }
.footerBrand { color: var(--gold); font-weight: 750; }
.footerBrand span { font-weight: 400; opacity: .8; }

@keyframes planetBreath { 0%,100% { opacity: .28; transform: scale(.992); } 50% { opacity: .57; transform: scale(1.014); } }
@keyframes galaxyPulse { 0%,100% { opacity: .3; } 50% { opacity: .85; } }
@keyframes mistBreathe { from { opacity: .3; transform: translate3d(0,0,0) scale(.98); } to { opacity: .7; transform: translate3d(2%,1%,0) scale(1.04); } }
@keyframes nebulaDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(3%,2%,0) scale(1.06); } }

@media (min-width: 2000px) {
  .top { width: min(1380px, calc(100% - 60px)); min-height: 72px; }
  .brand { font-size: 16px; }
  .navWorld { font-size: 16px; padding: 12px 20px; }
  .planetSection { padding-top: 102px; }
}
@media (max-width: 1100px) {
  .top { gap: 15px; padding-left: 20px; width: calc(100% - 36px); }
  .brand { font-size: 12px; }
  .desktopNav { gap: 4px; }
  .navWorld { font-size: 12px; padding: 10px; gap: 7px; }
  .intro { padding-top: 65px; }
  .worlds { gap: 15px; }
  .worldContent { padding: 18px 11px 10px; }
  .worldContent h3 { font-size: 21px; }
  .org { font-size: 16px; }
  .worldMeta { font-size: 11px; }
  .introHeading h2 { font-size: 39px; }
  footer { margin: 0 24px; }
}
@media (max-width: 900px) {
  .top { top: 10px; min-height: 60px; padding: 7px 9px 7px 17px; width: calc(100% - 24px); }
  .desktopNav { display: none; }
  .headerActions { margin-left: auto; }
  .menuToggle { display: flex; }
  .planetSection { padding-top: 84px; }
  .brand { font-size: 12px; }
  .worlds { gap: 13px; }
  .worldContent h3 { font-size: 19px; }
  .worldCopy { font-size: 12px; }
  .worldContent .org { font-size: 15px; }
  .sceneIntro p { font-size: 15px; }
}
@media (max-width: 900px) {
  .scenePatch { display: none; }
  .planetSpark { font-size: 15px; }
  .sceneHint { padding: 8px 12px; font-size: 11px; gap: 7px; }
  .sceneHint>span { font-size: 10px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 90px; }
  .hero, .sceneIntro { display: none; }
  .planetSection { padding-top: 0; }
  .top { min-height: 58px; }
  .brand { font-size: 11px; letter-spacing: .06em; gap: 7px; }
  .brandStar { font-size: 17px; }
  .headerActions { gap: 6px; }
  .motionToggle, .menuToggle { width: 40px; height: 40px; }
  .mobileStage { position: relative; z-index: 4; display: block; padding: 100px 18px 24px; max-width: 520px; margin: 0 auto; text-align: center; }
  .mobileStage>.eyebrow { font-size: 9px; letter-spacing: .13em; margin-bottom: 9px; }
  .mobileStage>h2 { font-size: 36px; letter-spacing: -.035em; margin: 0 0 22px; line-height: 1.1; }
  .mobileStage>h2 em { font-family: Georgia,serif; font-weight: 400; color: var(--gold); }
  .worldTabs { display: grid; grid-template-columns: 1.24fr 1fr 1fr; gap: 6px; margin-bottom: 17px; }
  .worldTabs button { padding: 11px 5px; min-height: 44px; border: 1px solid #c7d8ff24; border-radius: 99px; background: #1426458c; font-size: 11px; font-weight: 650; color: #bdccdf; transition: color .2s, background .2s, border-color .2s; }
  .worldTabs button.is-selected { color: rgb(var(--world-rgb)); background: rgba(var(--world-rgb),.11); border-color: rgba(var(--world-rgb),.5); }
  .mobileFrame { position: relative; margin: 0 auto; width: min(100%,370px); border: 1px solid rgba(var(--world-rgb),.4); border-radius: 23px; box-shadow: 0 14px 45px #0004, 0 0 35px rgba(var(--world-rgb),.08); overflow: visible; touch-action: pan-y; }
  .mobileFrame>a { display: block; border-radius: 22px; overflow: hidden; }
  .mobileFrame img { display: block; width: 100%; height: auto; border-radius: 22px; }
  .posterArrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 48px; background: #09172fd9; backdrop-filter: blur(16px); border: 1px solid rgba(var(--world-rgb),.45); border-radius: 16px; color: #fff0d7; font-size: 28px; line-height: 1; }
  .posterArrow.prev { left: -10px; }
  .posterArrow.next { right: -10px; }
  .mobileInfo { margin: 21px 0 15px; }
  .mobileInfo strong { font-size: 15px; line-height: 1.5; display: block; min-height: 22px; }
  .mobileInfo p { font-size: 12px; color: #bbcce2; display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 6px 0 0; }
  .metaDot { color: rgb(var(--world-rgb)); }
  .mobileExplore { display: flex; align-items: center; justify-content: space-between; width: min(100%,370px); margin: auto; padding: 16px 20px; border-radius: 99px; font-size: 13px; font-weight: 800; background: linear-gradient(110deg,#ffe19a,#f9bc59); color: #0d1b31; box-shadow: 0 6px 24px #ffc35c18; }
  .mobileExplore span { font-size: 18px; }
  .mobileDots { display: flex; justify-content: center; gap: 7px; margin-top: 19px; }
  .mobileDots i { display: block; width: 6px; height: 6px; border-radius: 99px; background: #7c8da868; transition: width .3s, background .3s; }
  .mobileDots i.active { width: 25px; background: rgb(var(--world-rgb)); }
  .swipeHint { font-size: 11px; color: #a0b4d0; margin: 10px 0 0; }
  .swipeHint span { color: var(--gold); margin-left: 6px; }
  .intro { padding: 40px 18px; }
  .introHeading { margin-bottom: 25px; }
  .introHeading h2 { font-size: 32px; }
  .introHeading .eyebrow { font-size: 9px; letter-spacing: .09em; margin-bottom: 12px; }
  .introCopy { font-size: 13px; }
  .worlds { grid-template-columns: 1fr; max-width: 480px; gap: 16px; }
  .worldCard { display: grid; grid-template-columns: 102px 1fr; gap: 0; padding: 9px; border-radius: 20px; align-items: stretch; }
  .worldCard .posterLink { height: 100%; min-height: 194px; border-radius: 13px; background: #0a1932; }
  .worldCard .posterLink img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .posterCaption { display: none; }
  .worldContent { padding: 9px 8px 7px 15px; }
  .worldIndex { font-size: 8px; margin-bottom: 7px; }
  .worldContent h3 { font-size: 20px; }
  .worldContent .org { font-size: 14px; margin-bottom: 8px; }
  .worldCopy { display: none; }
  .worldMeta { flex-direction: column; align-items: flex-start; font-size: 11px; padding-top: 10px; margin-bottom: 11px; gap: 5px; }
  .worldLink { padding: 11px; font-size: 11px; border-radius: 12px; }
  .journeyNote { padding: 8px 22px 40px; }
  .journeyNote p { font-size: 17px; line-height: 1.6; }
  .journeyNote em { font-size: 21px; display: block; }
  .journeyNote small { font-size: 11px; }
  footer { margin: 0 18px; padding: 22px 0 calc(25px + env(safe-area-inset-bottom)); font-size: 9px; letter-spacing: .06em; }
  .nebulaCoral { width: 120vw; left: -40%; height: 55vh; }
  .nebulaBlue { width: 150vw; left: 0; }
}
@media (max-width: 360px) {
  .brand { font-size: 10px; gap: 5px; }
  .brandStar { font-size: 15px; }
  .top { padding-left: 12px; }
  .mobileStage { padding-left: 14px; padding-right: 14px; }
  .mobileInfo p { font-size: 11px; }
  .worldCard { grid-template-columns: 87px 1fr; }
  .worldContent { padding-left: 12px; }
  .worldContent h3 { font-size: 18px; }
  footer { flex-direction: column; gap: 12px; }
  .worldTabs button { font-size: 10px; }
}
@media (hover: none) { .worldCard:hover { transform: none; } }
body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .worldCard:hover { transform: none; }
  .planetHalo { opacity: .35; }
  .scenePatch { display: none; }
  .hero { transform: none; }
}


/* V4: a separate, opt-in music control. No source exists before a click. */
.musicToggle { position:relative; display:flex; align-items:center; justify-content:center; flex-shrink:0; width:44px; height:44px; padding:0; border:1px solid #c9dcff2b; border-radius:50%; background:#adc8ff0a; color:#b6c7df; transition:color .25s,border-color .25s,background .25s,box-shadow .25s; }
.musicToggle:hover { color:#ffe4a4; background:#ffd27a0d; border-color:#ffd27a66; }
.musicToggle .musicWaves { display:none; }
.musicToggle[aria-pressed="true"] { color:#ffd27a; border-color:#ffd27a88; background:#ffcc7419; box-shadow:0 0 15px #ffc25e16,inset 0 1px 0 #ffe7bd16; }
.musicToggle[aria-pressed="true"] .musicWaves { display:block; }
.musicToggle[aria-pressed="true"] .musicMuted { display:none; }
.musicToggle[data-state="loading"]::after { content:""; position:absolute; inset:3px; border:1px solid transparent; border-top-color:#ffd27a; border-radius:50%; animation:musicLoading 1.2s linear infinite; }
.musicToggle[data-state="error"] { border-color:#efb0a1; }
.musicStatus { position:fixed; z-index:45; top:92px; right:max(24px,calc((100vw - 1260px)/2)); width:max-content; max-width:min(360px,calc(100vw - 32px)); margin:0; padding:11px 16px; border-radius:16px; border:1px solid #f0d39a30; background:#0a1832ed; color:#f2e7d3; font-size:12px; line-height:1.6; pointer-events:none; opacity:0; transform:translateY(-6px); transition:opacity .2s,transform .2s; }
.musicStatus.is-visible { opacity:1; transform:translateY(0); }
@keyframes musicLoading { to { transform:rotate(360deg); } }

/* V4: keep the same cards and copy; enrich only the space behind them. */
.cosmicDestination { position:relative; isolation:isolate; z-index:4; }
.destinationBackdrop { position:absolute; inset:-45px 0 0; z-index:-1; overflow:hidden; pointer-events:none; -webkit-mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 84%,transparent 100%); mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 84%,transparent 100%); }
.destinationBackdrop::before { content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 8% 33%,#7734582b,transparent 35%),radial-gradient(ellipse at 90% 28%,#1c4f9e35,transparent 40%),radial-gradient(ellipse at 49% 82%,#28448a25,transparent 48%); }
.destinationMist { position:absolute; display:block; border-radius:50%; filter:blur(40px); mix-blend-mode:screen; animation:destinationDrift 30s ease-in-out infinite alternate; }
.destinationMistBlue { left:-17%; top:18%; width:66%; height:63%; background:radial-gradient(ellipse at 50% 50%,#2459b541,#453a881c 42%,transparent 68%); }
.destinationMistCoral { right:-16%; top:35%; width:54%; height:60%; background:radial-gradient(ellipse at 50% 50%,#bd416f35,#66347d19 45%,transparent 70%); animation-delay:-14s; }
.destinationMistGold { left:24%; bottom:0; width:62%; height:35%; background:radial-gradient(ellipse at 50% 75%,#dba24726,transparent 63%); animation-delay:-9s; }
#destinationSpace { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.earthHorizon { position:absolute; left:50%; bottom:-16px; width:min(2450px,150vw); transform:translate3d(calc(-50% + var(--space-x,0px)),var(--space-y,0px),0); opacity:.86;
  -webkit-mask-image:radial-gradient(ellipse 58% 76% at 50% 43%,#000 42%,#000b 65%,transparent 94%);
  mask-image:radial-gradient(ellipse 58% 76% at 50% 43%,#000 42%,#000b 65%,transparent 94%);
}
.earthHorizon>img { display:block; width:100%; height:auto; }
.earthAurora { position:absolute; inset:0; background:radial-gradient(ellipse at 54% 30%,#ffe2a128,transparent 25%),radial-gradient(ellipse at 46% 68%,#69378740,transparent 60%); mix-blend-mode:screen; animation:earthLight 13s ease-in-out infinite alternate; }
.cosmicDestination .intro { padding-top:95px; padding-bottom:70px; }
.cosmicDestination .intro::before { background:none; }
.cosmicDestination .introHeading { position:relative; z-index:2; }
.cosmicDestination .worldCard { background:linear-gradient(155deg,#152947ed,#07162bf5); box-shadow:0 18px 45px #0005,0 0 26px rgba(var(--world-rgb),.035); }
.cosmicDestination .worldCard:hover { box-shadow:0 22px 50px #0007,0 0 36px rgba(var(--world-rgb),.12); }
/* V5: readable invitation, then original institutional logos in card order. */
.cosmicDestination .journeyNote { padding:10px 24px 66px; text-shadow:0 2px 14px #020b22,0 0 25px #020b22; }
.journeyCopy { position:relative; isolation:isolate; max-width:960px; margin:0 auto; }
.journeyCopy::before { content:""; position:absolute; z-index:-1; pointer-events:none; top:-34px; bottom:-62px; left:50%; width:min(1180px,calc(100vw - 28px)); transform:translateX(-50%);
  background:radial-gradient(ellipse at 50% 55%,rgba(3,12,33,.78) 0%,rgba(3,12,33,.62) 35%,rgba(3,12,33,.22) 63%,transparent 78%);
  filter:blur(9px);
}
.journeyCopy p { font-size:clamp(21px,1.6vw,27px); line-height:1.5; color:#ffe3a2; margin:12px 0 8px; }
.journeyCopy em { font-size:clamp(24px,1.8vw,30px); color:#ffe7b5; }
.cosmicDestination .journeyCopy small { display:block; font-size:14px; line-height:1.7; color:#dce7f7; }
.institutionLogos { position:relative; isolation:isolate; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:center;
  gap:24px; max-width:1140px; margin:26px auto 0;
}
.institutionLogos::before { content:""; position:absolute; z-index:-1; pointer-events:none; inset:-10px 0 -28px;
  background:radial-gradient(ellipse at 50% 50%,rgba(4,14,34,.74) 0%,rgba(4,14,34,.48) 46%,transparent 78%); filter:blur(14px);
}
.institutionLogo { position:relative; min-width:0; min-height:164px; display:flex; align-items:center; justify-content:center; padding:8px 20px; border-radius:16px; }
.institutionLogo + .institutionLogo::before { content:""; position:absolute; top:50%; left:-12px; width:1px; height:70px; transform:translateY(-50%);
  background:linear-gradient(transparent,rgba(233,201,144,.42),transparent);
}
.institutionLogo img { display:block; width:min(100%,300px); height:auto; object-fit:contain; filter:drop-shadow(0 2px 8px rgba(1,6,20,.55)); transition:filter .3s ease; }
.institutionLogo.high img { width:180px; max-width:76%; }
.institutionLogo:hover img,.institutionLogo:focus-visible img { filter:drop-shadow(0 0 12px rgba(255,205,116,.24)); }
.institutionLogo:focus-visible { outline-color:#ffd27a; outline-offset:2px; }
@media(max-width:1100px) { .institutionLogos { gap:15px; } .institutionLogo { padding:8px 10px; } .institutionLogo + .institutionLogo::before { left:-8px; } }
@media(max-width:700px) {
 .institutionLogos { grid-template-columns:1fr; max-width:340px; gap:0; margin-top:24px; }
 .institutionLogo { min-height:0; padding:20px 12px; }
 .institutionLogo img { width:min(100%,270px); }
 .institutionLogo.high img { width:166px; max-width:70%; }
 .institutionLogo + .institutionLogo::before { top:0; left:50%; width:120px; height:1px; transform:translateX(-50%); background:linear-gradient(90deg,transparent,rgba(233,201,144,.32),transparent); }
 .journeyCopy::before { top:-24px; bottom:-34px; }
 .journeyCopy p { font-size:20px; }
 .journeyCopy em { display:block; font-size:24px; }
 .cosmicDestination .journeyCopy small { max-width:320px; margin:0 auto; font-size:12px; }
}
.cosmicDestination .journeyNote small { color:#d0dded; }
@keyframes earthLight { from { opacity:.5; } to { opacity:1; } }
@keyframes destinationDrift { from { opacity:.6; transform:translate3d(-1%,0,0) scale(.98); } to { opacity:1; transform:translate3d(2%,2%,0) scale(1.035); } }
@media(min-width:2000px) { .musicStatus { right:max(30px,calc((100vw - 1380px)/2)); top:102px; } }
@media(max-width:1100px) { .top { gap:14px; } .navWorld { padding:10px 8px; } }
@media(max-width:900px) { .musicStatus { top:82px; right:15px; } .cosmicDestination .intro { padding-top:60px; } .earthHorizon { width:150vw; } }
@media(max-width:700px) {
 .musicToggle { width:40px; height:40px; }
 .cosmicDestination .intro { padding:42px 18px 30px; }
 .cosmicDestination .journeyNote { padding:24px 22px 45px; }
 .earthHorizon { width:250vw; left:50%; top:var(--earth-top,65%); bottom:auto; opacity:.68; }
 .destinationMist { filter:blur(24px); }
 .destinationMistBlue { width:110%; left:-40%; }
 .destinationMistCoral { width:110%; right:-45%; }
}
@media(max-width:420px) {
 .brand>span:not(.brandStar) { display:flex; flex-direction:column; gap:2px; font-size:10px; letter-spacing:.085em; line-height:1.1; }
 .brand { gap:7px; }
 .top { gap:9px; padding-left:13px; }
 .headerActions { gap:5px; }
 .musicToggle,.motionToggle,.menuToggle { width:40px; height:40px; }
}
@media(prefers-reduced-motion:reduce) { .earthHorizon { transform:translateX(-50%); } .musicToggle,.musicStatus { transition:none; } }
