/* 빌드가 C:/project/static/tools/site-components/에서 복사한 파일 — 여기서 고치지 말 것(다음 빌드에 덮인다). 사이트 색은 style.css :root --sc-* */
/* ── site-components/tokens.css ── */
/* site-components 토큰 — 부품 CSS는 색·그림자·모서리를 이 변수로만 쓴다(부품 안에 hex 없음).
   기본값은 법률사무소 승전(네이비·라벤더). 다른 사이트는 이 파일을 고치지 말고
   사이트 CSS에서 :root { --sc-brand: …; } 처럼 필요한 변수만 덮어쓴다.
   글자 대비: --sc-ink·--sc-muted·--sc-brand·--sc-brand-2·--sc-accent-text는
   --sc-surface·--sc-tint·--sc-tint-2 위에서 4.5:1 이상이 되게 고른다. */
:root {
  /* 주색 — 주 버튼·현재 메뉴·채워지는 면 */
  --sc-brand: #001555;
  --sc-brand-strong: #000c33;   /* 짙은 바탕, 그라디언트 끝 */
  --sc-brand-hover: #000f40;    /* 채운 버튼 hover */
  --sc-brand-hi: #0a2470;       /* B3 그라디언트 밝은 쪽 */
  --sc-brand-2: #233f8e;        /* 보조 남색 — hover 글자, 아이콘 선, 밑줄 */

  /* 강조색 — 형광펜, 짙은 바탕 위 버튼, 라벨 */
  --sc-accent: #a9a6ea;
  --sc-accent-hi: #c3c1f2;      /* B3 짙은 바탕판 그라디언트 밝은 쪽 */
  --sc-accent-line: #9c98dc;    /* 열린 FAQ 테두리, 현재 메뉴 왼쪽 띠 */
  --sc-accent-text: #5b55b8;    /* 흰·틴트 바탕 위 강조 글자, 진행 줄, 초점 테두리 */

  /* 바탕 */
  --sc-surface: #ffffff;
  --sc-surface-2: #f6f7fb;      /* D3 타일, 모바일 서브메뉴 바탕 */
  --sc-hover: #f4f5fa;          /* 목록 hover 바탕 */
  --sc-tint: #eceff6;           /* 메인 색의 아주 연한 틴트 */
  --sc-tint-2: #dddcf2;         /* 강조색 틴트 */
  --sc-glass: rgba(255, 255, 255, .72);  /* N6 유리 바탕 */
  --sc-scrim: rgba(0, 12, 51, .5);       /* 모바일 메뉴 뒤 막 */

  /* 글자·선 */
  --sc-ink: #1f232b;
  --sc-muted: #4f5561;
  --sc-on-dark: #ffffff;
  --sc-on-dark-muted: #d6dbea;
  --sc-line-soft: #e3e6ef;      /* 헤더 아래 선, 패널 테두리 */
  --sc-line: #dcdfe8;
  --sc-line-strong: #c9cfe2;    /* 버튼 외곽선, 단계 원 테두리 */

  /* 그림자 — 브랜드 색 기운. 숫자 세 개(r,g,b)만 바꾸면 모든 그림자가 따라간다 */
  --sc-shadow-rgb: 0, 21, 85;
  --sc-shadow-deep-rgb: 0, 12, 51;
  --sc-shadow-sm: 0 8px 20px rgba(var(--sc-shadow-rgb), .08);
  --sc-shadow-md: 0 8px 18px rgba(var(--sc-shadow-rgb), .2);
  --sc-shadow-lg: 0 2px 4px rgba(var(--sc-shadow-deep-rgb), .05), 0 24px 48px rgba(var(--sc-shadow-rgb), .16);
  --sc-shadow-on-dark: 0 6px 16px rgba(0, 0, 0, .35);
  --sc-shadow-on-dark-hover: 0 12px 28px rgba(0, 0, 0, .45);

  /* 모양·움직임·크기 */
  --sc-radius-sm: 10px;
  --sc-radius-md: 14px;
  --sc-radius-lg: 18px;
  --sc-ease: cubic-bezier(.2, .7, .2, 1);
  --sc-header-h: 72px;
  --sc-container: 1280px;
  --sc-gutter: clamp(20px, 5vw, 64px);
  --sc-focus: var(--sc-accent-text);

  /* ── 2차 부품(2026-10-20)이 쓰는 값. 사이트 테마를 바꿀 때 아래 *-rgb 세 숫자도 같은 색으로 바꾼다 ── */
  --sc-accent-soft: #ecebf8;    /* 연한 강조 틴트 — T6 알약, SP5 타일, K3 바탕 끝, P4 꼬리표, A1 직함, F2 아이콘 칸 */
  --sc-accent-wash: #f4f3fc;    /* 아주 연한 강조 — K2 hover, K3 바탕 가운데, A1 바탕 끝 */
  --sc-accent-rgb: 169, 166, 234;   /* --sc-accent와 같은 색(알파용: 배지 테두리, 푸터 선). 테마마다 꼭 같이 바꾼다 */
  --sc-on-dark-rgb: 255, 255, 255;  /* 짙은 바탕 위 흰색 알파 */
  --sc-surface-rgb: 255, 255, 255;  /* 퀵바 QB2 유리 */
  --sc-overlay-rgb: var(--sc-shadow-deep-rgb);  /* 사진 위 막(H2·H7·L3·C1) */
  --sc-card-shadow: 0 1px 2px rgba(var(--sc-shadow-rgb), .05), 0 6px 16px rgba(var(--sc-shadow-rgb), .06);
  --sc-card-shadow-hover: 0 2px 4px rgba(var(--sc-shadow-rgb), .05), 0 14px 30px rgba(var(--sc-shadow-rgb), .11);
  --sc-card-shadow-lift: 0 4px 8px rgba(var(--sc-shadow-rgb), .07), 0 22px 46px rgba(var(--sc-shadow-rgb), .16);
}

/* ── site-components/icons/icon-styles.css ── */
/* ── 아이콘 칸 스타일 I1~I4 (site-components) ─────────────────────────────
   필요: tokens.css. 아이콘 SVG는 icons.mjs / icons.js의 svg()로 넣는다.
   마크업: <span class="sc-icbox sc-icbox--i3">{svg}</span>
   I3의 hover·focus 채움은 칸을 감싼 a·button에 반응한다(칸 자체는 초점을 받지 않음). */

/* 모든 부품이 공유하는 아이콘 기본값 — 아이콘을 쓰는 페이지엔 이 파일을 함께 붙인다 */
.sc-ic { width: 24px; height: 24px; flex: none; display: block; }
.sc-ic .sc-tn { stroke: none; fill: var(--sc-tone, none); fill-opacity: var(--sc-tone-o, 1); }

.sc-icbox { display: grid; place-items: center; flex: none; color: var(--sc-brand); }

/* I1 선 아이콘 단독 — 바탕 칸 없이 */
.sc-icbox--i1 .sc-ic { width: 36px; height: 36px; }

/* I2 연한 틴트 둥근 사각 칸 */
.sc-icbox--i2 { width: 60px; height: 60px; border-radius: 16px; background: var(--sc-tint); color: var(--sc-brand-2); }
.sc-icbox--i2 .sc-ic { width: 30px; height: 30px; }

/* I3 원형 칸 — 감싼 링크에 올리거나 Tab으로 오면 주색으로 차오름 */
.sc-icbox--i3 {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--sc-tint); color: var(--sc-brand-2);
  box-shadow: inset 0 0 0 1px var(--sc-line);
  transition: background-color .3s, color .3s, box-shadow .3s, transform .3s var(--sc-ease);
}
.sc-icbox--i3 .sc-ic { width: 30px; height: 30px; }
:is(a, button):is(:hover, :focus-visible) .sc-icbox--i3 {
  background: var(--sc-brand); color: var(--sc-on-dark);
  box-shadow: inset 0 0 0 1px var(--sc-brand), 0 8px 18px rgba(var(--sc-shadow-rgb), .22);
  transform: translateY(-2px);
}
/* 초점 테두리는 링크 전체가 아니라 원에 그린다 */
.sc-iclink:has(.sc-icbox--i3):focus-visible { outline: none; }
.sc-iclink:focus-visible .sc-icbox--i3 { outline: 2px solid var(--sc-focus); outline-offset: 3px; }

/* I4 두 톤 — 선은 주색, 주된 면(sc-tn)만 강조색으로 옅게 */
.sc-icbox--i4 { --sc-tone: var(--sc-accent); --sc-tone-o: .8; }
.sc-icbox--i4 .sc-ic { width: 40px; height: 40px; }

/* 선택: 아이콘 + 이름 묶음(링크·칸)과 격자 목록 */
.sc-icgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 12px; margin: 0; padding: 0; list-style: none; }
.sc-icgrid > li, .sc-iclink { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sc-iclink { padding: 4px; border-radius: var(--sc-radius-md); color: inherit; text-decoration: none; }
.sc-icname { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--sc-ink); transition: color .3s; }
.sc-iclink:is(:hover, :focus-visible) .sc-icname { color: var(--sc-brand); }
@media (max-width: 899px) { .sc-icgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sc-icgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 8px; } .sc-icname { font-size: 13px; } }

@media (prefers-reduced-motion: reduce) {
  .sc-icbox--i3, .sc-icname { transition: none; }
  :is(a, button):is(:hover, :focus-visible) .sc-icbox--i3 { transform: none; }
}

/* ── site-components/nav/nav.css ── */
/* ── 헤더 + 메뉴 hover N1·N2·N3·N6 + 2단 헤더 N10 (site-components) ─────────────────────
   필요: tokens.css, icons/icon-styles.css(아이콘 기본값). N3·N6은 nav.js.
   헤더 한 줄의 칸 높이는 --sc-header-h로 고정 — hover·스크롤 효과는 transform·opacity·색만 바꾼다.
   변형 클래스는 헤더(.sc-hd)에 붙인다: hover 하나(sc-nav--n1|n2|n3) + 선택으로 sc-nav--n6(스크롤 유리).
   900px 미만에서는 데스크톱 메뉴·전화를 감춘다 — 모바일은 dropdown/mobile-menu(D5)가 맡는다. */

.sc-hd { position: relative; z-index: 50; }
.sc-hd--sticky, .sc-nav--n6 { position: -webkit-sticky; position: sticky; top: 0; }
/* 바탕은 별도 층 — N6에서 이 층만 오므라든다(헤더 칸 높이는 그대로) */
.sc-hd__bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--sc-surface); border-bottom: 1px solid var(--sc-line-soft);
  transform-origin: 50% 0;
  transition: transform .32s var(--sc-ease), background-color .32s, box-shadow .32s;
}
.sc-hd__in {
  position: relative; /* 메가 드롭다운·N3 알약의 기준 */
  display: flex; align-items: center; gap: 20px;
  height: var(--sc-header-h); max-width: var(--sc-container); margin: 0 auto; padding-inline: var(--sc-gutter);
}
.sc-hd__logo { flex: none; display: flex; text-decoration: none; align-items: center; min-height: 44px; border-radius: 6px; transform-origin: 0 50%; transition: transform .32s var(--sc-ease); }
.sc-hd__logo img { width: 150px; height: auto; }
.sc-hd__nav { margin-left: auto; } /* position: static — 드롭다운 패널이 .sc-hd__in 기준으로 놓이게 */
.sc-hd__menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }

/* 메뉴 한 칸 */
.sc-m {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  height: 44px; padding: 0 13px; border-radius: var(--sc-radius-sm);
  font-size: 15.5px; font-weight: 600; color: var(--sc-ink); text-decoration: none; white-space: nowrap;
  transition: color .25s;
}
.sc-m[aria-current="page"] { color: var(--sc-brand); font-weight: 700; }
.sc-m .sc-ic { width: 16px; height: 16px; opacity: .7; }
.sc-m .sc-m__ext { width: 14px; height: 14px; opacity: .6; }

/* 헤더 전화(알약, 폭 고정 — 글자가 바뀌어도 크기 그대로) */
.sc-hd__tel {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 170px; height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--sc-brand); color: var(--sc-on-dark); font-weight: 700; font-size: 15px;
  text-decoration: none; font-variant-numeric: tabular-nums;
  transition: background-color .25s, transform .25s, box-shadow .25s;
}
.sc-hd__tel .sc-ic { width: 18px; height: 18px; }
.sc-hd__tel:hover, .sc-hd__tel:focus-visible { background: var(--sc-brand-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(var(--sc-shadow-rgb), .24); }

/* N1 — 밑줄이 왼쪽에서 그어지고 오른쪽으로 빠짐 */
.sc-nav--n1 .sc-m::after,
.sc-nav--n2 .sc-m::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 7px; height: 2px; border-radius: 2px;
  background: var(--sc-brand-2); transform: scaleX(0); transition: transform .3s var(--sc-ease);
}
.sc-nav--n1 .sc-m::after { transform-origin: right; }
.sc-nav--n1 .sc-m:hover::after, .sc-nav--n1 .sc-m:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.sc-nav--n1 .sc-m[aria-current="page"]::after { transform: scaleX(1); background: var(--sc-brand); }
.sc-nav--n1 .sc-m:hover { color: var(--sc-brand); }

/* N2 — 가운데에서 양옆으로 퍼지는 밑줄 + 글자색 */
.sc-nav--n2 .sc-m::after { transform-origin: center; }
.sc-nav--n2 .sc-m:hover, .sc-nav--n2 .sc-m:focus-visible { color: var(--sc-brand-2); }
.sc-nav--n2 .sc-m:hover::after, .sc-nav--n2 .sc-m:focus-visible::after, .sc-nav--n2 .sc-m[aria-current="page"]::after { transform: scaleX(1); }

/* N3 — 알약 바탕이 메뉴 사이를 미끄러짐. 칸 폭을 같게 해 알약 크기가 변하지 않는다(--sc-n3-w) */
.sc-hd__pill { display: none; }
.sc-nav--n3 .sc-hd__pill {
  display: block; position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none;
  width: var(--sc-n3-w, 134px); height: 44px; border-radius: 999px;
  background: var(--sc-tint); box-shadow: inset 0 0 0 1px var(--sc-line);
  opacity: 0; transition: transform .32s var(--sc-ease), opacity .25s;
}
.sc-nav--n3 .sc-hd__pill.is-on { opacity: 1; }
.sc-nav--n3 .sc-hd__pill.no-anim { transition: none; }
.sc-nav--n3 .sc-hd__menu { gap: 0; }
.sc-nav--n3 .sc-hd__menu > li { width: var(--sc-n3-w, 134px); }
.sc-nav--n3 .sc-m { position: relative; z-index: 1; width: 100%; justify-content: center; padding: 0 6px; }
.sc-nav--n3 .sc-m:hover, .sc-nav--n3 .sc-m:focus-visible, .sc-nav--n3 .sc-m[aria-current="page"] { color: var(--sc-brand); }

/* N6 — 내리면 바탕이 유리 알약으로 오므라들고 로고가 조금 작아짐(nav.js가 .is-scrolled) */
.sc-nav--n6.is-scrolled .sc-hd__bg {
  background: var(--sc-glass);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: transparent; border-radius: var(--sc-radius-lg);
  transform: translateY(6px) scale(.975, .84);
  box-shadow: 0 1px 2px rgba(var(--sc-shadow-deep-rgb), .06), 0 10px 30px rgba(var(--sc-shadow-rgb), .14);
}
.sc-nav--n6.is-scrolled .sc-hd__logo { transform: scale(.88); }

/* 폭이 좁아지면: 전화 먼저 감추고, 900 미만은 모바일 메뉴로 */

/* ================= N10 2단 헤더(2026-10-29) =================
   위 줄(.sc-hd__in): 로고 + 큰 전화번호(.sc-n10__call) + 예약 단추(.sc-n10__bk) / 아래 줄(nav.sc-hd__nav.sc-n10__bar): 전체 폭 주색 메뉴 막대.
   메뉴 칸 폭은 모두 같다(grid). 칸에 D3·D4 드롭다운 li를 그대로 넣을 수 있다(판은 막대 안 .sc-hd__menu 기준).
   스크롤: 헤더 전체가 sticky top: -위 줄 높이 → 위 줄은 올라가 사라지고 메뉴 막대만 화면 위에 붙는다(N6과 함께 쓰지 않는다).
   899px 이하: 메뉴 막대·예약 단추를 숨기고(nav.css 기본) 위 줄 + D5 모바일 메뉴. N1·N2(hover 밑줄)와 섞지 않는다 — 막대 칸은 hover 때 짙게 채움. */
.sc-nav--n10 { position: -webkit-sticky; position: sticky; top: calc(-1 * var(--sc-header-h)); }
.sc-nav--n10 .sc-hd__bg { border-bottom: 0; }
.sc-nav--n10 .sc-hd__logo img { width: 170px; }
.sc-n10__call { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; min-height: 44px; text-decoration: none; line-height: 1.2; }
.sc-n10__call small { font-size: 12px; font-weight: 600; color: var(--sc-muted); }
.sc-n10__call b { font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--sc-brand); font-variant-numeric: tabular-nums; }
.sc-n10__bk { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border-radius: var(--sc-radius-sm); background: var(--sc-tint); color: var(--sc-brand); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.sc-n10__bk:hover, .sc-n10__bk:focus-visible { background: var(--sc-tint-2); }
.sc-nav--n10 .sc-n10__bar { margin: 0; background: var(--sc-brand); }
.sc-nav--n10 .sc-n10__bar .sc-hd__menu { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; max-width: var(--sc-container); margin: 0 auto; padding-inline: var(--sc-gutter); }
.sc-nav--n10 .sc-n10__bar .sc-hd__menu > li + li { box-shadow: inset 1px 0 0 rgba(var(--sc-on-dark-rgb, 255, 255, 255), .14); }
.sc-nav--n10 .sc-n10__bar .sc-m, .sc-nav--n10 .sc-n10__bar .sc-dd__btn {
  display: flex; justify-content: center; width: 100%; height: 52px; padding: 0 8px; border-radius: 0;
  color: var(--sc-on-dark); font-weight: 700; background: transparent; transition: background-color .2s; }
.sc-nav--n10 .sc-n10__bar .sc-m::after { display: none; }
.sc-nav--n10 .sc-n10__bar .sc-m:hover, .sc-nav--n10 .sc-n10__bar .sc-m:focus-visible, .sc-nav--n10 .sc-n10__bar .sc-m[aria-current="page"],
.sc-nav--n10 .sc-n10__bar .sc-dd__btn:hover, .sc-nav--n10 .sc-n10__bar .sc-dd.is-open .sc-dd__btn { background: var(--sc-brand-strong); color: var(--sc-on-dark); }
.sc-nav--n10 .sc-n10__bar :focus-visible { outline: 2px solid var(--sc-accent); outline-offset: -4px; }
.sc-nav--n10 .sc-n10__bar .sc-dd__panel { top: calc(100% + 8px); }
@media (max-width: 1099px) { .sc-n10__call small { display: none; } .sc-n10__call b { font-size: 20px; } }
@media (max-width: 899px) { .sc-nav--n10 { top: 0; } .sc-n10__bk { display: none; } .sc-n10__call b { font-size: 17px; } }

@media (max-width: 1099px) { .sc-hd__tel { display: none; } }
@media (max-width: 899px) {
  .sc-hd__nav { display: none; }
  .sc-hd__in { gap: 8px; }
  .sc-hd__logo img { width: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-hd__bg, .sc-hd__logo, .sc-m, .sc-m::after, .sc-hd__tel, .sc-hd__pill, .sc-n10__bk { transition: none !important; }
}

/* N3 + 드롭다운 트리거(dropdown.css)를 함께 쓸 때: 트리거도 같은 폭 칸으로 */
.sc-nav--n3 .sc-dd__btn { position: relative; z-index: 1; width: 100%; justify-content: center; padding: 0 6px; }
.sc-nav--n3 .sc-dd__btn:hover, .sc-nav--n3 .sc-dd.is-open .sc-dd__btn { background: transparent; }

/* 화면에는 숨기고 읽기 프로그램에는 읽히는 글자("(새 창)" 등) — 사이트에 같은 역할의 클래스가 있으면 그것을 써도 된다 */
.sc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ── site-components/dropdown/dropdown.css ── */
/* ── 데스크톱 드롭다운 D3(아이콘 격자)·D4(목록 + 미리보기)·D6(글 2열 + 한 줄 설명)·D9(작은 목록) (site-components) ──
   필요: tokens.css, icons/icon-styles.css, nav/nav.css(헤더 .sc-hd__in이 패널 기준), dropdown.js.
   패널은 본문 위에 떠 있다(absolute) — 열려도 아래 내용이 1px도 밀리지 않는다.
   마크업: <li class="sc-dd sc-dd--d3" data-sc-dd><button class="sc-dd__btn" aria-expanded="false" aria-controls="…">…</button>
           <div class="sc-dd__panel" id="…">…</div></li>
   JS가 없으면 마우스 올림·초점 들어옴(:focus-within)으로 열린다. */

.sc-dd { position: static; } /* D4 메가 패널만 .sc-hd__in 기준. D3·D6·D9는 relative — 패널이 그 메뉴 바로 아래에 뜬다(사용자 지정 2026-11-13 "드롭다운 메뉴가 진료안내 아래로 오게") */
.sc-dd--d3, .sc-dd--d6 { position: relative; }
.sc-dd__btn {
  display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 13px;
  border: 0; border-radius: var(--sc-radius-sm); background: transparent;
  font: inherit; font-size: 15.5px; font-weight: 600; color: var(--sc-ink);
  cursor: pointer; white-space: nowrap; transition: color .25s, background-color .25s;
}
.sc-dd__btn:hover, .sc-dd.is-open .sc-dd__btn { color: var(--sc-brand-2); background: var(--sc-tint); }
.sc-dd__btn[aria-current="page"] { color: var(--sc-brand); font-weight: 700; }
.sc-dd__chev { width: 16px; height: 16px; transition: transform .3s var(--sc-ease); }
.sc-dd.is-open .sc-dd__chev { transform: rotate(180deg); }

.sc-dd__panel {
  position: absolute; top: 100%; z-index: 20; text-align: left;
  background: var(--sc-surface); border: 1px solid var(--sc-line-soft); border-radius: var(--sc-radius-lg);
  box-shadow: var(--sc-shadow-lg);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .25s var(--sc-ease), transform .25s var(--sc-ease), visibility 0s linear .25s;
}
.sc-dd.is-open .sc-dd__panel,
html:not(.sc-js) .sc-dd:is(:hover, :focus-within) .sc-dd__panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
/* 트리거와 패널 사이 틈을 마우스가 건널 때 닫히지 않게 */
.sc-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sc-dd__panel a { color: var(--sc-ink); text-decoration: none; }

/* D3 — 아이콘 큰 타일 격자(가로 4칸), 헤더 가운데 */
/* 그 메뉴 바로 아래 가운데. 화면 밖으로 나가면 dropdown.js가 --sc-dd-shift로 안쪽으로 민다(2026-11-13) */
.sc-dd--d3 .sc-dd__panel { left: 50%; width: 680px; margin-left: calc(-340px + var(--sc-dd-shift, 0px)); padding: 16px; }
.sc-dd3__grid { display: grid; grid-template-columns: repeat(var(--sc-d3-cols, 4), minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sc-dd3__grid a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 108px; padding: 14px 8px; border-radius: var(--sc-radius-md);
  background: var(--sc-surface-2); text-align: center;
  font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--sc-brand);
  transition: background-color .25s, color .25s, transform .25s var(--sc-ease);
}
.sc-dd3__grid .sc-ic { width: 32px; height: 32px; color: var(--sc-brand-2); transition: transform .25s var(--sc-ease); }
.sc-dd3__grid a:hover, .sc-dd3__grid a:focus-visible { background: var(--sc-tint-2); transform: translateY(-2px); }
.sc-dd3__grid a:hover .sc-ic, .sc-dd3__grid a:focus-visible .sc-ic { transform: scale(1.08); }

/* D4 — 왼쪽 묶음 목록 + 오른쪽 미리보기(크기 고정, 겹쳐 둔 카드 중 하나만 보임) */
.sc-dd--d4 .sc-dd__panel { left: max(8px, calc(var(--sc-gutter) - 8px)); right: max(8px, calc(var(--sc-gutter) - 8px)); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; padding: 20px; }
.sc-dd4__list { display: grid; grid-template-columns: repeat(var(--sc-d4-cols, 3), minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: auto auto; column-gap: 10px; align-content: start; }
.sc-dd4__gh { margin: 0 0 6px; padding: 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: var(--sc-accent-text); }
.sc-dd4__list ul { margin: 0; padding: 0; list-style: none; }
.sc-dd4__list a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; border-radius: var(--sc-radius-sm); font-size: 14.5px; font-weight: 600; transition: background-color .25s, color .25s; }
.sc-dd4__list .sc-ic { width: 20px; height: 20px; color: var(--sc-brand-2); }
.sc-dd4__list a:hover, .sc-dd4__list a:focus-visible, .sc-dd4__list a.is-on { background: var(--sc-tint); color: var(--sc-brand); }
.sc-dd4__pv { position: relative; display: grid; border-radius: var(--sc-radius-md); background: var(--sc-tint); overflow: hidden; }
.sc-dd4__card {
  grid-area: 1 / 1; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s, transform .25s var(--sc-ease), visibility 0s .25s;
}
.sc-dd4__card.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sc-dd4__card img, .sc-dd4__media { width: 150px; height: 150px; border-radius: 12px; object-fit: cover; }
.sc-dd4__media { display: grid; place-items: center; background: var(--sc-tint-2); color: var(--sc-brand); }
.sc-dd4__media .sc-ic { width: 56px; height: 56px; --sc-tone: var(--sc-accent); --sc-tone-o: .8; }
.sc-dd4__k { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; color: var(--sc-accent-text); }
.sc-dd4__t { margin: 0 0 6px; font-size: 19px; font-weight: 800; line-height: 1.35; color: var(--sc-brand); }
.sc-dd4__d { margin: 0; font-size: 14px; line-height: 1.6; color: var(--sc-muted); }


/* ===== 2026-10-29 추가: D6·D9 (사용자 지정 "드롭다운은 d3 d4 d6 d9") ===== */
.sc-dd__panel :where(ul, ol, p) { margin: 0; padding: 0; list-style: none; }
/* D6 글 2열 + 한 줄 설명 ===== 아이콘 없이 묶음 제목 + 항목 이름 + 한 줄. 정보형·법률 */
.sc-dd--d6 .sc-dd__panel { left: 50%; width: 640px; margin-left: calc(-320px + var(--sc-dd-shift, 0px)); padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.sc-dd6__gh { grid-column: span 1; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--sc-accent-text); padding: 0 10px 6px; border-bottom: 1px solid var(--sc-line-soft); margin-bottom: 4px !important; }
.sc-dd6__col { display: grid; align-content: start; gap: 2px; }
.sc-dd6__col a { display: block; padding: 10px; border-radius: var(--sc-radius-sm); transition: background-color .2s; }
.sc-dd6__col b { display: block; font-size: 15px; font-weight: 700; color: var(--sc-ink); transition: color .2s; }
.sc-dd6__col span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--sc-muted); }
.sc-dd6__col a:hover, .sc-dd6__col a:focus-visible { background: var(--sc-tint); }
.sc-dd6__col a:hover b, .sc-dd6__col a:focus-visible b { color: var(--sc-brand); }

