/* =========================================================
   DOOGO GROUP — home.css (메인 페이지 전용)
   S1 히어로 · S2 인트로 · S3 운영 프로젝트(사이트 카드 좌우 슬라이드) · S4 사업영역(사진)
   S5 One Group · Brands(트리 + 3D 브랜드 슬라이더) · S6 리더십 · S7 그룹소식(커버플로우)
   ========================================================= */

/* =========================================================
   S1 히어로
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh); display: flex; flex-direction: column;
  background: var(--navy); color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 2.6s var(--ease) .1s forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 95% at 62% 40%, rgba(4, 10, 22, 0) 40%, rgba(4, 10, 22, .6) 100%),
    linear-gradient(90deg, rgba(5, 12, 26, .9) 0%, rgba(5, 12, 26, .7) 28%, rgba(5, 12, 26, .32) 56%, rgba(5, 12, 26, .08) 78%),
    linear-gradient(0deg, rgba(5, 12, 26, .95) 0%, rgba(5, 12, 26, .55) 20%, rgba(5, 12, 26, 0) 44%),
    linear-gradient(rgba(5, 12, 26, .16), rgba(5, 12, 26, .16));
}

.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 56px); padding-bottom: 40px; }
.hero-eyebrow { color: rgba(255, 255, 255, .92); }
.hero-eyebrow::before { background: var(--blue-300); opacity: 1; }
.hero-title { margin-top: 28px; text-shadow: 0 2px 40px rgba(0, 0, 0, .28); }
.hero-desc { margin-top: 28px; max-width: 32em; font-size: var(--fs-lead); line-height: 1.65; color: rgba(255, 255, 255, .86); letter-spacing: -0.015em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.hero-film { padding-left: 10px; }
.hero-film .play-ring { width: 38px; height: 38px; transition: transform .35s var(--ease); }
.hero-film:hover .play-ring { transform: scale(1.08); background: var(--blue); color: #fff; }

/* 자동재생이 막혔을 때 */
.hero-bigplay {
  position: absolute; left: 74%; top: 46%; z-index: 2; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; transform: translate(-50%, -50%) scale(.9);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .6); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .25s;
}
.hero-bigplay svg { width: 26px; height: 26px; margin-left: 4px; }
.hero-bigplay:hover { background: var(--blue); border-color: var(--blue); }
.hero.is-autoplay-blocked .hero-bigplay { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }

