/* 공통 홈페이지 킷 — 블록 스타일 (기준: kit/site/README.md)
   원칙: 실사 사진이 화면의 절반 이상, 글은 짧게, 색은 3개(바탕·글·포인트 1),
         둥근 카드·아이콘·알약 배지·장식 그라데이션·퀵메뉴 없음. 글은 전부 HTML 텍스트(GEO).
   테마: <html data-theme="charcoal|forest|navy|clinic|trade|shop">
   글꼴: Pretendard(한글) + Cormorant Garamond(영문 라벨 한 줄). shop 테마만 한글 제목에 Noto Serif KR 허용.
   블록 번호(B01~B20)는 README 3장 목록과 같다. 클래스 이름은 kit/law 시절과 같아서 기존 결과물도 그대로 붙는다. */

/* ───────── 테마 (업종별 색 3개) ───────── */
:root, [data-theme="charcoal"] {           /* 법률 기본: 차콜 + 브론즈 (형사·종합) */
  --ink: #15171a; --ink-2: #1e2125; --paper: #f4f1ea; --paper-2: #ebe6db;
  --text: #1b1d20; --text-soft: #5c5f63; --on-dark: #f4f1ea; --on-dark-soft: rgba(244,241,234,.68);
  --accent: #a8865a; --accent-dark: #8a6c45; --line: rgba(27,29,32,.14); --line-dark: rgba(244,241,234,.18);
  --shade: 10,11,13;                         /* 사진 위 검은 막 RGB */
}
[data-theme="forest"] {                     /* 법률: 딥그린 + 아이보리 (피해자·가사·학폭) */
  --ink: #17251f; --ink-2: #1f3029; --paper: #f3efe5; --paper-2: #e9e3d4;
  --text: #1a2420; --text-soft: #56615b; --on-dark: #f3efe5; --on-dark-soft: rgba(243,239,229,.7);
  --accent: #b39463; --accent-dark: #8e7448; --line: rgba(26,36,32,.14); --line-dark: rgba(243,239,229,.18);
  --shade: 12,20,16;
}
[data-theme="navy"] {                       /* 법률: 딥네이비 + 골드 (영장·긴급 랜딩) */
  --ink: #0f1622; --ink-2: #172133; --paper: #f2f1ed; --paper-2: #e6e4dd;
  --text: #141a24; --text-soft: #586070; --on-dark: #f2f1ed; --on-dark-soft: rgba(242,241,237,.7);
  --accent: #b8995b; --accent-dark: #937840; --line: rgba(20,26,36,.14); --line-dark: rgba(242,241,237,.18);
  --shade: 8,12,20;
}
[data-theme="clinic"] {                     /* 병원: 딥 슬레이트블루 + 차가운 흰색 + 행동만 오렌지 */
  --ink: #12262f; --ink-2: #1a333e; --paper: #f5f6f3; --paper-2: #e8ece9;
  --text: #142128; --text-soft: #56656c; --on-dark: #f5f6f3; --on-dark-soft: rgba(245,246,243,.72);
  --accent: #d0742c; --accent-dark: #ad5c1e; --line: rgba(20,33,40,.14); --line-dark: rgba(245,246,243,.2);
  --shade: 9,20,26;
}
[data-theme="trade"] {                      /* 기타-기업(세무·보험·건설·제조): 네이비 + 회백 + 오렌지 */
  --ink: #17222d; --ink-2: #213040; --paper: #f4f4f1; --paper-2: #e7e8e4;
  --text: #1a222a; --text-soft: #5a636c; --on-dark: #f4f4f1; --on-dark-soft: rgba(244,244,241,.7);
  --accent: #d9822b; --accent-dark: #b4691c; --line: rgba(26,34,42,.14); --line-dark: rgba(244,244,241,.18);
  --shade: 10,15,20;
}
[data-theme="shop"] {                       /* 기타-매장·브랜드(꽃·카페·공방): 소프트블랙 + 크림 + 테라코타 */
  --ink: #1c1a17; --ink-2: #27241f; --paper: #f6f2ea; --paper-2: #ece6da;
  --text: #221f1b; --text-soft: #6a645b; --on-dark: #f6f2ea; --on-dark-soft: rgba(246,242,234,.7);
  --accent: #b5562b; --accent-dark: #93431f; --line: rgba(34,31,27,.14); --line-dark: rgba(246,242,234,.18);
  --shade: 18,15,12;
}