/* D9 작은 목록 ===== 항목 3~6개일 때. 메뉴 바로 아래 좁은 판, hover 때 왼쪽 주색 띠 + 화살표가 밀려 나옴 */
.sc-dd--d9 { position: relative; }
.sc-dd--d9 .sc-dd__panel { left: 0; width: 240px; padding: 8px; }
.sc-dd9 a { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; border-radius: var(--sc-radius-sm); font-size: 15px; font-weight: 600; transition: background-color .2s, color .2s, padding .2s; }
.sc-dd9 a::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--sc-brand); transform: scaleY(0); transition: transform .2s var(--sc-ease); }
.sc-dd9 a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: .2s; color: var(--sc-brand); }
.sc-dd9 a:hover, .sc-dd9 a:focus-visible { background: var(--sc-tint); color: var(--sc-brand); }
.sc-dd9 a:hover::before, .sc-dd9 a:focus-visible::before { transform: none; }
.sc-dd9 a:hover::after, .sc-dd9 a:focus-visible::after { opacity: 1; transform: none; }


@media (prefers-reduced-motion: reduce) {
  .sc-dd__btn, .sc-dd__chev, .sc-dd__panel, .sc-dd3__grid a, .sc-dd3__grid .sc-ic, .sc-dd4__list a, .sc-dd4__card { transition: none !important; }
  .sc-dd3__grid a:hover, .sc-dd3__grid a:focus-visible { transform: none; }
}

/* ── site-components/dropdown/mobile-menu.css ── */
/* ── D5 모바일 덧씌우기 메뉴 + 아코디언 서브메뉴 (site-components) ─────────
   필요: tokens.css, icons/icon-styles.css, nav/nav.css, mobile-menu.js(없어도 열리고 닫힘).
   규칙(static/CLAUDE.md 14번, wordpress-magazine.md 화면 세부 4):
   - 메뉴·막은 fixed로 본문 위에 덧씌우기만 한다. html·body에 overflow·position 잠금을 걸지 않는다.
   - 숨은 체크박스는 position: fixed(스크롤로 옮길 수 없어 포커스 때 페이지를 굴리지 않음).
   - 뒤 스크롤은 막의 overscroll-behavior: contain + 1px 넘치는 스크롤 상자, JS의 wheel·touchmove·방향키 차단.
   - 사이트는 html { scroll-padding-top }을 쓰지 말고 [id] { scroll-margin-top: … }으로 둔다.
   - 헤더(.sc-hd)에 transform·filter·backdrop-filter를 걸지 않는다(fixed 메뉴의 기준이 바뀜). N6 유리는 .sc-hd__bg 층에만 건다.
   마크업 순서: .sc-hd 안에 [체크박스] → .sc-hd__bg → .sc-hd__in(…버거 label) → 막 label → nav.sc-mm (~ 형제 선택자로 연다) */

.sc-mm-toggle { position: fixed; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.sc-mm-burger {
  position: relative; display: none; place-items: center; flex: none;
  width: 44px; height: 44px; margin-left: auto; margin-right: -8px; border-radius: 12px;
  color: var(--sc-brand); cursor: pointer; transition: background-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.sc-mm-burger:hover { background: var(--sc-tint); }
.sc-mm-toggle:focus-visible ~ .sc-hd__in .sc-mm-burger { background: var(--sc-tint); outline: 2px solid var(--sc-focus); outline-offset: 2px; }
.sc-mm-burger .sc-ic { grid-area: 1 / 1; transition: opacity .25s, transform .3s var(--sc-ease); }
.sc-mm-burger__close { opacity: 0; transform: rotate(-90deg); }
.sc-mm-toggle:checked ~ .sc-hd__in .sc-mm-burger__open { opacity: 0; transform: rotate(90deg); }
.sc-mm-toggle:checked ~ .sc-hd__in .sc-mm-burger__close { opacity: 1; transform: none; }

/* 어두운 막 — 1px 넘치는 스크롤 상자라 손가락으로 밀어도 뒤 페이지로 스크롤이 넘어가지 않는다 */
.sc-mm__scrim {
  position: fixed; left: 0; right: 0; top: var(--sc-header-h); bottom: 0; z-index: 3;
  background: var(--sc-scrim); opacity: 0; visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain; touch-action: none; scrollbar-width: none;
  transition: opacity .3s, visibility 0s .3s;
  -webkit-tap-highlight-color: transparent;
}
.sc-mm__scrim::-webkit-scrollbar { display: none; }
.sc-mm__scrim::before { content: ""; display: block; height: calc(100% + 1px); }

/* 메뉴 판 — 오른쪽에서 들어온다(transform) */
.sc-mm {
  position: fixed; top: var(--sc-header-h); right: 0; bottom: 0; z-index: 4;
  display: flex; flex-direction: column; width: 86%; max-width: 420px;
  background: var(--sc-surface); overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; transform: translateX(100%);
  transition: transform .32s var(--sc-ease), visibility 0s .32s;
}
.sc-mm-toggle:checked ~ .sc-mm__scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
.sc-mm-toggle:checked ~ .sc-mm { visibility: visible; transform: none; transition-delay: 0s; }

.sc-mm__list { margin: 0; padding: 8px 0; list-style: none; }
.sc-mm__list > li { border-bottom: 1px solid var(--sc-line-soft); }
.sc-mm__list > li > a, .sc-mm__acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 54px; padding: 0 20px; border: 0; background: transparent; text-align: left;
  font: inherit; font-size: 16.5px; font-weight: 700; color: var(--sc-ink); text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.sc-mm__list > li > a .sc-ic { width: 14px; height: 14px; margin-left: auto; opacity: .6; }
.sc-mm__list > li > a:hover, .sc-mm__acc-btn:hover,
.sc-mm__list > li > a:focus-visible, .sc-mm__acc-btn:focus-visible { background: var(--sc-hover); color: var(--sc-brand-2); }
.sc-mm__list > li > a[aria-current="page"] { color: var(--sc-brand); box-shadow: inset 3px 0 0 var(--sc-accent-line); }
.sc-mm__acc-btn[aria-expanded="true"] { color: var(--sc-brand-2); }
.sc-mm__chev { width: 16px; height: 16px; transition: transform .3s var(--sc-ease); }
.sc-mm__acc-btn[aria-expanded="true"] .sc-mm__chev { transform: rotate(180deg); }

/* 아코디언 — grid-template-rows 0fr → 1fr. JS가 없으면 펼친 채로 둔다(링크가 숨지 않게) */
.sc-mm__sub { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s var(--sc-ease); }
.sc-mm__sub-in { min-height: 0; overflow: hidden; background: var(--sc-surface-2); }
.sc-js .sc-mm__sub { grid-template-rows: 0fr; }
.sc-js .sc-mm__sub-in { visibility: hidden; transition: visibility 0s .3s; }
.sc-js .sc-mm__acc.is-open .sc-mm__sub { grid-template-rows: 1fr; }
.sc-js .sc-mm__acc.is-open .sc-mm__sub-in { visibility: visible; transition-delay: 0s; }
.sc-mm__gh { margin: 0; padding: 14px 20px 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--sc-accent-text); }
.sc-mm__sub ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0 8px 8px; list-style: none; }
.sc-mm__sub a {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px; border-radius: var(--sc-radius-sm);
  font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--sc-ink); text-decoration: none;
  transition: background-color .25s;
}
.sc-mm__sub .sc-ic { width: 20px; height: 20px; color: var(--sc-brand-2); }
.sc-mm__sub a:hover, .sc-mm__sub a:focus-visible { background: var(--sc-surface); }

/* 아래 전화 단추 */
.sc-mm__call { display: grid; gap: 8px; margin-top: auto; padding: 16px 20px 20px; }
.sc-mm__call a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px;
  background: var(--sc-brand); color: var(--sc-on-dark); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums;
  transition: background-color .25s, color .25s;
}
.sc-mm__call a .sc-ic { width: 18px; height: 18px; }
.sc-mm__call a.sc-mm__call--ghost { background: var(--sc-surface); color: var(--sc-brand); box-shadow: inset 0 0 0 1.5px var(--sc-brand); }
.sc-mm__call a:hover, .sc-mm__call a:focus-visible { background: var(--sc-brand-hover); color: var(--sc-on-dark); }

/* 900 이상에서는 모바일 메뉴 전체를 빼서 Tab이 들르지 않게 */
@media (min-width: 900px) {
  .sc-mm-toggle, .sc-mm-burger, .sc-mm__scrim, .sc-mm { display: none; }
}
@media (max-width: 899px) {
  .sc-mm-burger { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-mm-burger .sc-ic, .sc-mm__scrim, .sc-mm, .sc-mm__sub, .sc-mm__sub-in, .sc-mm__chev { transition: none !important; }
}

/* ── site-components/buttons/buttons.css ── */
/* ── 버튼 B1·B3·B5 (site-components) ───────────────────────────────────
   필요: tokens.css, icons/icon-styles.css. JS 없음.
   떠오름은 1px까지만, 움직임은 transform·그림자·색만. 초점 테두리는 사이트 공통 :focus-visible을 따른다.
   B1  화살표가 4px 밀려나는 버튼    <a class="sc-btn sc-b1">…<svg></a>   (.sc-b1--light 흰 바탕판)
   B3  두 톤 그라디언트 + 브랜드 그림자 <a class="sc-btn sc-b3">…</a>       (.sc-b3--on-dark 짙은 바탕 위 강조색판)
   B5  전화 버튼(아이콘 칸 + 번호, 폭 고정) <a class="sc-btn sc-b5">…</a>  (.sc-b5--soft 아이콘 칸이 연한 강조색) */

.sc-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font: inherit; font-size: 15.5px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--sc-ease), box-shadow .25s, background-color .25s, color .25s;
}
.sc-btn .sc-ic { width: 20px; height: 20px; transition: transform .25s var(--sc-ease); }

/* B1 */
.sc-b1 { background: var(--sc-brand); color: var(--sc-on-dark); }
.sc-b1:hover, .sc-b1:focus-visible { transform: translateY(-1px); box-shadow: var(--sc-shadow-md); }
.sc-b1:hover .sc-ic, .sc-b1:focus-visible .sc-ic { transform: translateX(4px); }
.sc-b1--light { background: var(--sc-surface); color: var(--sc-brand); box-shadow: inset 0 0 0 1.5px var(--sc-line-strong); }
.sc-b1--light:hover, .sc-b1--light:focus-visible { box-shadow: inset 0 0 0 1.5px var(--sc-brand), 0 8px 18px rgba(var(--sc-shadow-rgb), .12); }

/* B3 */
.sc-b3 {
  background: linear-gradient(135deg, var(--sc-brand-hi) 0%, var(--sc-brand) 45%, var(--sc-brand-strong) 100%);
  color: var(--sc-on-dark);
  box-shadow: 0 6px 16px rgba(var(--sc-shadow-rgb), .28), 0 1px 2px rgba(var(--sc-shadow-deep-rgb), .2);
}
.sc-b3:hover, .sc-b3:focus-visible { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(var(--sc-shadow-rgb), .36), 0 2px 4px rgba(var(--sc-shadow-deep-rgb), .2); }
.sc-b3:hover .sc-ic, .sc-b3:focus-visible .sc-ic { transform: translateX(4px); }
.sc-b3--on-dark { background: linear-gradient(135deg, var(--sc-accent-hi) 0%, var(--sc-accent) 100%); color: var(--sc-brand); box-shadow: var(--sc-shadow-on-dark); }
.sc-b3--on-dark:hover, .sc-b3--on-dark:focus-visible { box-shadow: var(--sc-shadow-on-dark-hover); }

/* B5 — 폭 고정(긴 번호 기준), 숫자 고정폭: 글자·상태가 바뀌어도 크기 그대로 */
.sc-b5 {
  gap: 0; justify-content: flex-start; width: var(--sc-b5-w, 230px); min-height: 56px; padding: 0 20px 0 6px;
  background: var(--sc-surface); color: var(--sc-brand); box-shadow: inset 0 0 0 1.5px var(--sc-line-strong);
  font-variant-numeric: tabular-nums;
}
.sc-b5__ic {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-right: 12px; border-radius: 50%;
  background: var(--sc-brand); color: var(--sc-on-dark);
  transition: background-color .25s, color .25s, transform .25s var(--sc-ease);
}
.sc-b5 .sc-b5__ic .sc-ic { transform: none; }
.sc-b5__tx { display: flex; flex-direction: column; font-size: 17px; line-height: 1.2; letter-spacing: .01em; }
.sc-b5__tx small { margin-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--sc-muted); }
.sc-b5:hover, .sc-b5:focus-visible { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--sc-brand), 0 8px 18px rgba(var(--sc-shadow-rgb), .14); }
.sc-b5:hover .sc-b5__ic, .sc-b5:focus-visible .sc-b5__ic { background: var(--sc-brand-2); transform: rotate(-8deg); }
.sc-b5--soft .sc-b5__ic { background: var(--sc-tint-2); color: var(--sc-brand); }
.sc-b5--soft:hover .sc-b5__ic, .sc-b5--soft:focus-visible .sc-b5__ic { background: var(--sc-accent); color: var(--sc-brand); }
@media (max-width: 560px) { .sc-b5--fluid { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .sc-btn, .sc-btn .sc-ic, .sc-b5__ic { transition: none !important; }
  .sc-btn:hover, .sc-btn:focus-visible, .sc-btn:hover .sc-ic, .sc-btn:focus-visible .sc-ic, .sc-b5:hover .sc-b5__ic, .sc-b5:focus-visible .sc-b5__ic { transform: none; }
}

/* ── site-components/faq/faq.css ── */
/* ── FAQ 아코디언 E3a·E3b·E3c (site-components) ──────────────────────────
   필요: tokens.css, icons/icon-styles.css(셰브론), faq.js.
   열고 닫기는 grid-template-rows 0fr → 1fr(사용자가 직접 연 펼침이라 아래가 내려가는 것은 허용).
   JS가 없거나 <head>의 sc-js 한 줄이 없으면 답이 펼친 채로 보인다(네이버 수집·접근 보장).
   변형: .sc-faq--a 테두리형 · .sc-faq--b +/− 원 단추형 · .sc-faq--c 열린 항목 틴트형(Q 배지) */

.sc-faq { display: grid; gap: 10px; }
.sc-faq__h { margin: 0; font-size: inherit; }
.sc-faq__btn {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 16px;
  border: 0; background: transparent; text-align: left; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--sc-brand);
  transition: background-color .25s, color .25s;
}
.sc-faq__t { flex: 1; }
.sc-faq__chev { width: 20px; height: 20px; color: var(--sc-brand-2); transition: transform .3s var(--sc-ease); }
.sc-faq__btn[aria-expanded="true"] .sc-faq__chev { transform: rotate(180deg); }

.sc-faq__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s var(--sc-ease); }
.sc-faq__in { min-height: 0; overflow: hidden; }
.sc-js .sc-faq__panel { grid-template-rows: 0fr; }
.sc-js .sc-faq__in { visibility: hidden; transition: visibility 0s .32s; }
.sc-js .sc-faq__item.is-open .sc-faq__panel { grid-template-rows: 1fr; }
.sc-js .sc-faq__item.is-open .sc-faq__in { visibility: visible; transition-delay: 0s; }
.sc-faq__in > * { margin: 0; padding: 0 16px; font-size: 15px; line-height: 1.7; color: var(--sc-muted); }
.sc-faq__in > :last-child { padding-bottom: 16px; }
.sc-faq__in > * + * { margin-top: 10px; }

/* a — 테두리형 */
.sc-faq--a .sc-faq__item { border: 1px solid var(--sc-line); border-radius: var(--sc-radius-md); background: var(--sc-surface); transition: border-color .25s, box-shadow .25s; }
.sc-faq--a .sc-faq__btn { border-radius: var(--sc-radius-md); }
.sc-faq--a .sc-faq__btn:hover, .sc-faq--a .sc-faq__btn:focus-visible { color: var(--sc-brand-2); }
.sc-faq--a .sc-faq__item.is-open { border-color: var(--sc-accent-line); box-shadow: var(--sc-shadow-sm); }

/* b — 위 굵은 선 + 줄 구분, +/− 원 단추 */
.sc-faq--b { gap: 0; border-top: 2px solid var(--sc-brand); }
.sc-faq--b .sc-faq__item { border-bottom: 1px solid var(--sc-line); }
.sc-faq--b .sc-faq__btn { padding-inline: 4px; }
.sc-faq--b .sc-faq__in > * { padding-inline: 4px; }
.sc-faq__pm { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--sc-line-strong); transition: background-color .25s, box-shadow .25s; }
.sc-faq__pm i { position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--sc-brand); transition: transform .3s var(--sc-ease), background-color .25s; }
.sc-faq__pm i + i { transform: rotate(90deg); }
.sc-faq--b .sc-faq__btn:hover .sc-faq__pm, .sc-faq--b .sc-faq__btn:focus-visible .sc-faq__pm { box-shadow: inset 0 0 0 1.5px var(--sc-brand); }
.sc-faq--b .sc-faq__btn[aria-expanded="true"] .sc-faq__pm { background: var(--sc-brand); box-shadow: inset 0 0 0 1.5px var(--sc-brand); }
.sc-faq--b .sc-faq__btn[aria-expanded="true"] .sc-faq__pm i { background: var(--sc-on-dark); }
.sc-faq--b .sc-faq__btn[aria-expanded="true"] .sc-faq__pm i + i { transform: rotate(90deg) scaleX(0); }

/* c — 열린 항목이 틴트 바탕, Q 배지 */
.sc-faq--c .sc-faq__item { border-radius: var(--sc-radius-md); background: var(--sc-surface); box-shadow: inset 0 0 0 1px var(--sc-line); transition: background-color .3s, box-shadow .3s; }
.sc-faq--c .sc-faq__btn { border-radius: var(--sc-radius-md); }
.sc-faq__q { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--sc-tint-2); color: var(--sc-accent-text); font-size: 14px; font-weight: 800; transition: background-color .25s, color .25s; }
.sc-faq--c .sc-faq__btn:hover, .sc-faq--c .sc-faq__btn:focus-visible { color: var(--sc-brand-2); }
.sc-faq--c .sc-faq__item.is-open { background: var(--sc-tint); box-shadow: inset 0 0 0 1px transparent; }
.sc-faq--c .sc-faq__item.is-open .sc-faq__q { background: var(--sc-brand); color: var(--sc-on-dark); }
.sc-faq--c .sc-faq__in > * { padding-left: 58px; }

@media (prefers-reduced-motion: reduce) {
  .sc-faq__btn, .sc-faq__chev, .sc-faq__panel, .sc-faq__in, .sc-faq__item, .sc-faq__pm, .sc-faq__pm i, .sc-faq__q { transition: none !important; }
}

/* ── site-components/topbar/topbar.css ── */
/* ── 헤더 위 띠 TB1·TB2·TB9·TB10 (site-components) ─────────────────────────────────
   필요: tokens.css, icons/icon-styles.css. JS는 D5 모바일 메뉴와 같이 쓸 때만 topbar.js(메뉴 판 위치 보정).
   원본: 2026-10-20 승전 예시 카탈로그 topbar.html #tb1·#tb2. 겉모습·크기 그대로, 색만 변수로.
   - 띠는 문서 흐름 안에 있고 스크롤하면 함께 올라가 사라진다. 헤더(.sc-hd--sticky)만 붙는다.
   - 높이 고정(--sc-tb-h). 글이 길면 말줄임(…)으로 끝나 띠 높이가 늘지 않는다.
   - 닫기 버튼 없음(닫으면 아래 전체가 한 번에 올라가는 흔들림 — layout-stability.md).
   - 899px 이하 문구는 .sc-tb__dk(데스크톱) / .sc-tb__mb(모바일) 둘 중 하나만 보인다(폭 기준 → 흔들림 아님).
   - 링크는 보이는 높이가 띠 높이(40·44px)여도 누르는 영역은 ::before로 위아래 44px. */

