/* =========================================================================
   HYOYOIL — Design System v2 (2026-10)
   Source: "0 home.svg", "1 about.svg" (Figma, 1920px canvas)

   모든 치수는 1920px 시안의 px 값을 그대로 적고, --px 로 화면 폭에 맞춰
   비례 축소합니다. 예) calc(60 * var(--px)) = 1920에서 60px, 1440에서 45px.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color */
  --c-bg: #ffffff;
  --c-ink: #111111;        /* 본문 · 활성 메뉴 · 섹션 구분선 */
  --c-sub: #666666;        /* 보조 텍스트 · 라벨 */
  --c-hint: #8a8a8a;       /* 입력 안내(placeholder) */
  --c-line: #e5e5e5;       /* 행 구분선 · 푸터 구분선 */
  --c-img: #d9d9d9;        /* 이미지 자리 */

  /* Type — SUIT Regular 400 only */
  --font: "SUIT", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  /* Scale unit: 1px at 1920, shrinks with the viewport, never grows past 1px */
  --px: min(1px, calc(100vw / 1920));

  --fs-s: max(14px, calc(20 * var(--px)));   /* 20 — 메뉴 · 버튼 · 위치 */
  --fs-m: max(15px, calc(24 * var(--px)));   /* 24 — 본문 · 라벨 · 캡션 */
  --fs-l: max(22px, calc(36 * var(--px)));   /* 36 — About 소개 */
  --fs-xl: max(24px, calc(40 * var(--px)));  /* 40 — Home 소개 */
  --lh-m: 1.6667;                            /* 24 / 40 */
  --lh-l: 1.4;                               /* 36 / 50.4 */
  --lh-xl: 1.375;                            /* 40 / 55 */

  /* Grid — 12 columns, 1800 content at 1920 */
  --margin: calc(60 * var(--px));
  --gutter: calc(20 * var(--px));
  --max: 1800px;

  /* Spacing (1920 values) */
  --sp-section: calc(112 * var(--px));       /* 섹션 끝 → 다음 구분선 */
  --sp-head: calc(19 * var(--px));           /* 구분선 → 라벨 줄 */
}

/* Tablet */
@media (max-width: 1023px) {
  :root {
    --px: 0.6px;
    --margin: 32px;
    --gutter: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --px: 0.5px;
    --margin: 20px;
    --gutter: 12px;
    --fs-s: 14px;
    --fs-m: 15px;
    --fs-l: 22px;
    --fs-xl: 24px;
    --sp-section: 64px;
    --sp-head: 14px;
  }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-m);
  line-height: var(--lh-m);
  letter-spacing: 0;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-size: inherit; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--c-ink); outline-offset: 4px; }

.sub { color: var(--c-sub); }
a.sub:hover, .sub a:hover { color: var(--c-ink); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--margin); top: -100px; z-index: 10;
  background: var(--c-ink); color: #fff; padding: 8px 12px; font-size: var(--fs-s);
}
.skip:focus { top: 8px; }

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--margin) * 2);
  margin-inline: auto;
  padding-inline: var(--margin);
}
.g12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.rule { border-top: 1px solid var(--c-ink); }          /* 섹션 시작선 */
.rule-light { border-top: 1px solid var(--c-line); }   /* 행 · 푸터 구분선 */

/* ---------- 4. Header ---------- */
.site-header {
  height: calc(60 * var(--px));
  min-height: 48px;
  align-items: center;
  font-size: var(--fs-s);
  line-height: 1;
}
.site-header .logo { grid-column: 1 / 7; justify-self: start; color: var(--c-ink); }
.site-header .logo img { width: calc(133 * var(--px)); min-width: 96px; height: auto; }
.site-nav { display: contents; }
.site-nav a { color: var(--c-sub); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--c-ink); }
.site-nav a:nth-child(1) { grid-column: 7; }
.site-nav a:nth-child(2) { grid-column: 8; }
.site-nav a:nth-child(3) { grid-column: 9; }
.site-loc { grid-column: 10 / 13; justify-self: end; color: var(--c-sub); }

/* ---------- 5. Category list (Web · Contents · BI) ---------- */
.cats { color: var(--c-sub); white-space: nowrap; }
.cats a:hover { color: var(--c-ink); }
.cats .dot { margin-inline: 0 0.28em; }   /* "Web, Contents, BI" — 쉼표 뒤에만 간격 */

/* ---------- 6. Home ---------- */
.hero {
  margin-top: calc(60 * var(--px));
  padding-bottom: calc(40 * var(--px));
  align-items: end;
}
.hero .logo-big { grid-column: 1 / 8; color: var(--c-ink); }
.hero .logo-big img { width: calc(1037 / 1041.67 * 100%); height: auto; }
.hero .cats { grid-column: 8 / 13; justify-self: end; line-height: 1; margin-bottom: calc(2 * var(--px)); }

.intro {
  padding-top: calc(38 * var(--px));
  padding-bottom: calc(108 * var(--px));
}
.intro .statement { grid-column: 1 / 11; font-size: var(--fs-xl); line-height: var(--lh-xl); }
.intro .contact { grid-column: 11 / 13; margin-top: calc(-2 * var(--px)); }

.section-head {
  padding-top: calc(14 * var(--px));
  height: calc(99 * var(--px));
  min-height: 56px;
  align-items: start;
}
.section-head .lbl { grid-column: 1 / 7; }
.section-head .cats { grid-column: 7 / 13; justify-self: end; }

