/* The ecosystem shares the development page's monochrome design system. */
.ecosystem-hero { min-height: 530px; padding-top: 50px; padding-bottom: 90px; }
.mission-panel { display: grid; grid-template-columns: 1fr; align-items: center; gap: 50px; padding: 48px; border: 1px solid var(--border); border-radius: 24px; background: var(--card); }
.mission-mark { font-size: 140px; line-height: 1; text-align: center; color: var(--primary); }
.mission-panel p { font-size: 14px; line-height: 1.85; }
.mission-panel .mission-lead { font-size: 28px; line-height: 1.45; letter-spacing: -.8px; color: var(--primary); margin-bottom: 22px; }
.mission-outcomes { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 11px; color: var(--primary); }
.team-symbol > span { font-size: 86px; letter-spacing: -8px; }
.development-bridge.development-pitch { background: var(--primary); }
.development-pitch h2, .development-pitch > div > .eyebrow, .development-pitch > div > p, .development-pitch .pitch-benefits, .development-pitch .pitch-actions .text-action { color: var(--bg-color); }
.development-pitch > div > p { margin-bottom: 14px; opacity: .8; }
.development-pitch .pitch-actions .primary-action { background: var(--bg-color); color: var(--primary); }
.pitch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 30px; }
.development-pitch .pitch-actions .text-action { margin-top: 0; }
.pitch-benefits { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 10px; margin-top: 22px; opacity: .8; }
.pitch-benefits span::before { content: '✓'; margin-right: 6px; }
.development-pitch .bridge-window { color: var(--primary); }
.hero-coordinate { position: absolute; bottom: 29px; right: 32px; color: var(--secondary); font-size: 9px; letter-spacing: 1px; }
.about-story { display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid var(--border); border-radius: 24px; background: var(--card); overflow: hidden; }
.story-symbol { min-height: 380px; display: grid; place-items: center; position: relative; overflow: hidden; border-right: 1px solid var(--border); background: radial-gradient(var(--dot) .8px, transparent 1px) center/14px 14px; }
.story-symbol > span { font-size: 180px; font-weight: 500; line-height: 1; letter-spacing: -15px; z-index: 1; }
.symbol-orbit { position: absolute; width: 270px; height: 270px; border: 1px solid var(--border); border-radius: 50%; }
.symbol-orbit::after { content: ''; position: absolute; top: 31px; left: 31px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 20px var(--border); }
.story-symbol small { position: absolute; bottom: 30px; font-size: 10px; color: var(--secondary); letter-spacing: 1px; }
.story-copy { padding: 44px; }
.story-copy p { font-size: 14px; line-height: 1.85; margin-bottom: 18px; }
.story-copy .story-lead { color: var(--primary); font-size: 23px; line-height: 1.5; letter-spacing: -.6px; }
.story-signature { display: block; padding-top: 16px; border-top: 1px solid var(--border); color: var(--secondary); font-size: 11px; }
.ecosystem-explorer { display: grid; grid-template-columns: 1.3fr 1fr; border: 1px solid var(--border); background: var(--card); border-radius: 24px; overflow: hidden; }
.ecosystem-map { min-height: 430px; position: relative; isolation: isolate; overflow: hidden; }
.map-grid { position: absolute; inset: 0; background: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 40px 40px; opacity: .23; mask-image: radial-gradient(ellipse, #000, transparent 75%); }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--border); stroke-width: 1.5; stroke-dasharray: 5 7; }
.map-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 135px; height: 135px; background: var(--primary); color: var(--bg-color); border-radius: 50%; font-size: 40px; letter-spacing: -3px; box-shadow: 0 0 0 14px var(--card), 0 0 0 15px var(--border); }
.map-core .map-logo { position: relative; display: block; width: 88px; height: 38px; overflow: hidden; mix-blend-mode: screen; }
.map-logo img { position: absolute; width: 156.65%; max-width: none; height: auto; left: -27.3%; top: -121.8%; }
[data-theme="dark"] .map-logo { mix-blend-mode: multiply; }
[data-theme="dark"] .map-logo img { filter: invert(1); }
.map-node { position: absolute; display: flex; align-items: center; gap: 12px; padding: 15px 18px; min-height: 54px; font: inherit; font-size: 13px; color: var(--secondary); border: 1px solid var(--border); border-radius: 16px; background: var(--card); cursor: pointer; transition: transform .25s, color .25s, border-color .25s, box-shadow .25s; }
.map-node > span { font-size: 22px; }
.map-node small { font-size: 9px; opacity: .6; }
.map-node:hover { transform: translateY(-4px); color: var(--primary); }
.map-node[aria-pressed="true"] { color: var(--primary); border-color: var(--primary); box-shadow: 0 8px 30px #0000000c; }
.node-products { left: 6%; top: 14%; }
.node-development { right: 5%; top: 22%; }
.node-future { right: 17%; bottom: 14%; }
.map-caption { position: absolute; left: 25px; bottom: 22px; font-size: 9px; color: var(--secondary); letter-spacing: .8px; }
.direction-panel { border-left: 1px solid var(--border); padding: 45px 38px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.direction-panel h3 { font-size: 31px; line-height: 1.2; letter-spacing: -1.2px; margin: 25px 0 20px; }
.direction-panel p { font-size: 14px; line-height: 1.85; min-height: 104px; }
.direction-panel .text-action { margin-top: 20px; }
.direction-index { display: flex; gap: 0; margin-top: 18px; }
.direction-dot { display: grid; place-items: center; width: 36px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; color: var(--primary); }
.direction-dot::before { content: ''; display: block; height: 3px; width: 25px; border-radius: 3px; background: var(--border); transition: background .3s; }
.direction-dot.selected::before, .direction-dot:hover::before { background: var(--primary); }
.direction-dot:focus-visible { outline: 2px solid var(--primary); outline-offset: 0; border-radius: 6px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles article { position: relative; border: 1px solid var(--border); border-radius: 24px; padding: 30px 28px 90px; background: var(--card); overflow: hidden; }
.principles h3 { font-size: 22px; letter-spacing: -.7px; margin: 30px 0 15px; line-height: 1.3; }
.principles p { font-size: 13px; line-height: 1.85; }
.principle-mark { position: absolute; right: 25px; bottom: 12px; color: var(--secondary); font-size: 60px; line-height: 1; transition: transform .4s; }
.principles article:hover .principle-mark { transform: rotate(15deg); }
.development-bridge { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: center; padding: 48px; border: 1px solid var(--border); border-radius: 24px; background: var(--card); color: var(--primary); overflow: hidden; }
.development-bridge h2 { font-size: clamp(32px,4vw,50px); font-weight: 500; line-height: 1.12; letter-spacing: -2px; margin: 22px 0; }
.development-bridge p { font-size: 13px; line-height: 1.9; color: var(--secondary); }
.development-bridge .text-action { margin-top: 20px; }
.bridge-visual { position: relative; padding: 25px; }
.bridge-window { border: 1px solid var(--border); border-radius: 16px; background: var(--bg-color); padding: 20px; transform: rotate(-5deg); transition: transform .5s; }
.bridge-window > span { display: block; font-size: 8px; letter-spacing: 3px; border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.bridge-window strong { font-size: clamp(35px,4vw,56px); display: block; line-height: 1.1; font-weight: 500; letter-spacing: -2px; padding: 28px 0; }
.bridge-window em { font-style: normal; color: var(--secondary); }
.bridge-window small { font-size: 9px; color: var(--secondary); }
.bridge-arrow { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 70px; height: 70px; font-size: 42px; background: var(--primary); color: var(--bg-color); border-radius: 50%; transition: transform .4s; }
.development-bridge:hover .bridge-window { transform: rotate(0); }
.development-bridge:hover .bridge-arrow { transform: translate(4px,-4px); }
@media (prefers-reduced-motion: no-preference) {
  .symbol-orbit { animation: orbit-turn 24s linear infinite; }
  .map-lines { animation: connection-flow 22s linear infinite; }
  .direction-panel.is-changing > :not(.direction-index) { animation: direction-enter .35s ease both; }
}
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes connection-flow { to { stroke-dashoffset: -240; } }
@keyframes direction-enter { from { opacity: .3; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
body.motion-paused .symbol-orbit, body.motion-paused .map-lines { animation-play-state: paused; }
@media (max-width: 1000px) {
  .ecosystem-explorer { grid-template-columns: 1.2fr 1fr; }
  .map-node { padding: 12px; gap: 8px; font-size: 11px; }
  .map-node small { display: none; }
  .story-copy { padding: 30px; }
  .direction-panel { padding: 30px 25px; }
  .principles { gap: 12px; }
  .principles article { padding: 25px 20px 85px; }
  .principles h3 { font-size: 19px; }
}
@media (max-width: 700px) {
  .ecosystem-hero { min-height: 540px; }
  .mission-panel { grid-template-columns: 1fr; padding: 28px; gap: 22px; }
  .mission-mark { font-size: 70px; text-align: left; }
  .mission-panel .mission-lead { font-size: 23px; }
  .mission-panel p { font-size: 13px; }
  .ecosystem-hero h1 { font-size: clamp(32px,8vw,43px); }
  .hero-coordinate { display: none; }
  .about-story, .ecosystem-explorer, .development-bridge { grid-template-columns: 1fr; }
  .story-symbol { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--border); }
  .story-symbol > span { font-size: 130px; }
  .team-symbol > span { font-size: 72px; }
  .symbol-orbit { width: 190px; height: 190px; }
  .symbol-orbit::after { top: 22px; left: 22px; }
  .story-symbol small { bottom: 15px; }
  .story-copy { padding: 25px; }
  .story-copy .story-lead { font-size: 20px; }
  .story-copy p { font-size: 13px; }
  .ecosystem-map { min-height: 360px; }
  .map-core { width: 110px; height: 110px; font-size: 35px; }
  .node-products { left: 5%; top: 12%; }
  .node-development { right: 4%; top: 30%; }
  .node-future { right: 15%; bottom: 13%; }
  .direction-panel { border-left: 0; border-top: 1px solid var(--border); padding: 28px; }
  .direction-panel h3 { font-size: 28px; margin-top: 18px; }
  .direction-panel p { min-height: 100px; font-size: 13px; }
  .direction-index { margin-top: 20px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { padding: 25px 25px 65px; }
  .principles h3 { font-size: 23px; margin-top: 22px; }
  .development-bridge { padding: 28px; gap: 20px; }
  .development-bridge h2 { letter-spacing: -1px; }
  .bridge-visual { padding: 15px; }
  .bridge-window strong { font-size: 46px; }
}

/* A solar system with stationary, accessible planet controls. */
.ecosystem-map { min-height:480px; background:radial-gradient(ellipse at 50% 48%, color-mix(in srgb,var(--primary) 5%,transparent),transparent 65%); }
.ecosystem-map .map-grid { background:radial-gradient(circle,var(--primary) .7px,transparent 1px) 0 0/23px 23px; opacity:.15; }
.solar-core { top:48%; width:92px; height:92px; z-index:3; box-shadow:none; }
.solar-core .map-logo { width:64px; height:28px; }
.solar-core::after { content:none; }
.planet-orbit { position:absolute; left:50%; top:48%; transform:translate(-50%,-50%); aspect-ratio:1; pointer-events:none; }
.orbit-products { width:min(42%,210px); --orbit-period:22s; }
.orbit-development { width:min(62%,310px); --orbit-period:32s; }
.orbit-future { width:min(84%,420px); --orbit-period:44s; }
.orbit-track { position:absolute; inset:0; border:1px solid var(--border); border-radius:50%; transition:border-color .5s,box-shadow .5s; }
.orbit-track::after { content:''; position:absolute; left:calc(50% - 2px); top:-2px; width:4px; height:4px; border-radius:50%; background:var(--primary); box-shadow:0 0 9px var(--primary); opacity:.4; }
.is-selected .orbit-track { border-color:color-mix(in srgb,var(--primary) 48%,transparent); box-shadow:0 0 16px color-mix(in srgb,var(--primary) 6%,transparent),inset 0 0 16px color-mix(in srgb,var(--primary) 4%,transparent); }
.is-selected .orbit-track::after { width:6px; height:6px; top:-3px; opacity:1; }
.planet-orbit .solar-planet { width:48px; height:48px; min-height:48px; padding:0; display:grid; place-items:center; border:0; border-radius:50%; background:transparent; pointer-events:auto; transform:translate(-50%,-50%); z-index:4; color:var(--secondary); }
.planet-orbit .node-products { left:14.645%; top:14.645%; right:auto; bottom:auto; }
.planet-orbit .node-development { left:100%; top:50%; right:auto; bottom:auto; }
.planet-orbit .node-future { left:14.645%; top:85.355%; right:auto; bottom:auto; }
.solar-planet .planet-sphere { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; border:1px solid var(--border); background:radial-gradient(circle at 30% 25%,color-mix(in srgb,var(--primary) 28%,var(--card)),var(--card) 72%); box-shadow:inset -5px -5px 10px #0003,0 4px 12px #0002; font-size:18px; transition:transform .35s,box-shadow .35s,border-color .35s; }
.solar-planet .planet-label { position:absolute; left:50%; top:calc(100% + 1px); transform:translateX(-50%); font-size:12px; line-height:1.4; white-space:nowrap; font-weight:600; text-align:center; }
.solar-planet .planet-label small { display:block; font-size:9px; font-weight:400; opacity:.65; margin-top:3px; }
.node-products .planet-label { top:auto; bottom:calc(100% + 1px); }
.planet-orbit .solar-planet[aria-pressed=true] { box-shadow:none; color:var(--primary); }
.solar-planet[aria-pressed=true] .planet-sphere { border-color:var(--primary); box-shadow:0 0 0 5px color-mix(in srgb,var(--primary) 7%,transparent),0 0 25px color-mix(in srgb,var(--primary) 22%,transparent),inset -5px -5px 10px #0003; }
.solar-planet:focus-visible { outline:2px solid var(--primary); outline-offset:5px; }
.map-caption { font-size:9px; letter-spacing:.6px; }

/* Ambient motion and direct responses across the home page. */
.ecosystem-explorer { position:relative; }
.ecosystem-explorer::before { content:''; position:absolute; inset:0; pointer-events:none; z-index:0; opacity:0; background:radial-gradient(350px circle at var(--pointer-x,50%) var(--pointer-y,50%),color-mix(in srgb,var(--primary) 6%,transparent),transparent 75%); transition:opacity .5s; }
.ecosystem-explorer.pointer-active::before { opacity:1; }
.direction-panel { position:relative; }
.community-card,.principles article { transition:translate .35s,box-shadow .35s,border-color .35s; }
.contact-mark { transform-origin:center; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .solar-planet:hover .planet-sphere { transform:scale(1.16); border-color:var(--primary); }
  .community-card:hover,.principles article:hover { translate:0 -7px; box-shadow:0 18px 35px #0002; border-color:color-mix(in srgb,var(--primary) 50%,transparent); }
  .community-card:hover .community-icon { transform:rotate(-12deg) scale(1.12); }
}
@media(prefers-reduced-motion:no-preference) {
  .orbit-track { animation:orbit-turn var(--orbit-period) linear infinite; }
  .solar-core::after { animation:solar-breathe 4s ease-in-out infinite; }
  .solar-planet .planet-sphere { animation:planet-float 4.5s ease-in-out infinite; }
  .orbit-development .planet-sphere { animation-delay:-1.5s; }
  .orbit-future .planet-sphere { animation-delay:-3s; }
  .community-icon { display:inline-block; transition:transform .45s; }
  .contact-mark { animation:orbit-turn 45s linear infinite; }
  .story-symbol > span { animation:planet-float 5s ease-in-out infinite; }
  .hero-coordinate { animation:coordinate-glimmer 4s ease-in-out infinite; }
  .planet-orbit.is-selected .planet-label { animation:direction-enter .4s ease both; }
}
@keyframes solar-breathe { 50% { transform:scale(1.12); opacity:.35; } }
@keyframes planet-float { 50% { translate:0 -4px; } }
@keyframes coordinate-glimmer { 50% { opacity:.4; } }
body.motion-paused .orbit-track,body.motion-paused .solar-core::after,body.motion-paused .planet-sphere,body.motion-paused .contact-mark,body.motion-paused .story-symbol > span { animation-play-state:paused; }
@media(max-width:700px) {
  .ecosystem-map { min-height:390px; }
  .solar-core { width:76px; height:76px; }
  .solar-core .map-logo { width:54px; height:24px; }
  .solar-planet .planet-label { font-size:11px; }
  .solar-planet .planet-label small { font-size:8px; }
  .map-caption { left:18px; bottom:16px; font-size:8px; }
}
@media(prefers-reduced-motion:reduce) {
  .planet-orbit *,.solar-core::after { animation:none!important; transition:none!important; }
  .ecosystem-explorer::before { display:none; }
}

/* Each destination has a distinct planet; controls remain still for easy selection. */
.ecosystem-map { min-height: 560px; }
.orbit-ai, .orbit-news { width: min(46%, 250px); --orbit-period: 24s; }
.orbit-development { width: min(72%, 380px); --orbit-period: 36s; }
.orbit-chat, .orbit-future { width: min(86%, 460px); --orbit-period: 48s; }
.orbit-news .orbit-track, .orbit-future .orbit-track { border-color: transparent; }
.orbit-news.is-selected .orbit-track, .orbit-future.is-selected .orbit-track { border-color: color-mix(in srgb, var(--primary) 48%, transparent); }
.planet-orbit .node-ai { left: 50%; top: 0; right: auto; bottom: auto; }
.planet-orbit .node-development { left: 100%; top: 50%; right: auto; bottom: auto; }
.planet-orbit .node-news { left: 50%; top: 100%; right: auto; bottom: auto; }
.planet-orbit .node-chat { left: 0; top: 50%; right: auto; bottom: auto; }
.planet-orbit .node-future { left: 85.355%; top: 85.355%; right: auto; bottom: auto; }
.solar-planet .planet-sphere { width: 38px; height: 38px; }
.planet-sphere svg { width: 21px; height: 21px; }
.node-ai .planet-label { top: auto; bottom: calc(100% + 3px); }
.node-development .planet-label { font-size: 11px; }
.solar-planet .planet-label small { white-space: normal; width: 120px; max-width: 120px; }
.direction-panel { min-width: 0; }
@media(max-width: 1000px) and (min-width: 701px) {
  .ecosystem-explorer { grid-template-columns: 1fr; }
  .ecosystem-map { min-height: 590px; }
  .direction-panel { border-left: 0; border-top: 1px solid var(--border); }
}
@media(max-width: 700px) {
  .ecosystem-map { min-height: 480px; }
  .planet-orbit .solar-planet { width: 44px; height: 44px; min-height: 44px; }
  .solar-planet .planet-label { font-size: 10px; }
  .solar-planet .planet-label small { font-size: 8px; width: 85px; max-width: 85px; }
  .node-development .planet-label,
  .node-chat .planet-label { left: 50%; right: auto; transform: translateX(-50%); }
  .orbit-chat { width: 68%; }
}

/* Products welcome visitors as an open composition, without a card backdrop. */
#ecosystem { padding-top: 20px; padding-bottom: 12px; }
#ecosystem .section-intro { margin-bottom: 8px; }
#ecosystem + #development { padding-top: 12px; }
#ecosystem .direction-index { margin-top: 10px; }
#ecosystem .section-intro .welcome-title { font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -2px; }
#ecosystem .ecosystem-explorer { background: transparent; border: 0; border-radius: 0; overflow: visible; }
#ecosystem .ecosystem-explorer::before { content: none; }
#ecosystem .ecosystem-map { background: none; }
#ecosystem .map-grid { display: none; }
#ecosystem .direction-panel { border: 0; padding: 32px 12px 32px 48px; }
#ecosystem .direction-panel h3 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -1.4px; }
#ecosystem .direction-panel p { max-width: 360px; line-height: 1.85; }
#ecosystem .direction-panel .text-action { border-radius: 999px; background: var(--primary); color: var(--bg-color); padding: 14px 22px; min-height: 52px; font-weight: 600; gap: 24px; }
#ecosystem .direction-panel .text-action:hover { opacity: .85; }
#ecosystem .solar-core { width: 108px; height: 108px; }
#ecosystem .solar-core .map-logo { width: 72px; height: 32px; }
#ecosystem .solar-planet { color: var(--primary); }
#ecosystem .planet-sphere { width: 42px; height: 42px; }
#ecosystem .planet-label small { opacity: .75; }
#ecosystem .map-caption { left: 50%; transform: translateX(-50%); white-space: nowrap; opacity: .7; }
@media (max-width: 1000px) {
  #ecosystem .direction-panel { padding: 20px 28px 12px; }
  #ecosystem .direction-panel p { max-width: 540px; }
}
@media (max-width: 700px) {
  #ecosystem { padding-top: 14px; padding-bottom: 12px; }
  #ecosystem .section-intro .welcome-title { font-size: 34px; letter-spacing: -1.3px; }
  #ecosystem .section-intro > p { font-size: 12px; }
  #ecosystem .ecosystem-map { min-height: 420px; }
  #ecosystem .solar-core { width: 84px; height: 84px; }
  #ecosystem .solar-core .map-logo { width: 58px; height: 25px; }
  #ecosystem .planet-sphere { width: 36px; height: 36px; }
  #ecosystem .direction-panel { padding: 12px 4px 4px; }
  #ecosystem .direction-panel h3 { font-size: 30px; }
  #ecosystem .direction-panel p { min-height: 0; }
  #ecosystem .map-caption { bottom: 8px; }
}

#ecosystem .welcome-title { font-weight: 500; line-height: 1.12; margin: 15px 0 0; color: var(--primary); }
#ecosystem .section-intro > p { max-width: 310px; }

/* Compact welcome headline. */
#ecosystem .welcome-lockup { width: fit-content; max-width: 100%; min-width: 0; }
#ecosystem .section-intro .welcome-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(30px, 3.9vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.055em;
  margin: 0;
  text-wrap: balance;
}
@media (max-width: 700px) {
  #ecosystem .section-intro .welcome-title { font-size: clamp(27px, 7.2vw, 46px); }
}

/* Persistent interaction cues also work on touch screens. */
#ecosystem .direction-panel { touch-action: pan-y pinch-zoom; }
#ecosystem .map-caption { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 11px; letter-spacing: 0; color: var(--primary); opacity: 1; text-align: center; width: 100%; white-space: normal; }
#ecosystem .map-caption svg { width: 17px; height: 17px; flex: 0 0 auto; }
#ecosystem .planet-sphere { position: relative; border-color: color-mix(in srgb, var(--primary) 48%, transparent); }
#ecosystem .planet-sphere::after { content: '+'; position: absolute; right: -5px; bottom: -3px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--primary); color: var(--bg-color); font-size: 12px; line-height: 1; font-weight: 600; border: 2px solid var(--bg-color); }
#ecosystem .solar-planet[aria-pressed="true"] .planet-sphere::after { content: '✓'; font-size: 9px; }
#ecosystem .solar-planet:active .planet-sphere { transform: scale(.92); }
@media (hover: hover) {
  #ecosystem .solar-planet:hover .planet-label { text-decoration: underline; text-underline-offset: 4px; }
  #ecosystem .solar-planet:hover .planet-sphere { border-color: var(--primary); box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 10%, transparent); }
}
@media (max-width: 700px) {
  #ecosystem .map-caption { font-size: 10px; gap: 6px; }
  #ecosystem .map-caption svg { width: 15px; height: 15px; }
}

@media (prefers-reduced-motion: no-preference) {
  #ecosystem .motion-visible .solar-core::after { content: ''; position: absolute; inset: -10px; border: 1px solid var(--border); border-radius: 50%; pointer-events: none; animation: core-ripple 5s ease-out infinite; }
  #ecosystem .solar-planet[aria-pressed="true"] .planet-sphere svg { animation: selected-icon-enter .5s ease both; }
  #ecosystem .direction-dot.selected::before { animation: selected-bar-enter .4s ease both; }
  .ambient-paused .solar-core::after { animation-play-state: paused !important; }
}
@keyframes core-ripple { 0% { scale: .95; opacity: .65; } 80%,100% { scale: 1.35; opacity: 0; } }
@keyframes selected-icon-enter { from { scale: .7; rotate: -15deg; } to { scale: 1; rotate: 0deg; } }
@keyframes selected-bar-enter { from { transform: scaleX(.2); } to { transform: scaleX(1); } }

/* Stable geometry: five planets share three actual circular orbits. */
#ecosystem .orbit-ai, #ecosystem .orbit-news { width: min(46%, 250px); }
#ecosystem .orbit-development, #ecosystem .orbit-chat { width: min(72%, 380px); }
#ecosystem .orbit-future { width: min(86%, 460px); }
#ecosystem .orbit-track { animation: none; }
#ecosystem .orbit-track::after { content: none; }
#ecosystem .orbit-chat .orbit-track, #ecosystem .orbit-news .orbit-track { display: none; }
#ecosystem .orbit-future .orbit-track { border-color: var(--border); }
#ecosystem .orbit-future.is-selected .orbit-track { border-color: var(--primary); }
#ecosystem .solar-planet .planet-sphere { animation: none; translate: none; }
#ecosystem .solar-core { z-index: 5; }

/* Keep planet hit areas still while their illustrations move on touch screens. */
@media (prefers-reduced-motion: no-preference) {
  #ecosystem .motion-visible .planet-sphere svg { animation: planet-icon-drift 5s ease-in-out infinite; }
  #ecosystem .motion-visible .orbit-development .planet-sphere svg { animation-delay: -1s; }
  #ecosystem .motion-visible .orbit-news .planet-sphere svg { animation-delay: -2s; }
  #ecosystem .motion-visible .orbit-chat .planet-sphere svg { animation-delay: -3s; }
  #ecosystem .motion-visible .orbit-future .planet-sphere svg { animation-delay: -4s; }
  #ecosystem .motion-visible .solar-planet[aria-pressed="true"] .planet-sphere {
    animation: planet-selected-glow 4s ease-in-out infinite;
  }
  #ecosystem .motion-visible .map-caption svg { animation: planet-tap-hint 4s ease-in-out infinite; }
  #ecosystem .motion-visible .map-logo { animation: planet-logo-breathe 6s ease-in-out infinite; }
  #ecosystem .direction-panel.is-changing > :not(.direction-index) { animation-duration: .5s; }
  #ecosystem .direction-panel.is-changing > h3 { animation-delay: .04s; }
  #ecosystem .direction-panel.is-changing > p { animation-delay: .08s; }
  #ecosystem .direction-panel.is-changing > a { animation-delay: .12s; }
}
@keyframes planet-icon-drift { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -3px; rotate: -7deg; } }
@keyframes planet-selected-glow { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 0%, transparent); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 9%, transparent); } }
@keyframes planet-tap-hint { 0%, 65%, 100% { transform: translate(0,0); } 78% { transform: translate(-3px,-3px) scale(.9); } 86% { transform: translate(0,0); } }
@keyframes planet-logo-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.045; } }

/* Avoid animated text rasterization and pulsing light on mobile GPUs. */
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  #ecosystem .motion-visible .solar-core::after { content: none; animation: none !important; }
  #ecosystem .motion-visible .map-logo,
  #ecosystem .motion-visible .planet-sphere,
  #ecosystem .planet-label,
  #ecosystem .direction-panel.is-changing > :not(.direction-index) {
    animation: none !important;
    scale: 1 !important;
  }
  #ecosystem .motion-visible .planet-sphere { box-shadow: none; }
}