.sc-tb {
  position: relative;
  height: var(--sc-tb-h, 44px); font-size: 15px; line-height: 1.3;
}
.sc-tb__in {
  display: flex; align-items: center; gap: 16px; height: 100%;
  max-width: var(--sc-container); margin: 0 auto; padding-inline: var(--sc-gutter);
}
.sc-tb p { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; }
.sc-tb ul { margin: 0; padding: 0; list-style: none; }
.sc-tb .sc-ic { width: 16px; height: 16px; }
.sc-tb__ell { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sc-tb__tnum { font-variant-numeric: tabular-nums; }
.sc-tb__mb { display: none; }

/* 띠 링크 — 밑줄은 hover·초점 때 색만 생긴다. 누르는 영역 44px(옆으로는 넓히지 않아 이웃과 안 겹침) */
.sc-tb__a {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 100%; min-width: 44px; white-space: nowrap; color: inherit;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: color .2s, text-decoration-color .2s, opacity .2s;
}
.sc-tb__a::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
.sc-tb__a:hover, .sc-tb__a:focus-visible { text-decoration-color: currentColor; }
.sc-tb .sc-tb__ext { width: 13px; height: 13px; margin-left: 3px; opacity: .75; }
.sc-tb__arr { transition: transform .25s var(--sc-ease); }
.sc-tb__a:hover .sc-tb__arr, .sc-tb__a:focus-visible .sc-tb__arr { transform: translateX(3px); }

/* ================= TB1 짙은 띠: 왼쪽 전화 굵게 + 시간·위치 / 오른쪽 링크 묶음 ================= */
.sc-tb1 { --sc-tb-h: 44px; background: var(--sc-brand-strong); color: var(--sc-on-dark); }
.sc-tb1 .sc-tb__in { justify-content: space-between; gap: 24px; }
.sc-tb1 :focus-visible { outline-color: var(--sc-accent); }
.sc-tb1__l { display: flex; align-items: center; gap: 18px; min-width: 0; }
.sc-tb1__tel { flex: none; gap: 8px; }
.sc-tb1__k { font-size: 13px; font-weight: 600; color: var(--sc-accent); }
.sc-tb1__tel b { font-size: 17px; font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.sc-tb1__h { font-size: 15px; color: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .85); }
.sc-tb1__h .sc-ic { opacity: .85; }
.sc-tb1__r { display: flex; align-items: center; flex: none; }
.sc-tb1__r li { display: flex; align-items: center; height: 44px; }
.sc-tb1__r li + li::before { content: ""; width: 3px; height: 3px; margin: 0 12px; border-radius: 50%; background: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .45); }
.sc-tb1__r .sc-tb__a { font-size: 15px; font-weight: 500; color: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .85); }
.sc-tb1__r .sc-tb__a:hover, .sc-tb1__r .sc-tb__a:focus-visible,
.sc-tb1__tel:hover, .sc-tb1__tel:focus-visible { color: var(--sc-on-dark); }
/* 900~1180px: 오른쪽 셋째 링크를 숨겨 왼쪽 시간 문구 자리를 남긴다 */
@media (max-width: 1180px) and (min-width: 900px) { .sc-tb1__r li:nth-child(3) { display: none; } }

/* ================= TB2 연한 틴트 한 줄: 가운데 안내 + 오시는 길 ================= */
.sc-tb2 { --sc-tb-h: 40px; background: var(--sc-tint-2); color: var(--sc-brand); }
.sc-tb2 .sc-tb__in { justify-content: center; gap: 10px; }
.sc-tb .sc-tb2__pin { width: 18px; height: 18px; color: var(--sc-accent-text); }
.sc-tb .sc-tb2__t { display: block; font-size: 15px; font-weight: 600; }
.sc-tb2__go { flex: none; gap: 4px; margin-left: 8px; padding: 0 4px; font-size: 15px; font-weight: 700; color: var(--sc-brand-2); }
.sc-tb2__go:hover, .sc-tb2__go:focus-visible { color: var(--sc-brand); }

/* ================= TB9 교대 안내(2026-10-29): 안내 문구 2~3개가 한 칸에서 4초마다 바뀐다 =================
   칸 높이·폭 고정(문구는 겹쳐 두고 투명도·위치만 바꿈 → 흔들림 없음). 문구는 모두 HTML에 있다(검색봇·읽기 프로그램은 다 읽음).
   마우스를 올리거나 키보드 초점이 들어오면 멈춘다(저절로 바뀌는 내용은 멈출 수 있어야 함). 동작 줄이기면 첫 문구만.
   문구 2개면 .sc-tb9--2 (8초 주기), 기본 3개(12초). */
.sc-tb9 { --sc-tb-h: 40px; background: var(--sc-brand-strong); color: var(--sc-on-dark); }
.sc-tb9 .sc-tb__in { gap: 20px; }
.sc-tb9 :focus-visible { outline-color: var(--sc-accent); }
.sc-tb9__roll { position: relative; flex: 1; min-width: 0; height: 100%; overflow: hidden; }
.sc-tb9__roll li { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; min-width: 0; opacity: 0; animation: sc-tb9-3 12s infinite; }
.sc-tb9__roll li:nth-child(2) { animation-delay: 4s; }
.sc-tb9__roll li:nth-child(3) { animation-delay: 8s; }
.sc-tb9--2 .sc-tb9__roll li { animation-name: sc-tb9-2; animation-duration: 8s; }
.sc-tb9__roll b { flex: none; color: var(--sc-accent); font-weight: 700; }
.sc-tb9__roll .sc-ic { opacity: .85; }
.sc-tb9:hover .sc-tb9__roll li, .sc-tb9:focus-within .sc-tb9__roll li { animation-play-state: paused; }
@keyframes sc-tb9-3 { 0% { opacity: 0; transform: translateY(8px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes sc-tb9-2 { 0% { opacity: 0; transform: translateY(8px); } 6%, 45% { opacity: 1; transform: none; } 51%, 100% { opacity: 0; transform: translateY(-8px); } }
.sc-tb9__tel { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--sc-on-dark); }

/* ================= TB10 진료 안내 + 초록 점(2026-10-29): 초록 점이 늘 반짝인다 =================
   사용자 지정 2026-10-29 "쉬는 날과 상관없이 항상" — 점은 요일·시간 계산 없이 늘 초록으로 반짝이고, 글자는 진료 시간표 원문(고정 문구, JS 없음).
   "지금 진료 중"처럼 시간에 따라 틀릴 수 있는 문구는 쓰지 않는다(쉬는 날 초록 점 + "진료 중"이 되면 거짓 안내). */
.sc-tb10 { --sc-tb-h: 40px; background: var(--sc-surface); color: var(--sc-ink); box-shadow: inset 0 -1px 0 var(--sc-line-soft); }
.sc-tb10 .sc-tb__in { gap: 20px; }
.sc-tb10__st { font-size: 15px; font-weight: 700; }
.sc-tb10__dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #19a35b; }
.sc-tb10__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(25, 163, 91, .28); animation: sc-tb10-blink 1.6s ease-in-out infinite; }
.sc-tb10__dot { animation: sc-tb10-dot 1.6s ease-in-out infinite; }
@keyframes sc-tb10-dot { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes sc-tb10-blink { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
.sc-tb .sc-tb10__h { font-size: 14px; color: var(--sc-muted); }
.sc-tb .sc-tb10__r { display: flex; align-items: center; gap: 18px; margin-left: auto; flex: none; }
.sc-tb10__r .sc-tb__a { font-size: 14px; font-weight: 600; color: var(--sc-muted); }
.sc-tb10__r .sc-tb__a:hover, .sc-tb10__r .sc-tb__a:focus-visible { color: var(--sc-brand); }

/* ================= 899px 이하 ================= */
@media (max-width: 899px) {
  .sc-tb__dk { display: none !important; }
  .sc-tb__mb { display: inline; }
  .sc-tb2 { --sc-tb-h: 44px; } /* 누르는 영역이 띠 높이 그대로 44px */
  /* TB2: "오시는 길" 링크는 빼고 안내 문구만(사용자 지정 2026-11-04) — 아래 고정 퀵바에 "오시는 길"이 있고, 320px에서 문구가 잘리지 않는다 */
  .sc-tb2__go { display: none; }
  /* TB1: 전화 + 지도(.is-keep) 두 개만 */
  .sc-tb .sc-tb1__h { display: none; }
  .sc-tb1__r li:not(.is-keep) { display: none; }
  .sc-tb1__r li.is-keep::before { display: none; }
  /* TB9: 바뀌는 문구만(전화는 헤더·퀵바에) · TB10: 점 + 짧은 시간 문구 + 링크 하나(.is-keep) */
  .sc-tb9, .sc-tb10 { --sc-tb-h: 44px; }
  .sc-tb9__tel, .sc-tb .sc-tb10__h { display: none; }
  .sc-tb10__r li:not(.is-keep) { display: none; }
}

/* 띠 + D5 모바일 메뉴: 메뉴 판·막을 헤더 아래 끝에 맞춘다(topbar.js가 --sc-mm-top을 헤더에 적음).
   JS가 없으면 mobile-menu.css 기본값(--sc-header-h) 그대로. */
.sc-tb ~ .sc-hd .sc-mm,
.sc-tb ~ .sc-hd .sc-mm__scrim { top: var(--sc-mm-top, var(--sc-header-h)); }

@media (prefers-reduced-motion: reduce) {
  .sc-tb__a, .sc-tb__arr { transition: none !important; }
  .sc-tb9__roll li { animation: none !important; }
  .sc-tb9__roll li:first-child { opacity: 1; }
  .sc-tb10__dot, .sc-tb10__dot::after { animation: none !important; }
  .sc-tb__a:hover .sc-tb__arr, .sc-tb__a:focus-visible .sc-tb__arr { transform: none; }
}

/* 화면에는 숨기고 읽기 프로그램에는 읽히는 글자 — nav/nav.css와 같은 규칙(이 부품만 따로 쓸 때 대비) */
.sc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ── site-components/hero/hero.css ── */
/* ── 메인 히어로 H2·H7 (site-components) ──────────────────────────────────
   필요: tokens.css, icons/icon-styles.css. JS 없음(교차·확대 모두 CSS).
   원본: 2026-10-20 승전 예시 카탈로그 heroes.html #hero-2·#hero-7. 겉모습·움직임 그대로, 색만 변수로.
   규칙: references/images/hero-image-flow.md 1장
   - 사무실·원내 실사 전체 배경. 변호사·원장 얼굴(인물) 사진 금지.
   - 첫 장 <img fetchpriority="high">(LCP), 나머지 loading="lazy" decoding="async".
   - 높이는 min-height로 고정 — 사진이 바뀌어도 히어로 높이 그대로(사진은 absolute 층).
   - 글자 뒤 막으로 대비 4.5:1. 막 색은 --sc-overlay-rgb(없으면 --sc-shadow-deep-rgb = 짙은 주색).
   - prefers-reduced-motion: reduce면 확대·교차를 멈추고 첫 장만 보인다.
   - 헤더(nav/)는 히어로 위 흐름 안에 둔다. 원본은 투명 헤더가 히어로 위에 겹친 그림이라,
     같은 첫 화면 높이가 되도록 min-height·위 여백에서 --sc-header-h를 뺐다. */

.sc-hero { position: relative; overflow: hidden; color: var(--sc-on-dark); background: var(--sc-brand-strong); }
.sc-hero :focus-visible { outline-color: var(--sc-accent); }
.sc-hero__wrap { width: 100%; max-width: var(--sc-container); margin-inline: auto; padding-inline: var(--sc-gutter); }
:where(.sc-hero) :where(h1, p, ul) { margin: 0; }
:where(.sc-hero) ul { padding: 0; list-style: none; }
.sc-hero .sc-ic { width: 20px; height: 20px; }
.sc-hero em { font-style: normal; color: var(--sc-accent); }
.sc-nw { white-space: nowrap; }
.sc-tnum { font-variant-numeric: tabular-nums; }

/* 히어로 버튼 — 폭 고정(글자가 바뀌어도 크기 그대로). 폭은 안마다 아래에서 정한다 */
.sc-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-hero__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding-inline: 20px; border-radius: 14px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: transform .25s var(--sc-ease), box-shadow .25s, background-color .25s, border-color .25s, color .25s;
}
.sc-hero__btn:hover, .sc-hero__btn:focus-visible { transform: translateY(-1px); }
.sc-hero__go { transition: transform .25s var(--sc-ease); }
.sc-hero__btn:hover .sc-hero__go, .sc-hero__btn:focus-visible .sc-hero__go { transform: translateX(2px); }
/* 흰 판 */
.sc-hero__btn--white { background: var(--sc-surface); color: var(--sc-brand); }
.sc-hero__btn--white:hover, .sc-hero__btn--white:focus-visible { box-shadow: 0 12px 28px rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .28); }
/* 흰 선 */
.sc-hero__btn--line { border-color: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .5); color: var(--sc-on-dark); }
.sc-hero__btn--line:hover, .sc-hero__btn--line:focus-visible { background: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .12); border-color: var(--sc-on-dark); }
/* 강조색 판 */
.sc-hero__btn--accent { background: var(--sc-accent); color: var(--sc-brand); }
.sc-hero__btn--accent:hover, .sc-hero__btn--accent:focus-visible { background: var(--sc-accent-hi); box-shadow: 0 10px 24px rgba(var(--sc-accent-rgb, 169, 166, 234), .35); }

/* ================= H2 사무실 실사 전체 배경(2~3장 교차 + 천천히 확대) + 막, 글 왼쪽 아래 ================= */
.sc-h2 { display: flex; align-items: flex-end; min-height: calc(760px - var(--sc-header-h)); }
.sc-h2__bg { position: absolute; inset: 0; }
.sc-h2__slide { position: absolute; inset: 0; margin: 0; animation: sc-h2-fade 18s linear infinite; }
.sc-h2__slide img { display: block; width: 100%; height: 100%; object-fit: cover; animation: sc-h2-zoom 18s linear infinite; animation-delay: inherit; }
/* 3장: 한 장이 6초 보이고 약 1초 겹쳐 바뀐다. 보이는 동안만 1.02 → 1.1로 아주 천천히 확대 */
.sc-h2__slide:nth-child(2) { animation-delay: -12s; }
.sc-h2__slide:nth-child(3) { animation-delay: -6s; }
@keyframes sc-h2-fade { 0% { opacity: 1; } 30% { opacity: 1; } 36% { opacity: 0; } 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sc-h2-zoom { 0% { transform: scale(1.02); } 36% { transform: scale(1.1); } 37% { transform: scale(1); } 94% { transform: scale(1); } 100% { transform: scale(1.02); } }
/* 2장: 같은 6초 간격(12초 한 바퀴) — 마크업 장 수로 자동 선택 */
.sc-h2__slide:first-child:nth-last-child(2),
.sc-h2__slide:first-child:nth-last-child(2) ~ .sc-h2__slide { animation-name: sc-h2-fade2; animation-duration: 12s; }
.sc-h2__slide:first-child:nth-last-child(2) img,
.sc-h2__slide:first-child:nth-last-child(2) ~ .sc-h2__slide img { animation-name: sc-h2-zoom2; animation-duration: 12s; }
.sc-h2__slide:first-child:nth-last-child(2) ~ .sc-h2__slide { animation-delay: -6s; }
@keyframes sc-h2-fade2 { 0% { opacity: 1; } 45% { opacity: 1; } 54% { opacity: 0; } 91% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sc-h2-zoom2 { 0% { transform: scale(1.02); } 54% { transform: scale(1.1); } 55% { transform: scale(1); } 91% { transform: scale(1); } 100% { transform: scale(1.02); } }
/* 1장뿐이면 교차 없이 확대만(H2 조건은 2장 이상 — 임시 대비) */
.sc-h2__slide:only-child { animation: none; }
.sc-h2::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .6) 0, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), 0) 170px),
    linear-gradient(0deg, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .82) 0%, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), 0) 62%),
    linear-gradient(90deg, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .9) 0%, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .82) 48%, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .38) 80%, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .28) 100%);
}
.sc-h2__in { position: relative; z-index: 1; padding-block: calc(150px - var(--sc-header-h)) 80px; }
.sc-h2__text { max-width: 720px; }
.sc-h2__tag { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--sc-accent); }
.sc-h2__title { margin-top: 18px; font-size: clamp(40px, 6vw, 74px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.sc-h2__lead { margin-top: 22px; max-width: 620px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; color: var(--sc-on-dark-muted); }
.sc-h2__facts { display: flex; flex-wrap: wrap; row-gap: 6px; margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--sc-on-dark-muted); }
.sc-h2__facts li + li::before { content: ""; display: inline-block; width: 1px; height: 12px; margin-inline: 14px; background: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .4); vertical-align: -1px; }
.sc-h2 .sc-hero__btns { margin-top: 34px; }
.sc-h2 .sc-hero__btn--white { width: var(--sc-h2-btn1-w, 248px); }
.sc-h2 .sc-hero__btn--line { width: var(--sc-h2-btn2-w, 168px); }

/* ================= H7 실사 배경(오른쪽 72%) + 알약 배지 + 큰 두 색 제목 + 사실 칩 + 버튼 3개 ================= */
.sc-h7__bg { position: absolute; inset: 0; overflow: hidden; }
/* 사진 상자를 오른쪽 72%에만 두어 사진 속 주 피사체가 글 뒤가 아닌 오른쪽에 오게 한다.
   마스크는 알파만 쓴다(black = 불투명, 색이 아님). 위치는 사진마다 --sc-h7-pos로 */
.sc-h7__bg img {
  position: absolute; top: 0; right: 0; display: block; width: 72%; height: 100%;
  object-fit: cover; object-position: var(--sc-h7-pos, 60% 40%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 34%); mask-image: linear-gradient(90deg, transparent 0, black 34%);
  transform-origin: 70% 50%; animation: sc-h7-zoom 24s ease-in-out infinite alternate;
}
@keyframes sc-h7-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.sc-h7__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .5) 0, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), 0) 160px),
    linear-gradient(90deg, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .95) 0%, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .86) 50%, rgba(var(--sc-shadow-rgb), .52) 100%);
}
.sc-h7__in { position: relative; display: flex; align-items: center; min-height: calc(720px - var(--sc-header-h)); }
.sc-h7__text { max-width: 680px; padding-block: 56px 72px; }
.sc-h7__badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(var(--sc-accent-rgb, 169, 166, 234), .55); background: rgba(var(--sc-accent-rgb, 169, 166, 234), .12);
  font-size: 15px; font-weight: 600; color: var(--sc-accent);
}
.sc-h7__badge .sc-ic { width: 18px; height: 18px; }
.sc-h7__title { margin-top: 24px; font-size: clamp(36px, 5.4vw, 56px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.sc-h7__lead { margin-top: 22px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; color: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .84); }
.sc-h7__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sc-h7__chips li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 12px;
  background: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .08); border: 1px solid rgba(var(--sc-on-dark-rgb, 255, 255, 255), .2);
  font-size: 15px; font-weight: 700;
}
.sc-h7__chips .sc-ic { width: 18px; height: 18px; color: var(--sc-accent); }
.sc-h7 .sc-hero__btns { margin-top: 36px; }
.sc-h7 .sc-hero__btn--accent { width: var(--sc-h7-btn1-w, 200px); }
.sc-h7 .sc-hero__btn--white { width: var(--sc-h7-btn2-w, 156px); }
.sc-h7 .sc-hero__btn--white:hover, .sc-h7 .sc-hero__btn--white:focus-visible { box-shadow: 0 10px 24px rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .25); }
.sc-h7 .sc-hero__btn--line { width: var(--sc-h7-btn3-w, 172px); border-color: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .45); }
.sc-h7 .sc-hero__btn--line:hover, .sc-h7 .sc-hero__btn--line:focus-visible { background: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .1); }

/* ================= 899px 이하 ================= */
@media (max-width: 899px) {
  .sc-h2 { min-height: calc(640px - var(--sc-header-h)); }
  /* 원본은 .58(28%) → .88(55%)이라 글 첫 줄(꼬리표·제목)이 .6 막 위에 놓여 밝은 사진에서 대비가 모자랐다(390px 흰 사진 꼬리표 2.2:1).
     위쪽 사진 띠(글 위 여백)는 원본 그대로 두고, 글이 시작하는 자리부터 .88 이상으로 짙게 한다. */
  .sc-h2::after { background: linear-gradient(180deg, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .62) 0, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .58) calc(150px - var(--sc-header-h)), rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .88) calc(200px - var(--sc-header-h)), rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .95) 100%); }
  .sc-h2__in { padding-block: calc(200px - var(--sc-header-h)) 44px; }
  .sc-h2__facts li + li::before { margin-inline: 10px; }
  /* H7: 사진은 위쪽 280px 띠로, 글은 그 아래 짙은 주색 바탕에(사진 속 피사체가 글 뒤에 깔리지 않게) */
  .sc-h7__bg { position: relative; height: 280px; }
  .sc-h7__bg img { width: 100%; object-position: var(--sc-h7-pos-m, 62% 35%); -webkit-mask-image: none; mask-image: none; }
  .sc-h7__bg::after { background: linear-gradient(180deg, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .62) 0%, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .12) 38%, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .2) 70%, var(--sc-brand-strong) 100%); }
  .sc-h7__in { min-height: 0; }
  .sc-h7__text { padding-block: 8px 52px; }
}
/* 좁은 폭: 버튼은 세로로 꽉 채우고, 한 줄 사실은 세로로 쌓아 구분선을 뺀다(줄머리에 선이 남지 않게) */
@media (max-width: 599px) {
  .sc-hero__btns { flex-direction: column; align-items: stretch; }
  .sc-hero__btns .sc-hero__btn { width: 100%; }
  .sc-h2__facts { flex-direction: column; row-gap: 4px; }
  .sc-h2__facts li + li::before { display: none; }
  .sc-h7__badge { border-radius: 20px; text-align: left; }
}

/* 움직임 줄이기: 확대·교차·떠오름 모두 끄고 첫 장만 */
@media (prefers-reduced-motion: reduce) {
  .sc-h2__slide, .sc-h2__slide img, .sc-h7__bg img { animation: none !important; }
  .sc-h2__slide:not(:first-child) { opacity: 0; }
  .sc-h2__slide img, .sc-h7__bg img { transform: none; }
  .sc-hero__btn, .sc-hero__go { transition: none; }
  .sc-hero__btn:hover, .sc-hero__btn:focus-visible,
  .sc-hero__btn:hover .sc-hero__go, .sc-hero__btn:focus-visible .sc-hero__go { transform: none; }
}

/* ── site-components/heading/heading.css ── */
/* ── 섹션 머리 T2·T6·T7·G·I + 섹션 라벨 + 제목 글자 위계 (site-components) ─────────────────────
   필요: tokens.css. JS 없음. 형광펜을 함께 쓰면 highlight/highlight.css + highlight.js.
   라벨은 <p class="sc-label">(헤딩 아님). H2는 검색 키워드 제목 그대로.
   T2  가운데: p.sc-label(한국어 꼬리표) → span.sc-head__rule → h2.sc-head__h(끝 구절 span.sc-head__em) → p.sc-head__lead
       T2를 고른 사이트는 영어 라벨 대신 한국어 꼬리표(modern-design 1장 "섹션 라벨" 예외).
   T7  div.sc-head__mark > (p.sc-label + h2.sc-head__h) → p.sc-head__lead. 아래 본문을 같은 왼쪽 정렬선에 두려면 .sc-t7-indent.
   한 사이트는 T2·T7 중 하나만 쓴다(T6 알약 배지는 2026-11-18 삭제). 장식(선·막대)은 aria-hidden span. */

