/* WEAVER v9.7.9 — Hero typography recomposition.
   - Removed: index line (BIO / HEALTH / TECHNOLOGY), stage overlines (01–03), "위버 알아보기" button, MOTION toggle.
   - Wide editorial headline across the full layout; supporting copy + single CTA anchored bottom-left.
   - Scene changes are line-masked rolls driven by scroll (--w / --dir from v90-scroll-story.js), never a crossfade. */

.hero .hero-index,.hero .hero-overline,.hero .hero-secondary{display:none!important}
.hero .hero-scene{opacity:1!important;transform:none!important;transition:none!important}

/* ---- headline ---------------------------------------------------------------------------------- */
.hero .hero-scene .hx-title{margin:0;color:#F4F8F3;font-weight:700;letter-spacing:-.064em;line-height:1.05;word-break:keep-all;
  text-shadow:none!important}
.hx-title .hx-br{display:inline}
.hx-seg{display:inline-block;overflow:hidden;vertical-align:top;padding:.06em .12em .14em .04em;margin:-.06em -.12em -.14em -.04em}
.hx-seg>span,.hx-seg>em{display:inline-block;
  --kk:calc(var(--k) * (1 + var(--dir,1)) / 2 + (2 - var(--k)) * (1 - var(--dir,1)) / 2);
  /* a scene only moves while it holds more than half the weight, so two scenes never share a line */
  transform:translate3d(0,calc((1 - clamp(0, clamp(0, var(--w,1) * 2 - 1, 1) * 1.5 - var(--kk) * .25, 1)) * var(--dir,1) * 120%),0);
  will-change:transform}
.hx-seg>em{font-style:normal;font-weight:300;color:#A9D8C6;letter-spacing:-.07em}

/* ---- supporting copy: hands over without overlap (both are invisible at the crossover) ---------- */
.hx-body .hero-lead,.hx-body .hero-description{
  opacity:clamp(0, var(--w,1) * 2 - 1, 1);
  transform:translate3d(0,calc((1 - clamp(0, var(--w,1) * 2 - 1, 1)) * var(--dir,1) * 12px),0)}
.hx-body .hero-lead{display:flex;align-items:center;gap:14px;margin:0;max-width:none;font-size:21px;font-weight:600;letter-spacing:-.04em;color:#EEF6F0}
.hx-body .hero-lead::before{content:"";flex:0 0 26px;height:1px;background:linear-gradient(90deg,#D4B36A,rgba(212,179,106,.25))}
.hx-body .hero-description{margin:14px 0 0;max-width:none;min-height:0;font-size:15px;line-height:1.9;letter-spacing:-.02em;color:rgba(214,232,222,.74)}

/* ---- first paint: the opening headline rolls up once ------------------------------------------ */
@keyframes hxRise{from{transform:translate3d(0,118%,0)}to{transform:translate3d(0,0,0)}}
@keyframes hxFade{from{opacity:0;transform:translate3d(0,10px,0)}to{opacity:1;transform:none}}
.hero-scene.is-initial .hx-seg>span,.hero-scene.is-initial .hx-seg>em{animation:hxRise 1.15s cubic-bezier(.2,.75,.15,1) backwards;animation-delay:calc(.18s + var(--k) * .12s)}
.hero-scene.is-initial .hx-body{animation:hxFade 1s ease .62s backwards}
.hero .hero-actions{animation:hxFade 1s ease .74s backwards}

/* ================================ DESKTOP / TABLET LANDSCAPE ===================================== */
@media (min-width:851px){
  .hero-sticky-stage .hero-inner{position:relative;padding-top:100px;padding-bottom:106px}
  .hero-copy{position:absolute;inset:0;z-index:4;pointer-events:none;transform:none!important}
  .hero-copy a,.hero-copy button{pointer-events:auto}
  .hero-narrative{position:absolute;inset:0;display:block}
  .hero-scene{position:absolute;inset:0;display:block}
  .hero .hero-scene .hx-title{position:absolute;left:-.04em;right:0;top:calc(86px + clamp(26px,5.6vh,78px));
    font-size:clamp(50px,6.55vw,104px)}
  .hx-seg{display:inline-block}
  .hx-body{position:absolute;left:0;width:min(560px,46%);bottom:calc(clamp(88px,12.6vh,140px) + 47px + clamp(30px,4.4vh,44px))}
  .hero .hero-actions{position:absolute;left:0;bottom:clamp(88px,12.6vh,140px);margin:0;z-index:5}
  /* sphere: stays in its column, lowered so the headline runs above it */
  .hero-art{grid-column:2;top:clamp(48px,9vh,104px)}
  /* the stage index joins the CTA row on the right; its caption duplicated the description */
  .hero-sticky-stage>.meaning-chapter{left:auto;right:calc((100% - min(100% - 112px, 1340px)) / 2);width:min(300px,24vw);
    bottom:calc(clamp(88px,12.6vh,140px) + 6px);gap:12px}
  .hero-sticky-stage>.meaning-chapter .meaning-caption{display:none}
  .hero-sticky-stage>.meaning-chapter .meaning-index{justify-content:flex-end}
  /* micro labels around the sphere would sit under the wide headline */
  .hero-art .art-caption{display:none!important}
}
@media (min-width:851px) and (max-width:1100px){
  .hero-sticky-stage>.meaning-chapter{right:35px}
  .hx-body{width:min(480px,50%)}
}
/* short desktop windows: keep the sphere clear of the CTA row */
@media (min-width:851px) and (max-height:760px){
  .hero-art{top:clamp(36px,7vh,60px)}
  .hx-body .hero-description{font-size:13.5px;line-height:1.8}
}

/* =========================================== MOBILE ============================================ */
@media (max-width:850px){
  .hero-sticky-stage .hero-inner{display:flex;flex-direction:column;justify-content:flex-end;padding-top:96px;padding-bottom:clamp(170px,22svh,190px)}
  .hero-copy{width:100%}
  .hero .hero-scene .hx-title{font-size:clamp(36px,10.6vw,58px);line-height:1.1;letter-spacing:-.066em}
  .hx-title .hx-br{display:none}
  .hx-seg{display:block}
  .hx-body .hero-lead{margin-top:26px;font-size:16px;gap:11px}
  .hx-body .hero-lead::before{flex-basis:20px}
  .hx-body .hero-description{margin-top:8px;font-size:13px;line-height:1.8}
  .hero-narrative .desktop-break{display:none}
  .hero .hero-actions{margin-top:28px}
  .hero-sticky-stage>.meaning-chapter .meaning-caption{display:none}
}
/* tablet portrait: two-line headline like desktop */
@media (min-width:600px) and (max-width:850px){
  .hero .hero-scene .hx-title{font-size:clamp(46px,8.2vw,66px);line-height:1.07}
  .hx-title .hx-br{display:inline}
  .hx-seg{display:inline-block}
  .hx-body{max-width:520px}
}
@media (max-width:540px) and (max-height:700px){
  .hero .hero-scene .hx-title{font-size:clamp(34px,9.6vw,46px)}
  .hx-body .hero-lead{margin-top:18px}
  .hero .hero-actions{margin-top:20px}
}

/* ====================================== ACCESSIBILITY ========================================== */
@media (prefers-reduced-motion:reduce){
  .hero-scene.is-initial .hx-seg>span,.hero-scene.is-initial .hx-seg>em,.hero-scene.is-initial .hx-body,.hero .hero-actions{animation:none}
}