/* 하단 바: 장면 표시기 + 컨트롤 */
/* 아래 여백은 왼쪽 아래 고정 '움직임 멈추기' 버튼(site.js · 바닥에서 16px + 높이 36px)보다 높게 → 장면 바가 버튼 위에 오도록 */
.hero-bar { position: relative; padding-bottom: clamp(64px, 5.5vw, 76px); }
.hero-bar-inner { display: flex; align-items: flex-end; gap: clamp(24px, 3vw, 48px); }
.scene-now { display: none; }
.scenes { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 clamp(10px, 1.2vw, 18px); }
.scene {
  position: relative; width: 100%; display: grid; gap: 4px; padding-top: 12px; text-align: left;
  color: rgba(255, 255, 255, .5); transition: color .35s var(--ease);
}
.scene:hover, .scene:focus-visible { color: rgba(255, 255, 255, .85); }
.scene.is-active { color: #fff; }
.scene-en { display: flex; gap: 8px; font-size: .68rem; font-weight: 600; letter-spacing: .16em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-ko { font-size: .92rem; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-ko.en { font-size: .86rem; letter-spacing: .05em; }
@media (max-width: 1280px) { .scene-ko.en { font-size: .78rem; letter-spacing: .03em; } }
.scene-bar { position: relative; display: block; height: 2px; margin-top: 12px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.scene-bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left center; transform: scaleX(var(--p, 0)); }
.scene.is-active .scene-bar::after { background: linear-gradient(90deg, var(--blue-300), #fff); }

.hero-ctrl { position: relative; display: flex; align-items: flex-end; flex: none; }
.hero-toggle {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.hero-toggle:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-toggle svg { width: 16px; height: 16px; }
.hero-toggle .i-play { display: none; margin-left: 2px; }
.hero-toggle.is-paused .i-pause { display: none; }
.hero-toggle.is-paused .i-play { display: block; }
/* SCROLL 표시는 토글 버튼 위에 띄워 하단 바 높이에 영향을 주지 않게 */
.hero-scroll { position: absolute; left: 50%; bottom: calc(100% + 18px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(255, 255, 255, .78); }
.hero-scroll span { writing-mode: vertical-rl; font-size: .66rem; font-weight: 600; letter-spacing: .32em; }
.hero-scroll i { position: relative; display: block; width: 1px; height: 54px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: #fff; animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(230%); } }

/* 낮은 노트북 화면(예: 1280×720)에서도 하단 장면 바까지 한 화면에 */
@media (max-height: 780px) and (min-width: 1025px) {
  .hero-inner { padding-top: calc(var(--header-h) + 28px); padding-bottom: 28px; }
  .hero-title { margin-top: 22px; }
  .hero-desc { margin-top: 20px; }
  .hero-actions { margin-top: 32px; }
  .hero-scroll i { height: 36px; }
}
/* 1024px 이하: 현재 장면 이름 하나 + 7칸 진행 바 (라벨 잘림·겹침 방지) */
@media (max-width: 1024px) {
  .hero-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; }
  .scene-now { display: grid; gap: 2px; min-width: 0; }
  .scene-now-count { font-size: .72rem; letter-spacing: .14em; color: var(--blue-300); font-weight: 600; }
  .scene-now-label { display: flex; align-items: baseline; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; }
  .scene-now-label b { font-size: 1.05rem; font-weight: 600; letter-spacing: .12em; }
  .scene-now-label span { font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .8); overflow: hidden; text-overflow: ellipsis; }
  .scene-now-label span.en { font-size: .9rem; letter-spacing: .08em; }
  .scenes { grid-column: 1 / -1; grid-row: 2; gap: 6px; }
  .scene { padding: 16px 0 12px; gap: 0; min-height: 44px; }
  .scene-en, .scene-ko { display: none; }
  .scene-bar { margin-top: 0; }
  .hero-ctrl { grid-column: 2; grid-row: 1; }
  .hero-bar { padding-bottom: 60px; }
}
@media (max-width: 760px) {
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 12, 26, .35) 0%, rgba(5, 12, 26, .35) 40%, rgba(5, 12, 26, .9) 100%),
      linear-gradient(90deg, rgba(5, 12, 26, .55), rgba(5, 12, 26, .15));
  }
  .hero-inner { justify-content: flex-end; padding-top: calc(var(--header-h) + 32px); padding-bottom: 28px; }
  .hero-eyebrow { gap: 10px; font-size: .7rem; letter-spacing: .14em; }
  .hero-eyebrow::before { width: 20px; }
  .hero-bigplay { left: auto; right: var(--gutter); top: calc(var(--header-h) + 24px); width: 64px; height: 64px; transform: scale(.9); }
  .hero.is-autoplay-blocked .hero-bigplay { transform: none; }
  .hero-bigplay svg { width: 20px; height: 20px; }
  .hero-title { margin-top: 20px; }
  .hero-desc { margin-top: 18px; font-size: 1rem; }
  .hero-actions { margin-top: 30px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-toggle { width: 44px; height: 44px; }
  .hero-scroll { display: none; }
  .hero-bar { padding-bottom: 52px; } /* 버튼(바닥 12px + 높이 32px) 위로 장면 바·터치 영역이 오도록 */
}
/* 낮은 화면(브라우저 주소창이 있는 휴대폰 375×667 · 노트북 1366×640 등): 히어로가 한 화면을 넘지 않게 간격만 줄임
   → 하단 장면 바가 화면 바닥(움직임 멈추기 버튼 위)에 그대로 놓임 */
@media (max-height: 700px) {
  .hero-inner { padding-top: calc(var(--header-h) + 16px); padding-bottom: 18px; }
  .hero-title { margin-top: 16px; }
  .hero-desc { margin-top: 14px; }
  .hero-actions { margin-top: 22px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero-actions { gap: 10px; }
  .hero-actions .btn--lg { min-height: 52px; }
}

/* =========================================================
   S2 인트로
   ========================================================= */
.intro-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px clamp(32px, 4vw, 72px); }
.intro-side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 14px; }
.intro-tagline { font-size: .98rem; line-height: 1.6; color: var(--muted); font-weight: 500; }
.intro-link { margin-top: 8px; }
.intro-statement { font-size: clamp(28px, 3.5vw, 52px); font-weight: 700; line-height: 1.4; letter-spacing: -0.04em; color: var(--ink); }
.intro-statement [data-accent] { color: var(--blue); } /* JS 없을 때 */

/* 글자 새김 (home.js · data-engrave) — 단어(.eg-w)는 줄바꿈 단위, 글자(.eg-c)마다 --ci × 26ms 지연
   대기: 흐림 · 아래 · 투명 / .is-on: 선명 · 제자리 · 잉크색 (새겨지는 순간 잠깐 블루 빛이 돌다 잉크로 가라앉음)
   .is-accent: '하나의 흐름으로' 블루 + 밑줄 그리기 */
.intro-statement .eg-w { display: inline-block; white-space: nowrap; }
.intro-statement .eg-c { display: inline-block; }
.intro-statement .eg-accent { position: relative; display: inline-block; white-space: nowrap; }
.intro-statement .eg-accent::after {
  content: ""; position: absolute; left: .02em; right: .06em; bottom: .02em; height: .075em; border-radius: .08em;
  background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%);
  transform: scaleX(0); transform-origin: left center;
}
.js .intro-statement.is-split .eg-c {
  opacity: 0; color: var(--blue-300);
  transform: translate3d(0, .42em, 0) scale(1.04); filter: blur(10px);
}
.js .intro-statement.is-split.is-on .eg-c {
  --d: calc(var(--ci, 0) * 26ms);
  opacity: 1; color: var(--ink); transform: none; filter: blur(0);
  transition: opacity .5s var(--ease) var(--d), transform .9s cubic-bezier(.16, 1, .3, 1) var(--d), filter .7s var(--ease) var(--d), color 1.2s var(--ease) calc(var(--d) + .18s);
}
.js .intro-statement.is-split.is-accent .eg-accent .eg-c { color: var(--blue); transition: color .6s var(--ease) calc(var(--ai, 0) * 45ms); }
.js .intro-statement.is-split .eg-accent::after { transition: transform 0s; }
.js .intro-statement.is-split.is-accent .eg-accent::after { transform: scaleX(1); transition: transform 1s cubic-bezier(.65, 0, .35, 1) .2s; }
.intro-statement.no-tr .eg-c, .intro-statement.no-tr .eg-accent::after { transition: none !important; }
/* JS 가 글자를 나눴지만 아직 실행 전이 아닌 정지 상태(움직임 멈추기): 바로 완성 */
html.motion-off .intro-statement .eg-c { opacity: 1 !important; transform: none !important; filter: none !important; }
html.motion-off .intro-statement .eg-accent::after { transform: scaleX(1) !important; }

/* 숫자 4칸 — 굴러 올라가는 숫자 + 아래 선 그리기 (home.js 가 .is-ready / .is-on 부여, 재진입 시 다시 재생) */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px clamp(24px, 3vw, 52px); margin-top: clamp(72px, 9vw, 136px); }
.fact { display: grid; align-content: start; }
.fact { min-width: 0; }
.fact-num { display: flex; font-size: clamp(76px, 7.6vw, 124px); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact-count { display: inline-block; height: 1.06em; line-height: 1.06; overflow: hidden; }
.fact-reel { display: block; will-change: transform; }
.fact-reel > span { display: block; height: 1.06em; }
.facts.is-ready .fact-count { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.fact-rule { position: relative; display: block; height: 2px; margin: 22px 0 24px; overflow: hidden; background: linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat; }
.fact-rule i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 70%, rgba(76, 141, 246, .2) 100%); transform-origin: left center; }
.fact-label { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.fact-sub { margin-top: 6px; font-size: .92rem; line-height: 1.55; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fact-sub.en { font-size: .84rem; font-weight: 600; letter-spacing: .08em; }

/* 준비(JS) → 대기 상태: 숫자 0 · 선 비움 · 글자 숨김 / 재생(칸마다 .is-on): 0부터 세어 올라감(1.8초) · 칸마다 0.15초 지연 */
.facts.is-ready .fact-rule i { transform: scaleX(0); }
.facts.is-ready .fact-label, .facts.is-ready .fact-sub { opacity: 0; transform: translateY(12px); }
.facts .fact.is-on .fact-reel { transform: translate3d(0, calc(var(--n, 0) * -1.06em), 0); transition: transform 1.8s cubic-bezier(.22, .9, .26, 1) calc(var(--i, 0) * .15s); }
.facts .fact.is-on .fact-rule i { transform: scaleX(1); transition: transform 1.3s cubic-bezier(.65, 0, .35, 1) calc(var(--i, 0) * .15s + .25s); }
.facts .fact.is-on .fact-label, .facts .fact.is-on .fact-sub { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * .15s + .4s); }
.facts .fact.is-on .fact-sub { transition-delay: calc(var(--i, 0) * .15s + .5s); }

@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 0; }
  .intro-tagline { display: none; }
  .intro-link { margin-top: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
  /* 2×2: 아래 줄도 왼쪽부터 다시 순차 지연 */
  .fact:nth-child(3) { --i: 0 !important; }
  .fact:nth-child(4) { --i: 1 !important; }
}
@media (max-width: 760px) {
  .facts { gap: 40px 20px; }
  .fact-num { font-size: 68px; }
  .fact-rule { margin: 16px 0 16px; }
  .fact-label { font-size: 1.02rem; }
  .fact-sub { font-size: .84rem; letter-spacing: -0.02em; }
  .fact-sub.en { font-size: .76rem; letter-spacing: .04em; }
}

/* =========================================================
   S3 두고그룹이 운영하는 프로젝트 — 한 카드 = 한 프로젝트(7장) · 각 사이트 첫 화면 카드 (home.js · data-gp)
   페이지 세로 스크롤은 그대로 둡니다(고정·스크롤 가로채기 없음).
   카드 줄 = 가로 스크롤 영역(scroll-snap) — 이전/다음 버튼 · 스와이프 · 마우스 끌기 · 가로 휠
   보이는 카드 수 --gp-vis: 데스크톱 2.5 · 태블릿 1.6 · 휴대폰 1.1 (카드 폭은 .gp-slider 폭 기준 cqw)
   ========================================================= */
.gp { isolation: isolate; overflow-x: clip; }
/* 점 무늬 + 빛 번짐 */
.gp::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.4px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.gp::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(min(820px, 76vw) 46% at 72% 62%, rgba(10, 93, 226, .24), rgba(10, 93, 226, 0)),
    radial-gradient(min(440px, 56vw) 30% at 8% 30%, rgba(10, 93, 226, .14), rgba(10, 93, 226, 0));
}

