/* Overview — Figma Design › /overview (Desktop 76:5532 · Tablet 82:4425 · Mobile 83:4527) */

/* ───────── Hero: 왼쪽 문구 + 오른쪽 가장자리에서 떠오르는 점묘 구(Home 구를 90° 회전) ───────── */
.ov-hero { position: relative; height: 760px; overflow: hidden; }
.ov-hero__globe {
  position: absolute; left: calc(50% + 20px); top: 1100px; width: 1440px; height: 1500px;
  transform-origin: 0 0; rotate: -90deg; pointer-events: none;
  background: url("/assets/img/home/globe-desktop.svg") center / 100% 100% no-repeat;
}
.ov-hero__copy {
  position: absolute; z-index: 1; left: var(--layout-margin-x); top: 239px; width: 620px; max-width: calc(100% - 2 * var(--layout-margin-x));
  display: flex; flex-direction: column; gap: var(--space-16); color: var(--color-text-strong);
}
.ov-hero__lead { color: var(--color-text-secondary); }

/* ───────── Video viewport ───────── */
.ov-viewport-wrap { position: relative; padding: 0 var(--layout-margin-x) var(--space-128); }
.ov-viewport {
  position: relative; overflow: hidden; aspect-ratio: 1312 / 738;
  background: var(--color-bg-surface); border-radius: var(--radius-8); /* Figma radius/8, 선 없음 (2026-11-24) */
}
.ov-viewport__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ov-viewport__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 56.9%; background: linear-gradient(180deg, rgb(11 11 11 / 0) 0%, rgb(11 11 11 / .9) 100%); }
.ov-viewport__pill { position: absolute; top: 32px; left: 32px; }
/* 데스크톱: 문구를 영상 칸 왼쪽 아래(왼 48 · 아래 105, Figma Copy 위치)에 겹침. 제목·설명·버튼 간격 16 */
.ov-viewport__copy {
  position: absolute; z-index: 1; left: calc(var(--layout-margin-x) + 48px); bottom: calc(var(--space-128) + 105px);
  max-width: calc(100% - 2 * var(--layout-margin-x) - 96px);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-16); color: var(--color-text-strong);
}
.ov-viewport__copy p { color: var(--color-text-primary); }

/* ───────── EO to Insight · AI insight (문구 + 영상 화면) ───────── */
.ov-split {
  display: flex; align-items: center; gap: var(--layout-gap-lg);
  padding: 0 var(--layout-margin-x) var(--space-128);
}
.ov-split__copy { flex: none; display: flex; flex-direction: column; gap: var(--space-16); max-width: 525px; color: var(--color-text-strong); }
.ov-split--reverse .ov-split__copy { max-width: 369px; }
.ov-split__copy .accent { color: var(--color-text-brand); }
.ov-split__lead { color: var(--color-text-secondary); }
.ov-split__visual { flex: 1; min-width: 0; height: 600px; }
/* AI insight 사진: Figma처럼 칸보다 크게(139%) 두고 보이는 영역의 중심을 맞춤 — 칸 883×600 · 704×480 · 327×360 */
.ov-ai-visual__img { position: absolute; width: 139.11%; height: 173.07%; left: -17.75%; top: -27.97%; }
.ov-ai-visual__img img { width: 100%; height: 100%; object-fit: cover; }
.visual__darken { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(6 6 6 / 0) 0%, rgb(6 6 6 / .8) 100%); }

/* ───────── Foundation ───────── */
.ov-foundation {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-48);
  padding: var(--space-128) var(--layout-margin-x);
  border-block: 1px solid var(--color-border-subtle); text-align: center;
}
.ov-foundation__title { max-width: 960px; color: var(--color-text-strong); }
.ov-foundation__paras { display: flex; gap: var(--space-48); max-width: 1000px; text-align: left; color: var(--color-text-secondary); }
.ov-foundation__paras p { flex: 1; }