/* 섹션 라벨 공통(modern-design 1장): 영어 1~3단어, 대문자·넓은 자간은 CSS가 만든다 */
.sc-label {
  margin: 0 0 10px; font-size: 13px; font-weight: 700; line-height: 1.5;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sc-accent-text);
}

.sc-head { word-break: keep-all; overflow-wrap: break-word; }
/* H2: 360px에서 28px — 한국어 키워드 제목 20자 안팎이 두 줄, 길어도 세 줄 안 */
.sc-head__h {
  margin: 0; font-size: clamp(28px, 22.74px + 1.348vw, 40px); font-weight: 800;
  line-height: 1.25; letter-spacing: -.025em; color: var(--sc-brand);
}
.sc-head__em { color: var(--sc-accent-text); }
.sc-head__lead { margin: 16px 0 0; font-size: clamp(16px, 15.12px + .225vw, 18px); line-height: 1.75; color: var(--sc-muted); }

/* ── T2 가운데 정렬 + 한국어 꼬리표 → 짧은 선 → 두 색 H2 → 리드 */
.sc-head--t2 { text-align: center; }
.sc-head--t2 .sc-label { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .01em; text-transform: none; }
.sc-head__rule { display: block; width: 40px; height: 2px; margin: 14px auto 18px; border-radius: 2px; background: var(--sc-accent-text); }
.sc-head--t2 .sc-head__h { font-size: clamp(28px, 21.87px + 1.573vw, 42px); font-weight: 700; line-height: 1.3; }

/* ── (T6 라벨 알약 배지는 아카이브에서 뺐다 — 사용자 지정 2026-11-18 "제목 위에 뱃지형식은 쓰지마". 옛 사이트는 자기 style.css 사본을 쓴다. 원본 heading.css.bak-20261118-nobadge)
   제목 아래 액센트 막대만 남긴다(다른 머리에서도 쓸 수 있음) */
.sc-head__bar { display: block; width: 48px; height: 4px; margin: 20px 0; border-radius: 4px; background: linear-gradient(90deg, var(--sc-brand), var(--sc-accent-line)); }

/* ── T7 세로 선 라벨: 라벨 + H2를 왼쪽 2px 선으로 묶고, 리드·본문은 선 안쪽 같은 정렬선 */
.sc-head--t7 { --sc-t7-pad: clamp(18px, 2.4vw, 28px); padding-left: var(--sc-t7-pad); }
.sc-head__mark { position: relative; margin-left: calc(-1 * var(--sc-t7-pad)); padding-left: var(--sc-t7-pad); }
.sc-head__mark::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--sc-accent-line); }
.sc-head--t7 .sc-label { font-size: 12px; letter-spacing: .16em; }
.sc-head--t7 .sc-head__lead { margin-top: 18px; font-size: 17px; }
.sc-t7-indent { padding-left: clamp(18px, 2.4vw, 28px); }


/* ════════ 2026-10-29: G·I + 제목 글자 위계(modern-design 1-2) — 승전(seungjeonlaw.kr sc.css)에서 공용으로 옮김 ════════
   새 사이트의 섹션 머리는 T7·G·I 중 하나(사이트 안에서는 하나로 통일). T2는 새 사이트에서 고르지 않는다. 라벨을 알약·배지(바탕색·둥근 테두리)로 만들지 않는다(2026-11-18).
   글자색은 두 색만: 제목은 검정(.sc-head--ink), 강조 구절만 테마색(span.sc-ht--brand). 밑줄·형광펜 없음.
   긴 제목(약 16자 초과)은 키워드 앞 구절을 작은 회색 윗줄로(span.sc-ht-pre) — 글자·띄어쓰기는 그대로라 원고·title 대조에 영향 없음. */
.sc-head--ink .sc-head__h { color: var(--sc-ink); }
.sc-head__h .sc-ht--brand { color: var(--sc-brand-2); font-weight: 800; }
.sc-head__h .sc-ht-pre { display: block; margin-bottom: .3em; font-size: .52em; font-weight: 600; letter-spacing: -.01em; color: var(--sc-muted); }

/* G — 영어 라벨을 아주 크고 옅게(7%) 제목 뒤에 깐다. 큰 라벨은 장식(aria-hidden), 칸 밖으로 나가지 않게 잘라 둔다(가로 스크롤 0)
   div.sc-head.sc-head--g.sc-head--ink > p.sc-head__ghost[aria-hidden](영어) + h2.sc-head__h + p.sc-head__lead */
.sc-head--g { position: relative; padding-top: clamp(22px, 3.4vw, 48px); }
.sc-head--g .sc-head__ghost { position: absolute; left: 0; right: 0; top: 0; margin: 0; z-index: 0; overflow: hidden; white-space: nowrap; pointer-events: none;
  font-size: clamp(30px, 5.6vw, 80px); font-weight: 900; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; color: var(--sc-brand); opacity: .07; }
.sc-head--g .sc-head__h { position: relative; z-index: 1; }
.sc-head--g .sc-head__lead { position: relative; z-index: 1; }

/* I — 가운데: 작은 영어 라벨 → 제목 위 짧은 선(36×3, 밑줄 아님) → 제목 → 리드
   div.sc-head.sc-head--i.sc-head--ink > p.sc-label + span.sc-head__rule[aria-hidden] + h2.sc-head__h + p.sc-head__lead */
.sc-head--i { text-align: center; }
.sc-head--i .sc-label { margin: 0; }
.sc-head--i .sc-head__rule { display: block; width: 36px; height: 3px; margin: 14px auto 18px; border-radius: 3px; background: var(--sc-brand-2); }
.sc-head--i .sc-head__lead { max-width: 40em; margin-left: auto; margin-right: auto; }

/* ── site-components/heading/numbers.css ── */
/* ── 숫자 강조 NU1·NU2 (site-components) ──────────────────────────────────
   필요: tokens.css. JS 없음. 숫자는 업체 사실만(가짜·추정·반올림 부풀림 금지) — 사실 숫자 3개 이상일 때만 쓴다.
   NU1 칸 안 큰 숫자 + 작은 강조색 단위:
     ul.sc-nu1 > li.sc-nu1__item > p.sc-nu1__num(span.sc-nu1__pre? + span.sc-nu1__v + span.sc-nu1__u) + p.sc-nu1__t + p.sc-nu1__d
   NU2 숫자 위 작은 라벨, 칸 없이 선으로 나눔:
     ul.sc-nu2 > li.sc-nu2__item > p.sc-nu2__l + p.sc-nu2__num(…) + p.sc-nu2__d
   숫자 글자가 5자 이상(예 09–20, 1,200)이면 __v에 .is-long — 한 단계 작아져 칸을 넘지 않는다.
   숫자 줄은 줄바꿈하지 않고(nowrap) 글자 폭을 고정(tabular-nums)한다.
   목록 칸 수: 1열 → 560px 2열 → 1024px 4열. 글 칸 안처럼 좁은 자리는 .sc-nu2--2(늘 2열).
   바꿀 수 있는 변수: --sc-nu1-bg(NU1 칸 바탕, 기본 --sc-tint), --sc-nu2-line(NU2 선, 기본 --sc-line-soft). */

.sc-nu1, .sc-nu2 { display: grid; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .sc-nu1, .sc-nu2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sc-nu1, .sc-nu2 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sc-nu1 p, .sc-nu2 p { margin: 0; }
.sc-nu1__num, .sc-nu2__num { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── NU1: 칸 바탕 --sc-nu1-bg(기본 --sc-tint — 흰 섹션용. 틴트 섹션이면 --sc-surface로) */
.sc-nu1 { gap: 16px; }
.sc-nu1__item { padding: 28px 24px 26px; border-radius: 20px; background: var(--sc-nu1-bg, var(--sc-tint)); }
.sc-nu1__pre { margin-right: 4px; font-size: 16px; font-weight: 600; color: var(--sc-muted); }
.sc-nu1__v { font-size: clamp(40px, 32.99px + 1.798vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--sc-brand); }
.sc-nu1__v.is-long { font-size: clamp(36px, 30.74px + 1.348vw, 48px); }
.sc-nu1__u { font-size: 20px; font-weight: 700; color: var(--sc-accent-text); }
.sc-nu1 .sc-nu1__t { margin-top: 16px; font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--sc-brand); }
.sc-nu1 .sc-nu1__d { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--sc-muted); }

/* ── NU2: 좁은 화면은 가로 선, 넓은 화면은 세로 선 */
.sc-nu2__item { padding: 22px 0; border-top: 1px solid var(--sc-nu2-line, var(--sc-line-soft)); }
.sc-nu2__item:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 560px) {
  .sc-nu2 { gap: 0 32px; }
  .sc-nu2__item:nth-child(2) { border-top: 0; padding-top: 0; }
}
@media (min-width: 1024px) {
  .sc-nu2 { gap: 0; }
  .sc-nu2__item, .sc-nu2__item:nth-child(2) { padding: 4px 28px; border-top: 0; border-left: 1px solid var(--sc-nu2-line, var(--sc-line-soft)); }
  .sc-nu2__item:first-child { padding-left: 0; border-left: 0; }
}
.sc-nu2 .sc-nu2__l { font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--sc-accent-text); }
.sc-nu2 .sc-nu2__num { margin-top: 10px; }
.sc-nu2__pre { margin-right: 4px; font-size: 15px; font-weight: 600; color: var(--sc-brand); }
.sc-nu2__v { font-size: clamp(36px, 30.74px + 1.348vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--sc-brand); }
.sc-nu2__v.is-long { font-size: clamp(32px, 27.62px + 1.124vw, 42px); }
.sc-nu2__u { font-size: 17px; font-weight: 700; color: var(--sc-brand); }
.sc-nu2 .sc-nu2__d { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--sc-muted); }

/* NU2 늘 2열(글 칸 안 2×2, 분할 섹션 SP2): 가운데 세로 선 + 두 줄 사이 가로 선 */
.sc-nu2.sc-nu2--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.sc-nu2.sc-nu2--2 > .sc-nu2__item { padding: 18px 16px 18px 0; border-top: 1px solid var(--sc-nu2-line, var(--sc-line-soft)); border-left: 0; }
.sc-nu2.sc-nu2--2 > .sc-nu2__item:nth-child(-n+2) { border-top-width: 0; padding-top: 0; }
.sc-nu2.sc-nu2--2 > .sc-nu2__item:nth-child(even) { padding-left: 20px; padding-right: 0; border-left: 1px solid var(--sc-nu2-line, var(--sc-line-soft)); }
.sc-nu2--2 .sc-nu2__v { font-size: clamp(30px, 26.5px + .9vw, 40px); }
.sc-nu2--2 .sc-nu2__v.is-long { font-size: clamp(26px, 23.4px + .67vw, 34px); }

/* ── site-components/cards/cards.css ── */
/* ── 카드 K1~K8 · P1~P4 · S1~S3 · A1·A2 · F1~F3 (site-components) ─────────────
   필요: tokens.css, icons/icon-styles.css(아이콘 기본값·I1~I4), buttons/buttons.css(A2·F2·F3 버튼),
         nav/nav.css(.sc-sr — F2 "새 창" 안내 글자), cards.js(K5 빛만. 없으면 빛이 위 가운데에 고정).
   마크업: cards/example.html. 출처: 2026-10-20 승전 카드 예시 카탈로그(_preview/cards.html) — 겉모습·동작 그대로, 색만 변수.
   - 움직임은 transform·opacity·box-shadow·색만. hover 때 카드 크기는 그대로(떠오름은 translateY).
   - 링크 카드(K·P·A1)는 카드 전체가 a 하나. 절차(S)·정보(F)는 카드 자체가 링크가 아니다.
   - 아이콘 칸 .sc-card__ic 에 sc-icbox--i1~i4 를 붙이면 그 칸 스타일로 바뀐다(크기·자리는 카드가 정한 그대로).
   - 새 토큰 후보(아직 tokens.css에 없음 — 기존 변수로 대체값을 둠):
     --sc-accent-soft(강조색 아주 연한 틴트 → 대체 --sc-tint), --sc-accent-wash(강조색 바탕 물들임 → 대체 --sc-hover),
     --sc-card-shadow / --sc-card-shadow-hover / --sc-card-shadow-lift(카드 그림자 세 단 → 대체는 아래 값). */

/* 카드 그림자 세 단 — 색은 --sc-shadow-rgb를 따른다. 사이트가 :root에 --sc-card-shadow… 를 주면 그 값을 쓴다 */
:where(.sc-cards, .sc-card, .sc-steps, .sc-person, .sc-facts, .sc-way, .sc-hours) {
  --_sh1: var(--sc-card-shadow, 0 1px 2px rgba(var(--sc-shadow-rgb), .05), 0 6px 16px rgba(var(--sc-shadow-rgb), .06));
  --_sh2: var(--sc-card-shadow-hover, 0 2px 4px rgba(var(--sc-shadow-rgb), .05), 0 14px 30px rgba(var(--sc-shadow-rgb), .11));
  --_sh3: var(--sc-card-shadow-lift, 0 4px 8px rgba(var(--sc-shadow-rgb), .07), 0 22px 46px rgba(var(--sc-shadow-rgb), .16));
  --_soft: var(--sc-accent-soft, var(--sc-tint));
  --_wash: var(--sc-accent-wash, var(--sc-hover));
  /* 짙은 바탕 위 반투명 강조색 — color-mix가 없는 브라우저(Safari 16.1 이하)는 아래 @supports에서 단색으로 */
  --_ac13: color-mix(in srgb, var(--sc-accent) 13%, transparent);
  --_ac16: color-mix(in srgb, var(--sc-accent) 16%, transparent);
  --_ac18: color-mix(in srgb, var(--sc-accent) 18%, transparent);
  --_ac28: color-mix(in srgb, var(--sc-accent) 28%, transparent);
  --_ac45: color-mix(in srgb, var(--sc-accent) 45%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  :where(.sc-cards, .sc-card, .sc-steps, .sc-person, .sc-facts, .sc-way, .sc-hours) {
    --_ac13: var(--sc-brand-hi); --_ac16: var(--sc-brand-hi); --_ac18: var(--sc-brand-hi); --_ac28: var(--sc-brand-hi); --_ac45: var(--sc-accent-line);
  }
}

/* ── 묶음 격자: 같은 줄 카드 높이 같게(grid stretch). ul > li > a, div > a 둘 다 된다 ── */
.sc-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sc-cards > li { display: flex; min-width: 0; margin: 0; }
.sc-cards > li > * { flex: 1 1 auto; min-width: 0; }
@media (min-width: 640px) { .sc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
/* K6 행 목록 · P3 가로 카드: 900px부터 두 열 */
.sc-cards.sc-cards--rows { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sc-cards.sc-cards--wide { grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) {
  .sc-cards.sc-cards--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
  .sc-cards.sc-cards--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
/* K7 벤토: 카드 6장, 앞의 두 장이 큰 칸(is-big) */
.sc-cards.sc-cards--bento { gap: 16px; }
@media (min-width: 640px) {
  .sc-cards.sc-cards--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "b1 b1" "s1 s2" "b2 b2" "s3 s4"; }
  .sc-cards--bento > :nth-child(1) { grid-area: b1; }
  .sc-cards--bento > :nth-child(2) { grid-area: b2; }
  .sc-cards--bento > :nth-child(3) { grid-area: s1; }
  .sc-cards--bento > :nth-child(4) { grid-area: s2; }
  .sc-cards--bento > :nth-child(5) { grid-area: s3; }
  .sc-cards--bento > :nth-child(6) { grid-area: s4; }
}
@media (min-width: 1024px) {
  .sc-cards.sc-cards--bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; grid-template-areas: "b1 b1 s1 s2" "s3 s4 b2 b2"; }
}

/* ── 링크 카드 바닥 ── */
.sc-card {
  --_r: 16px; --_lift: -3px; --_bg: var(--sc-surface); --_bd: transparent; --_sh: none; --_sh-on: var(--_sh);
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--_bd); border-radius: var(--_r);
  background: var(--_bg); box-shadow: var(--_sh);
  color: var(--sc-ink); text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--sc-ease), box-shadow .25s var(--sc-ease), background-color .25s, border-color .25s;
}
.sc-card:is(:hover, :focus-visible) { transform: translateY(var(--_lift)); box-shadow: var(--_sh-on); background: var(--_bg-on, var(--_bg)); border-color: var(--_bd-on, var(--_bd)); }
.sc-card:focus-visible { outline: 3px solid var(--sc-focus); outline-offset: 3px; border-radius: var(--_r); }
.sc-card__tx { flex: 1 1 auto; min-width: 0; }
.sc-card__t { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--sc-brand); }
.sc-card__d { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--sc-muted); }
.sc-card__tag { display: block; margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--sc-accent-text); }
.sc-card__go { display: grid; place-items: center; flex: none; color: var(--sc-brand-2); transition: transform .25s var(--sc-ease), background-color .3s, color .3s, box-shadow .3s; }
.sc-card__go .sc-ic { width: 22px; height: 22px; }
.sc-card:is(:hover, :focus-visible) .sc-card__go { transform: translateX(4px); }

/* ── 아이콘 칸: 카드 변형이 --_ic* 를 정하고, sc-icbox--i1~i4 가 붙으면 그 칸 스타일로 덮는다.
   [class*="sc-icbox--"] 와 [class] 는 icon-styles.css(I2 60px·I3 64px)보다 앞서려고 붙인 것 — 크기는 늘 카드 값 ── */
.sc-card__ic, .sc-card__ic[class*="sc-icbox--"] {
  display: grid; place-items: center; flex: none;
  width: var(--_ic, 48px); height: var(--_ic, 48px); border-radius: var(--_ic-r, 12px);
  background: var(--_ic-bg, var(--sc-tint-2)); color: var(--_ic-c, var(--sc-brand)); box-shadow: var(--_ic-sh, none);
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--sc-ease);
}
.sc-card__ic[class] .sc-ic { width: var(--_ic-svg, 24px); height: var(--_ic-svg, 24px); }
.sc-card:is(:hover, :focus-visible) .sc-card__ic[class] { background: var(--_ic-bg-on, var(--sc-brand)); color: var(--_ic-c-on, var(--sc-on-dark)); box-shadow: var(--_ic-sh-on, var(--_ic-sh, none)); }
/* 바꿔 끼우기 I1~I4 */
.sc-card__ic.sc-icbox--i1 { --_ic-r: 0; --_ic-bg: transparent; --_ic-bg-on: transparent; --_ic-c: var(--sc-brand-2); --_ic-c-on: var(--sc-accent-text); --_ic-sh: none; --_ic-sh-on: none; --_ic-svg: 32px; }
.sc-card__ic.sc-icbox--i2 { --_ic-r: 14px; --_ic-bg: var(--sc-tint); --_ic-c: var(--sc-brand-2); --_ic-bg-on: var(--sc-brand); --_ic-c-on: var(--sc-on-dark); --_ic-sh: none; --_ic-sh-on: none; --_ic-svg: 26px; }
.sc-card__ic.sc-icbox--i3 { --_ic-r: 50%; --_ic-bg: var(--sc-tint); --_ic-c: var(--sc-brand-2); --_ic-bg-on: var(--sc-brand); --_ic-c-on: var(--sc-on-dark); --_ic-sh: inset 0 0 0 1px var(--sc-line); --_ic-sh-on: inset 0 0 0 1px var(--sc-brand), 0 8px 18px rgba(var(--sc-shadow-rgb), .22); --_ic-svg: 26px; }
.sc-card__ic.sc-icbox--i4 { --_ic-r: 0; --_ic-bg: transparent; --_ic-bg-on: transparent; --_ic-c: var(--sc-brand); --_ic-c-on: var(--sc-brand-2); --_ic-sh: none; --_ic-sh-on: none; --_ic-svg: 36px; --sc-tone: var(--sc-accent); --sc-tone-o: .8; }
.sc-card:is(:hover, :focus-visible) .sc-card__ic.sc-icbox--i4 { --sc-tone-o: 1; }
/* 틴트 카드(K6·F1) 위의 I2·I3 칸은 흰 칸으로(같은 색에 묻히지 않게) */
:is(.sc-card--k6, .sc-fact) .sc-card__ic:is(.sc-icbox--i2, .sc-icbox--i3) { --_ic-bg: var(--sc-surface); }
/* 짙은 카드(K8·K7 큰 칸) 위에서는 강조색 선 */
:is(.sc-card--k8, .sc-card--k7.is-big) .sc-card__ic:is(.sc-icbox--i2, .sc-icbox--i3) { --_ic-bg: var(--_ac13); --_ic-c: var(--sc-accent); --_ic-bg-on: var(--sc-accent); --_ic-c-on: var(--sc-brand-strong); --_ic-sh: none; --_ic-sh-on: none; }
:is(.sc-card--k8, .sc-card--k7.is-big) .sc-card__ic:is(.sc-icbox--i1, .sc-icbox--i4) { --_ic-c: var(--sc-accent); --_ic-c-on: var(--sc-on-dark); }

/* ── K 세로 쌓기형 공통(K1·K3·K4·K5·K7·K8): 아이콘 칸 → 제목 → 한 줄 → 오른쪽 아래 화살표 ── */
:is(.sc-card--k1, .sc-card--k3, .sc-card--k4, .sc-card--k5, .sc-card--k7, .sc-card--k8) { padding: 26px 24px 22px; }
:is(.sc-card--k1, .sc-card--k3, .sc-card--k4, .sc-card--k5, .sc-card--k7, .sc-card--k8) .sc-card__tx { margin-top: 18px; }
:is(.sc-card--k1, .sc-card--k3, .sc-card--k4, .sc-card--k5, .sc-card--k7, .sc-card--k8) .sc-card__go { align-self: flex-end; margin-top: 14px; }

/* K1 아이콘 칸 기본: 옅은 그림자, 올리면 3px 뜨고 칸이 주색으로 */
.sc-card--k1 { --_sh: var(--_sh1); --_sh-on: var(--_sh2); }

/* K2 테두리만: 그림자 없음, 올리면 바탕이 강조색으로 물듦 */
.sc-card--k2 {
  --_r: 14px; --_lift: -2px; --_bd: var(--sc-line); --_bd-on: var(--sc-accent-line); --_bg-on: var(--_wash);
  --_ic: 46px; --_ic-bg: transparent; --_ic-sh: inset 0 0 0 1px var(--sc-line);
  --_ic-bg-on: var(--sc-surface); --_ic-c-on: var(--sc-accent-text); --_ic-sh-on: inset 0 0 0 1px var(--sc-accent-line);
  display: grid; grid-template-columns: var(--_ic) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 16px; padding: 22px 22px 18px;
}
.sc-card--k2 .sc-card__ic { grid-row: 1; grid-column: 1; }
.sc-card--k2 .sc-card__tx { grid-row: 1; grid-column: 2; padding-top: 9px; }
.sc-card--k2 .sc-card__t { font-size: 18px; }
.sc-card--k2 .sc-card__go { grid-row: 2; grid-column: 2; justify-self: end; margin-top: 12px; }

