/* ==========================================================================
   TS 전략그룹 — Practice (WORK) 스타일
   - 메인 페이지: .pw  (스티키 스태킹 카드 3장)
   - 상세 페이지: .pd  (wellness.html · education.html · urban.html)
   상세 페이지는 이 파일만 불러온다(style.css 를 쓰지 않는다). 그래서 토큰 · 기본값을 여기서 다시 정의한다.
   ========================================================================== */
:root {
  --pr-navy:       #0B1F3A;
  --pr-navy-2:     #12294A;
  --pr-navy-3:     #071629;
  --pr-gold:       #A8843F;
  --pr-gold-light: #D2B27A;
  --pr-ink:        #0F1418;
  --pr-text-2:     #3A444D;
  --pr-muted:      #6A737C;
  --pr-rule:       #E2E5EA;
  --pr-soft:       #F4F5F7;
  --pr-paper:      #F7F5F0;
  --pr-serif: 'Noto Serif KR', 'Nanum Myeongjo', Georgia, serif;
  --pr-sans:  'Pretendard', system-ui, -apple-system, sans-serif;
  --pr-gutter: clamp(20px, 5vw, 72px);
  --pr-header: 72px;
  --ease-out-expo:  cubic-bezier(.16, 1, .3, 1);
  --ease-out-quint: cubic-bezier(.22, 1, .36, 1);
  --ease-reveal:    cubic-bezier(.25, .1, .25, 1);
}
@media (max-width: 899px) { :root { --pr-header: 60px; } }

/* 같은 사이트 안 페이지 이동을 부드러운 크로스페이드로 (지원 브라우저만) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease-out-quint); }

/* 공통 등장: JS 가 있을 때만 숨긴다 */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--x, 0px), var(--y, 28px), 0);
  transition: opacity var(--dur, .8s) var(--ease-reveal) var(--d, 0s),
              transform var(--dur, .8s) var(--ease-out-quint) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.pr-ml { display: block; overflow: hidden; padding: .06em .15em .14em; margin: -.06em -.15em -.14em; }
.pr-ml > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease-out-expo); transition-delay: calc(.15s + var(--i, 0) * .12s); }
.is-in .pr-ml > span, .pr-ml.is-in > span { transform: none; }
html:not(.js) .pr-ml > span { transform: none; }

.pr-arrow { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out-quint); }

/* ==========================================================================
   메인 페이지: Practice 스태킹 카드
   ========================================================================== */
