/* DYD 메인 히어로 v10 — 임베드용 스타일 (메인 히어로/style.css 기반)
   --hero-zoom : 원본(16:9 꽉 찬 크기) 대비 배율. .8 = 20% 축소.
   --globe-scale : 지구본만 추가 배율 (히어로 크기·하늘은 그대로). .7 = 30% 축소.
   --globe-lift  : 지구본을 위로 올리는 양(장면 단위, 데스크톱만). 85 ≈ 위 여백 절반.
   --globe-shift : 지구본을 왼쪽으로 옮기는 양(장면 단위, 데스크톱만).
   영역 높이·그림·문구가 함께 줄고, 남는 좌우 여백은 하늘로 채워 가운데 정렬됩니다.
   --hero-dusk      : 히어로 아래쪽이 녹아드는 밤하늘 색 (다음 섹션 시작색과 같게)
   --hero-dusk-size : 그라데이션 높이 (히어로 높이 대비)
   --hero-spill     : 지구본이 아래 섹션 위로 넘쳐 보일 수 있는 여유 (지구본이 잘리지 않고 맨 위 레이어) */
.dyd-hero{--hero-zoom:.8;--globe-scale:.7;--globe-lift:85;--globe-shift:70;--hero-dusk:#081a3d;--hero-dusk-size:.3;--hero-spill:24%;position:relative;z-index:2;width:100%;aspect-ratio:16/calc(9 * var(--hero-zoom));overflow-x:clip;overflow-y:visible;isolation:isolate;background:linear-gradient(115deg,#7ed4ee,#9de7f1 65%,#cbf5f4)}
.dyd-hero__scene{position:absolute;inset:0 0 calc(var(--hero-spill) * -1) 0;pointer-events:none}
.dyd-hero canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.dyd-hero__objects{z-index:1}
.dyd-hero__letters{z-index:3;pointer-events:none}
/* 원본 기준 left 62.6% / width 34.4% / top 25% 를 배율에 맞춰 환산 */
.dyd-hero__copy{position:absolute;z-index:2;left:calc((1 - var(--hero-zoom)) * 50% + 62.6% * var(--hero-zoom));top:15%;width:calc(34.4% * var(--hero-zoom));pointer-events:none;-webkit-user-select:none;user-select:none}
.dyd-hero__copy h1,.dyd-hero__copy p{margin:0;padding:0}
.dyd-hero__copy [data-text]{display:block;height:auto}
.dyd-hero__copy [data-text=headline1]{width:78%;margin-bottom:calc(.7vw * var(--hero-zoom))}
.dyd-hero__copy [data-text=headline2]{width:100%;margin-bottom:calc(2.3vw * var(--hero-zoom))}
.dyd-hero__copy [data-text=korean]{width:96%;margin-bottom:calc(1.3vw * var(--hero-zoom))}
.dyd-hero__copy [data-text=english]{width:96%}
.dyd-hero__actions{display:none}
.dyd-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:700px){
 .dyd-hero{
  aspect-ratio:auto;
  overflow:hidden;
  background:linear-gradient(180deg,#9de7f1,#cbf5f4 82%,var(--hero-dusk));
 }
 .dyd-hero__scene{inset:0}
 /* PC에서 모바일 크기로 전환해도 이전 스크롤 효과를 이어받지 않는다. */
 .dyd-hero__letters{transform:none!important;opacity:1!important}
 .dyd-hero__copy{
  position:relative;
  left:auto;
  top:auto;
  width:100%;
  padding:clamp(166px,55%,350px) 16px clamp(42px,12%,72px);
 }
 .dyd-hero__copy h1,.dyd-hero__copy p{width:min(76%,236px);margin-inline:auto}
 .dyd-hero__copy [data-text]{margin-inline:auto}
 .dyd-hero__copy [data-text=headline1]{width:74%;margin-bottom:2px}
 .dyd-hero__copy [data-text=headline2]{width:100%;margin-bottom:9px}
 .dyd-hero__copy [data-text=korean]{width:88%;margin-bottom:4px}
 .dyd-hero__copy [data-text=english]{width:88%}
 .dyd-hero__actions{
  display:block;
  width:min(100%,258px);
  height:44px;
  margin:14px auto 0;
 }
 .dyd-hero__actions .dyd-chat-launchers{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
 }
 .dyd-hero__actions .dyd-chat-launch{
  width:100%;
  min-height:44px;
  height:44px;
  margin:0;
  padding:6px 8px;
  gap:6px;
  border-radius:14px;
  font:inherit;
  box-shadow:0 3px 14px #0d2c5b20;
 }
 .dyd-hero__actions .dyd-chat-launch span{font-size:13px}
 .dyd-hero__actions .dyd-chat-launch img,
 .dyd-hero__actions .dyd-chat-launch__icon{width:32px;height:30px;flex:none}
 .dyd-hero__actions .dyd-chat-launch__icon img{width:28px;height:28px}
 .dyd-hero__actions .dyd-chat-launch:focus-visible{outline:3px solid #1760cd;outline-offset:2px}
}