/* ───────── 바탕 ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 17px; line-height: 1.75; letter-spacing: -0.01em; word-break: keep-all; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.en { font-family: "Cormorant Garamond", "Times New Roman", serif; font-weight: 500; letter-spacing: .08em; }
[data-theme="shop"] h1, [data-theme="shop"] .sh h2 { font-family: "Noto Serif KR", serif; font-weight: 600; letter-spacing: -0.02em; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.todo { color: var(--accent-dark); font-weight: 600; }
.swap { position: absolute; left: 0; bottom: 0; z-index: 2; background: rgba(var(--shade),.72); color: var(--on-dark); font-size: 12px; padding: 6px 12px; letter-spacing: .02em; }

/* ───────── B01 머리글: 사진 위 투명 → 내리면 짙은 바탕 ───────── */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark); transition: background .3s, box-shadow .3s; }
.hd.solid { background: var(--ink); box-shadow: 0 1px 0 var(--line-dark); }
.hd .wrap { display: flex; align-items: center; gap: 40px; height: 84px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.25; }
.brand b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.brand small { font-size: 12px; color: var(--on-dark-soft); letter-spacing: .02em; }
.gnb { display: flex; gap: 32px; margin-left: auto; font-size: 15px; }
.gnb a { text-decoration: none; color: var(--on-dark-soft); } .gnb a:hover { color: var(--on-dark); }
.hd-call { display: flex; align-items: center; gap: 16px; font-size: 15px; }
.hd-call .tel { text-decoration: none; font-weight: 600; letter-spacing: .02em; }

/* 버튼: 각진 직사각형 3종 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 0; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; letter-spacing: 0; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-accent { background: var(--accent); color: #fff; } .btn-accent:hover { background: var(--accent-dark); }
.btn-line { border-color: var(--line-dark); color: var(--on-dark); background: transparent; } .btn-line:hover { border-color: var(--on-dark); }
.btn-dark { background: var(--ink); color: var(--on-dark); } .btn-dark:hover { background: var(--ink-2); }

/* ───────── B02 히어로: 어두운 실사 전면 + 큰 두세 줄 + 영문 한 줄 ─────────
   A(기본) 왼쪽 아래 글 / B .hero-center 가운데 로고·한 줄 / C .hero-title 영문 콘셉트를 아주 크게 */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--ink); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(var(--shade),.58); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade),.62) 0%, rgba(var(--shade),.38) 48%, rgba(var(--shade),0) 78%); } /* 글 쪽만 더 어둡게(가독성용, 장식 아님) */
.hero .wrap { position: relative; z-index: 1; padding: 180px 0 64px; }
.eyebrow { display: block; font-size: 15px; color: var(--accent); text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.28; font-weight: 700; letter-spacing: -0.035em; max-width: 14em; }
.hero .lead { margin-top: 28px; max-width: 34em; font-size: 18px; color: var(--on-dark-soft); }
.hero .go { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hero-center { align-items: center; text-align: center; }
.hero-center::after { background: none; }
.hero-center h1, .hero-center .lead { margin-inline: auto; }
.hero-center .go { justify-content: center; }
.hero-title .big-en { display: block; font-size: clamp(56px, 9vw, 132px); line-height: 1; color: var(--on-dark); margin-bottom: 28px; letter-spacing: .02em; }

/* B03 사실 3개: 히어로 아래 선으로 나눈 사실 */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; padding: 0; border-top: 1px solid var(--line-dark); }
.facts li { list-style: none; padding: 20px 24px 0 0; font-size: 14px; color: var(--on-dark-soft); }
.facts b { display: block; color: var(--on-dark); font-size: 16px; font-weight: 600; margin-bottom: 2px; }