.pw {
  position: relative;
  z-index: 1;
  background: #E9ECF0;
  padding: clamp(56px, 7vw, 96px) var(--pr-gutter) clamp(72px, 10vh, 120px);
  overflow-x: clip;   /* overflow:hidden 은 sticky 를 깨뜨린다 */
}
.pw__head { max-width: 1240px; margin: 0 auto clamp(28px, 4vw, 48px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pw__kicker { display: flex; align-items: center; gap: 14px; margin: 0; font: 600 12px/1 var(--pr-sans); letter-spacing: .22em; color: var(--pr-navy); }
.pw__kicker b { font: 600 14px/1 var(--pr-serif); letter-spacing: .04em; color: var(--pr-gold); }
.pw__kicker b::after { content: ""; display: inline-block; width: 36px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; opacity: .7; }
.pw__note { margin: 0; max-width: 360px; font: 400 14px/1.7 var(--pr-sans); color: var(--pr-muted); text-align: right; word-break: keep-all; }

.pw-slot {
  position: sticky;
  top: calc(var(--pr-header) + 20px);
  max-width: 1240px;
  margin: 0 auto;
}
.pw-slot + .pw-slot { margin-top: clamp(40px, 8vh, 80px); }
.pw-card {
  position: relative;
  top: calc(var(--i) * 18px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: min(620px, calc(100vh - var(--pr-header) - 96px));
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  color: var(--pr-ink);
  box-shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 18px 48px rgba(11, 31, 58, .10);
  transform-origin: top center;
  will-change: transform;
}
/* 휴대폰: 크기 변화가 없으니 별도 레이어 승격도 필요 없다. sticky 카드 안에 따로 떨어진 레이어가
   있으면 iOS 사파리가 스크롤 중 두 레이어의 위치를 맞추며 카드가 떨려 보일 수 있다. */
@media (max-width: 899px) {
  .pw-card { will-change: auto; }
}
.pw-card--paper { background: var(--pr-paper); }
/* 뒤에 깔리는 카드를 어둡게 하는 막. 예전엔 카드 전체에 filter: brightness() 를 스크롤마다 걸었는데,
   사진이 들어간 큰 카드를 매 프레임 다시 그려야 해서 휴대폰에서 카드가 떨려 보였다.
   반투명 막의 opacity 만 바꾸면 GPU 가 바로 처리해서 훨씬 매끄럽다. */
.pw-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
  opacity: var(--dim, 0);
  pointer-events: none;
  border-radius: inherit;
}
.pw-card--navy  { background: var(--pr-navy); color: #fff; }

.pw-card__body { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 56px); }
.pw-card__kicker { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 11.5px/1 var(--pr-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--pr-gold); }
.pw-card--navy .pw-card__kicker { color: var(--pr-gold-light); }
.pw-card__kicker span { color: var(--pr-muted); }
.pw-card--navy .pw-card__kicker span { color: rgba(255, 255, 255, .55); }
.pw-card__title { margin: 18px 0 0; font: 600 clamp(40px, 4.6vw, 64px)/1.1 var(--pr-serif); letter-spacing: -.025em; color: var(--pr-navy); }
.pw-card--navy .pw-card__title { color: #fff; }
.pw-card__lede { margin: 18px 0 0; max-width: 460px; font: 400 15.5px/1.85 var(--pr-sans); color: var(--pr-text-2); word-break: keep-all; }
.pw-card--navy .pw-card__lede { color: rgba(255, 255, 255, .74); }

.pw-card__caps { list-style: none; margin: auto 0 0; padding: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--pr-rule); }
.pw-card--navy .pw-card__caps { border-top-color: rgba(255, 255, 255, .16); }
.pw-card__caps li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; font: 600 15px/1.4 var(--pr-sans); color: var(--pr-navy); }
.pw-card--navy .pw-card__caps li { color: #fff; }
.pw-card__caps li span { font: 600 12.5px/1 var(--pr-serif); color: var(--pr-gold); }
.pw-card--navy .pw-card__caps li span { color: var(--pr-gold-light); }

.pw-card__cta {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  margin-top: 24px; padding: 14px 22px 14px 24px; border-radius: 999px;
  background: var(--pr-navy); color: #fff; font: 600 14px/1 var(--pr-sans);
  transition: background-color .25s ease;
}
.pw-card--navy .pw-card__cta { background: #fff; color: var(--pr-navy); }
.pw-card__cta::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* 카드 전체를 클릭 영역으로 */
.pw-card__cta:focus-visible { outline: 2px solid var(--pr-gold); outline-offset: 3px; }
.pw-card:hover .pw-card__cta .pr-arrow { transform: translateX(4px); }

.pw-card__media { position: relative; margin: 0; overflow: hidden; background: var(--pr-soft); }
.pw-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out-quint); }
.pw-card:hover .pw-card__media img { transform: scale(1.04); }
.pw-card__media::after {
  content: attr(data-label);
  position: absolute; left: 20px; bottom: 18px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 11px/1 var(--pr-sans); letter-spacing: .18em; color: var(--pr-navy);
}

@media (max-width: 899px) {
  .pw__head { flex-direction: column; align-items: flex-start; }
  .pw__note { text-align: left; font-size: 13.5px; }
  .pw-slot { top: calc(var(--pr-header) + 12px); }
  .pw-slot + .pw-slot { margin-top: 28px; }
  .pw-card { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; top: calc(var(--i) * 12px); }
  .pw-card__media { order: -1; aspect-ratio: 16 / 9; }
  .pw-card__body { padding: 22px 20px 22px; }
  .pw-card__title { margin-top: 12px; font-size: 32px; }
  .pw-card__lede { margin-top: 10px; font-size: 13.5px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .pw-card__caps { margin-top: 16px; padding-top: 10px; }
  .pw-card__caps li { padding: 6px 0; font-size: 13px; }
  .pw-card__cta { margin-top: 14px; padding: 12px 18px 12px 20px; font-size: 13px; }
  .pw-card__media::after { left: 14px; bottom: 12px; }
}

/* ==========================================================================
   상세 페이지 (.pd)
   ========================================================================== */
:where(.pd-page) *, :where(.pd-page) *::before, :where(.pd-page) *::after { box-sizing: border-box; }
html.pd-html, .pd-page { background: #fff; }
html.pd-html { scroll-behavior: smooth; scroll-padding-top: var(--pr-header); }
.pd-page {
  margin: 0;
  color: var(--pr-ink);
  font-family: var(--pr-sans);
  -webkit-font-smoothing: antialiased;
}
/* :where() 로 우선순위를 0 으로 — 각 요소의 margin-top 규칙이 이긴다 */
:where(.pd-page) :where(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
:where(.pd-page) img { display: block; max-width: 100%; }
:where(.pd-page) a { color: inherit; text-decoration: none; }
.pd-page ::selection { background: var(--pr-navy); color: #fff; }
.pd-page :focus-visible { outline: 2px solid var(--pr-gold); outline-offset: 3px; }
.pr-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- 헤더 ---- */
.pd-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--pr-rule); }
.pd-header__in { max-width: 1440px; height: var(--pr-header); margin: 0 auto; padding: 0 var(--pr-gutter); display: flex; align-items: center; gap: 32px; }
.pd-brand img { height: 38px; width: auto; }
.pd-tabs { display: flex; gap: 4px; margin-left: auto; padding: 4px; border-radius: 999px; background: var(--pr-soft); }
.pd-tabs a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--pr-muted); transition: color .2s, background-color .2s; }
.pd-tabs a:hover { color: var(--pr-navy); }
.pd-tabs a[aria-current="page"] { background: #fff; color: var(--pr-navy); font-weight: 700; box-shadow: 0 1px 3px rgba(11, 31, 58, .12); }
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--pr-navy); color: #fff !important; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .2s; }
.pd-btn:hover { background: var(--pr-navy-2); }
.pd-btn:hover .pr-arrow { transform: translateX(3px); }
.pd-btn--light { background: #fff; color: var(--pr-navy) !important; }
.pd-btn--light:hover { background: var(--pr-paper); }
.pd-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.pd-progress i { display: block; height: 100%; background: var(--pr-gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@media (max-width: 899px) {
  .pd-header__in { gap: 12px; }
  .pd-brand img { height: 30px; }
  .pd-tabs { display: none; }
  .pd-header .pd-btn { margin-left: auto; height: 38px; padding: 0 16px; font-size: 13px; }
}

/* ---- 히어로 ---- */
.pd-hero { position: relative; padding: clamp(40px, 6vw, 88px) var(--pr-gutter) clamp(56px, 8vw, 112px); overflow-x: clip; }
.pd-hero__in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.pd-crumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--pr-muted); }
.pd-crumb a:hover { color: var(--pr-navy); }
.pd-crumb svg { width: 12px; height: 12px; opacity: .5; }
.pd-hero__kicker { margin-top: clamp(28px, 4vw, 48px); font: 600 12px/1 var(--pr-sans); letter-spacing: .22em; color: var(--pr-gold); }
.pd-hero__title { margin-top: 18px; font: 600 clamp(56px, 8.4vw, 128px)/1 var(--pr-serif); letter-spacing: -.035em; color: var(--pr-navy); }
.pd-hero__sub { margin-top: clamp(20px, 2.4vw, 32px); font: 500 clamp(22px, 2.3vw, 34px)/1.35 var(--pr-serif); letter-spacing: -.02em; color: var(--pr-ink); }
.pd-hero__lede { margin-top: 22px; max-width: 520px; font-size: 16px; line-height: 1.9; color: var(--pr-text-2); word-break: keep-all; }
.pd-hero__meta { display: flex; gap: 0; margin-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--pr-rule); }
.pd-hero__meta div { flex: 1; padding: 16px 0 0; }
.pd-hero__meta div + div { padding-left: 24px; border-left: 1px solid var(--pr-rule); }
.pd-hero__meta dt { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--pr-muted); }
.pd-hero__meta dd { margin: 8px 0 0; font: 600 22px/1.2 var(--pr-serif); color: var(--pr-navy); }
.pd-hero__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--pr-soft); clip-path: inset(0 0 0 0 round 20px); }
.js .pd-hero__media { clip-path: inset(100% 0 0 0 round 20px); transition: clip-path 1.3s var(--ease-out-expo) .25s; }
.js .pd-hero.is-in .pd-hero__media { clip-path: inset(0 0 0 0 round 20px); }
.pd-hero__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--par, 0px), 0) scale(1.06); }
.pd-scroll { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 12px; letter-spacing: .16em; color: var(--pr-muted); }
.pd-scroll i { position: relative; width: 1px; height: 36px; overflow: hidden; background: var(--pr-rule); }
.pd-scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--pr-navy); animation: pd-cue 1.8s var(--ease-out-quint) infinite; }
@keyframes pd-cue { to { top: 100%; } }
@media (max-width: 899px) {
  .pd-hero { padding-top: 24px; }
  .pd-hero__in { grid-template-columns: 1fr; gap: 28px; }
  .pd-hero__media { aspect-ratio: 16 / 10; order: -1; border-radius: 16px; }
  .pd-hero__kicker { margin-top: 20px; font-size: 11px; }
  .pd-hero__title { font-size: 52px; margin-top: 12px; }
  .pd-hero__sub { font-size: 21px; }
  .pd-hero__lede { font-size: 14px; line-height: 1.8; margin-top: 14px; }
  .pd-hero__meta dd { font-size: 18px; }
  .pd-scroll { display: none; }
  .pd-crumb { font-size: 12px; }
}