/* K3 큰 모서리 + 옅은 틴트 그라디언트, 원형 칸·원형 화살표, 제목 위 꼬리표 */
.sc-card--k3 {
  --_r: 22px; --_lift: -4px; --_sh: var(--_sh1); --_sh-on: var(--_sh3); --_bd: rgba(var(--sc-shadow-rgb), .06);
  --_bg: linear-gradient(165deg, var(--sc-surface) 0%, var(--_wash) 55%, var(--_soft) 100%);
  --_ic-r: 50%; --_ic-bg: var(--sc-surface); --_ic-c: var(--sc-accent-text); --_ic-sh: 0 0 0 1px var(--sc-tint-2);
  padding: 28px 26px 24px; transition-duration: .3s;
}
.sc-card--k3 .sc-card__tx { margin-top: 20px; }
.sc-card--k3 .sc-card__go { width: 40px; height: 40px; margin-top: 16px; border-radius: 50%; color: var(--sc-brand); box-shadow: inset 0 0 0 1px var(--sc-line-strong); }
.sc-card--k3 .sc-card__go .sc-ic { width: 18px; height: 18px; }
.sc-card--k3:is(:hover, :focus-visible) .sc-card__go { background: var(--sc-brand); color: var(--sc-on-dark); box-shadow: inset 0 0 0 1px var(--sc-brand); }

/* K4 위쪽 액센트 선이 왼쪽부터 그어짐(scaleX만) */
.sc-card--k4 {
  --_sh: var(--_sh1); --_sh-on: var(--_sh2); --_bd: var(--sc-line-soft);
  --_ic-bg: var(--sc-tint); --_ic-bg-on: var(--sc-tint-2); --_ic-c-on: var(--sc-accent-text);
  overflow: hidden;
}
.sc-card--k4::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sc-brand), var(--sc-accent-line));
  transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--sc-ease);
}
.sc-card--k4:is(:hover, :focus-visible)::before { transform: scaleX(1); }

/* K5 마우스를 따라오는 빛 — 위치는 cards.js가 --sc-mx/--sc-my로만 넘긴다. 터치·움직임 줄이기에서는 빛 없음 */
.sc-card--k5 { --_sh: var(--_sh1); --_sh-on: var(--_sh2); --_bd-on: var(--sc-accent-line); isolation: isolate; overflow: hidden; }
.sc-card--k5::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(280px circle at var(--sc-mx, 50%) var(--sc-my, 0%), var(--sc-accent), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.sc-card--k5:is(:hover, :focus-visible)::before { opacity: var(--sc-k5-glow, .4); }
@media (hover: none) { .sc-card--k5::before { display: none; } }

/* K6 가로 행: 아이콘 왼쪽 · 글 가운데 · 화살표 오른쪽 (카드 8개 이상 목록) */
.sc-card--k6 {
  --_r: 14px; --_lift: -2px; --_bg: var(--sc-card-tint, var(--sc-tint)); --_bg-on: var(--sc-surface); --_bd-on: var(--sc-line); --_sh-on: var(--_sh2);
  --_ic-bg: var(--sc-surface);
  display: grid; grid-template-columns: var(--_ic, 48px) minmax(0, 1fr) 22px; align-items: center; gap: 16px; padding: 18px 20px;
}
.sc-card--k6 .sc-card__t { font-size: 17.5px; }
.sc-card--k6 .sc-card__d { margin-top: 4px; }
@media (max-width: 420px) {
  .sc-card--k6 { --_ic: 44px; grid-template-columns: var(--_ic) minmax(0, 1fr) 20px; gap: 12px; padding: 16px 14px; }
}

/* K7 벤토: 큰 칸(is-big)은 짙은 그라디언트 + 근거 한 줄(.sc-card__law) */
.sc-card--k7 { --_r: 18px; --_sh: var(--_sh1); --_sh-on: var(--_sh2); padding: 24px 22px 20px; }
.sc-card--k7 .sc-card__t { font-size: 18px; }
.sc-card--k7.is-big {
  --_bg: linear-gradient(140deg, var(--sc-brand) 0%, var(--sc-brand-strong) 100%); --_sh-on: var(--_sh3);
  --_ic-bg: var(--_ac16); --_ic-c: var(--sc-accent); --_ic-bg-on: var(--sc-accent); --_ic-c-on: var(--sc-brand-strong);
  padding: 30px 28px 24px;
}
.sc-card--k7.is-big .sc-card__t { font-size: 22px; color: var(--sc-on-dark); }
.sc-card--k7.is-big .sc-card__d { font-size: 15.5px; color: var(--sc-on-dark-muted); }
.sc-card--k7.is-big .sc-card__go { color: var(--sc-accent); }
.sc-card__law { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--_ac28); font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--sc-accent); }
.sc-card__law .sc-ic { width: 20px; height: 20px; }

/* K8 짙은 섹션용: 한 톤 밝은 주색 카드 + 강조색 선 아이콘 */
.sc-card--k8 {
  --_bg: var(--sc-brand); --_bd: var(--_ac18); --_bd-on: var(--sc-accent);
  --_sh-on: 0 0 0 1px var(--_ac45), 0 16px 38px var(--_ac16);
  --_ic-bg: var(--_ac13); --_ic-c: var(--sc-accent); --_ic-bg-on: var(--sc-accent); --_ic-c-on: var(--sc-brand-strong);
}
.sc-card--k8 .sc-card__t { color: var(--sc-on-dark); }
.sc-card--k8 .sc-card__d { color: var(--sc-on-dark-muted); }
.sc-card--k8 .sc-card__go { color: var(--sc-accent); }
:is(.sc-card--k8, .sc-card--k7.is-big):focus-visible { outline-color: var(--sc-accent); }

/* ── P 사진 카드 ── */
.sc-card__media { display: block; position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--sc-tint); }
.sc-card__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-card__body { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.sc-card__body .sc-card__t { margin-top: 4px; }
.sc-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-size: 14.5px; font-weight: 700; color: var(--sc-brand-2); }
.sc-card__more .sc-ic { width: 18px; height: 18px; transition: transform .25s var(--sc-ease); }
.sc-card:is(:hover, :focus-visible) .sc-card__more .sc-ic { transform: translateX(4px); }

/* P1 위 사진(1:1) + 아래 흰 판 */
.sc-card--p1 { --_bd: var(--sc-line-soft); --_sh: var(--_sh1); --_sh-on: var(--_sh2); overflow: hidden; }
.sc-card--p1 .sc-card__body { padding: 20px 22px 22px; }

/* P2 사진이 카드 전체 + 아래쪽 짙은 막 위 흰 글자. 올리면 사진만 확대(카드 크기 그대로) */
.sc-card--p2 { --_bg: var(--sc-brand-strong); --_sh: var(--_sh1); --_sh-on: var(--_sh2); display: block; border: 0; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 5; transition-duration: .3s; }
.sc-card--p2 > .sc-card__photo { position: absolute; inset: 0; z-index: -2; transition: transform .35s var(--sc-ease); }
.sc-card--p2::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--sc-shadow-deep-rgb), .08) 0%, rgba(var(--sc-shadow-deep-rgb), .3) 38%, rgba(var(--sc-shadow-deep-rgb), .86) 62%, rgba(var(--sc-shadow-deep-rgb), .95) 100%);
}
.sc-card--p2 .sc-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.sc-card--p2 .sc-card__tag { color: var(--sc-accent); text-transform: uppercase; letter-spacing: .14em; }
.sc-card--p2 .sc-card__t { font-size: 22px; color: var(--sc-on-dark); }
.sc-card--p2 .sc-card__d { color: var(--sc-on-dark-muted); }
.sc-card--p2 .sc-card__more { color: var(--sc-on-dark); }
.sc-card--p2:is(:hover, :focus-visible) > .sc-card__photo { transform: scale(1.05); }

/* P3 사진 왼쪽 · 글 오른쪽 가로 카드(모바일도 가로, 사진 88px) */
.sc-card--p3 {
  --_lift: -2px; --_bg: var(--sc-card-tint, var(--sc-tint)); --_bg-on: var(--sc-surface); --_bd-on: var(--sc-line); --_sh-on: var(--_sh2);
  display: grid; grid-template-columns: 120px minmax(0, 1fr) 22px; align-items: center; gap: 20px; padding: 14px 20px 14px 14px;
}
.sc-card--p3 .sc-card__media { border-radius: 12px; background: var(--sc-line); }
.sc-card--p3 .sc-card__t { font-size: 18px; }
.sc-card--p3 .sc-card__d { margin-top: 4px; }
@media (max-width: 560px) {
  .sc-card--p3 { grid-template-columns: 88px minmax(0, 1fr) 20px; gap: 14px; padding: 12px 14px 12px 12px; }
  .sc-card--p3 .sc-card__d { font-size: 14.5px; }
}

/* P4 사진 아래쪽에 흰 판이 겹쳐 올라앉음. 올리면 판만 3px 더 올라옴 */
.sc-card--p4 { --_lift: 0px; --_bg: transparent; }
.sc-card--p4 .sc-card__media { border-radius: 16px; background: var(--sc-line); box-shadow: var(--_sh1); }
.sc-card--p4 .sc-card__body {
  position: relative; margin: -64px 16px 0; padding: 20px 22px 22px; border-radius: 14px;
  background: var(--sc-surface); box-shadow: var(--_sh2); transition: transform .3s var(--sc-ease), box-shadow .3s var(--sc-ease);
}
.sc-card--p4 .sc-card__tag { align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--_soft); }
.sc-card--p4 .sc-card__t { margin-top: 10px; }
.sc-card--p4:is(:hover, :focus-visible) .sc-card__body { transform: translateY(-3px); box-shadow: var(--_sh3); }
.sc-card--p4:focus-visible { outline-offset: 4px; }

/* ── S 절차(링크·hover 없음) ── */
.sc-steps { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.sc-step { margin: 0; min-width: 0; }
.sc-step__t { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--sc-brand); }
.sc-step__d { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--sc-muted); }
.sc-step__n { font-variant-numeric: tabular-nums; }

/* S1 큰 숫자 + 얇은 카드 */
.sc-steps--s1 { gap: 20px; }
@media (min-width: 640px) { .sc-steps--s1 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sc-steps--s1 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sc-steps--s1 .sc-step { padding: 24px 22px 26px; border: 1px solid var(--sc-line-soft); border-radius: 16px; background: var(--sc-surface); }
.sc-steps--s1 .sc-step__n { display: block; margin-bottom: 16px; font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--sc-accent-text); }

/* S2 번호 원을 잇는 연결선(모바일 세로 → 900px부터 가로). 원 둘레 띠 색 = 섹션 바탕(--sc-steps-ring) */
.sc-steps--s2 { position: relative; gap: 18px; }
.sc-steps--s2::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--sc-accent-line); }
.sc-steps--s2 .sc-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.sc-steps--s2 .sc-step__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--sc-brand); color: var(--sc-on-dark); font-size: 18px; font-weight: 800;
  box-shadow: 0 0 0 6px var(--sc-steps-ring, var(--sc-tint));
}
.sc-steps--s2 .sc-step__card { padding: 20px 22px; border-radius: 16px; background: var(--sc-surface); box-shadow: var(--_sh1); }
@media (min-width: 900px) {
  .sc-steps--s2 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .sc-steps--s2::before { left: 12.5%; right: 12.5%; top: 27px; bottom: auto; width: auto; height: 2px; }
  .sc-steps--s2 .sc-step { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; justify-items: center; gap: 18px; }
  .sc-steps--s2 .sc-step__n { align-self: start; }
  .sc-steps--s2 .sc-step__card { width: 100%; text-align: center; }
}

/* S3 카드 사이 화살표(모바일 아래쪽 → 1024px부터 오른쪽). 마지막 단계(is-last)는 짙은 카드 */
.sc-steps--s3 { gap: 44px; }
.sc-steps--s3 .sc-step { position: relative; display: flex; }
.sc-steps--s3 .sc-step__card { flex: 1 1 auto; min-width: 0; padding: 24px 22px; border-radius: 16px; background: var(--sc-steps-bg, var(--sc-tint)); }
.sc-steps--s3 .sc-step__n { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--sc-accent-text); }
.sc-steps--s3 .sc-step.is-last .sc-step__card { background: linear-gradient(140deg, var(--sc-brand), var(--sc-brand-strong)); }
.sc-steps--s3 .sc-step.is-last .sc-step__n { color: var(--sc-accent); }
.sc-steps--s3 .sc-step.is-last .sc-step__t { color: var(--sc-on-dark); }
.sc-steps--s3 .sc-step.is-last .sc-step__d { color: var(--sc-on-dark-muted); }
.sc-step__arrow {
  position: absolute; z-index: 1; left: 50%; bottom: -40px; display: grid; place-items: center;
  width: 36px; height: 36px; margin-left: -18px; border-radius: 50%;
  background: var(--sc-surface); box-shadow: inset 0 0 0 1px var(--sc-accent-line); color: var(--sc-accent-text); transform: rotate(90deg);
}
.sc-step__arrow .sc-ic { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .sc-steps--s3 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
  .sc-step__arrow { left: auto; right: -38px; bottom: auto; top: 50%; margin: -18px 0 0; transform: none; }
}

/* ── A 인물(변호사·원장) ── */
.sc-person { color: var(--sc-ink); }
.sc-person__role { font-size: 13px; font-weight: 700; color: var(--sc-accent-text); }
.sc-person__name { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--sc-brand); }
.sc-person__name small { font-size: .55em; font-weight: 600; letter-spacing: 0; color: var(--sc-muted); }
.sc-person__list { margin: 0; padding: 0; list-style: none; }
.sc-person__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.6; color: var(--sc-ink); }
.sc-person__list li + li { margin-top: 8px; }
.sc-person__list .sc-ic { width: 20px; height: 20px; margin-top: 3px; color: var(--sc-accent-text); }

/* A1 누끼 사진이 카드 윗선 위로 튀어나옴 + 뒤 아치. 카드 전체가 소개 페이지 링크 */
.sc-person--a1 {
  --_r: 24px;
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
  margin-top: 80px; padding: 0 clamp(24px, 4vw, 48px) 0 clamp(16px, 3vw, 32px); border-radius: var(--_r);
  background: linear-gradient(135deg, var(--sc-surface) 0%, var(--_wash) 100%); box-shadow: var(--_sh1);
  text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: transform .3s var(--sc-ease), box-shadow .3s var(--sc-ease);
}
.sc-person--a1:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: var(--_sh2); }
.sc-person--a1:focus-visible { outline: 3px solid var(--sc-focus); outline-offset: 3px; border-radius: var(--_r); }
.sc-person--a1 .sc-person__photo { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.sc-person--a1 .sc-person__photo::before {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: 0; height: 74%;
  border-radius: 200px 200px 0 0; background: linear-gradient(180deg, var(--sc-tint-2) 0%, var(--sc-accent-hi) 100%);
}
.sc-person__cut { position: relative; display: block; width: 88%; max-width: 300px; height: auto; margin-top: -80px; }
.sc-person--a1 .sc-person__body { align-self: center; min-width: 0; padding: 40px 0; }
.sc-person--a1 .sc-person__role { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--_soft); }
.sc-person--a1 .sc-person__name { margin-top: 12px; font-size: clamp(30px, 3.4vw, 38px); }
.sc-person__lead { margin: 12px 0 20px; font-size: 16px; line-height: 1.6; color: var(--sc-muted); }
.sc-person__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--sc-brand-2); }
.sc-person__more .sc-ic { width: 18px; height: 18px; transition: transform .25s var(--sc-ease); }
.sc-person--a1:is(:hover, :focus-visible) .sc-person__more .sc-ic { transform: translateX(4px); }
@media (max-width: 767px) {
  .sc-person--a1 { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 20px 28px; }
  .sc-person__cut { width: 70%; max-width: 240px; margin-top: -64px; }
  .sc-person--a1 .sc-person__photo::before { left: 50%; right: auto; width: 280px; max-width: 100%; transform: translateX(-50%); }
  .sc-person--a1 .sc-person__body { padding: 24px 0 0; }
}

/* A2 사진 + (등록 배지) + 이름·약력 + 버튼 두 개(폭 같음). 카드 자체는 링크가 아님 */
.sc-person--a2 {
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px);
  padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--sc-card-tint, var(--sc-tint));
}
.sc-person--a2 .sc-person__photo { overflow: hidden; border-radius: 16px; aspect-ratio: var(--sc-person-ratio, 639 / 800); background: var(--sc-line); }
.sc-person__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-person--a2 .sc-person__body { align-self: center; min-width: 0; }
.sc-person__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-person__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--sc-surface); box-shadow: inset 0 0 0 1px var(--sc-tint-2); font-size: 14px; line-height: 1.4; color: var(--sc-ink); }
.sc-person__badge b { color: var(--sc-brand); }
.sc-person__badge .sc-ic { width: 20px; height: 20px; color: var(--sc-accent-text); }
.sc-person--a2 .sc-person__role { display: block; margin: 0; font-size: 14px; }
.sc-person__badges + .sc-person__role { margin-top: 22px; }
.sc-person--a2 .sc-person__name { margin: 4px 0 18px; font-size: clamp(32px, 3.6vw, 40px); }
/* 버튼 칸이 글자보다 좁아지면(768~1023px 2단에서 칸 231px) 줄을 바꾼다 — 고정 2칸이면 B5 "대표전화 031-…"가 110px로 눌려 잘렸다(2026-10-21) */
.sc-person__btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), var(--sc-b5-w, 230px))); gap: 12px; margin-top: 26px; }
.sc-person__btns .sc-btn { width: 100%; min-height: 56px; }
@media (max-width: 767px) {
  .sc-person--a2 { grid-template-columns: minmax(0, 1fr); }
  .sc-person--a2 .sc-person__photo { max-width: 420px; }
  .sc-person__btns { grid-template-columns: minmax(0, 1fr); }
}

/* ── F1 사실 숫자(업체 사실만 — 실적·추정 숫자 금지). 누르는 카드가 아니라 hover 없음 ── */
.sc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sc-fact {
  --_ic: 44px; --_ic-bg: var(--sc-surface); --_ic-c: var(--sc-brand);
  min-width: 0; margin: 0; padding: 22px 22px 24px; border-radius: 16px; background: var(--sc-card-tint, var(--sc-tint));
}
.sc-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .sc-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-fact:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 1100px) { .sc-facts { grid-template-columns: repeat(var(--sc-facts-cols, 5), minmax(0, 1fr)); gap: 18px; } }
.sc-fact__num { margin: 18px 0 0; line-height: 1.1; white-space: nowrap; color: var(--sc-brand); }
.sc-fact__num b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sc-fact__num small { margin-left: 3px; font-size: 17px; font-weight: 700; color: var(--sc-accent-text); }
.sc-fact__l { margin: 10px 0 0; font-size: 15.5px; font-weight: 700; line-height: 1.45; color: var(--sc-ink); }
.sc-fact__s { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--sc-muted); }
@media (max-width: 479px) {
  .sc-fact { padding: 18px 16px 20px; }
  .sc-fact__num b { font-size: 28px; }
  .sc-fact__l { font-size: 14.5px; }
}

/* ── F2 오시는 길: 아이콘 + 이름 칸(같은 폭) + 값 한 줄씩 ── */
.sc-way { --_ic: 40px; --_ic-r: 10px; --_ic-bg: var(--_soft); --_ic-c: var(--sc-brand); --_ic-svg: 22px; padding: clamp(22px, 4vw, 40px); border-radius: 20px; background: var(--sc-surface); box-shadow: var(--_sh1); }
.sc-way__t { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; color: var(--sc-brand); }
.sc-way__sub { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; color: var(--sc-accent-text); }
.sc-way__list { margin: 18px 0 0; }
.sc-way__row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--sc-line-soft); }
.sc-way__row dt { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--sc-brand); }
.sc-way__row dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--sc-ink); }
.sc-way__btn { margin-top: 22px; }
@media (max-width: 560px) {
  .sc-way__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sc-way__row dd { padding-left: 52px; }
  .sc-way__btn { width: 100%; }
}

