/* Showcase hero only. Text and project CTA are preserved from the original concept. */
.showcase-hero.space-hero {
  height:416px;
  background:linear-gradient(180deg,#20283c 0%,#20283c 60%,#344660 100%);
  isolation:isolate;
}
.space-hero::after { display:none; }
.space-hero .space-hero-stage {
  position:absolute; inset:0; max-width:1560px; margin:auto; pointer-events:none;
}
.space-hero .space-hero-art {
  position:absolute; right:16px; bottom:0; width:1248px; height:416px;
  max-width:none;
}
.space-hero .container { z-index:2; pointer-events:none; }
.space-hero .hero-copy { max-width:470px; pointer-events:auto; }
.space-hero .hero-copy h1 { font-size:52px; letter-spacing:-2.5px; line-height:1.18; }
.space-hero .hero-copy .eyebrow { font-size:10px; letter-spacing:.17em; margin-bottom:16px; color:#ffb2bd; }
.space-hero .hero-copy .hero-sub { color:#d4dce9; font-size:14px; margin:20px 0 25px; line-height:1.65; }
.space-hero .hero-copy .primary { min-height:44px; }
@media (max-width:1399px) {
  .space-hero .hero-copy { max-width:430px; }
  .space-hero .hero-copy h1 { font-size:46px; letter-spacing:-2px; }
}
@media (max-width:1180px) {
  .space-hero .space-hero-art { width:960px; height:320px; right:16px; bottom:16px; }
  .space-hero .hero-copy { max-width:375px; }
  .space-hero .hero-copy h1 { font-size:42px; letter-spacing:-2px; }
  .space-hero .hero-copy .eyebrow { font-size:9px; letter-spacing:.13em; }
  .space-hero .hero-copy .hero-sub { font-size:12px; }
}

/* All decorative layers share the illustration coordinates at every PC width. */
.space-hero .space-hero-image {
  display:block; width:100%; height:100%; object-fit:contain;
  -webkit-mask-composite:source-in; mask-composite:intersect;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 98%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 12%,#000 96%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 98%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 12%,#000 96%,transparent 100%);
}
.space-hero .space-planet {
  position:absolute; left:92.8%; top:17.3%; width:10.9%; aspect-ratio:1;
  transform:translate(-50%,-50%); pointer-events:none;
}
.space-hero .space-planet img {
  display:block; width:100%; height:100%; object-fit:contain;
  animation:space-planet-sway 8s ease-in-out infinite alternate;
  transform-origin:50% 50%; will-change:transform;
}
.space-hero .space-star {
  position:absolute; left:var(--x); top:var(--y); width:var(--size); height:var(--size);
  transform:translate(-50%,-50%); opacity:.25; pointer-events:none;
  background:radial-gradient(circle,#fff 0 7%,#d5ebff88 12%,#a9ceff22 30%,transparent 68%);
  animation:space-star-shimmer var(--duration) ease-in-out var(--delay) infinite;
}
.space-hero .space-star::before,.space-hero .space-star::after {
  content:""; position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  background:linear-gradient(transparent,#f6fbff,transparent);
  border-radius:50%;
}
.space-hero .space-star::before { width:1px; height:100%; }
.space-hero .space-star::after { width:1px; height:75%; transform:translate(-50%,-50%) rotate(90deg); }
.space-hero .space-meteor {
  position:absolute; width:94px; height:1px; pointer-events:none;
  opacity:0; border-radius:50%; transform-origin:left center;
  background:linear-gradient(90deg,#ffffff,#cce1ff99 18%,#97b7ff33 58%,transparent);
  box-shadow:0 0 4px #c6ddff44;
  animation:space-meteor-fall 24s linear 4s infinite;
}
.space-hero .space-meteor::before {
  content:""; position:absolute; left:-1px; top:-1px; width:3px; height:3px;
  border-radius:50%; background:#f4f9ff; box-shadow:0 0 6px #c6ddff;
}
.space-hero .space-meteor-one { left:34%; top:24%; }
.space-hero .space-meteor-two { left:32%; top:34%; width:72px; animation-duration:31s; animation-delay:16s; }
@keyframes space-planet-sway { from { transform:translateX(-5px); } to { transform:translateX(5px); } }
@keyframes space-star-shimmer {
  0%,100% { opacity:.12; transform:translate(-50%,-50%) scale(.72); }
  48% { opacity:.88; transform:translate(-50%,-50%) scale(1.18); }
}
@keyframes space-meteor-fall {
  0% { opacity:0; transform:translate(0,0) rotate(-35deg); }
  .65% { opacity:.85; }
  3.5% { opacity:.65; }
  5%,100% { opacity:0; transform:translate(-90px,63px) rotate(-35deg); }
}
/* Keep meteor paths in the empty sky beside the copy on smaller PC screens. */
@media (max-width:1180px) {
  .space-hero .space-meteor-one { left:46%; top:6%; }
  .space-hero .space-meteor-two { left:44%; top:18%; }
}
@media (prefers-reduced-motion:reduce) {
  .space-hero .space-planet img,.space-hero .space-star { animation:none; will-change:auto; }
  .space-hero .space-star { opacity:.35; }
  .space-hero .space-meteor { display:none; animation:none; }
}

/* Two small poster accents, separate from the headline and meteor corridor. */
.space-hero .space-sticker {
  position:absolute; display:block; height:auto; object-fit:contain;
  pointer-events:none; transform:translateX(-50%);
}
.space-hero .space-sticker-creator { left:56.5%; top:9%; width:14%; }
.space-hero .space-sticker-alien { left:99%; top:39%; width:11%; }
@media (max-width:1650px) {
  .space-hero .space-sticker-alien { left:94%; top:22%; width:9%; }
}

/* Continuous ground fills the full browser width behind the central illustration. */
.space-hero .space-terrain-continuation {
  position:absolute; inset:0; pointer-events:none;
  background:url("assets/space-terrain-continuation.svg") center / 100% 100% no-repeat;
}
.space-hero .space-galaxy-mist {
  position:absolute; left:-20%; right:-25%; top:-2%; height:60%;
  background:url("assets/space-galaxy-mist.svg") center / 100% 100% no-repeat;
  pointer-events:none; opacity:.65;
  -webkit-mask-composite:source-in; mask-composite:intersect;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 15%,#000 72%,transparent),linear-gradient(90deg,transparent,#000 18%,#000 85%,transparent);
  mask-image:linear-gradient(180deg,transparent,#000 15%,#000 72%,transparent),linear-gradient(90deg,transparent,#000 18%,#000 85%,transparent);
}


/* Station, Network, and Telepathy use the same 416px hero as Collab. */
.section-space-subnav .container { min-height:72px; gap:24px; }
.section-space-subnav strong { font-size:14px; }
.section-space-subnav span { font-size:13px; color:var(--muted); }
.section-space-subnav .text-link { margin-left:auto; }
.section-space-content { padding-bottom:56px; }
.section-space-hero .hero-caption { bottom:12px; }

/* Variant -1: each scene has its own sign lettering baked into its new artwork. */
.section-space-hero[data-scene="station"] .space-planet { left:104%; top:9%; width:9%; } /* 스튜디오 오른쪽 위 바깥으로(사용자 2026-11-06 두 번 조정), 처음 left:54%·top:18% */
.section-space-hero[data-scene="network"] .space-planet,
.section-space-hero[data-scene="telepathy"] .space-planet,
.space-hero[data-scene="collab"] .space-planet { left:104%; top:9%; width:9%; } /* 네 배너 행성 위치·크기 통일(사용자 2026-11-06: 스테이션과 같게) */

.section-space-hero .space-hero-image {
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 98%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 3%,#000 98%,transparent 100%);
 mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 98%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 3%,#000 98%,transparent 100%);
}

/* Motion accents for the -1 section banners; the planet itself stays anchored. */
.section-space-hero .space-planet { isolation:isolate; }
.section-space-hero .space-planet img { animation:none; will-change:auto; }
.section-space-hero .space-planet::before {
  content:""; position:absolute; inset:3%; z-index:-1; border-radius:50%;
  background:radial-gradient(circle,#7671ff24 0%,#b34df217 35%,transparent 70%);
  animation:section-planet-aura 8s ease-in-out infinite;
}
.section-space-hero .planet-orbit-light {
  position:absolute; inset:0; width:100%; height:100%; pointer-events:none;
  overflow:visible; filter:drop-shadow(0 0 2px #ffe6ce);
}
.section-space-hero .scene-motion-layer {
  position:absolute; inset:0; width:100%; height:100%; overflow:hidden; pointer-events:none;
}
.section-space-hero .scene-signal-dot { filter:drop-shadow(0 0 5px currentColor); }
.section-space-hero .scene-beacon-core { animation:section-beacon-pulse 3.6s ease-in-out infinite; }
.section-space-hero[data-scene="station"] .scene-radio-wave {
  fill:none; stroke:#ffd1dc; stroke-width:7.5; stroke-linecap:round; opacity:0;
  filter:drop-shadow(0 0 7px #ff426e);
  animation:section-radio-wave 3.2s ease-in-out var(--wave-delay) infinite;
}
@keyframes section-radio-wave {
  0%,8%,38%,100% { opacity:0; }
  20% { opacity:.82; }
}
.section-space-hero .space-galaxy-mist { animation:section-galaxy-breathe 18s ease-in-out infinite alternate; }
@keyframes section-planet-aura { 0%,100% { opacity:.4; transform:scale(.95); } 50% { opacity:.85; transform:scale(1.1); } }
@keyframes section-beacon-pulse { 0%,100% { opacity:.4; } 50% { opacity:.9; } }
@keyframes section-galaxy-breathe { from { opacity:.48; transform:translateX(-5px); } to { opacity:.68; transform:translateX(5px); } }
@media (prefers-reduced-motion:reduce) {
  .section-space-hero .scene-motion-layer,.section-space-hero .planet-orbit-light { display:none; }
  .section-space-hero .space-planet::before,.section-space-hero .space-galaxy-mist,.section-space-hero .scene-beacon-core { animation:none; }
  .section-space-hero .space-planet::before { opacity:.4; }
}