/* ---- 핵심 역량: 스티키 인덱스 + 스크롤 패널 ---- */
.pd-caps { position: relative; background: var(--pr-soft); padding: clamp(72px, 9vw, 128px) var(--pr-gutter); }
.pd-caps__in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pd-index { position: sticky; top: calc(var(--pr-header) + 48px); }
.pd-index__en { font: 600 12px/1 var(--pr-sans); letter-spacing: .22em; color: var(--pr-gold); }
.pd-index__title { margin-top: 16px; font: 600 clamp(32px, 3.2vw, 44px)/1.2 var(--pr-serif); letter-spacing: -.02em; color: var(--pr-navy); }
.pd-index__list { position: relative; list-style: none; margin: 36px 0 0; padding: 0 0 0 20px; }
.pd-index__list::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--pr-rule); }
.pd-index__bar { position: absolute; left: 0; top: 6px; width: 2px; height: calc(100% - 12px); background: var(--pr-navy); transform-origin: top; transform: scaleY(var(--p, 0)); }
.pd-index__list a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; font-size: 17px; font-weight: 500; color: var(--pr-muted); transition: color .3s, transform .4s var(--ease-out-quint); }
.pd-index__list a span { font: 600 13px/1 var(--pr-serif); color: inherit; opacity: .8; }
.pd-index__list a:hover { color: var(--pr-navy); }
.pd-index__list a.is-active { color: var(--pr-navy); font-weight: 700; transform: translateX(6px); }
.pd-index__list a.is-active span { color: var(--pr-gold); opacity: 1; }
.pd-index__count { margin-top: 28px; font: 500 13px/1 var(--pr-serif); color: var(--pr-muted); font-variant-numeric: tabular-nums; }
.pd-index__count b { color: var(--pr-navy); font-size: 28px; font-weight: 600; margin-right: 4px; }