/* ── F3 상담 시간 · 전화(B5 버튼, 폭 고정). 흰 판 기본 / 짙은 판 .sc-hours--dark ── */
.sc-hours { padding: clamp(24px, 4vw, 36px); border-radius: 20px; background: var(--sc-surface); box-shadow: inset 0 0 0 1px var(--sc-line-soft), var(--_sh1); color: var(--sc-brand); }
.sc-hours--dark { background: linear-gradient(150deg, var(--sc-brand) 0%, var(--sc-brand-strong) 100%); box-shadow: none; color: var(--sc-on-dark); }
.sc-hours__k { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--sc-accent-text); }
.sc-hours__k .sc-ic { width: 20px; height: 20px; }
.sc-hours--dark .sc-hours__k { color: var(--sc-accent); }
.sc-hours__time { margin: 10px 0 0; font-size: clamp(36px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sc-hours__day { margin: 8px 0 0; font-size: 15px; color: var(--sc-muted); }
.sc-hours--dark .sc-hours__day { color: var(--sc-on-dark-muted); }
.sc-hours__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sc-hours--dark .sc-btn:focus-visible { outline-color: var(--sc-accent); }

/* ── 움직임 줄이기: 떠오름·확대·화살표 이동·빛을 끄고 색만 바꾼다 ── */
@media (prefers-reduced-motion: reduce) {
  .sc-card, .sc-card *, .sc-card::before, .sc-person--a1, .sc-person--a1 * { transition: none !important; }
  .sc-card:is(:hover, :focus-visible), .sc-card:is(:hover, :focus-visible) *,
  .sc-person--a1:is(:hover, :focus-visible), .sc-person--a1:is(:hover, :focus-visible) * { transform: none !important; }
  .sc-card--k5::before { display: none; }
}

/* ── site-components/split/split.css ── */
/* ── 글 + 사진 분할 섹션 SP1·SP2·SP4·SP5·SP6·SP9·SP10·SP11 (site-components) ─────
   필요: tokens.css, icons/icon-styles.css, buttons/buttons.css(B1 버튼), heading/numbers.css(SP2 → NU2, SP5 → NU1).
   JS: split.js — SP6(지금 보이는 사진 이름 진하게, 좁은 화면 넘김 줄 Tab 멈춤)·SP9(탭)만. 나머지는 CSS뿐.
   쓰지 않는 안: SP3·SP7·SP8(사용자 제외), SP0(옛 반반 구조).
   공통 약속
   - 뿌리에 .sc-sp + 안 이름(.sc-sp1 …). 한 페이지에 분할 섹션은 서로 다른 안 2개까지.
   - 사진 칸(.sc-sp__ph)은 aspect-ratio·격자가 크기를 정하고 사진(img.sc-sp-fill)은 채우기만 → 불러온 뒤 높이 변화 없음.
     사진마다 style="object-position: …"으로 얼굴·핵심을 맞춘다.
   - 버튼은 글 바로 아래 28px(.sc-sp__cta, 버튼은 buttons/의 B1).
   - 899px 이하는 위에서 아래로 쌓인다(안마다 순서 다름 — README 표).
   - 흰 작은 원·탭 바탕(--sc-sp-chip)은 틴트 섹션 기준. 흰 섹션에 두면 --sc-sp-chip: var(--sc-tint)로 바꾼다. */

.sc-sp {
  --sc-sp-chip: var(--sc-surface);
  --sc-sp-sh-sm: 0 1px 2px rgba(var(--sc-shadow-rgb), .05), 0 6px 16px rgba(var(--sc-shadow-rgb), .06);
  --sc-sp-sh-md: 0 2px 4px rgba(var(--sc-shadow-rgb), .05), 0 14px 30px rgba(var(--sc-shadow-rgb), .11);
  --sc-sp-sh-lg: 0 4px 8px rgba(var(--sc-shadow-rgb), .07), 0 22px 46px rgba(var(--sc-shadow-rgb), .16);
  word-break: keep-all; overflow-wrap: break-word;
}
.sc-sp figure, .sc-sp p, .sc-sp ul, .sc-sp ol { margin: 0; }

/* 사진 칸 공통 */
.sc-sp__ph { position: relative; overflow: hidden; background: var(--sc-tint-2); }
.sc-sp-fill { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* 글 칸 공통 — 라벨(짧은 선 + 영어 대문자) · H2 · 문단 */
.sc-label.sc-sp__lbl, .sc-sp__lbl {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-accent-text);
}
.sc-sp__lbl::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--sc-accent-line); }
.sc-sp__h { margin: 12px 0 0; font-size: clamp(25px, 3vw, 34px); font-weight: 800; line-height: 1.3; letter-spacing: -.025em; color: var(--sc-brand); }
.sc-sp .sc-sp__p { margin-top: 16px; font-size: 16.5px; line-height: 1.75; color: var(--sc-muted); }
.sc-sp .sc-sp__p + .sc-sp__p { margin-top: 10px; }
.sc-sp__p a { color: var(--sc-brand-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.sc-sp__p a:hover { color: var(--sc-brand); }
.sc-sp .sc-sp__cta { margin-top: 28px; }

/* 사진 위 이름표: 짙은 막 위 흰 글자라 사진이 밝아도 대비가 남는다 */
.sc-sp .sc-sp__tag {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px;
  background: rgba(var(--sc-shadow-deep-rgb), .8); color: var(--sc-on-dark); font-size: 13.5px; font-weight: 600; line-height: 1.3;
}
.sc-sp__tag .sc-ic { width: 18px; height: 18px; color: var(--sc-accent); }

/* ========== SP1 겹침 카드 — 사진 위에 흰 글 카드가 걸쳐 앉음 ========== */
.sc-sp1 { position: relative; }
.sc-sp1__ph { border-radius: 22px; aspect-ratio: 4 / 3; }
.sc-sp1__ph .sc-sp__tag { top: 14px; right: 14px; }
.sc-sp1__card { position: relative; z-index: 1; margin: -56px 12px 0; padding: 28px 22px 26px; border-radius: 22px; background: var(--sc-surface); box-shadow: var(--sc-sp-sh-lg); }
@media (min-width: 900px) {
  .sc-sp1 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .sc-sp1__ph { grid-column: 5 / -1; grid-row: 1; aspect-ratio: 16 / 11; border-radius: 32px; }
  .sc-sp1__ph .sc-sp__tag { top: auto; right: 24px; bottom: 24px; }
  .sc-sp1__card { grid-column: 1 / 7; grid-row: 1; margin: 0; padding: clamp(36px, 4vw, 52px); border-radius: 28px; }
}

/* ========== SP2 글 5 : 사진 7 — 사진도 컨테이너 안(2026-10-29) ==========
   옛 "한쪽 풀블리드"(사진이 화면 오른쪽 끝까지)는 콘텐츠 영역을 넘어 제외됐다(사용자 2026-10-21 "컨텐츠 영역을 넘고있어").
   이제 사진 오른쪽 끝 = .wrap 글 칸 오른쪽 끝. 마크업·.wrap 밖 위치는 그대로(바깥 1fr 칸이 양쪽 여백만 맡음). */
.sc-sp2 { display: grid; grid-template-columns: var(--sc-gutter) minmax(0, 1fr) var(--sc-gutter); }
.sc-sp2__txt { grid-column: 2; }
.sc-sp2__ph { grid-column: 2; margin-top: 36px; border-radius: 24px; aspect-ratio: 4 / 3; }
.sc-sp2 { --sc-nu2-line: var(--sc-line-strong); }
.sc-sp2__facts { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--sc-nu2-line); }
@media (min-width: 900px) {
  .sc-sp2 {
    --sc-sp2-cw: calc(min(var(--sc-container), 100%) - 2 * var(--sc-gutter));
    grid-template-columns: minmax(0, 1fr) calc(var(--sc-sp2-cw) * 5 / 12) calc(var(--sc-sp2-cw) * 7 / 12) minmax(0, 1fr);
    align-items: center;
  }
  .sc-sp2__txt { grid-column: 2; grid-row: 1; padding-right: clamp(32px, 4vw, 56px); }
  .sc-sp2__ph { grid-column: 3; grid-row: 1; margin: 0; aspect-ratio: auto; height: clamp(420px, 40vw, 580px); border-radius: 32px; }
}

/* ========== SP4 사진 콜라주 + 아이콘 체크 목록 ========== */
.sc-sp4 { display: grid; gap: 40px; align-items: center; }
.sc-sp4__col { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / 1; }
.sc-sp4__col > .sc-sp__ph { position: absolute; box-shadow: 0 0 0 6px var(--sc-surface), var(--sc-sp-sh-md); }
.sc-sp4__a { left: 0; top: 8%; width: 60%; height: 80%; border-radius: 24px; }
.sc-sp4__b { right: 0; top: 0; width: 44%; height: 40%; border-radius: 20px; z-index: 1; }
.sc-sp4__c { right: 4%; bottom: 0; width: 50%; height: 42%; border-radius: 20px; z-index: 1; }
.sc-sp4 .sc-sp4__checks { display: grid; gap: 12px; margin-top: 24px; padding: 0; list-style: none; }
.sc-sp4__checks li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--sc-ink); }
.sc-sp4__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sc-sp-chip); color: var(--sc-brand); }
.sc-sp4__ic .sc-ic { width: 21px; height: 21px; }
@media (min-width: 900px) {
  .sc-sp4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); }
  .sc-sp4__col { max-width: none; }
}

/* ========== SP5 벤토 격자 — 글 타일 · 사진 타일 · 사실 타일 4개(NU1) ==========
   사실 타일은 heading/numbers.css의 NU1 마크업(ul.sc-nu1 > li.sc-nu1__item)을 그대로 쓰고 여기서 벤토 모양만 덧입힌다.
   타일 바탕: --brand(짙은 주색) · 기본(강조 틴트) · --tint · --soft. 흰 섹션에 둔다. */
.sc-sp5 { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "p" "f"; }
.sc-sp5__txt { grid-area: t; padding: 28px 22px; border-radius: 24px; background: var(--sc-tint); }
.sc-sp5__ph { grid-area: p; border-radius: 24px; aspect-ratio: 16 / 10; }
.sc-sp5__ph .sc-sp__tag { left: 14px; bottom: 14px; }
.sc-sp5 .sc-nu1 { grid-area: f; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sc-sp5 .sc-nu1__item { position: relative; display: flex; flex-direction: column; min-height: 156px; padding: 20px 18px; border-radius: 22px; background: var(--sc-tint-2); }
.sc-sp5__t--tint { --sc-sp5-bg: var(--sc-tint); }
.sc-sp5__t--soft { --sc-sp5-bg: var(--sc-accent-soft, var(--sc-tint)); }
.sc-sp5__t--brand { --sc-sp5-bg: var(--sc-brand); }
.sc-sp5 .sc-nu1__item[class*="sc-sp5__t--"] { background: var(--sc-sp5-bg); }
.sc-sp5__ico { position: absolute; top: 18px; right: 18px; color: var(--sc-accent-text); }
.sc-sp5 .sc-nu1__num { gap: 0; padding-top: 34px; font-size: clamp(30px, 3.4vw, 44px); }
.sc-sp5 .sc-nu1__v, .sc-sp5 .sc-nu1__v.is-long { font-size: 1em; line-height: 1.05; letter-spacing: -.02em; }
.sc-sp5 .sc-nu1__pre, .sc-sp5 .sc-nu1__u { margin: 0 2px; font-size: .42em; font-weight: 700; color: var(--sc-accent-text); }
.sc-sp5 .sc-nu1 .sc-nu1__t { margin-top: 10px; font-size: 15px; line-height: 1.35; color: var(--sc-ink); }
.sc-sp5 .sc-nu1 .sc-nu1__d { margin-top: 3px; font-size: 13.5px; line-height: 1.45; }
.sc-sp5__t--brand .sc-sp5__ico, .sc-sp5 .sc-sp5__t--brand .sc-nu1__pre, .sc-sp5 .sc-sp5__t--brand .sc-nu1__u { color: var(--sc-accent); }
.sc-sp5 .sc-sp5__t--brand .sc-nu1__v, .sc-sp5 .sc-nu1 .sc-sp5__t--brand .sc-nu1__t { color: var(--sc-on-dark); }
.sc-sp5 .sc-nu1 .sc-sp5__t--brand .sc-nu1__d { color: var(--sc-on-dark-muted); }
@media (min-width: 900px) {
  /* 원래 5칸 격자(글 2칸 · 사진 3칸, 칸 사이 16px)와 같은 폭 */
  .sc-sp5 { gap: 16px; grid-template-columns: calc((100% - 64px) * 2 / 5 + 16px) minmax(0, 1fr); grid-template-areas: "t p" "f p"; }
  .sc-sp5__txt { padding: clamp(32px, 3.4vw, 44px); border-radius: 28px; }
  .sc-sp5__ph { aspect-ratio: auto; min-height: 100%; border-radius: 28px; }
  .sc-sp5__ph .sc-sp__tag { left: 22px; bottom: 22px; }
  .sc-sp5 .sc-nu1 { gap: 16px; }
  .sc-sp5 .sc-nu1__item { min-height: 180px; padding: 24px; border-radius: 24px; }
  .sc-sp5__ico { top: 22px; right: 22px; }
}

/* ========== SP6 스티키 글 + 스크롤로 지나가는 사진 ==========
   900px 이상: 왼쪽 글이 제자리(sticky)에 머물고 오른쪽 사진이 캡션과 함께 지나간다. 화면 가운데 사진 이름이 목록에서 진해진다(색·투명도만).
   899px 이하: sticky·목록을 끄고 사진은 옆으로 넘기는 줄(스냅) — 섹션이 세로로 길어지지 않는다.
   sticky 위치 --sc-sp6-top(기본: 고정 헤더 높이 + 24px). */
.sc-sp6 { display: grid; gap: 32px; }
.sc-sp6 .sc-sp6__list { display: none; }
.sc-sp6__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px;
  margin: 0 calc(-1 * var(--sc-gutter)); padding: 0 var(--sc-gutter) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--sc-gutter);
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.sc-sp6__fig { scroll-snap-align: start; }
.sc-sp6__ph { border-radius: 20px; aspect-ratio: 4 / 3; }
.sc-sp6__fig figcaption { display: flex; gap: 10px; margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--sc-muted); }
.sc-sp6__fig figcaption b { flex: none; font-weight: 800; color: var(--sc-accent-text); font-variant-numeric: tabular-nums; }
.sc-sp6__fig figcaption strong { color: var(--sc-brand); }
@media (min-width: 900px) {
  .sc-sp6 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
  .sc-sp6__stick { position: -webkit-sticky; position: sticky; top: var(--sc-sp6-top, calc(var(--sc-header-h) + 24px)); }
  .sc-sp6 .sc-sp6__list { display: grid; gap: 2px; margin-top: 40px; padding: 24px 0 0; border-top: 1px solid var(--sc-line); list-style: none; }
  .sc-sp6__list li { display: flex; align-items: center; gap: 14px; min-height: 44px; font-size: 15.5px; font-weight: 600; color: var(--sc-muted); opacity: .62; transition: opacity .3s, color .3s; }
  .sc-sp6__list li b { font-size: 13px; font-weight: 800; color: var(--sc-accent-text); font-variant-numeric: tabular-nums; }
  .sc-sp6__list li::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--sc-accent-line); transform: scale(0); transition: transform .3s var(--sc-ease); }
  .sc-sp6__list li.is-on { opacity: 1; color: var(--sc-brand); }
  .sc-sp6__list li.is-on::after { transform: scale(1); }
  .sc-sp6__rail { grid-auto-flow: row; grid-auto-columns: auto; gap: clamp(40px, 5vw, 64px); margin: 0; padding: 0; overflow: visible; }
  .sc-sp6__ph { border-radius: 28px; }
}

/* ========== SP9 탭으로 사진 바꾸기 ==========
   사진 칸은 높이 고정(aspect-ratio), 사진은 한 칸에 겹쳐 투명도만 바뀐다 → 탭을 바꿔도 아래가 밀리지 않는다.
   JS가 없으면 첫 사진만 보이고 탭 줄은 숨는다. 틴트 섹션에 둔다(탭 바탕이 반투명 흰색). */
.sc-sp9 { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "stage" "tabs" "btn"; }
.sc-sp9__txt { grid-area: txt; }
.sc-sp9__stage { grid-area: stage; position: relative; margin-top: 28px; border-radius: 22px; aspect-ratio: 4 / 3; }
.sc-sp9__pn { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--sc-ease); }
.sc-sp9__pn.is-on { opacity: 1; }
.sc-sp9__pn .sc-sp__tag { left: 14px; bottom: 14px; }
.sc-sp9__tabs { grid-area: tabs; display: grid; grid-template-columns: repeat(var(--sc-sp9-n, 3), minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
html:not(.sc-js) .sc-sp9__tabs { display: none; }
.sc-sp9__tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 72px; padding: 10px 6px;
  border: 0; border-radius: 16px; background: var(--sc-sp9-tab-bg, rgba(255, 255, 255, .55)); color: var(--sc-muted);
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1.35; cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.sc-sp9__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sc-tint-2); color: var(--sc-brand); transition: background-color .25s, color .25s; }
.sc-sp9__ic .sc-ic { width: 20px; height: 20px; }
.sc-sp9__tab small { display: none; }
.sc-sp9__tab:hover { background: var(--sc-surface); color: var(--sc-brand); }
.sc-sp9__tab[aria-selected="true"] { background: var(--sc-surface); color: var(--sc-brand); box-shadow: var(--sc-sp-sh-sm); }
.sc-sp9__tab[aria-selected="true"] .sc-sp9__ic { background: var(--sc-brand); color: var(--sc-on-dark); }
.sc-sp9 .sc-sp9__btn { grid-area: btn; justify-self: start; }
@media (min-width: 900px) {
  /* 사진 칸이 왼쪽 글보다 높아도 늘어난 높이는 위아래 1fr 줄이 받는다 — 글·탭·버튼 사이가 벌어지지 않는다 */
  .sc-sp9 {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: ". stage" "txt stage" "tabs stage" "btn stage" ". stage"; column-gap: clamp(48px, 6vw, 88px);
  }
  .sc-sp9__stage { margin: 0; border-radius: 32px; }
  .sc-sp9__pn .sc-sp__tag { left: 22px; bottom: 22px; }
  .sc-sp9__tabs { grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 28px; }
  .sc-sp9__tab { flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 64px; padding: 10px 16px 10px 12px; background: transparent; font-size: 16px; text-align: left; }
  .sc-sp9__ic { width: 42px; height: 42px; }
  .sc-sp9__tab > span:last-child { display: flex; flex-direction: column; }
  .sc-sp9__tab small { display: block; font-size: 13px; font-weight: 500; color: var(--sc-muted); }
  .sc-sp9__tab:hover { background: rgba(255, 255, 255, .6); }
  .sc-sp9__tab[aria-selected="true"] { background: var(--sc-surface); }
}

/* ========== SP10 사진 마스크 형태 — 위가 둥근 아치 + 한 모서리만 크게 깎은 사진 ========== */
.sc-sp10 { display: grid; gap: 40px; align-items: center; }
.sc-sp10__media { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1 / 1.08; }
.sc-sp10__shape { position: absolute; right: 0; top: 6%; width: 62%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--sc-tint-2); }
.sc-sp10__line { position: absolute; left: 12%; top: 0; width: 62%; height: 86%; border: 1.5px solid var(--sc-accent-line); border-radius: 999px 999px 32px 32px; }
.sc-sp10__media > .sc-sp__ph { position: absolute; }
.sc-sp10__main { left: 4%; top: 4%; width: 62%; height: 86%; border-radius: 999px 999px 32px 32px; box-shadow: var(--sc-sp-sh-md); }
.sc-sp10__sub { right: 0; bottom: 0; width: 46%; aspect-ratio: 1 / 1; border-radius: 24px 24px 24px 104px; box-shadow: 0 0 0 6px var(--sc-surface), var(--sc-sp-sh-lg); }
.sc-sp .sc-sp10__addr { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--sc-tint); font-size: 14.5px; line-height: 1.5; color: var(--sc-ink); }
.sc-sp10__addr .sc-ic { width: 20px; height: 20px; margin-top: 1px; color: var(--sc-accent-text); }
@media (min-width: 900px) {
  .sc-sp10 { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); }
  .sc-sp10__media { max-width: none; }
  .sc-sp10__sub { border-radius: 28px 28px 28px 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-sp__p a, .sc-sp6__list li, .sc-sp6__list li::after, .sc-sp9__pn, .sc-sp9__tab, .sc-sp9__ic { transition: none !important; }
}

/* ── SP11 글 + 번호 순서 카드 + 작은 세로 사진 (2026-10-21) ─────
   글만 길게 놓이는 섹션에 쓴다. 카드 = 번호 원 + 이름 한 줄 + 설명 한 문장, 3~4개(업체 사실로만).
   사진은 세로 인물 사진도 그대로(4:5, 최대 300px) — 글 칸 높이와 비슷해 위아래 빈 공간이 생기지 않는다.
   틴트 섹션이면 카드는 흰색(기본), 흰 섹션이면 .sc-sp11 { --sc-sp11-card: var(--sc-tint) }. */
.sc-sp11 { --sc-sp11-card: var(--sc-surface); display: grid; gap: 28px; }
.sc-sp11__steps { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px !important; counter-reset: none; }
.sc-sp11__steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--sc-sp11-card); border-radius: 12px; padding: 14px 16px; box-shadow: var(--sc-sp-sh-sm); }
.sc-sp11__no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sc-brand); color: #fff; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.sc-sp11__t { display: block; color: var(--sc-brand); font-weight: 700; line-height: 1.4; }
.sc-sp11__d { display: block; margin-top: 2px; font-size: .9375rem; line-height: 1.6; color: var(--sc-text-2, inherit); }
.sc-sp11__ph { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; }
.sc-sp11__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) {
  .sc-sp11 { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 5vw, 64px); align-items: start; }
}

/* ── site-components/carousel/carousel.css ── */
/* ── C1 군포형 캐러셀 (site-components) ─────────────────────────────────
   원본: 2026-10-20 승전 예시 카탈로그 _preview/carousels.html #c1 (+ template-gunpo.html 사무실 사진).
   필요: tokens.css, icons/icon-styles.css. JS: carousel/carousel.js (없으면 scroll-snap으로 손가락·트랙패드 밀기만).
   1280px 4장 · 768px 약 2.4장 · 390px 약 1.25장. 사진은 카드를 꽉 채운다(object-fit: cover) —
   사진마다 기준점을 마크업에 준다: <li class="sc-car__slide" style="--pos: 50% 30%">.
   자동 넘김 4.5초(data-auto), 일시정지 버튼·진행 막대 없음(image-carousel.md, 사용자 지정 2026-10-15). */

.sc-car { position: relative; }

.sc-car__track {
  position: relative;
  display: flex; gap: 20px;
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sc-car__track::-webkit-scrollbar { display: none; }
.sc-car__track.is-drag { scroll-snap-type: none; cursor: grabbing; -webkit-user-select: none; user-select: none; }
.sc-car__track:focus-visible { outline-offset: 6px; border-radius: var(--sc-car-radius, 20px); }

.sc-car__slide { flex: 0 0 calc((100% - 60px) / 4); min-width: 0; scroll-snap-align: start; }

/* 카드 칸은 비율로 자리를 잡는다 — 사진이 늦게 와도 아래가 밀리지 않음 */
.sc-car__card {
  position: relative; margin: 0;
  aspect-ratio: 3 / 4; border-radius: var(--sc-car-radius, 20px); overflow: hidden;
  background: var(--sc-car-ph, var(--sc-tint));
  transition: box-shadow .3s;
}
.sc-car__card img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  -webkit-user-drag: none;
  transition: transform .35s var(--sc-ease);
}
.sc-car__card:hover img { transform: scale(1.04); }

/* 사진 위 제목·한 줄 — 쓰지 않는다(사용자 지정 2026-10-20 "캡션은 달지 않아"). 옛 원본 호환용으로만 남김 */
.sc-car__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 64px 20px 20px;
  color: var(--sc-on-dark);
  background: linear-gradient(to top, rgba(var(--sc-shadow-deep-rgb), .92) 0%, rgba(var(--sc-shadow-deep-rgb), .8) 45%, rgba(var(--sc-shadow-deep-rgb), 0) 100%);
}
.sc-car__t { display: block; font-size: 19px; font-weight: 700; line-height: 1.35; }
.sc-car__d { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--sc-on-dark-muted); }

/* 아래 가운데: 이전 · 점 · 다음. JS가 없으면 누를 수 없으니 숨긴다(sc-js는 <head>에서 먼저 붙어 자리가 흔들리지 않음) */
.sc-car__ctrl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 28px; }
html:not(.sc-js) .sc-car__ctrl { display: none; }

.sc-car__btn {
  display: grid; place-items: center;
  width: 52px; height: 52px; padding: 0;
  border: 1px solid var(--sc-line); border-radius: 50%;
  background: var(--sc-surface); color: var(--sc-brand);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(var(--sc-shadow-rgb), .1);
  transition: transform .25s var(--sc-ease), box-shadow .25s, background-color .25s;
}
.sc-car__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(var(--sc-shadow-rgb), .16); }
.sc-car__btn .sc-ic { width: 22px; height: 22px; }

/* 점: 장식(aria-hidden). 길쭉한 현재 점은 transform으로만 옮긴다. 높이 8px 고정 — JS가 점을 채워도 자리 그대로 */
.sc-car__dots { position: relative; display: flex; height: 8px; }
.sc-car__dots i { display: grid; place-items: center; width: 22px; height: 8px; }
.sc-car__dots i::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sc-line-strong); }
.sc-car__dots b {
  position: absolute; left: 0; top: 0;
  width: 22px; height: 8px; border-radius: 4px;
  background: var(--sc-brand);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .3s var(--sc-ease);
}

@media (max-width: 899px) {
  .sc-car__slide { flex-basis: 40%; }
}
@media (max-width: 599px) {
  .sc-car__track { gap: 14px; }
  .sc-car__slide { flex-basis: 78%; }
}

/* 움직임 줄이기: 확대·버튼 떠오름·점 미끄러짐 끔(자동 넘김은 JS가 끔) */
@media (prefers-reduced-motion: reduce) {
  .sc-car__card, .sc-car__card img, .sc-car__btn, .sc-car__dots b { transition: none; }
  .sc-car__card:hover img, .sc-car__btn:hover { transform: none; }
}

/* ── site-components/guide/guide.css ── */
/* ── 하단 "안내 콘텐츠" 섹션 GC0 · GC4 (site-components) ────────────────────
   원본: 2026-10-20 승전 예시 카탈로그 _preview/guide-thumbs.html #gc0 · #gc4. 정본 규칙: references/build/guide-cards.md.
   필요: tokens.css, icons/icon-styles.css. GC4만 JS(guide/guide.js) — 없으면 가로 스크롤(scroll-snap)로 밀기만.
   섹션에는 꼭 class="guide-cards"를 단다(build-lint 1-g가 이 클래스로 켜진다).
   카드 = 다른 페이지 하나: <a> 하나 안에 썸네일 <img>(1:1, width·height·alt·lazy) + 제목 + 한 줄 + "자세히 보기".
   섹션 안의 <a>는 모두 카드로 센다 — 카드 말고 다른 링크를 섹션 안에 두지 않는다. 숨는 카드 없음(ItemList와 1:1).
   모바일(899px 이하) 가로 밀기는 컨테이너 좌우 여백만큼 바깥으로 뺀다: 여백이 --sc-gutter와 다르면 --sc-gc-bleed를 준다. */