/* Work cards — 7/5 · 5/7 alternation, max 6 on Home */
.works { row-gap: calc(60 * var(--px)); }
.card { display: block; grid-column: span 5; }
.card[hidden] { display: none; }   /* Work 필터: 다른 카테고리 카드는 실제로 숨김 */
.card:nth-child(4n+1), .card:nth-child(4n+4) { grid-column: span 7; }
.card .thumb {
  aspect-ratio: 1 / 1;
  background: var(--c-img);
  overflow: hidden;
}
.card:nth-child(4n+1) .thumb, .card:nth-child(4n+4) .thumb { aspect-ratio: 1042 / 738; }
/* 마지막 줄에 카드가 하나만 남으면 넓은 카드로 */
.card:last-child:nth-child(odd) { grid-column: span 7; }
.card:last-child:nth-child(odd) .thumb { aspect-ratio: 1042 / 738; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .thumb img { transform: scale(1.02); }
.card .cap { margin-top: calc(14 * var(--px)); }
.card .cap .no { margin-inline: 0.12em; }
.works--home .card:nth-child(n+7) { display: none; }   /* Home: 최대 6개 */
/* 홈 · Work 목록: 모든 썸네일을 같은 크기로 (한 줄에 2개, 가로형 비율) */
.works--even .card:nth-child(n) .thumb { aspect-ratio: 1042 / 738; }
@media (min-width: 768px) {
  .works.works--even .card:nth-child(n) { grid-column: span 6; }
}

.see-all {
  margin-top: calc(140 * var(--px));
  height: calc(98 * var(--px));
  min-height: 64px;
  align-items: center;
}
.see-all .more { grid-column: 1 / 7; justify-self: start; display: inline-flex; align-items: center; gap: calc(12 * var(--px)); }
.see-all .more svg { width: max(12px, calc(20 * var(--px))); height: auto; transition: transform .2s; }
.see-all .more:hover svg { transform: translateX(4px); }
.see-all .cats { grid-column: 7 / 10; }
.see-all .count { grid-column: 10 / 13; justify-self: end; color: var(--c-sub); }

/* ---------- 7. About ---------- */
.page-top { margin-top: calc(155 * var(--px)); }
.about-sec { padding-top: var(--sp-head); padding-bottom: var(--sp-section); }
.about-sec--intro { padding-bottom: calc(125 * var(--px)); }   /* 시안 실측값 */
.about-sec--clients { padding-bottom: calc(106 * var(--px)); }
.about-sec--avail { padding-bottom: calc(117 * var(--px)); }
.about-sec--contact { padding-bottom: calc(127 * var(--px)); }
.about-sec > .lbl { grid-column: 1 / 4; color: var(--c-sub); }
.about-sec > .lbl-right { grid-column: 10 / 13; justify-self: end; color: var(--c-sub); }
.about-sec .lead { grid-column: 1 / 13; margin-top: calc(18 * var(--px)); font-size: var(--fs-l); line-height: var(--lh-l); }
.about-sec .body { grid-column: 4 / 13; }

/* Experience rows */
.exp { margin-top: calc(3 * var(--px)); }
.exp li {
  display: grid;
  /* 소속 · 직무 (3단) | 담당 업무 | 근무 기간 */
  grid-template-columns: calc((100% - 8 * var(--gutter)) / 9 * 3 + 2 * var(--gutter)) minmax(0, 1fr) auto;
  column-gap: var(--gutter);
  align-items: center;
  min-height: calc(71 * var(--px));
  padding-block: calc(15 * var(--px));
  border-bottom: 1px solid var(--c-line);
}
.exp .org { grid-column: 1; }
.exp .role { grid-column: 2; color: var(--c-sub); text-wrap: pretty; }
.exp .period { grid-column: 3; justify-self: end; color: var(--c-sub); white-space: nowrap; }

/* Clients — 3 columns, filled top to bottom */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: var(--gutter); color: var(--c-sub); }