.pd-panel {
  position: relative;
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--pr-rule-2, #D3D8DF);
  opacity: .35;
  transition: opacity .6s var(--ease-reveal);
}
.pd-panel:last-child { border-bottom: 1px solid #D3D8DF; }
.pd-panel.is-active, html:not(.js) .pd-panel { opacity: 1; }
.pd-panel__no { font: 600 clamp(72px, 9vw, 132px)/.9 var(--pr-serif); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--pr-gold); }
.pd-panel__title { margin-top: 20px; font: 600 clamp(28px, 3vw, 42px)/1.25 var(--pr-serif); letter-spacing: -.02em; color: var(--pr-navy); }
.pd-panel__text { margin-top: 18px; max-width: 600px; font-size: 17px; line-height: 1.9; color: var(--pr-text-2); word-break: keep-all; }
.pd-panel__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.pd-panel__tags li { padding: 8px 14px; border: 1px solid #D3D8DF; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: var(--pr-navy); }

/* 휴대폰: 인덱스를 헤더 아래 가로 칩 막대로 */
@media (max-width: 899px) {
  .pd-caps { padding-top: 56px; padding-bottom: 56px; }
  .pd-caps__in { grid-template-columns: 1fr; gap: 8px; }
  .pd-index { top: var(--pr-header); z-index: 5; margin: 0 calc(-1 * var(--pr-gutter)); padding: 14px var(--pr-gutter) 0; background: rgba(244, 245, 247, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .pd-index__en { font-size: 10.5px; }
  .pd-index__title { margin-top: 8px; font-size: 24px; }
  .pd-index__count { display: none; }
  .pd-index__list { display: flex; gap: 6px; margin: 14px calc(-1 * var(--pr-gutter)) 0; padding: 0 var(--pr-gutter) 12px; overflow-x: auto; scrollbar-width: none; }
  .pd-index__list::-webkit-scrollbar { display: none; }
  .pd-index__list::before { display: none; }
  .pd-index__bar { top: auto; bottom: 0; left: 0; width: 100%; height: 2px; transform-origin: left; transform: scaleX(var(--p, 0)); }
  .pd-index__list li { flex: none; }
  .pd-index__list a { padding: 8px 14px; border-radius: 999px; border: 1px solid #D3D8DF; background: #fff; font-size: 13px; gap: 8px; }
  .pd-index__list a.is-active { transform: none; background: var(--pr-navy); border-color: var(--pr-navy); color: #fff; }
  .pd-index__list a.is-active span { color: var(--pr-gold-light); }
  .pd-panel { min-height: 0; padding: 36px 0; opacity: 1; scroll-margin-top: calc(var(--pr-header) + 120px); }
  .pd-panel__no { font-size: 64px; }
  .pd-panel__title { margin-top: 12px; font-size: 24px; }
  .pd-panel__text { margin-top: 12px; font-size: 14px; line-height: 1.8; }
  .pd-panel__tags { margin-top: 18px; gap: 6px; }
  .pd-panel__tags li { padding: 6px 12px; font-size: 12px; }
}

/* ---- 수행 방식: 데스크톱 가로 핀 스크롤 ---- */
.pd-flow { position: relative; background: var(--pr-navy); color: #fff; }
.pd-flow__stage { position: sticky; top: var(--pr-header); height: calc(100vh - var(--pr-header)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 0 var(--pr-gutter); }
.pd-flow__head { max-width: 1240px; width: 100%; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pd-flow__en { font: 600 12px/1 var(--pr-sans); letter-spacing: .22em; color: var(--pr-gold-light); }
.pd-flow__title { margin-top: 16px; font: 600 clamp(30px, 3.4vw, 48px)/1.25 var(--pr-serif); letter-spacing: -.02em; }
.pd-flow__count { font: 500 14px/1 var(--pr-serif); color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
.pd-flow__count b { font-size: 36px; color: #fff; margin-right: 6px; }
.pd-flow__track { display: flex; gap: 24px; margin-top: clamp(36px, 6vh, 64px); padding-left: max(0px, calc((100vw - 1240px) / 2 - var(--pr-gutter))); will-change: transform; transform: translate3d(var(--tx, 0px), 0, 0); }
.pd-step { flex: 0 0 clamp(300px, 34vw, 460px); min-height: clamp(280px, 40vh, 380px); display: flex; flex-direction: column; padding: 32px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
.pd-step__no { font: 600 64px/1 var(--pr-serif); color: transparent; -webkit-text-stroke: 1px var(--pr-gold-light); }
.pd-step__title { margin-top: auto; padding-top: 32px; font: 600 26px/1.3 var(--pr-serif); }
.pd-step__en { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: rgba(255, 255, 255, .5); }
.pd-step__text { margin-top: 16px; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .74); word-break: keep-all; }
.pd-flow__bar { max-width: 1240px; width: 100%; height: 2px; margin: clamp(32px, 5vh, 48px) auto 0; background: rgba(255, 255, 255, .14); }
.pd-flow__bar i { display: block; height: 100%; background: var(--pr-gold-light); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
/* 휴대폰 · 모션 줄이기: 핀 없이 세로 목록 */
@media (max-width: 899px) {
  .pd-flow { height: auto !important; padding: 64px var(--pr-gutter); }
  .pd-flow__stage { position: static; height: auto; padding: 0; overflow: visible; }
  .pd-flow__head { flex-direction: column; align-items: flex-start; }
  .pd-flow__title { font-size: 26px; }
  .pd-flow__count, .pd-flow__bar { display: none; }
  .pd-flow__track { flex-direction: column; gap: 12px; margin-top: 28px; padding: 0; transform: none !important; }
  .pd-step { flex: none; min-height: 0; padding: 22px 20px; display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; }
  .pd-step__no { grid-row: 1 / span 3; font-size: 36px; }
  .pd-step__title { margin: 0; padding: 0; font-size: 19px; }
  .pd-step__text { margin-top: 8px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-flow { height: auto !important; padding: 96px var(--pr-gutter); }
  .pd-flow__stage { position: static; height: auto; overflow: visible; padding: 0; }
  .pd-flow__track { flex-wrap: wrap; transform: none !important; padding: 0; max-width: 1240px; margin-inline: auto; }
  .pd-flow__bar, .pd-flow__count { display: none; }
}

/* ---- 다른 영역 ---- */
.pd-more { padding: clamp(72px, 9vw, 128px) var(--pr-gutter); }
.pd-more__in { max-width: 1240px; margin: 0 auto; }
.pd-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--pr-navy); }
.pd-more__en { font: 600 12px/1 var(--pr-sans); letter-spacing: .22em; color: var(--pr-gold); }
.pd-more__title { margin-top: 14px; font: 600 clamp(28px, 2.8vw, 38px)/1.25 var(--pr-serif); color: var(--pr-navy); }
.pd-more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.pd-next { position: relative; display: grid; grid-template-columns: 42% 1fr; min-height: 220px; overflow: hidden; border: 1px solid var(--pr-rule); border-radius: 20px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.pd-next:hover { border-color: #C9CFD8; box-shadow: 0 18px 40px rgba(11, 31, 58, .08); }
.pd-next figure { position: relative; overflow: hidden; background: var(--pr-soft); }
.pd-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out-quint); }
.pd-next:hover img { transform: scale(1.06); }
.pd-next__body { display: flex; flex-direction: column; padding: 26px 28px; }
.pd-next__kicker { font: 600 11px/1 var(--pr-sans); letter-spacing: .2em; color: var(--pr-gold); }
.pd-next__title { margin-top: 12px; font: 600 28px/1.2 var(--pr-serif); color: var(--pr-navy); }
.pd-next__text { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--pr-text-2); word-break: keep-all; }
.pd-next__go { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--pr-navy); }
.pd-next:hover .pr-arrow { transform: translateX(4px); }
@media (max-width: 899px) {
  .pd-more { padding-top: 56px; padding-bottom: 56px; }
  .pd-more__title { font-size: 24px; }
  .pd-more__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .pd-next { grid-template-columns: 112px 1fr; min-height: 132px; border-radius: 16px; }
  .pd-next__body { padding: 16px 16px 14px; }
  .pd-next__title { margin-top: 8px; font-size: 21px; }
  .pd-next__text { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pd-next__go { font-size: 12.5px; padding-top: 10px; }
}

/* ---- CTA ---- */
.pd-cta { padding: 0 var(--pr-gutter) clamp(72px, 9vw, 128px); }
.pd-cta__in { position: relative; max-width: 1240px; margin: 0 auto; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(40px, 5vw, 72px); border-radius: 28px; background: var(--pr-navy-3); color: #fff; }
.pd-cta__in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at 85% 0%, rgba(210, 178, 122, .18), transparent 60%); pointer-events: none; }
.pd-cta__en { position: relative; font: 600 12px/1 var(--pr-sans); letter-spacing: .22em; color: var(--pr-gold-light); }
.pd-cta__title { position: relative; margin-top: 14px; font: 600 clamp(26px, 3vw, 42px)/1.3 var(--pr-serif); letter-spacing: -.02em; }
.pd-cta .pd-btn { position: relative; height: 54px; padding: 0 28px; font-size: 15px; }
@media (max-width: 899px) {
  .pd-cta__in { flex-direction: column; align-items: flex-start; border-radius: 20px; padding: 32px 22px; }
  .pd-cta__title { font-size: 23px; }
  .pd-cta .pd-btn { width: 100%; height: 50px; }
}

/* ---- 푸터 ---- */
.pd-footer { background: #0D0E10; color: rgba(247, 245, 240, .6); padding: 40px var(--pr-gutter) 32px; font-size: 13px; line-height: 1.8; }
.pd-footer__in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.pd-footer img { height: 32px; width: auto; }
.pd-footer strong { color: rgba(247, 245, 240, .9); font-weight: 600; }
.pd-footer__copy { width: 100%; padding-top: 20px; border-top: 1px solid rgba(247, 245, 240, .12); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .pr-ml > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .pd-hero__media { clip-path: none; transition: none; }
  .pd-hero__media img { transform: none; }
  .pd-scroll i::after { animation: none; }
  .pd-panel { opacity: 1; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* 한글 제목 · 짧은 문구가 단어 중간에서 끊기지 않게 */
:where(.pd-page) :where(h1, h2, h3, dd, .pd-hero__sub), .pw-card__title, .pw__note { word-break: keep-all; overflow-wrap: break-word; }

/* 핵심 역량: 번호 · 역량 이름은 프리텐다드로 */
.pd-panel__no {
  font-family: var(--pr-sans);
  font-weight: 700;
  letter-spacing: -.03em;
}
.pd-panel__title { font-family: var(--pr-sans); font-weight: 700; letter-spacing: -.02em; }
.pd-index__list a span,
.pd-index__count { font-family: var(--pr-sans); }
.pd-index__list a span { font-weight: 600; }
.pd-index__count b { font-weight: 700; }
/* 인덱스 진행 막대는 쓰지 않는다 (세로 기준선만 유지) */
.pd-index__bar { display: none; }

/* ==========================================================================
   WHAT WE DO → Practice 카드 연결부 (v5)
   WHAT WE DO 화면의 바닥색(#050C18)을 그대로 이어받아 끊김 없이 카드로 넘어간다.
   ========================================================================== */
.pw {
  --pw-sticky: calc(var(--pr-header) + 76px);   /* 스티키 내비 아래에서 카드가 멈추는 위치 */
  background: #050C18;
  padding-top: clamp(24px, 4vw, 48px);
}
.pw-slot { top: var(--pw-sticky); }

.pw__intro { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.pw__line { position: relative; display: block; width: 1px; height: clamp(72px, 10vw, 120px); background: rgba(255, 255, 255, .12); overflow: hidden; }
.pw__line i { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(210, 178, 122, 0), var(--pr-gold-light)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.pw__lead { margin: 28px 0 0; font: 600 clamp(26px, 3vw, 40px)/1.3 var(--pr-serif); letter-spacing: -.02em; color: #fff; word-break: keep-all; }
.pw__intro .pw__note { margin: 14px 0 0; max-width: none; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .55); }

/* 스티키 영역 내비: WHAT WE DO 의 세 이름이 카드 위에 다시 나타나 현재 카드를 표시한다 */
.pw-nav {
  position: sticky;
  top: calc(var(--pr-header) + 14px);
  z-index: 20;
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(10, 20, 38, .72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.pw-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: 999px;
  font: 600 14px/1 var(--pr-sans); color: rgba(255, 255, 255, .62);
  transition: background-color .35s var(--ease-out-quint), color .35s var(--ease-out-quint);
}
.pw-nav a b { font: 600 12px/1 var(--pr-sans); color: var(--pr-gold-light); }
.pw-nav a:hover { color: #fff; opacity: 1; }
.pw-nav a.is-active { background: #fff; color: var(--pr-navy); }
.pw-nav a.is-active b { color: var(--pr-gold); }

/* 어두운 배경 위 카드 */
.pw-card { box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3); }
.pw-card--navy { background: var(--pr-navy-2); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pw-anchor { display: block; height: 0; }

@media (max-width: 899px) {
  .pw { --pw-sticky: calc(var(--pr-header) + 64px); padding-top: 16px; }
  .pw__intro { margin-bottom: 28px; }
  .pw__lead { margin-top: 20px; font-size: 24px; }
  .pw__intro .pw__note { font-size: 13px; }
  .pw-nav { top: calc(var(--pr-header) + 10px); margin-bottom: 20px; }
  .pw-nav a { height: 34px; padding: 0 13px; font-size: 13px; gap: 6px; }
  .pw-nav a b { font-size: 11px; }
}
/* 슬롯 사이 간격: JS 가 슬롯 앞에 표식(.pw-anchor)을 넣으므로 표식에 간격을 준다 */
.pw-slot + .pw-anchor { margin-top: clamp(40px, 8vh, 80px); }
@media (max-width: 899px) { .pw-slot + .pw-anchor { margin-top: 28px; } }

/* ==========================================================================
   v7: WHAT WE DO 목록 삭제 후 — 피라미드의 빛줄기에서 금색 선이 이어져 내려오도록
   카드 섹션을 WHAT WE DO 아래쪽에 겹쳐 올린다(위쪽은 투명 → 남색 그라데이션).
   데스크톱에서는 WHAT WE DO 가 고정된 동안 연결 문구가 그 위로 막처럼 올라온다.
   ========================================================================== */
.pw {
  margin-top: -30vh;
  padding-top: 0;
  background: linear-gradient(180deg, rgba(5, 12, 24, 0) 0, rgba(5, 12, 24, .82) 16vh, #050C18 30vh);
}
.pw__intro { padding-top: 12vh; }
.pw__line { height: clamp(96px, 14vh, 150px); }
.pw__line i { background: linear-gradient(180deg, rgba(255, 244, 220, .9), var(--pr-gold-light) 60%, rgba(210, 178, 122, .2)); }
@media (max-width: 899px) {
  .pw { margin-top: -26svh; background: linear-gradient(180deg, rgba(5, 12, 24, 0) 0, rgba(5, 12, 24, .85) 14svh, #050C18 26svh); }
  .pw__intro { padding-top: 10svh; }
}

/* 카드 버튼 깜박임 수정
   style.css 의 전역 a:hover { opacity:.62 } 가 버튼에 걸리면, 불투명도 때문에 버튼(과 카드 전체를 덮는 ::after)이
   이미지 아래 층으로 내려가 hover 가 풀리고 → 다시 위로 올라와 hover 가 걸리는 일이 반복됐다.
   불투명도를 고정하고, 버튼 자체를 위층(z-index)에 둔다. hover 표현은 색 변화와 화살표 이동으로 대신한다. */
.pw-card a.pw-card__cta,
.pw-card a.pw-card__cta:hover { opacity: 1; }
.pw-card__cta { position: relative; z-index: 2; }
.pw-card__cta::after { content: none; }   /* 카드 전체 클릭은 .pw-card__hit 가 맡는다 */
.pw-card__hit { position: absolute; inset: 0; z-index: 1; }   /* 카드 전체 클릭 영역 */
.pw-card a.pw-card__hit:hover { opacity: 1; }
.pw-card:hover .pw-card__cta { background: var(--pr-navy-2); }
.pw-card--navy:hover .pw-card__cta { background: var(--pr-paper); }

/* ==========================================================================
   휴대폰 카드 떨림 수정 (2026-11-12)
   아이폰 사파리는 sticky 카드의 위치를 스크롤 스레드에서 직접 옮기는데, 카드 안이나 위에
   배경 흐림(backdrop-filter) 막이 있으면 그 막은 메인 스레드가 다시 그려야 해서 둘이 한 박자씩
   어긋나며 카드 전체가 떨려 보인다. 휴대폰에서는 흐림 대신 거의 불투명한 단색 배경을 쓰고,
   sticky 카드 자체에는 transform(등장 슬라이드 · hover 확대)이 남지 않게 한다.
   ========================================================================== */
@media (max-width: 899px) {
  .pw-card__media::after {
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .pw-nav {
    background: rgba(10, 20, 38, .94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* 등장은 투명도만 — 슬라이드(translate)는 sticky 와 겹치면 멈추는 순간 흔들린다 */
  .js .pw-slot[data-reveal] { transform: none; transition: opacity var(--dur, .8s) var(--ease-reveal) var(--d, 0s); }
}
/* 터치 화면은 손가락을 대면 hover 가 걸려 사진이 1.2초 동안 확대된다 → 마우스가 있을 때만 */
@media (hover: none) {
  .pw-card:hover .pw-card__media img { transform: none; }
  .pw-card:hover .pw-card__cta .pr-arrow { transform: none; }
}

/* ==========================================================================
   휴대폰 카드 떨림 — 실제 원인 (2026-11-12, 아이폰 테스트로 확인)
   테스트: 카드 고정(sticky)을 끄면 떨림이 사라졌고, 같은 sticky 인 상단 헤더는 떨리지 않았다.
   차이는 카드·메뉴를 감싼 .pw 에만 있는 overflow-x: clip.
   아이폰 사파리는 sticky 의 바깥에 잘라내기(overflow)가 있으면 그 sticky 를 스크롤과 같은 박자로
   옮기지 못하고 한 박자 늦게 따로 옮겨서, 카드와 메뉴가 같이 떨렸다.
   휴대폰에서는 카드 크기 변화가 없어 옆으로 넘칠 것이 없으므로 잘라내기를 뺀다.
   ========================================================================== */
@media (max-width: 899px) {
  .pw { overflow-x: visible; }
}