/* ───────── History ───────── */
.ov-history { display: flex; gap: var(--space-64); padding: var(--space-128) var(--layout-margin-x); }
.ov-history__head { flex: none; width: 420px; display: flex; flex-direction: column; gap: var(--space-16); color: var(--color-text-strong); }
.ov-history__sub { color: var(--color-text-secondary); }
.ov-history__timeline { flex: 1; min-width: 0; }
.ov-year { display: flex; gap: var(--space-40); padding: var(--space-32) 0; border-top: 1px solid var(--color-border-subtle); }
.ov-year:first-child { border-top: 0; } /* 목록 바깥 선 없음 — 2026-11-24 */
.ov-year__num { flex: none; width: 180px; color: var(--color-text-primary); }
.ov-year.is-current .ov-year__num { color: var(--color-text-brand); }
.ov-year__items { flex: 1; display: flex; flex-direction: column; gap: var(--space-16); padding-top: var(--space-12); color: var(--color-text-primary); }
.ov-year__items li { display: flex; gap: var(--space-16); }
.ov-year__items li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--color-text-tertiary); }
.ov-year.is-current .ov-year__items li::before { background: var(--color-text-brand); }

/* ───────── Tablet ───────── */
@media (max-width: 1199.98px) {
  .ov-hero { height: 600px; }
  .ov-hero__globe { left: calc(50% + 15.4px); top: 804px; width: 1008px; height: 1050px; }
  .ov-hero__copy { top: 206px; width: 470px; }

  /* 태블릿·모바일: 문구는 영상 아래에 따로(간격 32), 그라디언트 없음 — Figma 82:6557 · 83:6659 */
  .ov-viewport-wrap { display: flex; flex-direction: column; gap: var(--space-32); padding-bottom: var(--space-96); }
  .ov-viewport { order: -1; } /* 영상이 맨 위, 문구는 아래 (2026-11-24) */
  .ov-viewport__copy { position: static; max-width: none; }
  .ov-viewport { aspect-ratio: 704 / 520; }
  .ov-viewport__shade { display: none; }
  .ov-viewport__pill { top: 24px; left: 24px; }

  .ov-split, .ov-split--reverse { flex-direction: column; align-items: stretch; gap: var(--space-40); padding-bottom: var(--space-96); }
  .ov-split__visual, .ov-split--reverse .ov-split__visual { order: -1; } /* 세로로 쌓이면 미디어가 맨 위 (SatCHAT 섹션처럼, 2026-11-24) */
  .ov-split__copy, .ov-split--reverse .ov-split__copy { max-width: none; }
  .ov-split__visual { flex: none; height: 480px; }
  .ov-ai-visual__img { width: 139.06%; height: 172.5%; left: -17.76%; top: -27.71%; }

  .ov-foundation { padding-block: var(--space-96); }
  .ov-foundation__paras { max-width: none; }

  .ov-history { flex-direction: column; gap: var(--space-48); padding-block: var(--space-96); }
  .ov-history__head { width: auto; }
  .ov-year__num { width: 170px; }
}

/* ───────── Mobile ───────── */
@media (max-width: 767.98px) {
  .ov-hero { height: 480px; }
  .ov-hero__globe { left: 50%; top: 600px; width: 720px; height: 750px; }
  .ov-hero__copy { top: 158px; width: auto; right: var(--layout-margin-x); }

  .ov-viewport-wrap { padding-bottom: var(--space-80); }
  .ov-viewport { aspect-ratio: 327 / 286; }
  .ov-viewport__pill { top: 16px; left: 16px; }

  .ov-split, .ov-split--reverse { padding-bottom: var(--space-80); }
  .ov-split__visual { height: 360px; }
  .ov-ai-visual__img { width: 181.04%; height: 138.89%; left: -38.23%; top: -12.5%; }

  .ov-foundation { gap: var(--space-24); padding-block: var(--space-80); }
  .ov-foundation__title { font-size: 24px; line-height: 36px; } /* Figma 모바일: SUIT ExtraBold 24/36 (스타일 없음) */
  .ov-foundation__paras { flex-direction: column; gap: var(--space-24); }

  .ov-history { gap: var(--space-40); padding-block: var(--space-80); }
  .ov-year { flex-direction: column; gap: var(--space-16); padding: var(--space-24) 0; }
  .ov-year__num { width: auto; }
  .ov-year__items { padding-top: 0; }
}