/* ───────── 섹션 머리: 영문 한 줄(세리프) + 한글 제목 ───────── */
.sec { padding: 140px 0; }
.sec-dark { background: var(--ink); color: var(--on-dark); }
.sec-paper2 { background: var(--paper-2); }
.sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.sh .en { display: block; font-size: 16px; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.sh h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.35; font-weight: 700; letter-spacing: -0.03em; }
.sh p { max-width: 30em; color: var(--text-soft); }
.sec-dark .sh p { color: var(--on-dark-soft); }

/* ───────── B04 사진 타일(단계·길 고르기·분야): 사진 위 번호·제목·한 줄 ───────── */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.tiles.t3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles.t2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.t2 .tile { aspect-ratio: 16 / 10; }
.tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: var(--on-dark); text-decoration: none; background: var(--ink); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: transform .8s ease, filter .4s; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(var(--shade),.55); transition: background .4s; }
.tile:hover img { transform: scale(1.04); filter: grayscale(0); } .tile:hover::after { background: rgba(var(--shade),.4); }
.tile .t { position: absolute; inset: auto 0 0; z-index: 1; padding: 28px; }
.tile .no { font-size: 15px; color: var(--accent); margin-bottom: 10px; display: block; }
.tile h3 { font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -0.02em; }
.tile p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--on-dark-soft); }

/* ───────── B05 이런 고민: 따옴표 문장 두 열, 아이콘 없음 ───────── */
.worries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.worries li { padding: 24px 0 24px 36px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 500; letter-spacing: -0.02em; position: relative; }
.worries li::before { content: "\201C"; position: absolute; left: 0; top: 14px; font-family: "Cormorant Garamond", serif; font-size: 44px; line-height: 1; color: var(--accent); }
.worries small { display: block; margin-top: 6px; font-size: 15px; font-weight: 400; color: var(--text-soft); }

/* ───────── B06 인물 + 연표: 큰 사진 + 이력 ───────── */
.profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.profile .name { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.profile .name small { font-size: 18px; font-weight: 500; color: var(--text-soft); margin-left: 10px; letter-spacing: 0; }
.profile .quote { margin-top: 28px; font-size: 21px; line-height: 1.65; font-weight: 500; letter-spacing: -0.02em; }
.timeline { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.timeline time { color: var(--accent-dark); font-variant-numeric: tabular-nums; font-weight: 600; }
.meta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; font-size: 15px; color: var(--text-soft); }
.meta2 h3 { font-size: 13px; letter-spacing: .08em; color: var(--text); font-weight: 700; margin-bottom: 8px; }
.meta2 ul { margin: 0; padding: 0; list-style: none; }

/* ───────── B07 구성원 그리드: 같은 구도·같은 비율, 이름은 사진 아래 선 위 ───────── */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 2px; margin: 0; padding: 0; list-style: none; }
.people li { display: grid; gap: 14px; }
.people .ph { position: relative; aspect-ratio: 3 / 4; background: var(--paper-2); overflow: hidden; }
.people .ph img { width: 100%; height: 100%; object-fit: cover; }
.people .ph.empty { display: grid; place-items: center; background: var(--ink-2); color: var(--on-dark-soft); }
.people .ph.empty::before { content: ""; position: absolute; inset: 18% 22% 0; border: 1px dashed var(--line-dark); border-bottom: 0; } /* 사람이 들어갈 자리(머리 위 여백·어깨 폭) */
.people .ph.empty .guide { position: relative; text-align: center; font-size: 13px; line-height: 1.6; }
.people .ph.empty .guide i { display: block; font-style: normal; font-size: 22px; color: var(--on-dark); margin-bottom: 6px; }
.people .ph.empty::after { content: "촬영 가이드 — 같은 배경·조명·구도"; position: absolute; inset: auto 0 0; padding: 8px 12px; font-size: 12px; color: var(--on-dark-soft); background: rgba(var(--shade),.6); }
.people b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; padding-top: 12px; border-top: 2px solid var(--text); }
.people span { font-size: 14px; color: var(--text-soft); }
.sec-dark .people b { border-color: var(--on-dark); }
.sec-dark .people span { color: var(--on-dark-soft); }