/* 머리: 제목 + 소개 한 줄 + 그룹 구조 한 줄 */
.gp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.gp-h2 .line { display: inline-block; vertical-align: top; }
.gp-intro { max-width: 460px; }
.gp-lead { font-size: clamp(.95rem, 1.1vw, 1.06rem); line-height: 1.65; letter-spacing: -0.015em; color: var(--on-dark-2); text-wrap: pretty; }
.gp-struct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: .86rem; color: var(--on-dark-3); }
.gp-struct-n { display: inline-flex; align-items: baseline; font-size: 1.15rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.gp-struct-n i { margin: 0 .1em; font-style: normal; font-weight: 400; color: var(--blue-300); }
.gp-struct-t { white-space: nowrap; }
.gp-struct-a {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto; height: 32px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.gp-struct-a .ico { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.gp-struct-a:hover { background: #fff; border-color: #fff; color: var(--ink); }
.gp-struct-a:hover .ico { transform: translateX(3px); }

/* 슬라이더 */
.gp-slider {
  container-type: inline-size; margin-top: clamp(32px, 4.2vw, 60px);
  --gp-edge: max(var(--gutter), calc((100cqw - var(--container)) / 2));   /* 컨테이너 왼쪽 선 */
  --gp-gap: clamp(14px, 1.7vw, 24px);
  --gp-vis: 2.5; --gp-gaps: 2;                                              /* 보이는 카드 수 · 그 안의 간격 수 */
  --gp-w: min(560px, calc((100cqw - var(--gp-edge) - var(--gp-gap) * var(--gp-gaps)) / var(--gp-vis)));
}
.gp-view {
  position: relative; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gp-edge); scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gp-view::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .gp-view { cursor: grab; } }
.gp-view.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; -webkit-user-select: none; }
.gp-view.is-drag a { pointer-events: none; }
.gp-list { display: flex; align-items: stretch; gap: var(--gp-gap); width: max-content; padding: 14px var(--gp-edge) 22px; }
.gp-item { flex: none; display: flex; width: var(--gp-w); scroll-snap-align: start; }

/* 카드 = 브라우저 창(위 막대 + 주소 알약 + 첫 화면 캡처) + 본문 */
.gp-card {
  position: relative; display: flex; flex-direction: column; width: 100%; padding: 10px;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028));
  box-shadow: 0 30px 60px -38px rgba(0, 0, 0, .75);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease);
}
.gp-card.is-current { border-color: rgba(111, 162, 242, .46); box-shadow: 0 40px 80px -42px rgba(10, 93, 226, .7), 0 30px 60px -38px rgba(0, 0, 0, .75); }
.gp-win { position: relative; flex: none; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .8); transition: transform .6s var(--ease); }
.gp-win-bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; background: #EDF0F5; border-bottom: 1px solid #DCE1E9; }
.gp-win-bar::after { content: ""; flex: none; width: 34px; } /* 점 3개와 같은 폭 → 주소 알약이 가운데 */
.gp-dots { display: flex; flex: none; gap: 5px; width: 34px; }
.gp-dots i { width: 8px; height: 8px; border-radius: 50%; background: #FF6159; }
.gp-dots i:nth-child(2) { background: #FFBD2E; }
.gp-dots i:nth-child(3) { background: #28C840; }
.gp-url {
  display: block; flex: 0 1 auto; min-width: 0; max-width: 78%; margin-inline: auto; height: 20px; padding: 0 12px; border-radius: 999px;
  background: #fff; border: 1px solid #DCE1E9; color: #4A5568; font-size: .7rem; font-weight: 600; line-height: 18px; letter-spacing: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
}
.gp-url::before {
  content: ""; display: inline-block; width: 7px; height: 9px; margin-right: 5px; vertical-align: -1px; background: currentColor; opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 10'%3E%3Cpath d='M2 4V3a2 2 0 0 1 4 0v1h.5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-5A.5.5 0 0 1 1 9.5v-5a.5.5 0 0 1 .5-.5H2Zm1 0h2V3a1 1 0 0 0-2 0v1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 10'%3E%3Cpath d='M2 4V3a2 2 0 0 1 4 0v1h.5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-5A.5.5 0 0 1 1 9.5v-5a.5.5 0 0 1 .5-.5H2Zm1 0h2V3a1 1 0 0 0-2 0v1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gp-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E9EDF3; }
.gp-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform-origin: 50% 0; transition: transform 1.2s var(--ease); -webkit-user-drag: none; }
.gp-card:hover .gp-win { transform: translateY(-4px); }
.gp-card:hover .gp-shot img { transform: scale(1.04); }

/* 본문: 분야 칩 → 프로젝트 이름 → 운영 주체 · 팀 → 한 줄 설명 → 버튼 두 개 */
.gp-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; padding: 20px 12px 6px; container-type: inline-size; }
.gp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gp-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: rgba(111, 162, 242, .14); border: 1px solid rgba(111, 162, 242, .34); color: #D3E2FB; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.gp-idx { font-size: .86rem; font-weight: 600; letter-spacing: .08em; color: var(--on-dark-3); font-variant-numeric: tabular-nums; transition: color .4s var(--ease); }
.gp-card.is-current .gp-idx { color: var(--blue-300); }
.gp-name { display: flex; align-items: center; gap: 10px; height: calc(min(2.25rem, 10.4cqi) * 1.12); margin-top: 14px; font-size: min(2.25rem, 10.4cqi); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.gp-name--ko { font-weight: 800; letter-spacing: -0.045em; font-size: min(2.1rem, 9.6cqi); }
.gp-name-sub { flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--on-dark-2); font-size: .7rem; font-weight: 600; letter-spacing: .04em; }
.gp-op { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; font-size: .92rem; line-height: 1.4; }
.gp-op-k { flex: none; font-size: .76rem; font-weight: 600; color: var(--on-dark-3); }
.gp-op-v { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 0; font-weight: 600; color: #fff; }
.gp-op-v .en { letter-spacing: .03em; }
.gp-op-dot { margin: 0 .45em; color: var(--blue-300); }
.gp-op-loc { display: inline-flex; align-items: center; height: 20px; margin-left: 8px; padding: 0 7px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .26); color: var(--on-dark-2); font-size: .7rem; font-weight: 600; }
.gp-desc { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-dark); font-size: .92rem; line-height: 1.6; letter-spacing: -0.015em; color: var(--on-dark-2); text-wrap: pretty; }
.gp-btns { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.gp-btn { flex: 1 1 0; min-width: 0; min-height: 44px; gap: 6px; padding: 0 14px; font-size: .88rem; white-space: nowrap; }
.gp-btn .ico { width: 15px; height: 15px; }
.gp-btn:not(.gp-btn--line):hover .ico { transform: translate(2px, -2px); }
.gp-btn--line { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .34); }
.gp-btn--line:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

/* 진행 표시: 01 / 07 + 막대 · 주석 · 이전/다음 */
.gp-foot { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.gp-count { flex: none; display: flex; align-items: baseline; gap: 6px; font-size: .86rem; font-weight: 600; letter-spacing: .06em; color: var(--on-dark-3); white-space: nowrap; }
.gp-count b { min-width: 1.4em; font-size: 1.4rem; font-weight: 600; letter-spacing: .02em; color: #fff; font-variant-numeric: tabular-nums; }
.gp-bar { position: relative; flex: 1 1 auto; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.gp-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-300)); transform-origin: 0 50%; transform: scaleX(calc(1 / 10)); transition: transform .6s var(--ease); }
.gp-note { flex: none; font-size: .74rem; line-height: 1.4; color: var(--on-dark-3); white-space: nowrap; }
.gp-nav { flex: none; display: flex; gap: 8px; }
.gp-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: #fff; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s; }
.gp-arrow .ico { width: 18px; height: 18px; }
.gp-arrow[data-gp-prev] .ico { transform: scaleX(-1); }
.gp-arrow:hover:not([aria-disabled="true"]) { background: #fff; border-color: #fff; color: var(--ink); }
.gp-arrow[aria-disabled="true"] { opacity: .32; cursor: default; }
html:not(.js) .gp-count, html:not(.js) .gp-bar, html:not(.js) .gp-nav { display: none; }

/* 등장: 카드가 왼쪽부터 차례로 (공통 data-reveal 의 .is-in)
   스냅 기준인 .gp-item 은 움직이지 않고 안쪽 카드만 translate 로 → 처음 스크롤 위치가 어긋나지 않음 */
.js .gp-slider[data-reveal] .gp-card { opacity: 0; translate: 48px 0; transition: opacity .8s var(--ease), translate 1s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); transition-delay: calc(var(--i, 0) * .08s + .15s), calc(var(--i, 0) * .08s + .15s), 0s, 0s; }
.js .gp-slider[data-reveal].is-in .gp-card { opacity: 1; translate: none; }