/* ── 공통 ── */
.sc-gc__head { margin-bottom: 24px; }
.sc-gc__label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--sc-accent-text); }
.sc-gc__h { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; color: var(--sc-brand); }

.sc-gc__list { margin: 0; padding: 0; list-style: none; }
.sc-gc__list > li { display: flex; min-width: 0; }
.sc-gc__card { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
/* 썸네일 칸은 1:1로 자리를 미리 잡는다 */
.sc-gc__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sc-line); }
.sc-gc__img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; -webkit-user-drag: none; }
.sc-gc__body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.sc-gc__t { font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -.02em; color: var(--sc-brand); }
/* 한 줄 소개는 두 줄 높이로 고정 — 카드 높이가 모두 같다 */
.sc-gc__d {
  height: calc(1.6em * 2); overflow: hidden;
  font-size: 15px; line-height: 1.6; color: var(--sc-muted);
  overflow-wrap: anywhere; /* 좁은 카드(320px)에서 "공사대금·소유권이전등기" 같은 긴 묶음이 옆으로 잘리지 않게 (2026-10-21) */
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
}
.sc-gc__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 14.5px; font-weight: 700; color: var(--sc-brand-2); }
.sc-gc__more .sc-ic { width: 18px; height: 18px; transition: transform .25s var(--sc-ease); }
.sc-gc__card:hover .sc-gc__more .sc-ic,
.sc-gc__card:focus-visible .sc-gc__more .sc-ic { transform: translateX(4px); }

/* ── GC0 3열 + 썸네일 아래 연한 판(기본). 흰 섹션엔 틴트 판, 틴트 섹션엔 .sc-gc--on-tint(흰 판) ── */
.sc-gc--0 .sc-gc__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.sc-gc--0 .sc-gc__card {
  border: 1px solid var(--sc-line); border-radius: 14px; overflow: hidden;
  background: var(--sc-gc-card, var(--sc-tint));
  transition: transform .25s var(--sc-ease), box-shadow .25s var(--sc-ease), border-color .25s;
}
.sc-gc--0.sc-gc--on-tint { --sc-gc-card: var(--sc-surface); }
.sc-gc--0 .sc-gc__body { gap: 8px; }
.sc-gc--0 .sc-gc__card:hover,
.sc-gc--0 .sc-gc__card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(var(--sc-shadow-rgb), .06), 0 14px 32px rgba(var(--sc-shadow-rgb), .12);
  border-color: var(--sc-accent-line);
}
.sc-gc--0 .sc-gc__card:focus-visible { border-radius: 14px; }

/* ── GC4 캐러셀 3장 보기, 화살표는 제목 오른쪽, 자동 넘김 없음, 끝에서 버튼 흐려짐 ── */
.sc-gc--4 .sc-gc__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sc-gc__nav { display: flex; gap: 8px; flex: none; }
html:not(.sc-js) .sc-gc__nav { display: none; }
.sc-gc__btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(var(--sc-shadow-rgb), .18); border-radius: 50%;
  background: var(--sc-surface); color: var(--sc-brand);
  cursor: pointer;
  transition: background-color .25s, color .25s, transform .25s var(--sc-ease), opacity .25s;
}
.sc-gc__btn .sc-ic { width: 22px; height: 22px; }
.sc-gc__btn:hover { background: var(--sc-brand); color: var(--sc-on-dark); transform: translateY(-1px); }
.sc-gc__btn[aria-disabled="true"] { opacity: .38; cursor: default; }
.sc-gc__btn[aria-disabled="true"]:hover { background: var(--sc-surface); color: var(--sc-brand); transform: none; }

.sc-gc--4 .sc-gc__list {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* 카드 그림자가 잘리지 않게 아래로 넉넉히, 그만큼 바깥 간격은 되돌린다 */
  padding-block: 6px 28px; margin-bottom: -22px;
}
.sc-gc--4 .sc-gc__list::-webkit-scrollbar { display: none; }
.sc-gc--4 .sc-gc__list.is-drag { scroll-snap-type: none; cursor: grabbing; -webkit-user-select: none; user-select: none; }
.sc-gc--4 .sc-gc__list:focus-visible { outline-offset: 4px; border-radius: 18px; }
.sc-gc--4 .sc-gc__list > li { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.sc-gc--4 .sc-gc__card {
  border-radius: 18px; overflow: hidden;
  background: var(--sc-gc-card, var(--sc-surface));
  box-shadow: 0 1px 2px rgba(var(--sc-shadow-rgb), .05), 0 6px 16px rgba(var(--sc-shadow-rgb), .06);
  transition: transform .3s var(--sc-ease), box-shadow .3s var(--sc-ease);
}
.sc-gc--4 .sc-gc__body { gap: 6px; }
.sc-gc--4 .sc-gc__card:hover,
.sc-gc--4 .sc-gc__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(var(--sc-shadow-rgb), .06), 0 14px 32px rgba(var(--sc-shadow-rgb), .12);
}
.sc-gc--4 .sc-gc__card:focus-visible { outline-offset: -3px; border-radius: 18px; }

/* ── 폭에 따라 ── */
@media (min-width: 900px) and (max-width: 1099px) {
  .sc-gc--0 .sc-gc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-gc--4 .sc-gc__list > li { flex-basis: calc((100% - 20px) / 2); }
}
/* 카드 5장(GC0): 크기는 모두 같게, 남는 마지막 줄은 가운데로 (사용자 지정 2026-11-17 — 일로 김포 메인). 1100px 이상 3장 + 2장, 900~1099px 2장 + 2장 + 1장. 첫 줄만 크게 만들지 않는다 */
@media (min-width: 1100px) {
  .sc-gc--0 .sc-gc__list:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sc-gc--0 .sc-gc__list:has(> li:nth-child(5):last-child) > li { grid-column: span 2; }
  .sc-gc--0 .sc-gc__list:has(> li:nth-child(5):last-child) > li:nth-child(4) { grid-column: 2 / span 2; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .sc-gc--0 .sc-gc__list:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sc-gc--0 .sc-gc__list:has(> li:nth-child(5):last-child) > li { grid-column: span 2; }
  .sc-gc--0 .sc-gc__list:has(> li:nth-child(5):last-child) > li:nth-child(5) { grid-column: 2 / span 2; }
}
/* 899px 이하: 둘 다 줄 안에서만 가로로 밀린다(페이지는 가로로 안 밀림). 다음 카드가 조금 보이게 */
@media (max-width: 899px) {
  .sc-gc--0 .sc-gc__list,
  .sc-gc--4 .sc-gc__list {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--sc-gc-bleed, var(--sc-gutter)) * -1);
    padding-inline: var(--sc-gc-bleed, var(--sc-gutter));
    scroll-padding-inline: var(--sc-gc-bleed, var(--sc-gutter));
  }
  .sc-gc--0 .sc-gc__list { padding-bottom: 12px; }
  .sc-gc--0 .sc-gc__list > li { flex: 0 0 min(76%, 300px); scroll-snap-align: start; }
  .sc-gc--4 .sc-gc__list > li { flex: 0 0 min(44%, 320px); }
}
@media (max-width: 640px) {
  .sc-gc--4 .sc-gc__list > li { flex: 0 0 80%; }
  .sc-gc__btn { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-gc__card, .sc-gc__more .sc-ic, .sc-gc__btn { transition: none; }
  .sc-gc__card:hover, .sc-gc__card:focus-visible, .sc-gc__btn:hover,
  .sc-gc__card:hover .sc-gc__more .sc-ic, .sc-gc__card:focus-visible .sc-gc__more .sc-ic { transform: none; }
}

/* ── site-components/cta-band/cta-band.css ── */
/* ── 상담 안내 띠 L3 (site-components) ────────────────────────────────────
   필요: tokens.css, icons/icon-styles.css. JS 없음.
   원본: 2026-10-20 승전 예시 카탈로그 cta-footer.html #l3. 겉모습 그대로, 색만 변수로.
   - 사무실·원내 실사 1장을 띠 전체 배경으로(히어로 첫 장과 다른 사진). 왼쪽이 더 짙은 막 위에 글.
   - 767px 이하는 막 전체를 고르게 짙게(글이 폭 전체로 퍼지므로).
   - 사진은 absolute 층 + object-fit — 사진을 불러오기 전후로 띠 높이가 변하지 않는다(높이는 글이 정함).
   - 버튼 글자가 바뀌지 않는 링크라 폭은 글자대로, 559px 이하는 꽉 채움. */

.sc-l3 { position: relative; overflow: hidden; background: var(--sc-brand-strong); color: var(--sc-on-dark); }
.sc-l3 :focus-visible { outline-color: var(--sc-accent); }
.sc-l3__bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--sc-l3-pos, center 60%); }
.sc-l3::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .93) 0%, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .86) 48%, rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .5) 100%);
}
.sc-l3__in {
  position: relative; z-index: 1; width: 100%; max-width: var(--sc-container); margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--sc-gutter);
}
.sc-l3__in > * { max-width: 620px; }
:where(.sc-l3) :where(h2, h3, p, ul) { margin: 0; }
:where(.sc-l3) ul { padding: 0; list-style: none; }
.sc-l3__lbl { margin-bottom: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-accent); }
.sc-l3__h { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.sc-l3__p { margin: 14px 0 20px; font-size: 16.5px; line-height: 1.7; color: var(--sc-on-dark-muted); }
.sc-l3__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 600; }
.sc-l3__meta li { display: inline-flex; align-items: center; gap: 8px; }
.sc-l3__meta .sc-ic { width: 19px; height: 19px; color: var(--sc-accent); }
.sc-l3__tnum, .sc-l3 b { font-variant-numeric: tabular-nums; }
.sc-l3__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; max-width: none; }

/* 버튼(원본 .btn·.btn-lav·.btn-glass) */
.sc-l3__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-decoration: none;
  transition: transform .25s var(--sc-ease), box-shadow .25s var(--sc-ease), background-color .25s, border-color .25s, color .25s;
}
.sc-l3__btn b { font-weight: 800; margin-left: 2px; }
.sc-l3__btn .sc-ic { width: 20px; height: 20px; }
.sc-l3__btn:hover, .sc-l3__btn:focus-visible { transform: translateY(-1px); }
.sc-l3__btn--accent { background: var(--sc-accent); color: var(--sc-brand-strong); }
.sc-l3__btn--accent:hover, .sc-l3__btn--accent:focus-visible { background: var(--sc-accent-hi); box-shadow: 0 10px 24px rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .28); }
.sc-l3__btn--glass {
  border-color: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .4); color: var(--sc-on-dark); background: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sc-l3__btn--glass:hover, .sc-l3__btn--glass:focus-visible { background: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .18); border-color: var(--sc-on-dark); }

@media (max-width: 767px) { .sc-l3::after { background: rgba(var(--sc-overlay-rgb, var(--sc-shadow-deep-rgb)), .86); } }
@media (max-width: 559px) { .sc-l3__btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .sc-l3__btn { transition: none; }
  .sc-l3__btn:hover, .sc-l3__btn:focus-visible { transform: none; }
}

/* ── site-components/footer/footer.css ── */
/* ── 푸터 FT1 (site-components) ─────────────────────────────────────────
   필요: tokens.css, icons/icon-styles.css. JS 없음.
   원본: 2026-10-20 승전 예시 카탈로그 cta-footer.html #ft1. 겉모습 그대로, 색만 변수로.
   - 짙은 주색 4열: 사무소 정보 · 분야 목록 · 바로가기와 채널 · 연락처. 640px부터 2열, 1080px부터 4열, 그 아래 1열.
   - 아래 띠: 법정 표기(업종별 필수) · 면책 · 저작권. 업종별 필수 표기는 example.html 주석 참고.
     변호사: 변호사 성명(또는 법인명) + 소속 지방변호사회 + 광고책임변호사 / 한의원: 의료기관 명칭 + 종별.
   - 링크 누르는 높이 44px. 외부 링크는 새 창 + rel="noopener" + 읽기용 "(새 창)".
   - 퀵바 모바일 하단 줄이 있으면 body의 padding-bottom이 푸터 아래 끝을 가리지 않게 한다(quickbar/README). */

.sc-ft1 { background: var(--sc-brand-strong); color: var(--sc-on-dark-muted); padding: clamp(56px, 7vw, 80px) 0 32px; }
.sc-ft1 :focus-visible { outline-color: var(--sc-accent); }
:where(.sc-ft1) :where(h2, h3, p, ul) { margin: 0; }
:where(.sc-ft1) ul { padding: 0; list-style: none; }
:where(.sc-ft1) a { color: inherit; text-decoration: none; }
.sc-ft1__wrap { width: 100%; max-width: var(--sc-container); margin: 0 auto; padding-inline: var(--sc-gutter); }
.sc-ft1__grid { display: grid; gap: 40px 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sc-ft1__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .sc-ft1__grid { grid-template-columns: 1.25fr 1.55fr .9fr 1.2fr; } }
.sc-ft1 .sc-ic { width: 18px; height: 18px; flex: none; }
.sc-ft1__tnum { font-variant-numeric: tabular-nums; }

/* 1열 사무소 정보 */
.sc-ft1__logo { display: inline-flex; min-height: 44px; align-items: center; }
.sc-ft1__logo img { width: var(--sc-ft1-logo-w, 176px); height: auto; }
.sc-ft1__tag { margin-top: 18px; font-size: 14.5px; line-height: 1.7; color: var(--sc-on-dark); font-weight: 600; }
.sc-ft1__addr { display: flex; gap: 8px; margin-top: 16px; font-size: 14.5px; line-height: 1.65; }
.sc-ft1__addr .sc-ic { margin-top: 3px; color: var(--sc-accent); }
.sc-ft1__addr small { font-size: 13.5px; color: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .66); }

/* 열 제목·링크 */
.sc-ft1__h { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--sc-accent); }
.sc-ft1__h2 { margin-top: 22px; }
.sc-ft1__areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.sc-ft1__a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 14.5px; color: var(--sc-on-dark-muted); transition: color .2s; }
.sc-ft1__a:hover, .sc-ft1__a:focus-visible { color: var(--sc-on-dark); text-decoration: underline; text-underline-offset: 4px; }
.sc-ft1 .sc-ft1__ext { width: 14px; height: 14px; margin-left: 4px; opacity: .8; }

/* 4열 연락처 */
.sc-ft1__contact li { display: flex; align-items: center; gap: 8px; min-height: 34px; font-size: 14.5px; }
.sc-ft1__contact .sc-ic { width: 17px; height: 17px; color: var(--sc-accent); }
.sc-ft1__k { min-width: 56px; color: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .66); font-size: 13.5px; }
.sc-ft1__contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sc-on-dark); font-weight: 600; }
.sc-ft1__contact a:hover, .sc-ft1__contact a:focus-visible { color: var(--sc-accent); text-decoration: underline; text-underline-offset: 4px; }