/* Availability — 2 columns of label / value */
.avail { margin-top: calc(-3 * var(--px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: calc(36 * var(--px)); }
.avail > div:nth-child(odd) { grid-column: 1; }
.avail > div:nth-child(even) { grid-column: 2; }
.avail dt { color: var(--c-sub); margin-bottom: calc(-2 * var(--px)); }
.avail dd { color: var(--c-ink); }

/* Contact */
.about-sec .lbl .mail { display: block; margin-top: calc(2 * var(--px)); color: var(--c-ink); }
.about-sec .lbl .mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: calc(44 * var(--px)); }
.field { grid-column: span 1; display: flex; flex-direction: column; gap: calc(10 * var(--px)); }
.field.full { grid-column: 1 / -1; }
.field.full input { max-width: calc(50% + var(--gutter) / 2); }
.field label { color: var(--c-sub); }
.field input {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0 calc(18 * var(--px));
  background: #F4F4F4;
  line-height: var(--lh-m);
  height: calc(56 * var(--px));
  min-height: 44px;
  color: var(--c-ink);
}
.field input::placeholder { color: var(--c-hint); opacity: 1; }
.field input:focus { outline: 1px solid var(--c-ink); outline-offset: 0; }
.form .actions { grid-column: 1 / 4; margin-top: calc(2 * var(--px)); display: flex; align-items: center; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: calc(14 * var(--px));
  height: calc(56 * var(--px)); min-height: 44px;
  padding-inline: calc(26 * var(--px)); min-width: calc(131 * var(--px));
  border: 0; border-radius: 0;
  background: var(--c-ink); color: #fff;
  font-size: var(--fs-s); line-height: 1;
  cursor: pointer;
}
.btn svg { width: max(10px, calc(12 * var(--px))); height: auto; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.form-note { font-size: var(--fs-s); color: var(--c-hint); }

/* ---------- 8. Footer ---------- */
.site-footer {
  padding-top: calc(164 * var(--px));
  padding-bottom: calc(56 * var(--px));
  align-items: start;
}
.site-footer .contact { grid-column: 1 / 7; }
.site-footer .contact a { display: block; }
.site-footer .contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .mid { grid-column: 7 / 10; color: var(--c-sub); }
.site-footer .copy { grid-column: 10 / 13; justify-self: end; color: var(--c-sub); }
/* About 등 본문 섹션 뒤에 오는 푸터: 연한 구분선 */
.site-footer--rule { padding-top: 0; }
.site-footer--rule > .g12 { border-top: 1px solid var(--c-line); padding-top: calc(32 * var(--px)); padding-bottom: calc(60 * var(--px)); align-items: start; }

/* ---------- 9. Work list / detail stubs ---------- */
.work-filters { display: flex; flex-wrap: wrap; gap: 0; color: var(--c-sub); grid-column: 7 / 13; justify-self: end; }
.work-filters .dot { margin-right: 0.28em; }   /* "All, Web, Contents, BI" */
.work-filters button { border: 0; background: none; padding: 0; cursor: pointer; color: var(--c-sub); }
.work-filters button[aria-pressed="true"], .work-filters button:hover { color: var(--c-ink); }
.work-filters button[hidden] + .dot, .work-filters .dot:has(+ button[hidden]), .work-filters .dot:last-child { display: none; }
.empty { color: var(--c-sub); padding-block: 40px; }
.detail-hero .thumb { aspect-ratio: 16 / 9; background: var(--c-img); overflow: hidden; }
.detail-hero .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 10. Responsive ---------- */
@media (max-width: 1023px) {
  .site-loc { display: none; }
  .site-nav a:nth-child(1) { grid-column: 8; }
  .site-nav a:nth-child(2) { grid-column: 10; }
  .site-nav a:nth-child(3) { grid-column: 12; justify-self: end; }
  .intro .statement { grid-column: 1 / 13; }
  .intro .contact { grid-column: 1 / 13; margin-top: 32px; }
  .about-sec > .lbl { grid-column: 1 / 13; margin-bottom: 16px; }
  .about-sec > .lbl-right { display: none; }
  .about-sec .body { grid-column: 1 / 13; }
}

@media (max-width: 767px) {
  .site-header { height: 56px; }
  .site-header .logo { grid-column: 1 / 6; }
  .site-nav { display: flex; grid-column: 6 / 13; justify-self: end; gap: 20px; }

  .hero { margin-top: 32px; padding-bottom: 20px; row-gap: 16px; }
  .hero .logo-big { grid-column: 1 / 13; }
  .hero .logo-big img { width: 100%; }
  .hero .cats { grid-column: 1 / 13; justify-self: start; }
  .intro { padding-top: 20px; padding-bottom: 56px; }

  .section-head { height: auto; min-height: 0; padding-top: 12px; padding-bottom: 20px; }
  .section-head .lbl { grid-column: 1 / 13; }
  .section-head .cats { display: none; }

  .works { row-gap: 32px; }
  .card, .card:nth-child(4n+1), .card:nth-child(4n+4), .card:last-child:nth-child(odd) { grid-column: 1 / 13; }
  .card .cap { margin-top: 10px; }

  .see-all { margin-top: 56px; }
  .see-all .more { grid-column: 1 / 7; }
  .see-all .cats { display: none; }
  .see-all .count { grid-column: 7 / 13; }

  .site-footer { padding-top: 64px; padding-bottom: 40px; row-gap: 12px; font-size: var(--fs-s); }
  .site-footer .contact, .site-footer .mid { grid-column: 1 / 13; }
  .site-footer .copy { grid-column: 1 / 13; justify-self: start; }
  .site-footer--rule { padding-top: 0; }
  .site-footer--rule > .g12 { padding-top: 24px; padding-bottom: 40px; row-gap: 12px; }

  .page-top { margin-top: 40px; }
  .exp li { grid-template-columns: 1fr; row-gap: 2px; padding-block: 14px; }
  .exp .org, .exp .role, .exp .period { grid-column: 1 / -1; }
  .exp .period { justify-self: start; font-size: var(--fs-s); }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; }
  .avail { grid-template-columns: 1fr; row-gap: 20px; }
  .avail > div:nth-child(n) { grid-column: 1; }
  .form { grid-template-columns: 1fr; row-gap: 24px; }
  .field, .field.full, .form .actions { grid-column: 1 / -1; }
  .work-filters { grid-column: 1 / 13; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Mobile: 섹션 간격은 하나로 통일 */
@media (max-width: 767px) {
  .about-sec--intro, .about-sec--clients, .about-sec--avail, .about-sec--contact { padding-bottom: var(--sp-section); }
}

/* =========================================================================
   11. Work detail (work_jph.svg · work_silunity.svg, 1920px canvas)
   본문 20 · 리드 24 · 제목 56. 고정 비율 블록은 aspect-ratio + % 좌표로
   어느 화면 폭에서도 같은 구도를 유지합니다.
   ========================================================================= */
.wd { --fs-body: max(14px, calc(20 * var(--px))); --fs-title: max(28px, calc(56 * var(--px))); }
.wd-top { margin-top: calc(86 * var(--px)); }
.wd-top > * { margin-top: 0; }
.wd-meta { padding-top: calc(25 * var(--px)); padding-bottom: calc(42 * var(--px)); font-size: var(--fs-body); line-height: 1; color: var(--c-sub); align-items: start; }
.wd-meta .back { grid-column: 1 / 7; color: var(--c-ink); display: inline-flex; align-items: center; gap: calc(12 * var(--px)); }
.wd-meta .back svg { width: max(10px, calc(14 * var(--px))); height: auto; }
.wd-meta .back:hover { text-decoration: underline; text-underline-offset: 4px; }
.wd-meta .type { grid-column: 7 / 10; }
.wd-meta .year { grid-column: 10 / 13; justify-self: end; }

.wd-title { align-items: start; padding-bottom: calc(55 * var(--px)); }
.wd-title h1 { grid-column: 1 / 9; font-size: var(--fs-title); line-height: 1.5; color: var(--c-ink); text-wrap: balance; }
.wd-title .desc { grid-column: 10 / 13; margin-top: calc(4 * var(--px)); font-size: var(--fs-body); line-height: 1.5; color: var(--c-sub); }

.wd-facts { padding-top: calc(22 * var(--px)); padding-bottom: calc(105 * var(--px)); font-size: var(--fs-body); line-height: 1.4; }
.wd-facts > div:nth-child(1) { grid-column: 1 / 7; }
.wd-facts > div:nth-child(2) { grid-column: 7 / 10; }
.wd-facts > div:nth-child(3) { grid-column: 10 / 13; }
.wd-facts dt { color: var(--c-sub); font-size: max(13px, calc(18 * var(--px))); margin-bottom: calc(6 * var(--px)); }
.wd-facts dd { color: var(--c-ink); }

/* 공통 이미지 블록 */
.wd-fig { position: relative; width: 100%; border-radius: calc(20 * var(--px)); overflow: hidden; background: var(--c-img); }
.wd-fig > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-hero { aspect-ratio: 1800 / 1012; }
.wd-gap { margin-top: calc(200 * var(--px)); }
.wd-gap-sm { margin-top: calc(20 * var(--px)); }

/* Overview */
.wd-ov { margin-top: calc(60 * var(--px)); padding-top: calc(18 * var(--px)); padding-bottom: calc(190 * var(--px)); font-size: var(--fs-body); }
.wd-ov .lbl { grid-column: 1 / 4; color: var(--c-sub); line-height: 1.4; }
.wd-ov .lead { grid-column: 4 / 13; font-size: var(--fs-m); line-height: 1.85; color: var(--c-ink); }
.wd-ov .points { grid-column: 4 / 13; margin-top: calc(28 * var(--px)); padding-top: calc(23 * var(--px)); border-top: 1px solid var(--c-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
.wd-ov .points h2 { color: var(--c-ink); line-height: 1.4; }
.wd-ov .points p { margin-top: calc(10 * var(--px)); color: var(--c-sub); line-height: 1.7; text-wrap: pretty; }
.wd-ov--tight { padding-bottom: calc(118 * var(--px)); }

/* 홈 화면 스크롤 애니메이션 프레임 */
.wd-scroll { aspect-ratio: 2 / 1; background: #E0D4C3; }
.wd-scroll .band { position: absolute; left: 16.72%; width: 66.56%; top: 0; bottom: 0; background: #A09380; }
.wd-scroll .screen { position: absolute; left: 17.39%; width: 65.22%; top: 0; bottom: 0; overflow: hidden; background: #A09380; container-type: size; }
.wd-scroll .screen img { position: absolute; left: -1px; top: 0; width: calc(100% + 2px); height: auto; animation: wd-scroll 120s linear infinite; will-change: transform; }
@keyframes wd-scroll { 0% { transform: translateY(0); } 97%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
/* 스크롤 이미지는 화면에 들어오는 순간 맨 위부터 바로 움직입니다 (main.js가 .is-on을 붙임) */
.js-scroll .wd-scroll:not(.is-on) .screen img { animation: none; }

/* 숫자로 보는 진료 경력 — 데스크톱 · 모바일 재현 카드 */
.wd-stats { margin-inline: 8.44%; }
.wd-stats .wd-fig { background: #0e1d2a; }
.wd-stats .wd-fig--desk { aspect-ratio: 16 / 9; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
.wd-stats .wd-fig--mob { aspect-ratio: 435 / 707; }

/* 좌우 2단 카드 (서브페이지 · 모바일 화면) */
.wd-pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
.wd-pair .wd-fig { aspect-ratio: 890 / 1373; }
.wd-pair .shot { position: absolute; border-radius: calc(20 * var(--px)); overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .28), 0 4px 12px rgba(0, 0, 0, .12); }
.wd-pair .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.wd-pair--navy { background: #001C2B; }
.wd-pair--navy .bg { position: absolute; inset: -2%; background: url(/assets/img/work/jph/surgery-bg.jpg) center / cover; filter: blur(2px) brightness(.9); }
.wd-pair--navy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 28, 43, .35), rgba(0, 28, 43, .55)); }
.wd-pair--navy .shot { z-index: 1; }
.wd-pair--navy .shot:nth-child(2) { left: 9.66%; top: 5.83%; width: 64.6%; aspect-ratio: 1150 / 1452; }
.wd-pair--navy .shot:nth-child(3) { left: 25.8%; top: 46.5%; width: 64.5%; aspect-ratio: 574 / 662; }
.wd-pair--cream { background: linear-gradient(165deg, #FFFCF7 0%, #DDD0BC 100%); }
.wd-pair--cream .shot { box-shadow: 0 18px 44px rgba(60, 45, 20, .16), 0 2px 6px rgba(60, 45, 20, .08); }
.wd-pair--cream .shot:nth-child(1) { left: 11.3%; top: 5.7%; width: 36.9%; aspect-ratio: 328 / 539; }
.wd-pair--cream .shot:nth-child(2) { left: 53.8%; top: 25.5%; width: 36.9%; aspect-ratio: 328 / 618; }
.wd-pair--cream .shot:nth-child(3) { left: 11.5%; top: 47.3%; width: 37.1%; aspect-ratio: 330 / 619; }

/* Type & Color */
.wd-type { grid-column: 3 / 11; display: grid; grid-template-columns: 1fr 1fr; gap: calc(20 * var(--px)); }
.wd-type .font { position: relative; aspect-ratio: 587 / 248; border-radius: calc(20 * var(--px)); background: #1E2B3B; color: #fff; padding: 0 calc(29 * var(--px)); container-type: inline-size; }
.wd-type .font .k { position: absolute; left: calc(29 * var(--px)); top: 35%; font-size: 2.05cqw; letter-spacing: .04em; }
.wd-type .font .aa { position: absolute; left: calc(29 * var(--px)); bottom: 14%; display: flex; align-items: baseline; gap: .22em; line-height: 1; font-size: 17cqw; }
.wd-type .font .aa .ko { font-size: 13.6cqw; }
.wd-type .font--main .aa { font-family: Pretendard, "Pretendard Variable", -apple-system, sans-serif; font-weight: 400; }
.wd-type .font--sub .aa { font-family: "Noto Serif KR", serif; font-weight: 400; }
.wd-color { grid-column: 3 / 11; margin-top: calc(20 * var(--px)); display: grid; grid-template-columns: 587fr repeat(4, 132fr); gap: calc(20 * var(--px)); }
.wd-color > div { position: relative; aspect-ratio: 132 / 248; border-radius: calc(20 * var(--px)); color: #fff; container-type: inline-size; }
.wd-color > div:first-child { aspect-ratio: 587 / 248; color: var(--c-ink); }
.wd-color .hex { position: absolute; left: 19%; bottom: 21%; font-size: 10.6cqw; line-height: 1; white-space: nowrap; }
.wd-color > div:first-child .hex { left: 4.3%; font-size: 2.4cqw; }
.wd-color .nm { position: absolute; left: 19%; bottom: 11%; font-size: 9cqw; line-height: 1; white-space: nowrap; opacity: .8; }
.wd-color > div:first-child .nm { left: 4.3%; font-size: 2.05cqw; color: var(--c-sub); opacity: 1; }

/* 떠 있는 화면들 — 블러 · 그라데이션 배경 */
.wd-float { aspect-ratio: 1800 / 1007; background: #0e1d2a; }
.wd-float .bg { position: absolute; inset: 0; background: url(/assets/img/work/jph/bokeh-bg.jpg) center / cover; }
.wd-float .shot { position: absolute; z-index: 1; border-radius: calc(20 * var(--px)); overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .3); }
.wd-float .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-float .shot:nth-child(2) { left: 6.83%; top: 18.87%; width: 30.8%; aspect-ratio: 555 / 409; border-radius: calc(30 * var(--px)); }
.wd-float .shot img { object-position: center top; }
.wd-float .shot:nth-child(3) { left: 46.3%; top: 14.6%; width: 30.6%; aspect-ratio: 551 / 428; }
.wd-float .shot:nth-child(4) { left: 61.8%; top: 37.8%; width: 30.9%; aspect-ratio: 555 / 400; }
.wd-float .shot:nth-child(5) { left: 22%; top: 47%; width: 30.9%; aspect-ratio: 555 / 400; }

.wd-mockup { aspect-ratio: 3 / 2; }
.wd-mockup--sil { aspect-ratio: 1800 / 1183; }
.wd-footer { margin-top: calc(98 * var(--px)); }

/* 실유니티 — 상세페이지 4단 (회색 바탕) */
.sil-cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 0; align-items: start; padding: 8.89% 6.64%; background: #F8F8F8; }
.sil-cols img { width: 100%; height: auto; display: block; }

/* ---------- 11-1. 장편한외과 '숫자로 보는 진료 경력' 재현 (실제 사이트 코드 기준) ---------- */
.rec { --u: calc(100cqw / 1920); position: absolute; inset: 0; container-type: inline-size; overflow: hidden; font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, sans-serif; color: #f9f7f2; }
.rec::before { content: ""; position: absolute; inset: 0; background: url(/assets/img/work/jph/stat-bg.jpg) center / cover; filter: blur(1.5px); transform: scale(1.04); }
.rec::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 38, .92), rgba(10, 26, 38, .95)); }
.rec__in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(60 * var(--u)) calc(110 * var(--u)); }
.rec .sec-head { display: flex; flex-direction: column; gap: calc(16 * var(--u)); padding-bottom: calc(12 * var(--u)); }
.rec .eyebrow { font-size: calc(20 * var(--u)); line-height: 1.8; letter-spacing: .16em; font-weight: 500; color: #c5a371; }
.rec .rule { position: relative; height: 1px; background: rgba(249, 247, 242, .18); overflow: hidden; }
.rec .rule::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #c5a371, transparent 62%); transform: scaleX(0); transform-origin: left; transition: transform 1.15s cubic-bezier(.22, .68, .32, 1) .15s; }
.rec .is-in .rule::after { transform: scaleX(1); }
.rec .title { font-family: "Noto Serif KR", serif; font-weight: 400; font-size: calc(54 * var(--u)); line-height: 1.6; color: #f9f7f2; }
.rec .grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: calc(60 * var(--u)); }
.rec .stat { display: flex; flex-direction: column; gap: calc(22 * var(--u)); padding: calc(48 * var(--u)) calc(28 * var(--u)); box-shadow: inset 1px 0 0 rgba(249, 247, 242, .16); }
.rec .stat:first-child { box-shadow: none; }
.rec .stat svg { box-sizing: content-box; width: calc(56 * var(--u)); height: auto; padding: calc(18 * var(--u)); border-radius: 50%; background: rgba(229, 163, 92, .16); }
.rec .label { font-size: calc(26 * var(--u)); line-height: 1.42; color: #fff; }
.rec .value { display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(6 * var(--u)); }
.rec .num { font-size: calc(64.5 * var(--u)); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; color: #f2d7b4; font-variant-numeric: tabular-nums; }
.rec .unit { font-size: calc(26 * var(--u)); font-weight: 300; color: #f2d7b4; }
.rec .note { flex-basis: 100%; font-size: calc(20 * var(--u)); color: #f2d7b4; letter-spacing: -.02em; }
.rec .desc { font-size: calc(24 * var(--u)); font-weight: 300; line-height: 1.65; color: rgba(249, 247, 242, .8); letter-spacing: -.01em; text-wrap: pretty; }
.rec .asof { margin-top: calc(36 * var(--u)); text-align: right; font-size: calc(18 * var(--u)); font-weight: 300; color: rgba(249, 247, 242, .55); }
.rec [data-reveal] { opacity: 0; transform: translateY(calc(28 * var(--u))); transition: opacity .7s cubic-bezier(.22, .68, .32, 1), transform .7s cubic-bezier(.22, .68, .32, 1); transition-delay: var(--d, 0ms); }
.rec [data-reveal].is-in { opacity: 1; transform: none; }
/* 모바일(390px) 레이아웃 */
.rec--mob { --u: calc(100cqw / 390); overflow-y: auto; scrollbar-width: none; }
.rec--mob::-webkit-scrollbar { display: none; }
.rec--mob::before, .rec--mob::after { content: none; }
.wd-fig--mob::before { content: ""; position: absolute; inset: 0; background: url(/assets/img/work/jph/stat-bg.jpg) center / cover; filter: blur(1.5px); transform: scale(1.04); }
.wd-fig--mob::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 38, .92), rgba(10, 26, 38, .95)); }
.wd-fig--mob .rec { z-index: 1; }
.rec--mob .rec__in { justify-content: flex-start; min-height: 100%; height: auto; padding: calc(56 * var(--u)) calc(36.7 * var(--u)); }
.rec--mob .eyebrow { font-size: calc(13 * var(--u)); letter-spacing: .22em; }
.rec--mob .title { font-size: calc(26 * var(--u)); }
.rec--mob .grid { grid-template-columns: 1fr 1fr; margin-top: calc(32 * var(--u)); }
.rec--mob .stat { gap: calc(12 * var(--u)); padding: calc(26 * var(--u)) calc(14 * var(--u)); }
.rec--mob .stat:nth-child(odd) { box-shadow: none; }
.rec--mob .stat:nth-child(n+3) { box-shadow: inset 1px 0 0 rgba(249, 247, 242, .16), inset 0 1px 0 rgba(249, 247, 242, .16); }
.rec--mob .stat:nth-child(odd):nth-child(n+3) { box-shadow: inset 0 1px 0 rgba(249, 247, 242, .16); }
.rec--mob .stat svg { width: calc(38 * var(--u)); padding: calc(12 * var(--u)); }
.rec--mob .label { font-size: calc(16 * var(--u)); }
.rec--mob .num { font-size: calc(29.5 * var(--u)); }
.rec--mob .unit { font-size: calc(16 * var(--u)); }
.rec--mob .note { font-size: calc(13 * var(--u)); }
.rec--mob .desc { font-size: calc(15.2 * var(--u)); }
.rec--mob .asof { margin-top: calc(20 * var(--u)); font-size: calc(12.5 * var(--u)); }

/* 반응형 */
@media (max-width: 1023px) {
  .wd-title h1 { grid-column: 1 / 13; }
  .wd-title .desc { grid-column: 1 / 13; margin-top: 24px; }
  .wd-ov .lbl { grid-column: 1 / 13; margin-bottom: 12px; }
  .wd-ov .lead, .wd-ov .points { grid-column: 1 / 13; }
  .wd-type, .wd-color { grid-column: 1 / 13; }
}
@media (max-width: 767px) {
  .wd-top { margin-top: 32px; }
  .wd-meta { padding-bottom: 28px; }
  .wd-meta .back { grid-column: 1 / 8; }
  .wd-meta .type { grid-column: 8 / 11; }
  .wd-meta .year { grid-column: 11 / 13; }
  .wd-title { padding-bottom: 32px; }
  .wd-title h1 { line-height: 1.4; }
  .wd-facts { padding-top: 16px; padding-bottom: 48px; row-gap: 18px; }
  .wd-facts > div:nth-child(n) { grid-column: 1 / 13; }
  .wd-gap { margin-top: 48px; }
  .wd-ov { margin-top: 32px; padding-bottom: 64px; }
  .wd-ov .points { grid-template-columns: 1fr; row-gap: 24px; margin-top: 20px; }
  .wd-stats { margin-inline: 0; }
  .wd-pair, .gg-signs { grid-template-columns: 1fr; row-gap: 20px; }
  /* 디자인 시스템(모바일): 서체 2개 가로, 컬러 5개 같은 너비로 한 줄 */
  .wd-type { grid-template-columns: 1fr 1fr; gap: 8px; }
  .wd-type .font { aspect-ratio: 1 / 1; border-radius: 10px; }
  .wd-type .font .k { left: 9%; top: 11%; font-size: 6.4cqw; }
  .wd-type .font .aa { left: 9%; bottom: 11%; font-size: 24cqw; }
  .wd-type .font .aa .ko { font-size: 19cqw; }
  .wd-color { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
  .wd-color > div, .wd-color > div:first-child { aspect-ratio: 132 / 248; border-radius: 10px; }
  .wd-color > div .hex, .wd-color > div:first-child .hex { left: 12%; bottom: 20%; font-size: 13cqw; }
  .wd-color > div .nm, .wd-color > div:first-child .nm { left: 12%; bottom: 9%; font-size: 12cqw; }
  .wd-footer { margin-top: 48px; }
  .wd-title h1 br, .wd-ov .lead br { display: none; }
  .sil-cols { grid-template-columns: 1fr; row-gap: 0; padding: 0; background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .rec [data-reveal] { opacity: 1; transform: none; transition: none; }
  .rec .rule::after { transform: scaleX(1); transition: none; }
}

/* ---------- 12. 고강성모탑정형외과 ---------- */
.gg .wd-scroll { background: #DFE3EA; }
.gg .wd-scroll .band { background: #B7BFCC; }
.gg .wd-scroll .screen { background: #B7BFCC; }
.gg .wd-float { background: #0F1A2B; }
.gg .wd-float .bg { background: radial-gradient(60% 70% at 30% 20%, rgba(60, 90, 150, .35), transparent 70%), radial-gradient(50% 60% at 85% 90%, rgba(233, 143, 0, .14), transparent 70%), linear-gradient(160deg, #16243A 0%, #0F1A2B 55%, #0B1422 100%); }
.gg .wd-float .shot:nth-child(2) { left: 5.5%; top: 12%; width: 33%; aspect-ratio: 1260 / 904; border-radius: calc(20 * var(--px)); }
.gg .wd-float .shot:nth-child(3) { left: 44%; top: 8%; width: 33%; aspect-ratio: 1260 / 1040; }
.gg .wd-float .shot:nth-child(4) { left: 61%; top: 44%; width: 33%; aspect-ratio: 1300 / 728; }
.gg .wd-float .shot:nth-child(5) { left: 24%; top: 32%; width: 28%; aspect-ratio: 1260 / 1578; }
/* 모바일 화면 3장 */
.gg-mobile { aspect-ratio: 1800 / 1007; background: linear-gradient(180deg, #F3F5F8 0%, #E3E7ED 100%); }
.gg-mobile .shot { position: absolute; border-radius: calc(20 * var(--px)); overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(20, 30, 50, .18), 0 4px 12px rgba(20, 30, 50, .08); }
.gg-mobile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.gg-mobile .shot:nth-child(1) { left: 11%; top: 9%; width: 22%; aspect-ratio: 780 / 1690; }
.gg-mobile .shot:nth-child(2) { left: 39%; top: 9%; width: 22%; aspect-ratio: 780 / 1690; }
.gg-mobile .shot:nth-child(3) { left: 67%; top: 9%; width: 22%; aspect-ratio: 780 / 1690; }
.gg .wd-type .font { background: #1E255F; }
.gg .wd-type .font--main .aa, .gg .wd-type .font--sub .aa { font-family: Pretendard, "Pretendard Variable", -apple-system, sans-serif; }
.gg .wd-type .font--sub .aa { font-weight: 700; }
.gg-signs { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
.gg-signs .wd-fig { aspect-ratio: 4 / 3; }
@media (max-width: 767px) {
  .gg-mobile { aspect-ratio: auto; padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gg-mobile .shot, .gg-mobile .shot:nth-child(n) { position: static; width: auto; aspect-ratio: 780 / 1690; border-radius: 8px; }
}

/* 상세페이지 4단: PC에서만 단 사이 간격 (실유니티 · 메종아모리). 모바일은 간격 없이 이어 붙임 */
@media (min-width: 768px) {
  .sil-cols--gap { column-gap: calc(40 * var(--px)); }
}

/* 메종아모리: 대표이미지 하늘색을 응용한 원형 블러 배경 */
.sil-cols--sky { background: #7FA9D2; overflow: hidden; }
.sil-cols--sky::before { content: ""; position: absolute; inset: -12%; z-index: 0; filter: blur(60px);
  background:
    radial-gradient(34% 30% at 12% 14%, rgba(255, 255, 255, .75), transparent 70%),
    radial-gradient(28% 26% at 84% 10%, rgba(236, 244, 251, .7), transparent 70%),
    radial-gradient(30% 28% at 50% 50%, rgba(186, 214, 238, .9), transparent 70%),
    radial-gradient(36% 32% at 10% 86%, rgba(207, 227, 243, .8), transparent 70%),
    radial-gradient(30% 28% at 88% 88%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(40% 40% at 50% 100%, rgba(100, 150, 200, .8), transparent 70%),
    linear-gradient(160deg, #95BBDD 0%, #7FA9D2 50%, #6C9BC8 100%); }
.sil-cols--sky img { position: relative; z-index: 1; box-shadow: 0 30px 70px rgba(40, 70, 110, .28), 0 6px 16px rgba(40, 70, 110, .12); }
@media (max-width: 767px) {
  .sil-cols--sky { background: #fff; }
  .sil-cols--sky::before { content: none; }
  .sil-cols--sky img { box-shadow: none; }
}

/* ---------- 13. 연세속시원내과 ---------- */
.ys .wd-scroll { background: #DCEBEA; }
.ys .wd-scroll .band { background: #A4CCC9; }
.ys .wd-scroll .screen { background: #A4CCC9; }
.ys .wd-float { background: #182425; }
.ys .wd-float .bg { background: radial-gradient(55% 65% at 25% 15%, rgba(31, 151, 165, .38), transparent 70%), radial-gradient(50% 60% at 85% 90%, rgba(120, 200, 190, .16), transparent 70%), linear-gradient(160deg, #213233 0%, #182425 55%, #121B1C 100%); }
.ys .wd-float { aspect-ratio: 1800 / 1095; }   /* 상하 여백을 고강성모 대비 1.7배로 */
.ys .wd-float .shot:nth-child(2) { left: 5.5%; top: 13.06%; width: 31%; aspect-ratio: 1260 / 1372; }
.ys .wd-float .shot:nth-child(3) { left: 44%; top: 9.38%; width: 31%; aspect-ratio: 1260 / 1424; }
.ys .wd-float .shot:nth-child(4) { left: 62%; top: 44.32%; width: 32%; aspect-ratio: 1260 / 1090; }
.ys .wd-float .shot:nth-child(5) { left: 24%; top: 46.16%; width: 34%; aspect-ratio: 1260 / 947; }
/* 모바일 화면 3장 */
.ys-mobile { aspect-ratio: 1800 / 1007; background: linear-gradient(180deg, #EFF5F4 0%, #DCE9E7 100%); }
.ys-mobile .shot { position: absolute; top: 15.4%; width: 18.7%; aspect-ratio: 780 / 1690; border-radius: calc(20 * var(--px)); overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(20, 60, 60, .18), 0 4px 12px rgba(20, 60, 60, .08); }
.ys-mobile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ys-mobile .shot:nth-child(1) { left: 12.65%; }
.ys-mobile .shot:nth-child(2) { left: 40.65%; }
.ys-mobile .shot:nth-child(3) { left: 68.65%; }
.ys .wd-mockup { aspect-ratio: 1800 / 1012; }
.ys .wd-type .font { background: #1F97A5; }
.ys .wd-type .font--main .aa, .ys .wd-type .font--sub .aa { font-family: Pretendard, "Pretendard Variable", -apple-system, sans-serif; }
.ys .wd-type .font--sub .aa { font-weight: 700; }
@media (max-width: 767px) {
  .ys-mobile { aspect-ratio: auto; padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ys-mobile .shot { position: static; width: auto; border-radius: 8px; }
}

/* 홈 화면 스크롤 — 단색 배경 위 프레임 없는 데스크톱 비율 화면 (고강성모) */
.wd-scroll.wd-scroll--desk { aspect-ratio: 2000 / 1258; background: #ECECEC; }   /* 페이지별 배경색은 아래에서 지정 */
.wd-scroll.wd-scroll--desk .band { display: none; }
.wd-scroll.wd-scroll--desk .screen { left: 13.1%; width: 73.8%; top: 11.8%; bottom: auto; height: 75.5%; background: none; }
.wd-scroll.wd-scroll--desk .screen img { left: 0; width: 100%; }
.gg .wd-scroll.wd-scroll--desk { background: #B4BDCC; }
.ys .wd-scroll.wd-scroll--desk { background: #A6C6C3; }

/* 실유니티: 페이지 이미지 3개 모두 각진 모서리 */
.sil .wd-fig, .sil .sil-cols { border-radius: 0; }
/* 메종아모리: 두 번째 이미지(상세페이지 4단, 하늘색 배경)도 다른 이미지처럼 둥근 모서리 — PC만 */
@media (min-width: 768px) {
  .ma .sil-cols--sky { border-radius: calc(20 * var(--px)); }
}

/* About · 작업 원칙 3개 (소개 문장 아래) */
.about-sec .principles { grid-column: 4 / 13; margin-top: calc(60 * var(--px)); padding-top: calc(23 * var(--px)); border-top: 1px solid var(--c-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); font-size: max(14px, calc(20 * var(--px))); }
.about-sec .principles .no { display: block; color: var(--c-sub); font-size: max(13px, calc(18 * var(--px))); }
.about-sec .principles h2 { margin-top: calc(10 * var(--px)); color: var(--c-ink); line-height: 1.4; font-weight: 400; font-size: var(--fs-m); }
.about-sec .principles p { margin-top: calc(10 * var(--px)); color: var(--c-sub); line-height: 1.7; text-wrap: pretty; }
@media (max-width: 767px) {
  .about-sec .principles { grid-column: 1 / 13; margin-top: 32px; padding-top: 20px; grid-template-columns: 1fr; row-gap: 24px; }
}

/* ---------- 14. 문의 폼 (Web3Forms로 메일 자동 전송) ---------- */
.field textarea {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: calc(14 * var(--px)) calc(18 * var(--px));
  background: #F4F4F4;
  line-height: var(--lh-m);
  min-height: max(120px, calc(168 * var(--px)));
  resize: vertical;
  color: var(--c-ink);
}
.field textarea::placeholder { color: var(--c-hint); opacity: 1; }
.field textarea:focus { outline: 1px solid var(--c-ink); outline-offset: 0; }
.field .opt { color: var(--c-hint); }
.field.is-invalid input { outline: 1px solid #C2412D; outline-offset: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { flex-wrap: wrap; row-gap: 10px; }
.form-note:empty { display: none; }
.form-note.is-ok { color: var(--c-ink); }
.form-note.is-err { color: #C2412D; }
.btn[disabled] { opacity: .45; cursor: default; }

/* Home: 견적 문의 섹션 */
.home-inquiry { margin-top: calc(140 * var(--px)); }
.home-inquiry > .lbl .hint { margin-top: calc(2 * var(--px)); }
@media (max-width: 767px) {
  .home-inquiry { margin-top: 56px; }
}

/* Work 목록: 마지막 카드와 푸터 구분선 사이 여백 */
.site-footer--gap { margin-top: calc(140 * var(--px)); }
@media (max-width: 767px) {
  .site-footer--gap { margin-top: 56px; }
  .field.full input { max-width: none; }
}

/* ---------- 15. 작업 상세 하단: 이전 · 다음 작업 ---------- */
.wd-pager { margin-top: calc(98 * var(--px)); align-items: center; }
.pager-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: calc(12 * var(--px));
  height: calc(56 * var(--px)); min-height: 44px;
  min-width: calc(150 * var(--px));
  padding-inline: calc(26 * var(--px));
  border: 1px solid var(--c-ink);
  color: var(--c-ink);
  font-size: var(--fs-s); line-height: 1;
  transition: background-color .2s, color .2s;
}
.pager-btn svg { width: max(10px, calc(14 * var(--px))); height: auto; transition: transform .2s; }
.pager-prev { grid-column: 1 / 7; justify-self: start; }
.pager-next { grid-column: 7 / 13; justify-self: end; }
a.pager-btn:hover { background: var(--c-ink); color: #fff; }
a.pager-prev:hover svg { transform: translateX(-3px); }
a.pager-next:hover svg { transform: translateX(3px); }
.pager-btn.is-disabled { border-color: var(--c-line); color: #BDBDBD; cursor: default; }
@media (max-width: 767px) {
  .wd-pager { margin-top: 48px; }
  .pager-btn { min-width: 112px; gap: 8px; padding-inline: 18px; }
}

/* ---------- 16. 개인정보처리방침 · 푸터 링크 · 폼 안내 ---------- */
/* 푸터 오른쪽: 저작권 아래 개인정보처리방침 (본문색으로 눈에 띄게) */
.site-footer .copy { text-align: right; }
.site-footer .copy > span { display: block; }
.site-footer .copy a.privacy { display: block; color: var(--c-ink); }
.site-footer .copy a.privacy:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 문의 폼: 보내기 버튼 아래 한 줄 안내 */
.form-privacy { order: 3; flex-basis: 100%; font-size: var(--fs-s); color: var(--c-hint); }
.form-privacy a { color: var(--c-sub); text-decoration: underline; text-underline-offset: 3px; }
.form-privacy a:hover { color: var(--c-ink); }

/* 방침 본문: 왼쪽 3칸 제목 · 오른쪽 9칸 내용 (About과 같은 배치) */
.pp .section-head .pp-date { grid-column: 7 / 13; justify-self: end; color: var(--c-sub); }
.pp-lead { padding-top: var(--sp-head); padding-bottom: calc(64 * var(--px)); }
.pp-lead p { grid-column: 4 / 13; text-wrap: pretty; }
.pp-sec { border-top: 1px solid var(--c-line); padding-top: var(--sp-head); padding-bottom: calc(64 * var(--px)); }
.pp-h { grid-column: 1 / 4; font-size: var(--fs-m); font-weight: 400; color: var(--c-ink); padding-right: var(--gutter); }
.pp-body { grid-column: 4 / 13; color: var(--c-sub); text-wrap: pretty; }
.pp-body > * + * { margin-top: calc(24 * var(--px)); }
.pp-body a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pp-sub { font-size: var(--fs-m); font-weight: 400; color: var(--c-ink); }
.pp-body .pp-sub { margin-top: calc(48 * var(--px)); }
.pp-dl > div { display: grid; grid-template-columns: calc((100% - 8 * var(--gutter)) / 9 * 2 + var(--gutter)) minmax(0, 1fr); column-gap: var(--gutter); padding-block: calc(10 * var(--px)); border-bottom: 1px solid var(--c-line); }
.pp-dl > div:first-child { border-top: 1px solid var(--c-line); }
.pp-dl dd { color: var(--c-ink); }
.pp-list li { position: relative; padding-left: 1em; }
.pp-list li + li { margin-top: calc(8 * var(--px)); }
.pp-list li::before { content: "·"; position: absolute; left: 0.2em; }
.pp-note { font-size: var(--fs-s); color: var(--c-hint); }
@media (max-width: 1023px) {
  .pp-lead p, .pp-h, .pp-body { grid-column: 1 / 13; }
  .pp-h { margin-bottom: 16px; }
}
@media (max-width: 767px) {
  .pp .section-head .pp-date { grid-column: 1 / 13; justify-self: start; margin-top: 4px; }
  .pp-lead { padding-bottom: 40px; }
  .pp-sec { padding-bottom: 40px; }
  .pp-body > * + * { margin-top: 16px; }
  .pp-body .pp-sub { margin-top: 32px; }
  .pp-dl > div { grid-template-columns: 1fr; row-gap: 2px; padding-block: 10px; }
  .pp-list li + li { margin-top: 6px; }
  .site-footer .copy { text-align: left; }
}