/* 태블릿: 1.6장 */
@media (max-width: 1024px) {
  .gp-slider { --gp-vis: 1.6; --gp-gaps: 1; --gp-w: min(620px, calc((100cqw - var(--gp-edge) - var(--gp-gap)) / 1.6)); }
  .gp-head { flex-direction: column; align-items: flex-start; }
  .gp-intro { max-width: 36em; }
}
/* 휴대폰: 1.1장 · 본문 촘촘하게 */
@media (max-width: 760px) {
  .gp-slider { --gp-vis: 1.1; --gp-gap: 12px; --gp-w: calc((100cqw - var(--gp-edge) - var(--gp-gap)) / 1.1); margin-top: 28px; }
  .gp-struct { margin-top: 14px; padding-top: 14px; font-size: .82rem; }
  .gp-list { padding-block: 8px 16px; }
  .gp-card { padding: 8px; border-radius: 18px; }
  .gp-win { border-radius: 11px; }
  .gp-win-bar { height: 26px; gap: 8px; padding: 0 10px; }
  .gp-win-bar::after, .gp-dots { width: 29px; }
  .gp-dots { gap: 4px; }
  .gp-dots i { width: 7px; height: 7px; }
  .gp-url { height: 18px; padding: 0 10px; font-size: .66rem; line-height: 16px; }
  .gp-body { padding: 16px 8px 4px; }
  .gp-tag { height: 24px; padding: 0 9px; font-size: .72rem; }
  .gp-idx { font-size: .78rem; }
  .gp-name { height: calc(min(1.85rem, 11cqi) * 1.12); margin-top: 12px; font-size: min(1.85rem, 11cqi); }
  .gp-name--ko { font-size: min(1.75rem, 10cqi); }
  .gp-op { margin-top: 8px; font-size: .86rem; }
  .gp-desc { margin-top: 10px; padding-top: 10px; font-size: .86rem; line-height: 1.55; }
  .gp-btns { padding-top: 14px; gap: 6px; }
  .gp-btn { min-height: 42px; padding: 0 8px; font-size: .84rem; gap: 5px; }
  .gp-btn .ico { width: 14px; height: 14px; }
  .gp-foot { flex-wrap: wrap; gap: 10px 14px; margin-top: 4px; }
  .gp-count b { font-size: 1.2rem; }
  .gp-arrow { width: 44px; height: 44px; }
  .gp-note { order: 5; flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .gp-btn { font-size: .8rem; padding: 0 6px; gap: 4px; }
  .gp-struct-a { margin-left: 0; }
}

/* 움직임 멈추기: 슬라이드는 그대로 동작 · 전환만 즉시 */
html.motion-off .gp-view { scroll-behavior: auto; }
html.motion-off .gp-card { opacity: 1 !important; translate: none !important; transition: none !important; }
html.motion-off .gp-bar i, html.motion-off .gp-win, html.motion-off .gp-shot img { transition: none; }
html.motion-off .gp-card:hover .gp-win, html.motion-off .gp-card:hover .gp-shot img { transform: none; }

/* =========================================================
   S4 사업영역 — 스티키 스토리 (실사 사진)
   ========================================================= */
.biz-head { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; gap: 22px 64px; }
.biz-head .eyebrow { grid-column: 1 / -1; }
.biz-head .h2 { max-width: none; font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: -0.045em; }
.biz-head .lead { padding-bottom: 8px; }
@media (max-width: 860px) { .biz-head { grid-template-columns: 1fr; } }

.biz-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
.biz-row { position: relative; padding: 28px 0 30px; border-top: 1px solid var(--line); }
.biz-row:last-child { border-bottom: 1px solid var(--line); }
.biz-row::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.biz-row-media { display: none; }
.biz-row-head { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; }
.biz-num { font-size: .95rem; font-weight: 600; color: var(--muted-2); letter-spacing: .04em; transition: color .4s var(--ease); }
.biz-area { font-size: clamp(2.1rem, 3.4vw, 3.25rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.045em; color: var(--ink); transition: color .45s var(--ease); }
.biz-brand { font-size: .8rem; font-weight: 600; letter-spacing: .16em; color: var(--muted-2); white-space: nowrap; transition: color .4s var(--ease); }
.biz-row-body { padding-left: 64px; margin-top: 14px; }

/* 운영 법인 줄 */
.biz-corp { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 10px; font-size: .92rem; font-weight: 700; line-height: 1.4; color: var(--ink); letter-spacing: -0.02em; transition: color .45s var(--ease); }
.biz-corp .k { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--muted-2); }
.biz-corp .k::after { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .55; }
.biz-corp .v.en { letter-spacing: .05em; }
.biz-corp .t { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--blue-50); color: var(--blue-700); font-size: .72rem; font-weight: 700; letter-spacing: 0; transition: background-color .45s var(--ease), color .45s var(--ease); }

.biz-role { font-size: 1.06rem; line-height: 1.6; color: var(--ink-2); letter-spacing: -0.02em; }
.biz-svcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.biz-svcs li { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line-2); font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.biz-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
/* 칩 + 버튼 묶음: 데스크톱에서는 활성 행에서만 펼침(높이째 접힘 → 빈 띠 없음) */
.biz-more { display: grid; grid-template-rows: 1fr; }
.biz-more-in { min-height: 0; }