/* 아래 띠 — 법정 표기 · 면책 · 저작권 */
.sc-ft1__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(var(--sc-accent-rgb, 169, 166, 234), .2); color: rgba(var(--sc-on-dark-rgb, 255, 255, 255), .66); }
.sc-ft1__legal { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; line-height: 1.7; }
.sc-ft1__legal > span:not(:last-child)::after { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 12px; background: currentColor; opacity: .35; vertical-align: -1px; }
.sc-ft1__disc { margin-top: 8px; font-size: 13.5px; line-height: 1.7; }
.sc-ft1__copy { margin-top: 6px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { .sc-ft1__a { transition: none; } }

/* 화면에는 숨기고 읽기 프로그램에는 읽히는 글자 — nav/nav.css와 같은 규칙 */
.sc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ── site-components/quickbar/quickbar-qc.css ── */
/* ── 퀵바 QC1·QC4·QC7·QC9·QC10 + 전화 효과 FX1·FX4·FX5·FX9 (site-components, 2026-10-29) ─────────────
   새 사이트의 퀵바는 이 파일에서만 고른다(사용자 지정 2026-10-29 — 견본 quickbar/colors-catalog.html).
   옛 QB2·QB3(quickbar.css·quickbar.mjs)는 2026-10-28까지 접수한 사이트용 동결본이다.
   필요: tokens.css. 마크업은 quickbar-qc.mjs가 만든다(README). JS 없음("맨 위로"는 href="#top").
   - 뿌리: nav.sc-qc.sc-qc--qc1(모양) .sc-qc--fx1(전화 효과). 모양 하나 + 효과 하나를 고른다.
   - 칸 색: a[data-tone] — site(사이트 주색: 전화·지도·시간·매거진) · naver(네이버 예약·플레이스·블로그) · kakao · youtube · insta.
     서비스 대표색 그대로 두되, 흰 글자가 얹히는 채움만 4.5:1이 되게 한 단계 진하게(네이버 #00873F, 유튜브 #E60000).
   - 테두리 없이 그림자만(modern-design 2-1, 2026-10-21). 효과·hover는 transform·opacity·그림자만 → 옆 칸·본문이 밀리지 않는다.
   - 900px 이상: 화면 오른쪽 가운데 세로 / 899px 이하: 화면 아래 줄 + 줄 위 오른쪽 "맨 위로" 원(QC10은 오른쪽 아래 동그라미 3개 + 맨 위로).
   - 본문 아래 여백(모바일): body에 .sc-qc-space--<모양> (README).
   - z-index 40 — 헤더(50)보다 아래라 D5 모바일 메뉴가 열리면 퀵바를 덮는다. */

/* ===== 칸 색 ===== c 대표색(칩·띠) · cg 칩 바탕 · cgon 칩 위 그림 · f 글자가 얹히는 채움 · fon 그 위 글자 · ic 흰 바탕 위 아이콘 · sh 그림자 · s/son QC10 연한 판 */
.sc-qc [data-tone="site"] {
  --c: var(--sc-brand); --cg: var(--sc-brand); --cgon: var(--sc-on-dark); --f: var(--sc-brand); --fon: var(--sc-on-dark);
  --ic: var(--sc-brand); --sh: rgba(var(--sc-shadow-rgb), .34); --s: var(--sc-tint); --son: var(--sc-brand);
}
.sc-qc [data-tone="naver"] { --c: #03c75a; --cg: #03c75a; --cgon: #fff; --f: #00873f; --fon: #fff; --ic: #00873f; --sh: rgba(3, 199, 90, .42); --s: #c4eed5; --son: #00703a; }
.sc-qc [data-tone="kakao"] { --c: #fee500; --cg: #fee500; --cgon: #191919; --f: #fee500; --fon: #191919; --ic: #191919; --sh: rgba(214, 190, 0, .5); --s: #fff1a6; --son: #3a2a00; }
.sc-qc [data-tone="youtube"] { --c: #ff0000; --cg: #ff0000; --cgon: #fff; --f: #e60000; --fon: #fff; --ic: #e60000; --sh: rgba(230, 0, 0, .36); --s: #ffd0d0; --son: #b00000; }
.sc-qc [data-tone="insta"] {
  --c: #dd2a7b; --cg: linear-gradient(45deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4); --cgon: #fff;
  --f: linear-gradient(45deg, #c13584, #833ab4 60%, #5851db); --fon: #fff; --ic: #c13584; --sh: rgba(193, 53, 132, .38);
  --s: linear-gradient(45deg, #fde3cc, #f9cde3 50%, #e2d6f7); --son: #86205a;
}
.sc-qc [data-qb="top"] { --c: var(--sc-muted); --cg: transparent; --cgon: var(--sc-ink); --ic: var(--sc-muted); --sh: rgba(var(--sc-shadow-rgb), .2); }

/* ===== 공통 틀 ===== */
.sc-qc { position: fixed; z-index: 40; right: 20px; top: 50%; transform: translateY(-50%); }
.sc-qc__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sc-qc__t {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 72px; height: 66px; border-radius: 16px; text-decoration: none; color: var(--sc-ink);
  font-size: 12px; font-weight: 700; line-height: 1.2; -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--sc-ease), background-color .25s, color .25s, box-shadow .25s;
}
.sc-qc__chip { position: relative; display: grid; place-items: center; flex: none; }
.sc-qc .sc-ic { display: block; width: 22px; height: 22px; }
.sc-qc__lb { white-space: nowrap; }
.sc-qc__lbm { display: none; }
.sc-qc__t[data-qb="top"] { height: 44px; }
.sc-qc__t:hover, .sc-qc__t:focus-visible { transform: translateY(-2px); }
.sc-qc :focus-visible { outline: 2px solid var(--sc-focus); outline-offset: 3px; }
/* 칩 안 그림 가운데(2026-11-04 khjihaenghani 사용자 지적 "아이콘들이 상하정렬 안맞는거같아").
   칩 상자는 같은 높이인데 그림 무게가 쏠려 줄이 들쭉날쭉해 보였다 — 펜은 밑줄 때문에 아래로 1.9단위, 핀은 둥근 머리 때문에 위로 0.9단위(24단위 viewBox).
   상자 중심과 무게중심의 가운데가 칩 중심에 오게 그림만 옮긴다. %는 그림 크기 기준이라 22·20·18px 어디서나 같은 비율.
   translate 속성이라 FX1(transform rotate)과 겹치지 않는다. FX5는 음파 두 줄이 보여 그림 무게가 달라 전화 보정을 빼고 기존 translateX만 쓴다.
   새 그림을 넣으면 README "아이콘 가운데 확인"으로 재고 0.5단위를 넘으면 여기 줄을 더한다. */
.sc-qc__chip .sc-qc__ic--pen { translate: -1.6% -5.2%; }
.sc-qc__chip .sc-qc__ic--pin { translate: 0 1.5%; }
.sc-qc:not(.sc-qc--fx5) .sc-qc__chip .sc-qc__ic--phonewave { translate: 2% -2%; }
/* 칩 모양(QC1·QC4·QC9): 칸 안 작은 색 칩 */
.sc-qc--qc1 .sc-qc__chip, .sc-qc--qc4 .sc-qc__chip, .sc-qc--qc9 .sc-qc__chip { width: 30px; height: 30px; border-radius: 9px; background: var(--cg); color: var(--cgon); }
.sc-qc--qc1 .sc-qc__chip .sc-ic, .sc-qc--qc9 .sc-qc__chip .sc-ic { width: 19px; height: 19px; }

/* ===== QC1 흰 타일 + 브랜드 칩 ===== */
.sc-qc--qc1 .sc-qc__t { background: var(--sc-surface); box-shadow: 0 8px 22px rgba(var(--sc-shadow-rgb), .14); }
.sc-qc--qc1 .sc-qc__t:hover, .sc-qc--qc1 .sc-qc__t:focus-visible { box-shadow: 0 14px 30px rgba(var(--sc-shadow-rgb), .2); }

/* ===== QC4 흰 기둥 + 원형 색 단추 ===== */
.sc-qc--qc4 .sc-qc__list { gap: 4px; padding: 12px 8px; border-radius: 40px; background: var(--sc-surface); box-shadow: 0 12px 32px rgba(var(--sc-shadow-rgb), .18); }
.sc-qc--qc4 .sc-qc__t { width: 64px; height: auto; padding: 4px 0; border-radius: 20px; font-size: 11px; }
.sc-qc--qc4 .sc-qc__t:hover, .sc-qc--qc4 .sc-qc__t:focus-visible { transform: none; }
.sc-qc--qc4 .sc-qc__chip { width: 44px; height: 44px; border-radius: 50%; transition: transform .25s var(--sc-ease); }
.sc-qc--qc4 .sc-qc__t:hover .sc-qc__chip { transform: scale(1.08); }
.sc-qc--qc4 .sc-qc__top { margin-top: 2px; padding-top: 6px; }
.sc-qc--qc4 [data-qb="top"] .sc-qc__chip { width: 36px; height: 36px; }

/* ===== QC7 흰 타일 + 서비스 색 그림자, 전화만 채움 ===== */
.sc-qc--qc7 .sc-qc__t { background: var(--sc-surface); box-shadow: 0 8px 20px -4px var(--sh); }
.sc-qc--qc7 .sc-ic { color: var(--ic); }
.sc-qc--qc7 .sc-qc__t:hover, .sc-qc--qc7 .sc-qc__t:focus-visible, .sc-qc--qc7 [data-qb="call"] { background: var(--f); color: var(--fon); }
.sc-qc--qc7 .sc-qc__t:hover .sc-ic, .sc-qc--qc7 .sc-qc__t:focus-visible .sc-ic, .sc-qc--qc7 [data-qb="call"] .sc-ic { color: var(--fon); }
.sc-qc--qc7 .sc-qc__t:hover, .sc-qc--qc7 .sc-qc__t:focus-visible { box-shadow: 0 14px 26px -4px var(--sh); }
.sc-qc--qc7 [data-qb="top"]:hover, .sc-qc--qc7 [data-qb="top"]:focus-visible { background: var(--sc-surface); color: var(--sc-ink); }
.sc-qc--qc7 [data-qb="top"]:hover .sc-ic, .sc-qc--qc7 [data-qb="top"]:focus-visible .sc-ic { color: var(--sc-ink); }

/* ===== QC9 가로 알약(데스크톱) ===== */
.sc-qc--qc9 .sc-qc__list { align-items: flex-end; }
.sc-qc--qc9 .sc-qc__t {
  flex-direction: row; justify-content: flex-start; gap: 10px; width: 146px; height: 48px; padding: 0 16px 0 9px;
  border-radius: 999px; background: var(--sc-surface); font-size: 13px; box-shadow: 0 6px 18px rgba(var(--sc-shadow-rgb), .14);
}
.sc-qc--qc9 .sc-qc__chip { border-radius: 50%; }
.sc-qc--qc9 .sc-qc__t:hover, .sc-qc--qc9 .sc-qc__t:focus-visible { transform: translateX(-6px); box-shadow: 0 10px 26px rgba(var(--sc-shadow-rgb), .2); }
.sc-qc--qc9 .sc-qc__t[data-qb="top"] { width: 48px; height: 44px; padding: 0; justify-content: center; }

/* ===== QC10 원형 단추만 — 전화는 채움, 나머지는 서비스 색 연한 판 + 진한 글자(4.5:1 이상) ===== */
.sc-qc--qc10 .sc-qc__list { gap: 10px; }
.sc-qc--qc10 .sc-qc__t {
  width: 62px; height: 62px; gap: 2px; border-radius: 50%; background: var(--s); color: var(--son);
  font-size: 10.5px; letter-spacing: -.02em; box-shadow: 0 8px 18px -2px var(--sh);
}
.sc-qc--qc10 [data-qb="call"] { background: var(--f); color: var(--fon); }
.sc-qc--qc10 .sc-ic { width: 20px; height: 20px; }
.sc-qc--qc10 .sc-qc__t:hover, .sc-qc--qc10 .sc-qc__t:focus-visible { transform: translateY(-2px) scale(1.04); }
.sc-qc--qc10 .sc-qc__lbd { display: none; }
.sc-qc--qc10 .sc-qc__lbm { display: inline; }
.sc-qc--qc10 .sc-qc__t[data-qb="top"] { width: 62px; height: 44px; border-radius: 22px; background: var(--sc-surface); color: var(--sc-ink); box-shadow: 0 8px 18px rgba(var(--sc-shadow-rgb), .16); }

/* ===== 전화 효과(사이트마다 하나) ===== */
.sc-qc .sc-ic .w1, .sc-qc .sc-ic .w2 { opacity: 0; }
/* FX1 흔들림 — 수화기 아이콘만 2.6초마다 */
@keyframes sc-qc-ring { 0%, 62%, 100% { transform: rotate(0); } 66% { transform: rotate(-16deg); } 70% { transform: rotate(14deg); } 74% { transform: rotate(-12deg); } 78% { transform: rotate(9deg); } 82% { transform: rotate(-5deg); } 86% { transform: rotate(0); } }
.sc-qc--fx1 [data-qb="call"] .sc-ic { animation: sc-qc-ring 2.6s ease-in-out infinite; transform-origin: 50% 60%; }
/* FX4 두근 확대 — 칩이 있으면 칩만(QC1·QC4·QC9), 없으면 단추째 */
@keyframes sc-qc-beat { 0%, 60%, 100% { transform: scale(1); } 66% { transform: scale(1.07); } 72% { transform: scale(1); } 78% { transform: scale(1.045); } 86% { transform: scale(1); } }
.sc-qc--fx4:is(.sc-qc--qc1, .sc-qc--qc4, .sc-qc--qc9) [data-qb="call"] .sc-qc__chip,
.sc-qc--fx4:is(.sc-qc--qc7, .sc-qc--qc10) [data-qb="call"] { animation: sc-qc-beat 2.6s ease-in-out infinite; }
/* FX5 음파 — 수화기 옆 두 줄이 차례로 켜짐(아이콘 phonewave의 .w1·.w2) */
@keyframes sc-qc-wave { 0%, 55%, 100% { opacity: 0; } 62%, 80% { opacity: 1; } }
.sc-qc--fx5 [data-qb="call"] .w1 { animation: sc-qc-wave 2.6s ease-in-out infinite; }
.sc-qc--fx5 [data-qb="call"] .w2 { animation: sc-qc-wave 2.6s ease-in-out .15s infinite; }
.sc-qc--fx5 [data-qb="call"] .sc-ic { transform: translateX(-1.5px); }
/* FX9 그림자 숨쉬기 — 칸 그림자가 서비스 색으로 짙어졌다 옅어짐(QC4는 칩에) */
@keyframes sc-qc-breathe { 0%, 100% { box-shadow: 0 6px 16px -4px var(--sh); } 50% { box-shadow: 0 14px 30px -2px var(--sh); } }
.sc-qc--fx9:not(.sc-qc--qc4) [data-qb="call"], .sc-qc--fx9.sc-qc--qc4 [data-qb="call"] .sc-qc__chip { animation: sc-qc-breathe 2.6s ease-in-out infinite; }

/* ================= 899px 이하: 아래 고정 줄 ================= */
@media (max-width: 899px) {
  .sc-qc { left: 0; right: 0; top: auto; bottom: 0; transform: none; }
  .sc-qc__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; padding: 8px 6px calc(10px + env(safe-area-inset-bottom)); }
  .sc-qc__t { width: auto; min-width: 0; height: 58px; gap: 4px; border-radius: 12px; font-size: 11px; }
  .sc-qc__t:hover, .sc-qc__t:focus-visible { transform: none; }
  .sc-qc :focus-visible { outline-offset: -3px; }
  .sc-qc__lbd { display: none; }
  .sc-qc__lbm { display: inline; }
  .sc-qc .sc-ic { width: 20px; height: 20px; }
  /* 맨 위로: 줄 밖, 줄 위 오른쪽 */
  .sc-qc__top { position: absolute; right: 12px; bottom: calc(100% + 10px); }
  .sc-qc .sc-qc__t[data-qb="top"] { width: 44px; height: 44px; border-radius: 50%; background: var(--sc-surface); box-shadow: 0 8px 20px rgba(var(--sc-shadow-rgb), .16); }
  .sc-qc .sc-qc__t[data-qb="top"]:focus-visible { outline-offset: 3px; }
  .sc-qc--qc1 .sc-qc__chip, .sc-qc--qc9 .sc-qc__chip { width: 26px; height: 26px; border-radius: 8px; }
  .sc-qc--qc1 .sc-qc__chip .sc-ic, .sc-qc--qc9 .sc-qc__chip .sc-ic { width: 17px; height: 17px; }

  /* QC1·QC9: 흰 띠 안 칸(칸 그림자 없음) */
  .sc-qc--qc1, .sc-qc--qc9 { background: var(--sc-surface); box-shadow: 0 -8px 22px rgba(var(--sc-shadow-rgb), .08); }
  .sc-qc--qc1 .sc-qc__t, .sc-qc--qc1 .sc-qc__t:hover { box-shadow: none; }
  .sc-qc--qc9 .sc-qc__list { align-items: stretch; }
  .sc-qc--qc9 .sc-qc__t { flex-direction: column; justify-content: center; gap: 4px; width: auto; height: 58px; padding: 0; border-radius: 12px; box-shadow: none; font-size: 11px; }
  .sc-qc--qc9 .sc-qc__t:hover, .sc-qc--qc9 .sc-qc__t:focus-visible { box-shadow: none; }
  .sc-qc--qc9 .sc-qc__chip { border-radius: 50%; }

  /* QC4: 흰 띠 안 원형 칩 */
  .sc-qc--qc4 { background: var(--sc-surface); box-shadow: 0 -8px 22px rgba(var(--sc-shadow-rgb), .08); }
  .sc-qc--qc4 .sc-qc__list { gap: 0; padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); border-radius: 0; background: none; box-shadow: none; }
  .sc-qc--qc4 .sc-qc__t { height: 62px; padding: 0; }
  .sc-qc--qc4 .sc-qc__chip { width: 34px; height: 34px; }
  .sc-qc--qc4 .sc-qc__chip .sc-ic { width: 18px; height: 18px; }
  .sc-qc--qc4 .sc-qc__top { margin: 0; padding: 0; }
  .sc-qc--qc4 [data-qb="top"] .sc-qc__chip { width: 44px; height: 44px; }

  /* QC7: 흰 바탕(위로 흐려짐) 위 따로 떨어진 그림자 타일 */
  .sc-qc--qc7 { background: linear-gradient(to top, var(--sc-surface) 72%, rgba(var(--sc-surface-rgb, 255, 255, 255), 0)); }
  .sc-qc--qc7 .sc-qc__list { padding-top: 16px; }
  .sc-qc--qc7 .sc-qc__t { box-shadow: 0 6px 14px -4px var(--sh); }

  /* QC10: 줄 없이 오른쪽 아래 동그라미 — 앞의 세 칸 + 맨 위로만(항목 순서가 우선순위) */
  .sc-qc--qc10 { left: auto; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .sc-qc--qc10 .sc-qc__list { display: flex; flex-direction: row; gap: 8px; padding: 0; }
  .sc-qc--qc10 .sc-qc__t { width: 50px; height: 50px; border-radius: 50%; font-size: 9.5px; }
  .sc-qc--qc10 li:nth-child(n+4):not(.sc-qc__top) { display: none; }
  .sc-qc--qc10 .sc-qc__top { position: static; }

  /* 본문 아래 여백 — 마지막 줄이 퀵바에 가려지지 않게(body 또는 마지막 요소에) */
  .sc-qc-space--qc1, .sc-qc-space--qc4, .sc-qc-space--qc9 { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sc-qc-space--qc7 { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sc-qc-space--qc10 { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .sc-qc__t, .sc-qc__chip { transition: none !important; }
  .sc-qc__t:hover, .sc-qc__t:focus-visible, .sc-qc__t:hover .sc-qc__chip { transform: none !important; }
  .sc-qc [data-qb="call"], .sc-qc [data-qb="call"] * { animation: none !important; }
}

/* 화면에는 숨기고 읽기 프로그램에는 읽히는 글자 — nav/nav.css와 같은 규칙 */
.sc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ── site-components/section/section.css ── */
/* 섹션 모양 SS1~SS4 (사용자 지정 2026-10-30 "섹션 모양 아카이브는 무늬없는 아치, 무늬없는 물결, 평평 창살, 평평 점")
   한 사이트는 넷 중 하나를 섹션 묶음(보통 body)에 단다. 예: <body class="sc-ss1">
   마크업: 이웃 섹션은 배경을 번갈아 — section.sc-sec(흰) / section.sc-sec.sc-sec--tint(틴트). static 규칙 9번(섹션 배경 구분)은 넷 모두 그대로.
   사이트에 이미 섹션 클래스가 있으면(.sec.bg-ivory 등) 선택자만 바꿔 쓴다. 색 hex 없음(tokens.css). 움직임 없음. 무늬는 틴트 섹션에만. */
.sc-sec { background-color: var(--sc-surface); }
.sc-sec--tint { background-color: var(--sc-tint); }

/* SS1 아치 — 틴트 섹션 아래 경계만 크게 둥글게 내려온다(위는 평평). 무늬 없음 */
.sc-ss1 { --sc-ss1-h: clamp(36px, 5vw, 64px); }
.sc-ss1 .sc-sec--tint { position: relative; margin-bottom: var(--sc-ss1-h); }
.sc-ss1 .sc-sec--tint::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: var(--sc-ss1-h); background: var(--sc-tint); border-radius: 0 0 50% 50% / 0 0 100% 100%; pointer-events: none; }

/* SS2 물결 — 틴트 섹션 위아래에 완만한 물결 곡선(마스크 SVG). 곡선 높이만큼 위아래 여백이 늘어난다. 무늬 없음 */
.sc-ss2 { --sc-ss2-h: clamp(40px, 5vw, 72px); }
.sc-ss2 .sc-sec--tint { position: relative; margin-block: var(--sc-ss2-h); }
.sc-ss2 .sc-sec--tint::before, .sc-ss2 .sc-sec--tint::after { content: ""; position: absolute; left: 0; right: 0; height: var(--sc-ss2-h); background: var(--sc-tint); pointer-events: none; }
.sc-ss2 .sc-sec--tint::before {
  bottom: calc(100% - 1px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V40C240 0 480 0 720 30s480 50 720 10v40z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V40C240 0 480 0 720 30s480 50 720 10v40z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}
.sc-ss2 .sc-sec--tint::after {
  top: calc(100% - 1px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0v40c240 40 480 40 720 10S1200 0 1440 40V0z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0v40c240 40 480 40 720 10S1200 0 1440 40V0z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}


/* SS3 평평 + 창살 — 화면 끝까지 닿는 띠, 틴트 섹션에 한옥 창살 같은 큰 칸(96px) + 잔 칸(24px) 이중 격자 */
.sc-ss3 .sc-sec--tint {
  background-image: linear-gradient(rgba(var(--sc-shadow-rgb), .07) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--sc-shadow-rgb), .07) 1px, transparent 1px),
    linear-gradient(rgba(var(--sc-shadow-rgb), .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--sc-shadow-rgb), .05) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; background-position: -1px -1px;
}

/* SS4 평평 + 점 — 화면 끝까지 닿는 띠, 틴트 섹션에 옅은 점 격자(22px) */
.sc-ss4 .sc-sec--tint { background-image: radial-gradient(rgba(var(--sc-shadow-rgb), .13) 1.2px, transparent 1.4px); background-size: 22px 22px; }

/* ── site-components/heading/title.css ── */
/* 섹션 제목 HD1~HD7 (사용자 지정 2026-10-30 "hd1, hd2, r2, r4, r6 중에서 사용해줘" → "r4는 r4-9, r4-12로 하자" — 이수정성한의원에서 비교)
   HD1 영어 라벨 + 양옆 가는 선          — Interior —             / 이수정성한의원 둘러보기   (가운데)
   HD2 뒤에 큰 영어 글자                  (Interior 크고 옅게)      / 이수정성한의원 둘러보기   (가운데)
   HD3 한글 라벨 + 뒤에 큰 영어 글자      — 둘러보기 — + (Interior 크고 옅게)                   (가운데, 옛 추천 R2)
   HD4 왼쪽 정렬 + 옅어지는 선           Interior ─────────────·· / 이수정성한의원 둘러보기   (왼쪽, 옛 R4-9 — 오른쪽으로 갈수록 사라짐)
   HD5 영어가 큰 제목처럼                 Interior(크게)            / 이수정성한의원 둘러보기(작게) (가운데, 옛 추천 R6)
   HD6 왼쪽 정렬 + 잎 + 라벨 + 선         🍃 Interior ────────────  / 이수정성한의원 둘러보기   (왼쪽, 옛 R4-12. 잎은 p 맨 앞 svg.sc-tt__leaf, aria-hidden)
   HD7 대괄호 [ ] 두 줄 제목              [ 이수정성한의원(가늘게)   / 교통사고 진료(굵게) ] (가운데, 사용자 지정 2026-11-11 — 참고 ever-smile.kr. H2를 span.sc-tt__pre / span.sc-tt__em 두 줄로, 라벨 없음)
   마크업: div.sc-tt.sc-tt--hdN > p.sc-tt__lb(라벨, 헤딩 아님) + h2.sc-tt__h(검색 키워드 제목 그대로, 강조 구절 span.sc-tt__em)
     HD2·HD3는 머리에 data-ghost="영어 라벨"(::before로 그림 — 장식이라 읽지 않음). HD2는 라벨 p 없이(두면 작은 영어 라벨이 같이 나옴).
   영어 라벨: 1~3단어 Title Case, 같은 섹션 id는 사이트 전체에서 같은 라벨. 영어 글씨체는 --sc-tt-en-font
     (기본 Georgia 기울임. 이수정성·hmlawblog는 Cormorant Garamond 500 기울임 라틴 woff2 — static/CLAUDE.md 8번의 사이트 예외로 결정 기록 필요).
   HD5는 H2가 작아 보여도 검색 제목은 H2 그대로다(영어는 p). 색 hex 없음(tokens.css). 움직임 없음. 한 사이트는 하나(섹션마다 바꾸지 않는다). */
.sc-tt { margin: 0 0 32px; text-align: center; }
.sc-tt__lb { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 12px; color: var(--sc-accent-text);
  font: italic 500 clamp(22px, 1.2vw + 16px, 26px) / 32px var(--sc-tt-en-font, Georgia, serif); letter-spacing: .04em; }
.sc-tt__lb::before, .sc-tt__lb::after { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; opacity: .45; }
.sc-tt__h { margin: 0; font-size: clamp(28px, 21.87px + 1.573vw, 42px); font-weight: 700; line-height: 1.3; color: var(--sc-ink); word-break: keep-all; text-wrap: balance; }
.sc-tt__em { color: var(--sc-accent-text); }

/* HD2·HD3 뒤 큰 영어 글자 — 8% 농도, 제목 칸 좌우 밖으로 넘친 부분은 제목 칸이 자른다(가로 스크롤 0).
   섹션 전체를 자르면(overflow) 옆으로 넘기는 카드 줄까지 잘려서 안 됨 — 2026-10-30 design-lint 19에서 확인 */
:is(.sc-tt--hd2, .sc-tt--hd3) { position: relative; isolation: isolate; padding-top: clamp(20px, 3vw, 40px); overflow-x: clip; }
:is(.sc-tt--hd2, .sc-tt--hd3)::before { content: attr(data-ghost); position: absolute; z-index: -1; left: 50%; top: -.3em; transform: translateX(-50%);
  font: italic 500 var(--sc-tt-ghost-size, clamp(52px, 7vw, 112px)) / 1 var(--sc-tt-en-font, Georgia, serif); color: rgba(var(--sc-shadow-rgb), .08); white-space: nowrap; pointer-events: none; }

/* HD3 한글 라벨 — Pretendard 600 16px */
.sc-tt--hd3 .sc-tt__lb { font-family: inherit; font-style: normal; font-size: 16px; font-weight: 600; line-height: 32px; letter-spacing: .02em; }

/* HD4·HD6 왼쪽 정렬 — 라벨 옆으로 오른쪽 끝까지 가는 선. HD4는 오른쪽으로 갈수록 옅어짐, HD6은 잎 + 가는 선 */
:is(.sc-tt--hd4, .sc-tt--hd6) { text-align: left; }
:is(.sc-tt--hd4, .sc-tt--hd6) .sc-tt__lb { justify-content: flex-start; gap: 16px; margin-bottom: 10px; }
:is(.sc-tt--hd4, .sc-tt--hd6) .sc-tt__lb::before { display: none; }
:is(.sc-tt--hd4, .sc-tt--hd6) .sc-tt__lb::after { flex: 1; width: auto; }
:is(.sc-tt--hd4, .sc-tt--hd6) .sc-tt__h { text-wrap: wrap; }
.sc-tt--hd4 .sc-tt__lb::after { opacity: 1; background: linear-gradient(90deg, rgba(var(--sc-shadow-rgb), .55), rgba(var(--sc-shadow-rgb), 0)); }
.sc-tt--hd6 .sc-tt__lb { gap: 10px; }
.sc-tt--hd6 .sc-tt__lb::after { margin-left: 6px; opacity: .3; }
.sc-tt__leaf { flex: none; width: 20px; height: 20px; color: var(--sc-accent); }

/* HD5 영어가 큰 제목처럼 — 영어 44~72px, 한글 H2는 20~26px 600 회색(강조 구절은 주색) */
.sc-tt--hd5 .sc-tt__lb { font-size: clamp(44px, 5.5vw, 72px); line-height: 1.1; margin-bottom: 6px; }
.sc-tt--hd5 .sc-tt__lb::before, .sc-tt--hd5 .sc-tt__lb::after { display: none; }
.sc-tt--hd5 .sc-tt__h { font-size: clamp(20px, 1.6vw + 14px, 26px); font-weight: 600; color: var(--sc-muted); }

/* HD7 대괄호 두 줄 — 양옆 큰 대괄호 [ ]가 H2 두 줄을 감싼다: 윗줄 span.sc-tt__pre(가늘게) / 아랫줄 span.sc-tt__em(굵게). 영어 라벨 없음
   (사용자 지정 2026-11-11 "서울·경기 암환자 한방병원 / 365일 진료 — 아래줄 bold", 참고 ever-smile.kr). H2 글자는 그대로, 줄만 span으로 나눈다(사이에 공백 하나).
   나누는 곳은 사이트 빌드가 정한다(예: 낱말 4개 이상이면 마지막 2낱말, "자주 묻는 질문"은 3낱말, 2~3낱말이면 첫 낱말 뒤). span이 없으면 한 줄 굵게.
   괄호 색 --sc-tt-br(기본 --sc-accent-line), 굵기 --sc-tt-br-w, 팔 길이 --sc-tt-br-arm. 짙은 섹션은 사이트에서 --sc-tt-br만 바꾼다. 괄호는 장식(::before·::after). */
.sc-tt--hd7 { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; padding: clamp(10px, 1.2vw, 16px) clamp(40px, 5vw, 76px); box-sizing: border-box; }
.sc-tt--hd7::before, .sc-tt--hd7::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--sc-tt-br-arm, clamp(12px, 1.4vw, 18px)); border: var(--sc-tt-br-w, clamp(4px, .45vw, 6px)) solid var(--sc-tt-br, var(--sc-accent-line)); pointer-events: none; }
.sc-tt--hd7::before { left: 0; border-right: 0; }
.sc-tt--hd7::after { right: 0; border-left: 0; }
.sc-tt--hd7 .sc-tt__lb { display: none; }
.sc-tt--hd7 .sc-tt__h { font-size: clamp(24px, 17.9px + 1.57vw, 36px); font-weight: 700; line-height: 1.35; }
.sc-tt--hd7 .sc-tt__pre { display: block; font-weight: 300; letter-spacing: -.02em; }
.sc-tt--hd7 .sc-tt__em { display: block; font-weight: 700; color: inherit; }
@media (max-width: 599.98px) { .sc-tt--hd7 { padding-inline: 28px; } }