/* ───────── B08 번호 목록 + 옆 사진 (어두운 띠) ───────── */
.areas { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: stretch; }
.alist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.alist a { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; }
.alist .no { color: var(--accent); font-size: 18px; }
.alist h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.alist p { grid-column: 2; font-size: 15px; color: var(--on-dark-soft); margin-top: 4px; }
.alist .arr { color: var(--on-dark-soft); transition: transform .2s; } .alist a:hover .arr { transform: translateX(6px); color: var(--accent); }
.aside-photo { position: relative; overflow: hidden; min-height: 520px; }
.aside-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ───────── B09 교차 행: 사진 반 + 글 반, 행마다 좌우 바꿈 ───────── */
.rows { display: grid; gap: 96px; }
.row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.row:nth-child(even) > .ph { order: 2; }
.row .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.row .ph img { width: 100%; height: 100%; object-fit: cover; }
.row .no { display: block; font-size: 16px; color: var(--accent); margin-bottom: 14px; }
.row h3 { font-size: 30px; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; }
.row p { margin-top: 18px; color: var(--text-soft); }
.row dl { margin: 28px 0 0; display: grid; grid-template-columns: 96px 1fr; border-top: 1px solid var(--line); }
.row dt, .row dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row dt { color: var(--text-soft); }

/* ───────── B10 절차: 가로 번호 단계 + 단계마다 나오는 것 ───────── */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: st; border-top: 2px solid var(--text); }
.steps li { counter-increment: st; padding: 28px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(st, decimal-leading-zero); font-family: "Cormorant Garamond", serif; font-size: 40px; line-height: 1; color: var(--accent); }
.steps h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.steps p { font-size: 15px; color: var(--text-soft); line-height: 1.65; }
.steps .out { font-size: 13px; color: var(--text); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.sec-dark .steps { border-color: var(--on-dark); }
.sec-dark .steps li + li { border-color: var(--line-dark); }
.sec-dark .steps p { color: var(--on-dark-soft); }

/* ───────── B11 비교표: 선택지 2~4개를 같은 항목으로 나란히 (GEO에 강함) ───────── */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
.compare caption { text-align: left; font-size: 14px; color: var(--text-soft); padding-bottom: 14px; }
.compare th, .compare td { text-align: left; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; border-bottom: 2px solid var(--text); padding-top: 0; }
.compare thead th small { display: block; font-family: "Cormorant Garamond", serif; font-size: 14px; color: var(--accent-dark); letter-spacing: .08em; font-weight: 500; text-transform: uppercase; }
.compare tbody th { width: 140px; font-weight: 600; color: var(--text-soft); font-size: 15px; }

/* ───────── B12 큰 숫자 사례: 결과 한 줄을 크게 ───────── */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.case { padding: 36px 32px 36px 0; border-bottom: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.case:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.case .res { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--accent-dark); }
.case h3 { font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.case p { font-size: 15px; color: var(--text-soft); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case .src { margin-top: auto; font-size: 13px; color: var(--text-soft); }
.notice-s { margin-top: 24px; font-size: 13px; color: var(--text-soft); }

/* ───────── B13 숫자 띠: 검증되는 숫자 3~4개만 ───────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats li { padding: 8px 32px 8px 0; display: grid; gap: 8px; }
.stats li + li { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.stats b { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; }
.stats b small { font-size: .42em; margin-left: 4px; color: var(--accent); }
.stats span { font-size: 15px; color: var(--on-dark-soft); }
.stats .src { grid-column: 1 / -1; }
.stats-note { margin-top: 32px; font-size: 13px; color: var(--on-dark-soft); }

/* ───────── B14 실적 장부: 연도·이름·발주처/분류 한 줄씩 ───────── */
.ledger { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--text); }
.ledger li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 220px; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger time { font-variant-numeric: tabular-nums; color: var(--accent-dark); font-weight: 600; }
.ledger b { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.ledger span { font-size: 14px; color: var(--text-soft); }

/* ───────── B15 사진 띠: 공간·현장·지점 사진 3~4장 + 캡션 ───────── */
.strip { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; }
.strip li { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.strip:not(.s4) li:first-child { grid-row: span 2; aspect-ratio: auto; }
.strip.s4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip.s4 li { aspect-ratio: 4 / 5; }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip .cap { position: absolute; left: 0; bottom: 0; padding: 10px 14px; font-size: 13px; color: var(--on-dark); background: rgba(var(--shade),.6); }

/* ───────── B16 칼럼: 날짜·제목 목록 ───────── */
.posts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.posts a { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: baseline; }
.posts time { color: var(--text-soft); font-variant-numeric: tabular-nums; font-size: 15px; }
.posts b { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.posts a:hover b { color: var(--accent-dark); }

/* ───────── B17 FAQ: 질문 그대로 열고 닫기 (화면 글 = FAQPage JSON-LD) ───────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 24px; gap: 12px; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: "Cormorant Garamond", serif; font-size: 24px; line-height: 1.1; color: var(--accent); }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--text-soft); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 36px 28px 52px; color: var(--text-soft); max-width: 52em; }

/* ───────── B18 상담·오시는 길: 사진 띠 위 두 칸 ───────── */
.contact { position: relative; color: var(--on-dark); background: var(--ink); overflow: hidden; }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(1); }
.contact .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; padding: 140px 0; }
.info { margin: 32px 0 0; display: grid; grid-template-columns: 96px 1fr; gap: 14px 20px; font-size: 16px; align-items: baseline; }
.info dt { color: var(--on-dark-soft); } .info dd { margin: 0; }
.info .big { font-size: 30px; font-weight: 700; letter-spacing: .01em; }
.hours { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-weight: 400; }
.hours th { color: var(--on-dark-soft); width: 96px; }
.hours .off td { color: var(--accent); }
.form { background: var(--paper); color: var(--text); padding: 40px; display: grid; gap: 16px; align-content: start; }
.form h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); background: #fff; border-radius: 0; color: var(--text); }
.form .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.form small { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

/* ───────── B19 바닥글 ───────── */
.ft { background: #0b0c0e; color: rgba(244,241,234,.55); font-size: 13px; line-height: 1.9; padding: 48px 0 56px; }
.ft b { color: rgba(244,241,234,.85); font-weight: 600; }
.ft .todo { color: var(--accent); }

/* ───────── B20 폰 아래 고정 바(전화·상담 두 칸만 — 오른쪽 아이콘 더미 금지) ───────── */
.mbar { display: none; }

/* 블록 번호 보기(견본·검수용): ?labels=1 이면 스크립트가 블록마다 <span class="blabel">을 넣는다 */
[data-labels] section[data-b], [data-labels] footer[data-b] { position: relative; }
.blabel { position: absolute; top: 0; right: 0; z-index: 45; background: #ffe14d; color: #111; font: 600 12px/1 Pretendard, sans-serif; padding: 6px 8px; letter-spacing: 0; pointer-events: none; }
.hd .blabel { top: auto; bottom: -24px; } .mbar .blabel { top: -24px; }

/* ───────── 반응형 ───────── */
@media (max-width: 1100px) {
  .gnb { display: none; }
  .tiles, .tiles.t3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile, .areas, .contact .wrap, .row { grid-template-columns: 1fr; gap: 48px; }
  .row:nth-child(even) > .ph { order: 0; }
  .aside-photo { min-height: 320px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .case, .case:not(:nth-child(3n+1)) { padding: 28px 24px 28px 0; border-left: 0; }
  .case:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .steps { grid-template-columns: 1fr; border-top-width: 1px; }
  .steps li, .steps li + li { grid-template-columns: 64px 1fr; padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); column-gap: 16px; }
  .steps li::before { grid-row: span 3; font-size: 32px; }
  .stats, .stats.s3 { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip:not(.s4) li:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .hd .wrap { height: 64px; gap: 12px; }
  .brand b { font-size: 17px; }
  .hd-call { display: none; } /* 폰은 아래 고정 바(전화·상담)로 */
  .hero { min-height: 92svh; }
  .hero .wrap { padding: 120px 0 40px; }
  .hero::after { inset: 0; background: rgba(var(--shade),.3); } /* 폰은 글이 사진 전체에 걸치므로 고르게 더 어둡게 */
  .hero h1 { font-size: 28px; line-height: 1.38; } /* 한 줄 13자 안팎이 375px에 들어가게 */
  .hero .lead { font-size: 16px; }
  .hero .go .btn { flex: 1 1 100%; }
  .hero-title .big-en { font-size: 52px; }
  .facts { grid-template-columns: 1fr; margin-top: 40px; }
  .facts li { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .sec { padding: 88px 0; }
  .sh { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  .tiles, .tiles.t3, .tiles.t2 { grid-template-columns: 1fr; gap: 2px; }
  .tile, .tiles.t2 .tile { aspect-ratio: 16 / 10; }
  .worries { grid-template-columns: 1fr; }
  .worries li { font-size: 17px; padding: 20px 0 20px 32px; }
  .profile .name { font-size: 32px; }
  .timeline li { grid-template-columns: 96px 1fr; font-size: 15px; }
  .meta2 { grid-template-columns: 1fr; gap: 20px; }
  .alist a { grid-template-columns: 44px 1fr auto; }
  .alist h3 { font-size: 20px; }
  .rows { gap: 64px; }
  .row { gap: 24px; }
  .row h3 { font-size: 24px; }
  .row dl { grid-template-columns: 80px 1fr; }
  .cases { grid-template-columns: 1fr; }
  .case, .case:nth-child(2n) { padding: 28px 0; border-left: 0; }
  .stats li, .stats li + li { padding: 0 16px 0 0; }
  .stats li:nth-child(even) { padding-left: 16px; }
  .ledger li { grid-template-columns: 64px 1fr; gap: 4px 16px; }
  .ledger span { grid-column: 2; }
  .strip, .strip.s4 { grid-template-columns: 1fr 1fr; }
  .posts a { grid-template-columns: 1fr; gap: 4px; }
  .posts .arr { display: none; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th { display: block; width: auto; padding: 0 0 8px; border: 0; color: var(--text); font-size: 16px; }
  .compare td { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 5px 0; border: 0; font-size: 15px; }
  .compare td::before { content: attr(data-l); color: var(--accent-dark); font-weight: 600; font-size: 14px; } /* 폰: 표를 항목별 묶음으로(td에 data-l 필요) */
  .faq summary { font-size: 17px; grid-template-columns: 28px 1fr 20px; }
  .faq .a { padding: 0 0 24px 40px; }
  .contact .wrap { padding: 88px 0; }
  .form { padding: 28px 20px; }
  .form .row2 { grid-template-columns: 1fr; }
  .ft { padding-bottom: 96px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 60; }
  .mbar a { height: 56px; display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; font-size: 16px; }
  .mbar .call { background: var(--ink); color: var(--on-dark); } .mbar .ask { background: var(--accent); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile img { transition: none; } }