/* 데스크톱 스토리 모드 (JS 동작 시) */
@media (min-width: 1025px) {
  .js .biz-row { cursor: default; }
  /* 비활성 행: 흐리게 하되 큰 제목 3:1 · 본문 4.5:1 이상(흰 배경 기준) */
  .js .biz-row:not(.is-active) .biz-area { color: #8C95A5; }
  .js .biz-row:not(.is-active) .biz-num { color: #8C95A5; }
  .js .biz-row:not(.is-active) .biz-brand { color: #8C95A5; }
  .js .biz-row:not(.is-active):hover .biz-area { color: var(--muted); }
  .js .biz-row.is-active .biz-num { color: var(--blue); }
  .js .biz-row.is-active .biz-brand { color: var(--ink); }
  .js .biz-row.is-active::before { transform: scaleX(1); }
  .js .biz-role { transition: color .45s var(--ease); }
  .js .biz-row:not(.is-active) .biz-role { color: #6B7587; } /* 흐리게 하되 본문 대비 4.65:1 */
  .js .biz-row:not(.is-active) .biz-corp { color: #6B7587; }
  .js .biz-row:not(.is-active) .biz-corp .t { background: var(--ivory); color: #6B7587; }
  .js .biz-more { grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
  /* 펼침 중 버튼 포커스 링·그림자가 잘리지 않도록 여유 */
  .js .biz-more-in { overflow: hidden; margin: 0 -6px; padding: 0 6px; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .6s var(--ease); }
  .js .biz-row.is-active .biz-more, .js .biz-row:has(:focus-visible) .biz-more { grid-template-rows: 1fr; }
  .js .biz-row.is-active .biz-more-in, .js .biz-row:has(:focus-visible) .biz-more-in { padding-bottom: 6px; opacity: 1; transform: none; transition-delay: .12s; }
  .js .biz-row:not(.is-active) .biz-more-in { pointer-events: none; }
}

.biz-stage { position: sticky; top: max(calc(var(--header-h) + 24px), calc(50vh - 300px)); }
.biz-stage-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.biz-stage-label { font-size: .8rem; font-weight: 600; letter-spacing: .16em; color: var(--ink-2); }
.biz-dots { display: flex; gap: 6px; }
.biz-dots i { display: block; width: 16px; height: 3px; border-radius: 3px; background: var(--line); transition: width .45s var(--ease), background-color .45s var(--ease); }
.biz-dots i.is-active { width: 36px; background: var(--blue); }
/* 사진 비율 4:3 · 낮은 화면에서는 높이를 줄이고 사진은 가운데 기준으로 채움 */
.biz-frame { position: relative; aspect-ratio: 4 / 3; max-height: calc(100vh - var(--header-h) - 170px); min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ivory-2); box-shadow: var(--shadow-lg); isolation: isolate; }
.biz-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .06); background: linear-gradient(180deg, rgba(5, 12, 26, 0) 50%, rgba(5, 12, 26, .62)); }
/* 활성 사진: 위에 겹쳐 크로스페이드(나가는 사진은 잠시 그대로 두었다가 사라짐) + 느린 켄 번스 1.08 → 1 */
.biz-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s var(--ease) .75s, transform 0s linear 1.4s; }
.biz-ph.is-active { z-index: 1; opacity: 1; transform: scale(1); transition: opacity .9s var(--ease), transform 7.5s cubic-bezier(.16, .6, .2, 1); }
.biz-frame.no-tr .biz-ph { transition: none !important; }
/* 프레임 왼쪽 아래: 큰 번호 + 영역명 + 운영 법인 */
.biz-ovl { position: absolute; left: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); bottom: clamp(16px, 2vw, 26px); z-index: 3; display: grid; pointer-events: none; }
.biz-ovl-i { grid-area: 1 / 1; display: flex; align-items: flex-end; gap: 16px; color: #fff; text-shadow: 0 2px 24px rgba(5, 12, 26, .45); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.biz-ovl-i.is-active { opacity: 1; transform: none; transition-delay: .15s; }
.biz-ovl-i b { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 600; line-height: .86; letter-spacing: -0.04em; }
.biz-ovl-i span { display: grid; gap: 2px; font-size: clamp(1.2rem, 1.7vw, 1.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
.biz-ovl-i small { font-size: .82rem; font-weight: 500; letter-spacing: -0.01em; color: rgba(255, 255, 255, .82); }
.biz-caps { display: grid; margin-top: 22px; }
.biz-cap { grid-area: 1 / 1; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.biz-cap.is-active { opacity: 1; transform: none; }

/* 1024px 이하: 사진 카드형 (사진은 화면에 들어올 때 1.1 → 1 로 천천히 자리 잡음) */
@media (max-width: 1024px) {
  .biz-story { grid-template-columns: 1fr; }
  .biz-stage { display: none; }
  .biz-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .biz-row, .biz-row:last-child { padding: 0; border: 0; }
  .biz-row::before { display: none; }
  .biz-row-media { display: block; position: relative; aspect-ratio: 4 / 3; margin-bottom: 22px; border-radius: var(--radius); overflow: hidden; background: var(--ivory-2); isolation: isolate; }
  .biz-row-media img { width: 100%; height: 100%; object-fit: cover; }
  .js .biz-row-media img { transform: scale(1.1); transition: transform 1.8s cubic-bezier(.16, .6, .2, 1); }
  .js .biz-row-media.is-in img { transform: none; }
  .biz-row-head { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; }
  .biz-num { color: var(--blue); }
  .biz-area { font-size: clamp(1.7rem, 4vw, 2.2rem); }
  .biz-brand { grid-column: 2; }
  .biz-row-body { padding-left: 0; margin-top: 14px; }
  .biz-corp { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-2); }
  .biz-role { font-size: 1rem; }
}
@media (max-width: 640px) {
  .biz-list { grid-template-columns: 1fr; gap: 56px; }
}

/* =========================================================
   S5 One Group · Brands — 왼쪽 세로 트리 + 오른쪽 3D 브랜드 슬라이더 (한 섹션 · 네이비)
   - 트리(.wt): DOOGO GROUP(=슬라이드 0 DOOGO HOLDINGS) 아래 줄기(.wt-stem) → 가지 → 7개 사업 행(버튼)
     home.js 가 줄기 위치(--y0 · --h)와 현재 행(aria-current) · 빛 점 위치(--dy) · 채움(--f)을 넣습니다.
   - 슬라이더(.bs): 모든 카드가 한 칸에 겹쳐 있고 home.js 가 가운데 기준 거리로 translate·scale·어둡게만 바꿈
   - 화면 진입(.works.is-in · 한 번): 줄기 선 그리기 → 7행 위에서부터 차례로 점등 → DOOGO GROUP 파동 · 카드 등장
   - 960px 이하: 트리 = 가로 칩 레일(같은 버튼) · 슬라이더 화면 폭 · 카드 약 80vw(760px 이하)
   데스크톱 높이 목표: 1440×900 ≤ 820px · 1280×800 ≤ 760px (위아래 여백 포함)
   ========================================================= */
.works { overflow: hidden; padding-block: 60px 42px; }
.works-grid { display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); align-items: center; gap: 0 clamp(32px, 4vw, 64px); }
.works-side { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.works-head .eyebrow { margin-bottom: 16px; }
.works-title { font-size: clamp(1.85rem, 2.75vw, 2.6rem); line-height: 1.2; }
.works-lead { margin-top: 14px; font-size: 1.02rem; line-height: 1.6; letter-spacing: -0.015em; color: var(--on-dark-2); }
.works-stage { position: relative; min-width: 0; }

/* ---------- 트리 ---------- */
.wt { --sx: 25px; --ind: 48px; --ri: 7px; position: relative; }
.wt-list { position: relative; z-index: 1; display: grid; gap: 4px; }
.wt-li { position: relative; display: flex; min-width: 0; }
.wt-li--root { margin-bottom: 12px; }
.wt-li:not(.wt-li--root) { padding-left: var(--ind); }
/* 가지: 줄기 → 행 아이콘 (흐린 선 + 현재 행만 블루로 채움) */
.wt-li:not(.wt-li--root)::before, .wt-li:not(.wt-li--root)::after {
  content: ""; position: absolute; left: var(--sx); top: 50%; width: calc(var(--ind) + var(--ri) - var(--sx)); height: 1.5px; margin-top: -.75px;
  background: rgba(255, 255, 255, .16); transform-origin: left center; pointer-events: none;
}
.wt-li:not(.wt-li--root)::after { background: linear-gradient(90deg, var(--blue-300), var(--blue)); transform: scaleX(0); transition: transform .45s var(--ease); }
.wt-li.is-current::after { transform: scaleX(1); transition-delay: var(--bd, .35s); }

.wt-row {
  position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 var(--ri);
  border-radius: 14px; border: 1px solid transparent; color: var(--on-dark-2); text-align: left;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.wt-row:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.wt-row[aria-current="true"] { background: linear-gradient(90deg, rgba(10, 93, 226, .32), rgba(10, 93, 226, .06)); border-color: rgba(111, 162, 242, .34); color: #fff; }
.wt-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease); }
.wt-ico svg { width: 17px; height: 17px; }
.wt-row:hover .wt-ico { color: #fff; }
.wt-row[aria-current="true"] .wt-ico { background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(10, 93, 226, .22), 0 8px 20px -6px rgba(10, 93, 226, .9); }
.wt-txt { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.wt-ko { font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; white-space: nowrap; }
.wt-en { font-size: .7rem; font-weight: 600; line-height: 1.2; letter-spacing: .12em; color: var(--on-dark-3); white-space: nowrap; transition: color .4s var(--ease); }
.wt-row[aria-current="true"] .wt-en { color: var(--blue-300); }
.wt-num { margin-left: auto; padding-left: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: rgba(255, 255, 255, .32); font-variant-numeric: tabular-nums; transition: color .4s var(--ease); }
.wt-row[aria-current="true"] .wt-num { color: var(--blue-300); }

/* 맨 위: DOOGO GROUP (= DOOGO HOLDINGS 카드) */
.wt-root { height: 60px; gap: 14px; padding: 0 16px 0 calc(var(--sx) - 17px); }
.wt-sym { position: relative; flex: none; width: 34px; height: 34px; }
.wt-sym img { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 8px 22px -6px rgba(10, 93, 226, .9); }
.wt-pulse { position: absolute; inset: 0; pointer-events: none; }
.wt-pulse i { position: absolute; inset: 0; border-radius: 10px; outline: 1.5px solid rgba(111, 162, 242, .6); outline-offset: 0; opacity: 0; }
@keyframes wtPulse { 0% { opacity: .9; outline-offset: 0; } 100% { opacity: 0; outline-offset: 22px; } }
.works.is-in .wt-pulse i { animation: wtPulse 3.6s cubic-bezier(.2, .6, .35, 1) infinite; }
.works.is-in .wt-pulse i:nth-child(1) { animation-delay: 1.3s; }
.works.is-in .wt-pulse i:nth-child(2) { animation-delay: 2.5s; }
.works.is-in .wt-pulse i:nth-child(3) { animation-delay: 3.7s; }
.wt.is-paused .wt-pulse i { animation-play-state: paused; }
.wt-root .wt-txt { display: grid; gap: 4px; }
.wt-root-t { font-size: 1rem; font-weight: 600; line-height: 1.1; letter-spacing: .24em; color: #fff; white-space: nowrap; }
.wt-root-s { font-size: .74rem; font-weight: 500; line-height: 1.2; color: var(--on-dark-3); white-space: nowrap; transition: color .4s var(--ease); }
.wt-root-s .en { letter-spacing: .06em; }
.wt-root[aria-current="true"] .wt-root-s { color: var(--blue-300); }

/* 줄기 · 채움 · 빛 점 (위치는 home.js) */
/* 기본값(JS 없음): 맨 위 심볼 아래(52px) → 마지막 행 가운데(아래에서 22px) */
.wt-stem { position: absolute; left: calc(var(--sx) - .75px); top: var(--y0, 52px); z-index: 0; width: 1.5px; height: var(--h, calc(100% - 74px)); pointer-events: none; }
.wt-stem::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .16); transform-origin: top center; }
.wt-fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(111, 162, 242, .35), var(--blue-300) 70%, var(--blue)); transform-origin: top center; transform: scaleY(var(--f, 0)); transition: transform .75s cubic-bezier(.55, .05, .25, 1), opacity .5s var(--ease); }
.wt-dot { position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--blue), 0 0 16px 5px rgba(10, 93, 226, .55); transform: translateY(var(--dy, 0px)); transition: transform .75s cubic-bezier(.55, .05, .25, 1), opacity .4s var(--ease); }
/* 움직이는 동안 지나온 쪽으로 꼬리 */
.wt-dot::before { content: ""; position: absolute; left: 50%; bottom: 50%; width: 2px; height: 46px; margin-left: -1px; border-radius: 2px; background: linear-gradient(0deg, rgba(160, 196, 255, .95), rgba(111, 162, 242, 0)); opacity: 0; transition: opacity .35s var(--ease); }
.wt-dot.is-up::before { bottom: auto; top: 50%; background: linear-gradient(180deg, rgba(160, 196, 255, .95), rgba(111, 162, 242, 0)); }
.wt-dot.is-moving::before { opacity: 1; }

/* ---------- 화면 진입 (JS 가 .works 에 .is-in 을 한 번 붙임) ---------- */
.js .works .wt-stem::before { transform: scaleY(0); transition: transform 1s cubic-bezier(.5, 0, .2, 1) .25s; }
.js .works.is-in .wt-stem::before { transform: scaleY(1); }
.js .works .wt-fill, .js .works .wt-dot { opacity: 0; }
.js .works.is-in .wt-fill, .js .works.is-in .wt-dot { opacity: 1; transition-delay: 0s, 1.2s; }
.js .works .wt-li { opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(.45s + var(--i, 0) * .08s); }
.js .works .wt-li--root { transform: scale(.96); transform-origin: left center; transition-delay: .05s; }
.js .works.is-in .wt-li { opacity: 1; transform: none; }
.js .works .wt-li:not(.wt-li--root)::before { transform: scaleX(0); transition: transform .45s var(--ease) calc(.5s + var(--i, 0) * .08s); }
.js .works.is-in .wt-li:not(.wt-li--root)::before { transform: scaleX(1); }
/* 점등: 줄기가 지나가며 아이콘이 차례로 한 번 켜졌다가 제자리 */
@keyframes wtLight { 0% { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(10, 93, 226, .25), 0 0 22px 4px rgba(10, 93, 226, .6); } 100% { } }
/* (현재 행 여부와 상관없는 선택자 → 나중에 현재 행이 바뀌어도 다시 재생되지 않음) */
.js .works.is-in .wt-li:not(.wt-li--root) .wt-ico { animation: wtLight .9s var(--ease) calc(.55s + var(--i, 0) * .08s) 1; }
/* 카드 등장: 가운데 카드 먼저, 양옆이 뒤따라 */
.js .works .bs-card { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform 1s var(--ease), box-shadow .6s var(--ease); transition-delay: var(--cd, .55s), var(--cd, .55s), 0s; }
.js .works .bs-slide.is-current .bs-card { --cd: .3s; }
.js .works.is-in .bs-card { opacity: 1; transform: none; }

/* ---------- 3D 브랜드 슬라이더 ---------- */
/* isolation: 카드 z-index(60~100)가 고정 '움직임 멈추기' 버튼(z 90) 위로 올라가지 않게 슬라이더 안에 가둠 */
.bs { --bs-w: 290px; --bs-gap: 20px; --bs-ms: 3.5s; position: relative; isolation: isolate; }
.bs-viewport { position: relative; }
.bs-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 0 24px; }
.bs-track::-webkit-scrollbar { display: none; }
.bs-slide { flex: none; width: var(--bs-w); scroll-snap-align: center; }
.bs.is-ready .bs-viewport {
  overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.bs.is-ready.is-dragging .bs-viewport { cursor: grabbing; }
.bs.is-ready .bs-track { display: grid; justify-content: center; overflow: visible; padding: 12px 0 30px; }
.bs.is-ready .bs-slide { grid-area: 1 / 1; transition: transform .9s cubic-bezier(.2, .78, .2, 1), opacity .6s var(--ease); }
.bs.is-ready.is-dragging .bs-slide, .bs .bs-slide.no-tr, .bs .bs-slide.no-tr .bs-dim { transition: none; }

.bs-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%;
  border-radius: 22px; overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 34px 60px -36px rgba(0, 0, 0, .75); -webkit-user-drag: none;
  transition: box-shadow .6s var(--ease);
}
.bs-slide.is-current .bs-card { box-shadow: 0 40px 70px -34px rgba(10, 93, 226, .6), 0 0 0 1px rgba(255, 255, 255, .14); }
/* 3D 이미지: 배경이 연한 블루 그라데이션이라 카드 윗부분도 같은 그라데이션 */
.bs-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(180deg, #A7C4E7 0%, #C9DAF1 55%, #DCE6F5 100%); }
.bs-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.02); transition: transform 1s var(--ease); pointer-events: none; }
.bs-card:hover .bs-media img, .bs-card:focus-visible .bs-media img { transform: translateY(-10px) scale(1.07); }
.bs-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 20px 18px; }
.bs-top { display: flex; align-items: center; gap: 6px; width: 100%; margin-bottom: 4px; }
.bs-tag, .bs-live { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.bs-tag { background: var(--blue-50); color: var(--blue-700); }
.bs-live { background: var(--blue); color: #fff; }
.bs-live::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #fff; animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .3; } }
.bs-num { margin-left: auto; font-size: .74rem; font-weight: 600; letter-spacing: .12em; color: var(--muted-2); }
.bs-name { font-size: 1.36rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.bs-corp { font-size: .8rem; font-weight: 600; color: var(--blue-700); letter-spacing: -0.015em; white-space: nowrap; }
.bs-desc { margin-top: 2px; font-size: .85rem; line-height: 1.55; color: var(--muted); }
.bs-go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.bs-go .ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.bs-card:hover .bs-go .ico { transform: translateX(4px); }
.bs-dim { position: absolute; inset: 0; z-index: 3; background: var(--navy); opacity: 0; pointer-events: none; transition: opacity .7s var(--ease); }
.bs.is-dragging .bs-dim { transition: none; }

/* 조작부: 01 / 08 + 진행 바 · 자동 넘김 정지/재생(남은 시간 링) · 이전 · 다음 */
.bs-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 560px; margin: -6px auto 0; }
.bs-progress { flex: 1; display: flex; align-items: center; gap: 18px; }
.bs-count { display: inline-flex; align-items: baseline; gap: 7px; font-size: .9rem; font-weight: 500; letter-spacing: .06em; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.bs-count b { font-size: 1.16rem; font-weight: 600; color: #fff; }
.bs-count i { font-style: normal; }
.bs-bar { position: relative; flex: 1; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.bs-bar i { position: absolute; inset: 0; background: var(--blue-300); transform-origin: left center; transform: scaleX(.125); transition: transform .8s var(--ease); }
.bs-btns { display: flex; gap: 8px; flex: none; }
.bs-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); color: #fff; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.bs-btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.bs-btn .ico { width: 18px; height: 18px; }
.ico-prev { transform: rotate(180deg); }
.bs-toggle { border-color: rgba(255, 255, 255, .14); }
.bs-toggle .ico { width: 15px; height: 15px; }
.bs-toggle .i-play { display: none; margin-left: 2px; }
.bs.is-stopped .bs-toggle .i-play { display: block; }
.bs.is-stopped .bs-toggle .i-pause { display: none; }
.bs-ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.bs-ring circle { fill: none; stroke: var(--blue-300); stroke-width: 1.6; stroke-dasharray: 100; stroke-dashoffset: 100; }
.bs.is-auto .bs-ring circle { animation: bsRing var(--bs-ms) linear forwards; }
@keyframes bsRing { to { stroke-dashoffset: 0; } }
.bs:not(.is-ready) .bs-ctrl { display: none; }

/* 아래 얇은 줄: 브랜드 성장 & EXIT · 브랜드 전체 보기 */
.works-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 14px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.works-goal { display: inline-flex; align-items: center; gap: 12px; padding: 5px 20px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.works-goal-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); }
.works-goal-ico svg { width: 17px; height: 17px; }
.works-goal strong { font-size: .98rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.works-goal .en { font-size: .64rem; font-weight: 600; letter-spacing: .2em; color: var(--blue-300); white-space: nowrap; }
/* 왼쪽 아래 고정 '움직임 멈추기' 버튼(16px + 36px)과 겹치지 않게: 알약이 화면 왼쪽에서 68px 이상 떨어지도록 */
.works-foot { padding-left: max(0px, calc(68px - var(--gutter) - max(0px, (100vw - var(--container) - 2 * var(--gutter)) / 2))); }
.works-foot .link-arrow { min-height: 44px; }
.works-foot .link-arrow .ico { color: var(--blue-300); }

/* ---------- 낮은 데스크톱 화면 (1280×800 · 1366×768 등): 여백 · 행 높이 · 카드 폭을 줄임 ---------- */
@media (min-width: 961px) and (max-height: 860px) {
  .works { padding-block: 56px 42px; }
  .works-side { gap: 24px; }
  .works-title { font-size: clamp(1.85rem, 2.6vw, 2.3rem); }
  .works-lead { margin-top: 10px; font-size: .98rem; }
  .wt-row { height: 42px; }
  .wt-root { height: 54px; }
  .wt-li--root { margin-bottom: 10px; }
  .bs { --bs-w: 280px; }
  .bs.is-ready .bs-track { padding: 10px 0 30px; }
  .bs-body { padding: 14px 18px 16px; }
  .bs-name { font-size: 1.26rem; }
  .works-foot { margin-top: 14px; padding-top: 16px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .works-grid { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: 0 32px; }
  .wt { --ind: 42px; }
  .wt-txt { gap: 8px; }
  .wt-en { font-size: .64rem; letter-spacing: .08em; }
  /* 오른쪽 칸이 좁음: 가운데 카드를 조금 줄이고 옆 카드는 home.js 가 0.5배까지 줄여 칸 안에 들어오게 */
  .bs { --bs-w: 250px; --bs-gap: 14px; }
  .bs-body { padding: 14px 16px 16px; }
  .bs-name { font-size: 1.2rem; }
  .bs-corp { font-size: .76rem; }
}

/* ---------- 960px 이하: 제목 → 가로 칩 레일 → 슬라이더(화면 폭) → 조작부 ---------- */
@media (max-width: 960px) {
  .works { padding-block: 72px 48px; }
  .works-grid { grid-template-columns: 1fr; gap: 0; }
  .works-side { gap: 24px; }
  .works-stage { margin: 8px calc(var(--gutter) * -1) 0; }
  .wt-stem, .wt-li:not(.wt-li--root)::before, .wt-li:not(.wt-li--root)::after { display: none; }
  .wt-list {
    display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  }
  .wt-list::-webkit-scrollbar { display: none; }
  .wt-li, .wt-li:not(.wt-li--root) { flex: none; padding-left: 0; }
  .wt-li--root { margin-bottom: 0; }
  .wt-row, .wt-root { flex: none; height: 44px; gap: 8px; padding: 0 16px 0 5px; border-radius: 999px; border-color: rgba(255, 255, 255, .14); }
  .wt-row:hover { background: rgba(255, 255, 255, .06); }
  .wt-row[aria-current="true"] { background: var(--blue); border-color: var(--blue); }
  .wt-row[aria-current="true"] .wt-ico { background: #fff; color: var(--blue); box-shadow: none; }
  .wt-row[aria-current="true"] .wt-en, .wt-root[aria-current="true"] .wt-root-t { color: #fff; }
  .wt-ico { width: 32px; height: 32px; }
  .wt-ico svg { width: 16px; height: 16px; }
  .wt-txt { gap: 6px; }
  .wt-ko { font-size: .92rem; }
  .wt-en { font-size: .64rem; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
  .wt-num, .wt-root-s { display: none; }
  .wt-sym, .wt-sym img { width: 32px; height: 32px; border-radius: 50%; }
  .wt-sym img { box-shadow: none; }
  .wt-pulse i { border-radius: 50%; }
  @keyframes wtPulseS { 0% { opacity: .8; outline-offset: 0; } 100% { opacity: 0; outline-offset: 8px; } }
  .works.is-in .wt-pulse i { animation-name: wtPulseS; }
  .wt-root .wt-txt { display: flex; }
  .wt-root-t { font-size: .78rem; letter-spacing: .16em; }
  .js .works .wt-li { transform: translateX(16px); }
  .js .works .wt-li--root { transform: translateX(16px); }
  .js .works.is-in .wt-li { transform: none; }
  .bs { --bs-w: 320px; --bs-gap: 18px; }
  .bs.is-ready .bs-viewport { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
  .bs-track { padding-inline: var(--gutter); }
  .bs.is-ready .bs-track { padding-inline: 0; }
  .bs-ctrl { max-width: none; margin: -4px var(--gutter) 0; }
}
@media (max-width: 760px) {
  .works { padding-block: 64px 40px; }
  .works-head .eyebrow { margin-bottom: 14px; }
  .works-lead { margin-top: 10px; font-size: .95rem; }
  .works-side { gap: 20px; }
  .bs { --bs-w: 80vw; --bs-gap: 12px; }
  .bs.is-ready .bs-viewport { -webkit-mask-image: none; mask-image: none; }
  .bs.is-ready .bs-track { padding: 10px 0 28px; }
  /* 그림 칸 6:5 (3D 그림은 가운데 74% 안에 다 들어옴) → 카드 높이를 줄여 섹션이 화면 1.3배 안팎 */
  .bs-media { aspect-ratio: 6 / 5; }
  .bs-media img { object-position: 50% 50%; transform: none; }
  .bs-body { padding: 14px 18px 16px; }
  .bs-name { font-size: 1.28rem; }
  .bs-desc { font-size: .84rem; }
  .bs-ctrl { gap: 14px; }
  .bs-progress { gap: 12px; }
  .bs-count b { font-size: 1.06rem; }
  .bs-btns { gap: 6px; }
  .bs-btn { width: 44px; height: 44px; }
  .bs-btn .ico { width: 17px; height: 17px; }
  /* 알약 + 링크 한 줄 (고정 '움직임 멈추기' 버튼은 스크롤 중 잠깐 지나가므로 여기서는 왼쪽 여백 없음) */
  .works-foot { flex-wrap: nowrap; gap: 10px; margin-top: 16px; padding: 16px 0 0; }
  .works-goal { gap: 9px; padding: 4px 14px 4px 4px; }
  .works-goal-ico { width: 30px; height: 30px; }
  .works-goal-ico svg { width: 15px; height: 15px; }
  .works-goal strong { font-size: .9rem; }
  .works-goal .en { display: none; }
  .works-foot .link-arrow { font-size: .92rem; gap: 6px; white-space: nowrap; }
  .works-foot .link-arrow .ico { width: 16px; height: 16px; }
}
/* 짧은 휴대폰 화면(375×667 · 360×640): 여백과 카드 폭을 조금 줄임 */
@media (max-width: 760px) and (max-height: 700px) {
  .works { padding-block: 44px 28px; }
  .works-side { gap: 14px; }
  .bs { --bs-w: 74vw; }
  .bs-media { aspect-ratio: 4 / 3; } /* 섹션 높이 ≤ 화면 1.3배 */
  .bs.is-ready .bs-track { padding: 8px 0 24px; }
  .works-foot { margin-top: 12px; padding-top: 12px; }
}

/* =========================================================
   S6 리더십 — 여섯 대표, 리더 프로필 카드(.pcard · 생김새는 base.css 공통) 한 줄
   1280px 이상: 6장이 한 줄에 다 보임 (1280–1439px 은 이 섹션만 좌우 여백을 줄여 카드 폭 확보)
   1279px 이하: 가로 스크롤 스냅 + 이전·다음 버튼 · 진행 막대(home.js 가 넘칠 때만 .is-scroll) / 760px 이하: 카드 약 62vw
   등장(카드가 왼쪽부터 0.08초 간격 · 인물이 아래에서 선명해짐)은 base.css 의 .pcards[data-reveal] 규칙
   ========================================================= */
.ldr-head { margin-bottom: clamp(32px, 4vw, 56px); }
.ldr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ldr-item { display: flex; min-width: 0; }
.ldr-item > .pcard { flex: 1; }
.leaders-note { margin-top: 28px; }

/* 이전·다음 (넘칠 때만) */
.ldr-ctrl { display: none; align-items: center; gap: 20px; margin-top: 10px; }
.ldr-wrap.is-scroll .ldr-ctrl { display: flex; }
.ldr-bar { position: relative; flex: 1; height: 2px; border-radius: 2px; overflow: hidden; background: var(--line); }
.ldr-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left center; transform: scaleX(var(--p, .3)); transition: transform .35s var(--ease); }
.ldr-btns { display: flex; gap: 10px; }
.ldr-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid rgba(11, 27, 51, .16); color: var(--ink); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease); }
.ldr-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.ldr-btn:disabled { opacity: .35; cursor: default; }
.ldr-btn .ico { width: 18px; height: 18px; }

/* 1280–1439px: 이 섹션만 좌우 여백을 줄이고 컨테이너를 넓혀 6장이 한 줄에 (카드 약 195–210px)
   1440px 이상은 기본 컨테이너(1320px)로도 카드가 200px 이상이라 다른 섹션과 왼쪽 끝을 맞춤 */
@media (min-width: 1280px) and (max-width: 1439px) {
  .leaders { --gutter: 24px; }
  .leaders > .container { max-width: calc(1440px + var(--gutter) * 2); }
  .ldr { gap: 12px; }
}
/* 1279px 이하: 가로 스크롤 스냅 (넘침은 트랙 안에서만) */
@media (max-width: 1279px) {
  .ldr {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(214px, 21.5vw, 252px); gap: 14px;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 30px; scroll-padding-inline: var(--gutter);
  }
  .ldr::-webkit-scrollbar { display: none; }
  .ldr-item { scroll-snap-align: start; }
}
@media (max-width: 1024px) {
  .ldr { grid-auto-columns: clamp(214px, 33vw, 262px); }
}
@media (max-width: 860px) {
  .ldr-head .link-arrow { order: 3; }
}
/* 휴대폰: 카드 약 62vw → 1.5장 보임 */
@media (max-width: 760px) {
  .ldr { grid-auto-columns: 62vw; gap: 12px; padding-bottom: 24px; }
  .ldr-btn { width: 44px; height: 44px; }
  .leaders-note { margin-top: 18px; }
}

/* =========================================================
   S7 그룹소식 — 커버플로우
   JS(.is-ready): 카드가 한 칸에 겹쳐 있고 home.js 가 translate3d · rotateY 로 배치
   (가운데는 정면, 양옆은 살짝 회전·뒤로 물러남). JS 없음: 가로 스크롤 목록.
   ========================================================= */
.newsroom { overflow: hidden; }
.news-head { margin-bottom: clamp(28px, 3.6vw, 52px); }
.cf { --cf-w: 400px; position: relative; isolation: isolate; }
.cf-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px var(--gutter) 24px; }
.cf-track::-webkit-scrollbar { display: none; }
.cf-slide { flex: none; width: var(--cf-w); scroll-snap-align: center; }
.cf.is-ready .cf-viewport { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.cf.is-ready.is-dragging .cf-viewport { cursor: grabbing; }
.cf.is-ready .cf-track { display: grid; justify-content: center; overflow: visible; padding: 20px 0 36px; perspective: 1500px; perspective-origin: 50% 40%; }
.cf.is-ready .cf-slide { grid-area: 1 / 1; transition: transform .85s cubic-bezier(.2, .78, .2, 1), opacity .6s var(--ease); }
.cf.is-ready.is-dragging .cf-slide, .cf .cf-slide.no-tr, .cf .cf-slide.no-tr .cf-dim { transition: none; }

.cf-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%;
  border-radius: 22px; overflow: hidden; background: #fff; color: var(--ink); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -36px rgba(11, 27, 51, .38); -webkit-user-drag: none;
}
.cf-slide.is-current .cf-card { box-shadow: 0 40px 70px -34px rgba(11, 27, 51, .45); }
.cf-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ivory-2); }
.cf-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.1s var(--ease); pointer-events: none; }
.cf-slide.is-current .cf-card:hover .cf-thumb img { transform: scale(1.08); }
.cf-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 18px; }
.cf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cf-title { font-size: 1.12rem; font-weight: 700; line-height: 1.45; letter-spacing: -0.03em; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cf-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-2); }
.cf-date { font-size: .84rem; font-weight: 500; letter-spacing: .04em; color: var(--muted-2); }
.cf-go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.cf-go svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.cf-slide.is-current .cf-card:hover .cf-go { background: var(--blue); border-color: var(--blue); color: #fff; }
.cf-slide.is-current .cf-card:hover .cf-go svg { transform: translateX(2px); }
.cf-dim { position: absolute; inset: 0; z-index: 3; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .7s var(--ease); }
.cf.is-dragging .cf-dim { transition: none; }

.cf-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; }
.cf-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid rgba(11, 27, 51, .14); color: var(--ink); box-shadow: var(--shadow-sm); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.cf-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cf-btn .ico { width: 18px; height: 18px; }
.cf-dots { display: flex; align-items: center; }
.cf-dots button { display: grid; place-items: center; height: 44px; padding: 0 5px; }
.cf-dots button::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 99px; background: rgba(11, 27, 51, .2); transition: width .45s var(--ease), background-color .45s var(--ease); }
.cf-dots button:hover::before { background: rgba(11, 27, 51, .45); }
.cf-dots button[aria-current="true"]::before { width: 28px; background: var(--blue); }
.cf:not(.is-ready) .cf-ctrl { display: none; }
.intro .note, .leaders .note { color: #687286; }

@media (max-width: 1024px) {
  .cf { --cf-w: 380px; }
}
/* 모바일: 가운데 카드 78% 폭 · 양옆 카드가 살짝 보임 */
@media (max-width: 640px) {
  .cf { --cf-w: 78vw; }
  .cf.is-ready .cf-track { perspective: 1000px; padding: 12px 0 28px; }
  .cf-body { padding: 16px 18px 16px; gap: 8px; }
  .cf-title { font-size: 1.04rem; }
  .cf-btn { width: 46px; height: 46px; }
}

/* =========================================================
   움직임 멈추기 — OS 설정이 아니라 사용자가 '움직임 멈추기' 버튼을 고른 경우(html.motion-off)에만
   (OS '애니메이션 줄이기'가 켜진 기기도 카운터·글자 새김·슬라이더·영상은 그대로 재생합니다)
   ========================================================= */
html.motion-off .hero-media video { animation: none; transform: none; }
html.motion-off .hero-scroll i::after, html.motion-off .bs-live::before { animation: none !important; }
/* One Group · Brands: 트리 · 카드가 처음부터 다 보이고 파동·꼬리·전환 없음 (현재 행 표시는 그대로) */
html.motion-off .wt-pulse, html.motion-off .wt-dot::before { display: none; }
html.motion-off .works .wt-li, html.motion-off .works .bs-card { opacity: 1 !important; transform: none !important; }
html.motion-off .works .wt-stem::before, html.motion-off .works .wt-li::before { transform: none !important; }
html.motion-off .works .wt-fill, html.motion-off .works .wt-dot { opacity: 1 !important; }
html.motion-off .works *, html.motion-off .works *::before, html.motion-off .works *::after { transition: none !important; animation: none !important; }
html.motion-off .facts .fact-reel, html.motion-off .facts .fact-rule i, html.motion-off .facts .fact-label, html.motion-off .facts .fact-sub { transition: none !important; }
html.motion-off .facts .fact-rule i { transform: none; }
html.motion-off .facts .fact-label, html.motion-off .facts .fact-sub { opacity: 1; transform: none; }
html.motion-off .biz-more, html.motion-off .biz-more-in, html.motion-off .biz-ph, html.motion-off .biz-ph.is-active, html.motion-off .biz-ovl-i { transition: none !important; }
html.motion-off .biz-ph, html.motion-off .biz-ph.is-active, html.motion-off .biz-row-media img { transform: none !important; }
html.motion-off .bs-media img, html.motion-off .cf-thumb img { transition: none; }
/* OS '애니메이션 줄이기' 기기(html.soft-motion): 큰 확대 움직임만 덜어 냄 — 나머지 모션은 그대로 */
html.soft-motion .hero-media video { animation-duration: 1.4s; transform: scale(1.03); }

/* 11차: 대표 프로필 카드를 약 1.5배로 — 한 줄 가로 스냅(넘치면 이전·다음 버튼), 1440px 기준 4장 보임 */
.ldr {
  grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(290px, 22vw, 340px); gap: 18px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 30px; scroll-padding-inline: var(--gutter);
}
.ldr::-webkit-scrollbar { display: none; }
.ldr-item { scroll-snap-align: start; }
.ldr .pcard-name { font-size: clamp(1.25rem, 1.05rem + .5vw, 1.55rem); }
@media (max-width: 1024px) { .ldr { grid-auto-columns: clamp(280px, 46vw, 360px); } }
@media (max-width: 760px) { .ldr { grid-auto-columns: 80vw; gap: 14px; } }

/* 12차: 그룹소식·리더 섹션 위아래 여백 축소 */
.newsroom.section { padding-block: clamp(56px, 6vw, 96px) clamp(48px, 5vw, 84px); }
.newsroom .news-head { margin-bottom: clamp(16px, 2vw, 28px); }
.newsroom .cf.is-ready .cf-track { padding: 8px 0 24px; }
.leaders.section { padding-top: clamp(48px, 5vw, 80px); padding-bottom: clamp(56px, 6vw, 96px); }
.leaders .ldr-head { margin-bottom: clamp(20px, 2.4vw, 36px); }
