/* 해우 행정사사무소 — 4판 시안 (서로형 · 풀스크린 사진 법인형 베이스)
   흑백 + 청회색 하나(#303F46). 색감은 사진이 맡는다. 글꼴 Pretendard + Sansation(영문 표식).
   차례: 바탕 → 아이콘 → 머리말 → 단추 → 홈 → 하위 페이지 머리 · 차례 띠 → 본문 부품 → 페이지별 → 꼬리말 · 빠른 메뉴 → 반응형 */

:root {
  --white: #fff;
  --ink: #111;
  --ink-2: #222;
  --gray-5: #555;
  --gray-6: #666;
  --gray-7: #767676;   /* 흰 바탕 위 작은 글자(4.5:1) */
  --gray-9: #999;
  --ft-dim: #8a8a8a;
  --line: #ddd;
  --line-2: #aaa;
  --soft: #f7f8f9;
  --soft-2: #fafafa;
  --wm: #f3f4f6;
  --slate: #303f46;    /* 유일한 강조색 */
  --slate-2: #2c3e50;
  --slate-d: #1f2a30;
  --navy: #151a59;
  --peri: #9aa8cc;
  --hd-h: 100px;
  --lnb-h: 60px;
  --gut: 50px;
  --ff: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ff-en: Sansation, "Pretendard Variable", Pretendard, sans-serif;
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M7 17L17 7M8.5 7H17v8.5'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='square'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E");
  --i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
p, h3, h4, li { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

.in { width: min(1600px, 100% - 2 * var(--gut)); margin: 0 auto; }
.in-doc { width: min(1280px, 100% - 2 * var(--gut)); margin: 0 auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; font-size: 14px; }
.skip:focus { top: 12px; }
.mo { display: none; }
.nw { white-space: nowrap; }
.small { font-size: 14.5px; line-height: 1.7; }
.muted { color: var(--gray-7); }

/* ---------- 선 마크 · 선 아이콘 (원본: site/icons/*.svg) ---------- */
.mk { fill: none; stroke: currentColor; stroke-width: 12; stroke-linecap: square; stroke-linejoin: miter; }
.ic { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.ic.s16 { width: 16px; height: 16px; stroke-width: 2.5; }
.ic.s20 { width: 20px; height: 20px; stroke-width: 2.1; }
.ic.s28 { width: 28px; height: 28px; stroke-width: 1.55; }
.ic.iarr { width: 16px; height: 16px; stroke-width: 2.25; }

/* ---------- 머리말 ---------- */
#hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hd-h);
  color: #fff;
  background: transparent;
  transition: background-color .3s, color .3s;
}
#hd.is-light { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .07); }
#hd.is-solid { background: rgba(12, 16, 22, .92); }   /* 사진 구획 위를 스크롤해 지나갈 때 */
#hd .in { height: 100%; display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo .mk { width: 48px; height: 48px; flex: none; stroke-width: 14; }
.lt b { display: block; font-size: 22px; line-height: 24px; font-weight: 700; letter-spacing: -.5px; white-space: nowrap; }
.lt b span { font-weight: 400; }
.lt i { display: block; margin-top: 3px; font-style: normal; font-family: var(--ff-en); font-size: 9px; line-height: 12px; white-space: nowrap; }

.gnb { display: flex; gap: 72px; }
.gnb > li { position: relative; padding: 41px 0; }
.gnb > li > a { position: relative; display: block; font-size: 18px; line-height: 18px; font-weight: 500; white-space: nowrap; }
.gnb > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: currentColor; }
.gnb .sub {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 200px; padding: 28px 0;
  background: rgba(0, 0, 0, .5);
}
.gnb > li:last-child .sub { transform: translateX(calc(-50% - 25px)); }
.gnb .sub ul { display: flex; flex-direction: column; gap: 18px; }
.gnb .sub a { display: block; text-align: center; font-size: 16px; line-height: 17px; color: #fff; }
.gnb .sub a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gnb-foot, .ham { display: none; }

@media (min-width: 1024px) {
  #hd:has(.gnb > li:hover), #hd:has(.gnb > li:focus-within) { background: rgba(0, 0, 0, .5); color: #fff; box-shadow: none; }
  .gnb > li:hover > .sub, .gnb > li:focus-within > .sub { display: block; }
  /* 흰 구획 위에서 펼칠 때는 뒤 본문이 비치지 않게 거의 불투명하게 */
  #hd.is-light:has(.gnb > li:hover), #hd.is-light:has(.gnb > li:focus-within), #hd.is-light .gnb .sub { background: rgba(17, 22, 28, .96); }
  #hd.is-solid:has(.gnb > li:hover), #hd.is-solid:has(.gnb > li:focus-within), #hd.is-solid .gnb .sub { background: rgba(12, 16, 22, .92); }
}

/* ---------- 단추 ---------- */
.btn-line {   /* 선 알약: 올리면 왼쪽부터 채워진다 */
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-width: 190px; height: 60px; padding: 0 34px;
  border: 1px solid var(--slate); border-radius: 30px;
  color: var(--slate);
  font-family: var(--ff-en); font-size: 14px; line-height: 14px; white-space: nowrap;
  transition: color .4s;
}
.btn-line::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 0; background: var(--slate); transition: width .4s; }
.btn-line:hover { color: #fff; }
.btn-line:hover::before { width: 100%; }
.btn-line.ko { font-family: var(--ff); font-size: 15px; font-weight: 500; }
.btn-line.on-photo { color: #fff; border-color: rgba(255, 255, 255, .45); }

.btn-pill {   /* 사진 · 어두운 바탕 위 알약 */
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: 190px; height: 60px; padding: 0 30px;
  border: 1px solid #fff; border-radius: 30px;
  color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color .3s, color .3s;
}
.btn-pill:hover { background: #fff; color: var(--slate); }
.btn-pill.solid { background: #fff; color: var(--slate); }
.btn-pill.solid:hover { background: transparent; color: #fff; }

.btn {   /* 본문 단추 */
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  border: 1px solid var(--slate); border-radius: 26px;
  color: var(--slate); font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--slate); color: #fff; }
.btn--primary, .btn--solid { background: var(--slate); color: #fff; }
.btn--primary:hover, .btn--solid:hover { background: var(--slate-d); border-color: var(--slate-d); }
.btn--gold { background: #fff; border-color: #fff; color: var(--slate); }                 /* 어두운 판 위 으뜸 단추 */
.btn--gold:hover { background: transparent; color: #fff; }
.btn--onink { border-color: rgba(255, 255, 255, .5); color: #fff; }                       /* 어두운 판 위 버금 단추 */
.btn--onink:hover { background: #fff; border-color: #fff; color: var(--slate); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.go { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 600; color: var(--slate); }
.go::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; transition: transform .3s; }
.go:hover::after { transform: translateX(4px); }
.link { color: var(--slate); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link.ext::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 3px; vertical-align: -1px; background: currentColor; -webkit-mask: var(--i-out) center / contain no-repeat; mask: var(--i-out) center / contain no-repeat; }

/* =================================================================
   홈
   ================================================================= */

/* 1. 첫 화면: 화면 가득 사진 + 흰 선 解 마크 + 한 줄 소개 */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 22, 48, .55) 0, rgba(10, 22, 48, .25) 160px, rgba(10, 22, 48, 0) 300px, rgba(10, 22, 48, 0) 62%, rgba(6, 10, 24, .5) 100%),
    linear-gradient(90deg, rgba(8, 16, 36, .66) 0, rgba(8, 16, 36, .5) 26%, rgba(8, 16, 36, 0) 58%),
    url(/assets/hero-skyline.webp?v=3843679f) 100% 100% / cover no-repeat #3d6fb8;
}
@media (min-width: 1500px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(10, 22, 48, .66) 0, rgba(10, 22, 48, .58) 90px, rgba(10, 22, 48, .25) 170px, rgba(10, 22, 48, 0) 300px, rgba(10, 22, 48, 0) 62%, rgba(6, 10, 24, .5) 100%),
      linear-gradient(90deg, rgba(8, 16, 36, .66) 0, rgba(8, 16, 36, .5) 26%, rgba(8, 16, 36, 0) 58%),
      radial-gradient(600px 440px at calc(50% + 483px) 46%, rgba(10, 22, 48, .40), rgba(10, 22, 48, 0)),
      url(/assets/hero-skyline.webp?v=3843679f) 100% 100% / cover no-repeat #3d6fb8;
  }
}
.hero-mark {
  position: absolute; top: 46%; left: min(1243px, 100% - 197px);
  width: 310px; height: 305px;
  transform: translateY(-50%);
}
.hero-mark .mk { width: 310px; height: 305px; }
.hero-mark span { position: absolute; white-space: nowrap; font-family: var(--ff-en); font-weight: 700; font-size: 60px; line-height: 60px; color: rgba(255, 255, 255, .5); }
.hero-mark .t1 { left: 262px; top: 22px; }
.hero-mark .t2 { left: 322px; top: 82px; }
.hero-copy {
  position: absolute; left: max(var(--gut), (100% - 1600px) / 2); bottom: 210px;
  max-width: 660px;
}
.hero-copy h1 { font-size: 56px; line-height: 1.22; font-weight: 800; letter-spacing: -1.2px; text-shadow: 0 2px 24px rgba(6, 10, 24, .35); }
.hero-copy h1 small { display: block; margin-bottom: 14px; font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.3px; }
.hero-copy p { margin-top: 20px; font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(6, 10, 24, .45); }
.hero-copy .btn-row { margin-top: 36px; }
.scroll { position: absolute; left: 100px; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .9; }
.scroll p { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--ff-en); font-size: 13px; line-height: 14px; letter-spacing: .12em; white-space: nowrap; }
.scroll span { width: 2px; height: 90px; background: #fff; }

/* 2. 소개 + 숫자 카드 */
.about {
  position: relative; overflow: hidden;
  min-height: clamp(760px, 100vh, 940px);
  display: flex; align-items: center;
  padding: calc(var(--hd-h) + 30px) 0 40px;
}
.about .wm {
  position: absolute; left: -60px; bottom: -250px; width: 640px; height: 630px; color: var(--wm); pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 52%); mask-image: linear-gradient(#000 30%, transparent 52%);
}
.about .in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 30px 20px 30px 0; }
.ab-txt { flex: 0 1 581px; min-width: 0; }
.brand { font-family: var(--ff-en); font-size: 68px; line-height: 68px; font-weight: 700; color: var(--slate); }
.ab-txt h2 { padding-top: 20px; font-size: 44px; line-height: 52.8px; font-weight: 700; }
.ab-lead { margin-top: 50px; font-size: 24px; line-height: 31.2px; font-weight: 500; }
.ab-desc { margin-top: 20px; font-size: 18px; line-height: 27px; color: var(--gray-6); }
.ab-txt .btn-line { margin-top: 55px; }
.ab-right { flex: none; width: 660px; }
.stats { display: grid; grid-template-columns: 315px 315px; gap: 30px; }
.stats li { min-height: 320px; padding: 40px 35px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.stats li:nth-child(even) { transform: translateY(-30px); }
.stats strong { display: block; margin-top: 30px; font-size: 26px; line-height: 26px; font-weight: 700; }
.stats .cap { display: block; margin-top: 10px; font-size: 15px; line-height: 1.3; color: var(--gray-7); }
.stats .num { display: flex; align-items: baseline; gap: 10px; margin-top: 35px; }
.stats .num b { font-size: 51px; line-height: 51px; font-weight: 800; letter-spacing: -1px; color: #000; }
.stats .num span { font-size: 20px; line-height: 20px; color: var(--gray-6); }
.ab-right .note-s { margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--gray-7); }

/* 3. 업무 분야: 사진 카드 (처음에는 유리 카드였다 — 끝의 '4판 다듬기 4' 참고) */
.services {
  position: relative;
  min-height: max(100vh, 760px);
  display: flex; align-items: center;
  padding: var(--hd-h) 0 60px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 14, 20, .78) 0%, rgba(9, 14, 20, .62) 45%, rgba(9, 14, 20, .58) 100%),
    url(/assets/photo-signing.webp?v=60e764bc) 50% 100% / cover no-repeat #222a33;
}
.services .in { display: flex; justify-content: space-between; align-items: center; }
.sv-txt { flex: none; width: 357px; }
.sv-txt h2 { font-size: 44px; line-height: 44px; font-weight: 700; }
.sv-txt p { margin-top: 30px; font-size: 18px; line-height: 27px; }
.sv-txt .btn-line { margin-top: 80px; }
.sv-cards { display: grid; grid-template-columns: repeat(3, 281px); gap: 30px; padding: 0 40px; }
.sv-card {
  position: relative; overflow: hidden;
  height: 460px; padding: 0 20px; border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.sv-card > * { position: relative; }
.sv-card h3 { padding-top: 40px; font-size: 28px; line-height: 28px; font-weight: 700; }
.sv-card p { padding-top: 20px; font-size: 16px; line-height: 24px; }
.sv-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; font-family: var(--ff-en); font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .8); }

/* 하위 쪽형 구획 공통 */
.sub-sec { padding: 120px 0; }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head h2 { font-size: 44px; line-height: 1.2; font-weight: 700; letter-spacing: -.5px; }
.sec-head p { margin-top: 28px; font-size: 22px; line-height: 1.5; }

/* 4. 상황별 안내: 테두리 카드 4장 */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.cs { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: #fff; transition: border-color .3s; }
.cs:hover { border-color: var(--slate); }
.cs-tile { position: relative; overflow: hidden; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #2c2c2c; color: #fff; }
.cs-tile span { position: relative; margin-top: 18px; font-size: 20px; line-height: 1.3; font-weight: 600; }
.cs-info { flex: 1; display: flex; flex-direction: column; padding: 25px 20px; }
.cs .tags { margin-bottom: 10px; font-size: 16px; line-height: 19.2px; color: var(--gray-6); }
.cs .tags span { white-space: nowrap; }
.cs .kw { margin-bottom: 15px; font-size: 16px; line-height: 16px; font-weight: 600; color: var(--navy); }
.cs h3 { min-height: 62.4px; margin-bottom: 15px; font-size: 24px; line-height: 31.2px; font-weight: 600; color: var(--ink-2); }
.cs .cs-desc { margin-bottom: 20px; font-size: 16px; line-height: 1.5; color: var(--gray-6); }
.cs .cs-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--slate); }

/* 5. 상담 띠 */
.consult-band { padding: 0; }
.band {
  min-height: 430px; padding: 50px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background: linear-gradient(rgba(21, 24, 64, .78), rgba(21, 24, 64, .78)), url(/assets/photo-songpa.webp?v=9801a442) 50% 45% / cover no-repeat #151840;
}
.band h2 { font-size: 20px; line-height: 32px; font-weight: 500; }
.band p { margin-bottom: 36px; font-size: 20px; line-height: 32px; }
.band p a:hover { text-decoration: underline; text-underline-offset: 4px; }
.band-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.band .btn-pill:hover { color: var(--navy); }
.band .btn-pill.solid { color: var(--navy); }
.band .btn-pill.solid:hover { color: #fff; }
main > .consult-band:last-child .in { width: 100%; }   /* 하위 페이지 끝: 꼬리말과 맞닿는 화면 가득 띠 */
.sec + .consult-band, .sub-sec + .consult-band { padding-bottom: 0; }

/* 6. 자주 묻는 질문 + 자료실 (두 단) */

/* 7. 찾아오시는 길: 카드 2장 + 지도 (홈 · 사무소 소개 공용) */
.contact { padding: 120px 0; }
.contact.is-soft { background: var(--soft); }
.contact .in, .contact .in-doc {
  display: grid;
  grid-template-columns: minmax(0, 576px) minmax(0, 657px);
  grid-template-areas: "cards head" "cards map";
  justify-content: space-between; column-gap: 40px;
}
.ct-head { grid-area: head; margin-bottom: 35px; }
.ct-cards { grid-area: cards; align-self: end; display: flex; flex-direction: column; gap: 36px; }
.ct-map { grid-area: map; }
.ct-card { display: flex; min-height: 242px; border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; background: #fff; }
.ct-img { flex: none; width: 172px; }
.ct-img img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.ct-panel { display: flex; align-items: center; justify-content: center; background: var(--slate); color: #fff; }
.ct-info { flex: 1; min-width: 0; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.ct-info h3 { padding-left: 26px; font-size: 26px; line-height: 36.4px; font-weight: 700; }
.ct-info ul { margin-top: 10px; }
.ct-info li { display: flex; align-items: flex-start; gap: 10px; font-size: 18px; line-height: 32.4px; color: var(--gray-6); }
.ct-info li + li { margin-top: 4px; }
.ct-info li .s16 { margin-top: 8.2px; color: var(--slate); }
.ct-info a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ct-map iframe { display: block; width: 100%; height: 460px; border: 0; background: #f2f3f5; }

/* =================================================================
   하위 페이지 공통
   ================================================================= */

/* 머리: 사진 띠 + 큰 解 마크 */
.sub-hero {
  position: relative; overflow: hidden;
  min-height: 560px;
  display: flex; align-items: flex-end;
  padding: calc(var(--hd-h) + 70px) 0 84px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 20, 38, .64) 0%, rgba(10, 20, 38, .36) 55%, rgba(10, 20, 38, .14) 100%),
    linear-gradient(180deg, rgba(10, 20, 38, .5) 0, rgba(10, 20, 38, .1) 200px, rgba(10, 20, 38, .1) 60%, rgba(10, 20, 38, .5) 100%),
    var(--photo) var(--pos, 50% 50%) / cover no-repeat #222a33;
}
.sub-hero.has-facts { padding-bottom: 136px; }
.sub-hero--office { --photo: url(/assets/photo-yeouido.webp?v=639f705e); --pos: 50% 62%; }
.sub-hero--cert { --photo: url(/assets/photo-signing.webp?v=60e764bc); --pos: 50% 70%; }
.sub-hero--reg { --photo: url(/assets/photo-glass.webp?v=b75bd798); --pos: 50% 40%; }
.sub-hero--consult { --photo: url(/assets/photo-desk-note.webp?v=f55db2ac); --pos: 50% 62%; }
.sub-hero .sh-mark { position: absolute; right: max(var(--gut), (100% - 1280px) / 2); bottom: -86px; width: 380px; height: 374px; color: rgba(255, 255, 255, .2); stroke-width: 8; pointer-events: none; }
.sub-hero .in-doc { position: relative; }
.crumb { display: flex; gap: 10px; margin-bottom: 26px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .72); }
.crumb li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sub-hero .en { font-family: var(--ff-en); font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: .22em; color: rgba(255, 255, 255, .78); }
.sub-hero h1 { margin-top: 14px; font-size: 58px; line-height: 1.2; font-weight: 800; letter-spacing: -1.2px; }
.sub-hero h1 em { font-weight: 300; }
.sub-hero .lede { max-width: 760px; margin-top: 24px; font-size: 18px; line-height: 1.75; color: rgba(255, 255, 255, .88); }
.sub-hero .lede.b { margin-top: 18px; font-size: 20px; font-weight: 700; color: #fff; }
.sub-hero .lede.b + .lede { margin-top: 10px; }
.sub-hero .btn-row { margin-top: 36px; }
.sub-hero .btn-pill { min-width: 0; height: 54px; padding: 0 28px; }
.sub-hero .asof { display: block; margin-top: 26px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .7); }

/* 머리 아래에 걸치는 요약 카드 */
.facts { position: relative; z-index: 2; margin-top: -58px; }
.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; box-shadow: 0 14px 40px rgba(17, 24, 32, .1); }
.keyfacts > div { padding: 30px 32px 32px; border-left: 1px solid #ececec; }
.keyfacts > div:first-child { border-left: 0; }
.keyfacts dt { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gray-7); }
.keyfacts dd { margin-top: 8px; font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: -.3px; color: var(--ink-2); }

/* 페이지 안 차례 띠 */
.lnb { position: sticky; top: var(--hd-h); z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.facts + .lnb { margin-top: 44px; border-top: 1px solid var(--line); }
.lnb .in-doc { display: flex; overflow-x: auto; scrollbar-width: none; }
.lnb .in-doc::-webkit-scrollbar { display: none; }
.lnb a { position: relative; flex: none; padding: 0 22px; font-size: 16px; line-height: var(--lnb-h); color: var(--gray-6); white-space: nowrap; }
.lnb a:first-child { padding-left: 0; }
.lnb a:hover { color: var(--ink); }
.lnb a.on { color: var(--ink); font-weight: 700; }
.lnb a.on::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--ink); }
.lnb a:first-child.on::after { left: 0; }

/* 구획 */
.sec { padding: 110px 0; scroll-margin-top: calc(var(--hd-h) + var(--lnb-h) - 1px); }
.sec--soft { background: var(--soft); }
.sec > .in-doc > .sec-head h2, .sec-head.s h2 { font-size: 40px; }
.sec > .in-doc > .sec-head p, .sec-head.s p { max-width: 860px; margin: 22px auto 0; font-size: 18px; line-height: 1.75; color: var(--gray-5); }
.sec-head.left { text-align: left; }
.sec-head.left p { margin-left: 0; }
.stack { display: grid; gap: 32px; }
.stack > * { min-width: 0; }
h3.h { position: relative; margin: 64px 0 24px; padding-left: 18px; font-size: 26px; line-height: 1.35; font-weight: 700; }
h3.h::before { content: ""; position: absolute; left: 0; top: .22em; bottom: .22em; width: 4px; background: var(--slate); }
.stack > h3.h { margin: 32px 0 -8px; }
h3.h:first-child { margin-top: 0; }

/* 표 */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 640px; border-collapse: collapse; border-top: 2px solid var(--ink-2); background: #fff; font-size: 16px; line-height: 1.7; }
.tbl caption { caption-side: top; padding: 0 0 14px; text-align: left; font-size: 18px; font-weight: 700; color: var(--ink-2); }
.tbl th, .tbl td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { background: #f1f3f5; font-size: 15px; font-weight: 700; color: var(--ink-2); text-align: center; white-space: nowrap; }
.tbl tbody th { width: 220px; background: var(--soft-2); font-weight: 600; color: var(--ink-2); }
.tbl td { color: var(--gray-5); }
.tbl td.now { color: var(--ink); font-weight: 600; }
.tbl td.was { color: var(--gray-7); }
.tbl .up, .tbl .new, .tagx { display: inline-block; padding: 2px 8px; font-size: 12px; line-height: 18px; font-weight: 700; vertical-align: 2px; }
.tbl .up { margin-right: 8px; background: var(--slate); color: #fff; }
.tbl .new { margin-right: 8px; background: var(--navy); color: #fff; }
.tagx { margin-left: 10px; border: 1px solid currentColor; }
.tbl-note { font-size: 14.5px; line-height: 1.75; color: var(--gray-7); }
/* 연혁 표: 날짜 칸에 점과 세로선 */

/* 안내 상자 · 인용 */
.note { padding: 28px 32px; background: var(--soft); border-left: 3px solid var(--slate); }
.sec--soft .note { background: #fff; }
.note h4 { margin-bottom: 10px; font-size: 18px; line-height: 1.5; font-weight: 700; }
.note p, .note li { font-size: 16px; line-height: 1.75; color: var(--gray-5); }
.note--plain { background: none; border: 1px solid var(--line); border-left: 3px solid var(--line-2); }
.sec--soft .note--plain { background: none; }
.note--warn { padding: 36px 40px; background: var(--slate); border-left: 0; }
.sec--soft .note--warn { background: var(--slate); }
.note--warn h4 { font-size: 24px; color: #fff; }
.note--warn p { color: rgba(255, 255, 255, .86); }
.note--warn b { color: #fff; }
blockquote.law { position: relative; padding: 36px 40px 30px 76px; border: 1px solid var(--line); background: #fff; font-size: 19px; line-height: 1.75; font-weight: 500; color: var(--ink-2); }
blockquote.law::before { content: "“"; position: absolute; left: 26px; top: 22px; font-family: Georgia, "Times New Roman", serif; font-size: 72px; line-height: 1; color: var(--peri); }
blockquote.law cite { display: block; margin-top: 14px; font-style: normal; font-size: 14.5px; font-weight: 400; color: var(--gray-7); }

/* 카드 · 격자 · 목록 */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: block; padding: 34px 30px; border: 1px solid var(--line); background: #fff; transition: border-color .3s; }
a.card:hover { border-color: var(--slate); }
.card > .ic { margin-bottom: 24px; color: var(--slate); }
.card h3 { font-size: 21px; line-height: 1.4; font-weight: 700; color: var(--ink-2); }
.card p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--gray-6); }
.card .who { display: block; margin-bottom: 12px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--navy); }
.card .go { margin-top: 20px; }
.dots { display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 16px; font-size: 16px; line-height: 1.7; color: var(--gray-5); }
.dots li::before { content: ""; position: absolute; left: 0; top: .74em; width: 5px; height: 5px; background: var(--slate); }

/* 심사기준 5개 분야 (펼침) */
.crit { border-top: 2px solid var(--ink-2); background: #fff; }
.crit > li { border-bottom: 1px solid var(--line); }
.crit summary { display: flex; align-items: center; gap: 22px; padding: 26px 16px; cursor: pointer; list-style: none; }
.crit summary::-webkit-details-marker { display: none; }
.crit .n { flex: none; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--peri); color: #fff; transition: background-color .3s; }
.crit details[open] .n { background: var(--slate); }
.crit .t { flex: 1; min-width: 0; }
.crit .t b { display: block; font-size: 22px; line-height: 1.4; font-weight: 700; }
.crit .t b i { margin-right: 10px; font-style: normal; font-family: var(--ff-en); color: var(--slate); }
.crit .t > span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--gray-7); }
.crit summary::after { content: ""; flex: none; width: 24px; height: 24px; background: var(--gray-5); -webkit-mask: var(--i-chev) center / contain no-repeat; mask: var(--i-chev) center / contain no-repeat; transition: transform .3s; }
.crit details[open] summary::after { transform: rotate(180deg); }
.crit .body { display: grid; gap: 30px; padding: 8px 56px 40px 98px; }
.crit .item h4 { font-size: 18px; line-height: 1.5; font-weight: 700; }
.crit .item h4 i { margin-right: 10px; font-style: normal; font-family: var(--ff-en); color: var(--slate); }
.crit .item p { margin-top: 8px; font-size: 16px; line-height: 1.8; color: var(--gray-5); }
.crit .item .ev { margin-top: 12px; padding: 12px 16px; background: var(--soft); font-size: 15px; line-height: 1.7; }
.crit .ev b { display: inline-block; margin-right: 10px; padding: 0 8px; border: 1px solid var(--slate); font-size: 12px; line-height: 20px; font-weight: 700; color: var(--slate); vertical-align: 1px; }

/* 절차 (번호 카드) */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: step; position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1px solid var(--line); background: #fff; }
.steps li::before { content: "STEP 0" counter(step); font-family: var(--ff-en); font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .12em; color: var(--gray-7); }
.steps h3 { margin-top: 44px; font-size: 22px; line-height: 1.4; font-weight: 700; }
.steps p { margin: 10px 0 20px; font-size: 15.5px; line-height: 1.75; color: var(--gray-6); }
.steps .who { margin-top: auto; padding-top: 14px; border-top: 1px solid #eee; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); }

/* 맡는 범위: 두 칸 + 어두운 판 */
.pledge { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pledge > div { padding: 40px 36px; }
.pledge .yes { background: var(--slate); color: #fff; }
.pledge .you { border: 1px solid var(--line); background: #fff; }
.pledge h3 { margin-bottom: 20px; font-size: 22px; line-height: 1.4; font-weight: 700; }
.pledge li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 16px; line-height: 1.6; }
.pledge .you li { border-top-color: #ececec; color: var(--gray-5); }
.pledge li::before { content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.pledge .you li::before { background: var(--slate); }
.scope { padding: 48px 44px; background: var(--slate-d); color: #fff; }
.scope h3 { font-size: 24px; line-height: 1.4; font-weight: 700; }
.scope > p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.scope ol { counter-reset: sc; margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
.scope ol li { counter-increment: sc; position: relative; padding: 15px 0 15px 42px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 16px; line-height: 1.6; }
.scope ol li::before { content: "0" counter(sc); position: absolute; left: 0; top: 16px; font-family: var(--ff-en); font-size: 14px; font-weight: 700; color: var(--peri); }
.scope .btn-row { margin-top: 34px; }

/* FAQ */

/* 자료 목록 (게시판 줄) */

/* 등록요건 여섯 가지 */
.req { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.req > li { position: relative; padding: 34px 30px; border: 1px solid var(--line); background: #fff; }
.req .n { position: absolute; right: 26px; top: 28px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--gray-5); }
.req h3 { margin-top: 24px; font-size: 22px; line-height: 1.4; font-weight: 700; }
.req .dots { margin-top: 16px; }
.req .dots li { font-size: 15px; }
.req p { color: var(--gray-6); line-height: 1.7; }
.req .big { display: block; margin-top: 14px; font-size: 38px; line-height: 1.2; font-weight: 800; letter-spacing: -1px; }
.req .go { margin-top: 20px; }
.req .key { background: var(--slate); border-color: var(--slate); color: #fff; }
.req .key .go { color: #fff; }
.req .key .n { border-color: rgba(255, 255, 255, .5); color: #fff; }
.req .key p { color: rgba(255, 255, 255, .86); }

/* =================================================================
   페이지별
   ================================================================= */

/* 사무소 소개 */
.pf { display: grid; grid-template-columns: minmax(0, 603fr) minmax(0, 677fr); gap: 60px; align-items: start; }
.pf-img img { width: 100%; height: auto; aspect-ratio: 603 / 430; object-fit: cover; object-position: 88% 30%; }
.pf-img figcaption { margin-top: 16px; font-size: 15px; line-height: 22px; color: var(--gray-7); }
.pf-img figcaption b { margin-right: 10px; font-size: 20px; font-weight: 700; color: var(--ink); }
.pf-lead { margin-bottom: 34px; padding-bottom: 34px; border-bottom: 2px solid var(--ink-2); }
.pf-lead h3 { font-size: 30px; line-height: 1.45; font-weight: 700; letter-spacing: -.4px; }
.pf-lead p { margin-top: 18px; font-size: 17px; line-height: 1.8; color: var(--gray-5); }
.pf-row { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pf-row:first-of-type { padding-top: 0; }
.pf-row .yr { display: block; margin-bottom: 4px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--navy); }
.pf-row h3 { margin-bottom: 8px; font-size: 22px; line-height: 1.45; font-weight: 700; }
.pf-row p { max-width: 560px; font-size: 16.5px; line-height: 1.7; color: var(--gray-6); }
.pf-note { margin-top: 24px; font-size: 14px; line-height: 1.7; color: var(--gray-7); }
.loc-table { margin-bottom: 70px; }

/* 상담 안내 */

/* 자가진단 */

/* 404 */
.nf { min-height: 70vh; display: flex; align-items: center; padding: calc(var(--hd-h) + 80px) 0 100px; text-align: center; }
.nf .en { font-family: var(--ff-en); font-size: 110px; line-height: 1; font-weight: 700; color: var(--slate); }
.nf h1 { margin-top: 20px; font-size: 32px; font-weight: 700; }
.nf p { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--gray-6); }
.nf .btn-row { margin-top: 34px; justify-content: center; }

/* 디자인 자산 보드 (/design/ — 검색 제외) */
.bd h2 { margin: 80px 0 10px; font-size: 32px; font-weight: 700; }
.bd h2:first-child { margin-top: 0; }
.bd h2 + p { margin-bottom: 28px; font-size: 16px; line-height: 1.7; color: var(--gray-6); }
.bd h3 { margin: 36px 0 16px; font-size: 18px; font-weight: 700; }
.bd h3 i { margin-left: 8px; font-style: normal; font-size: 14px; font-weight: 500; color: var(--gray-7); }
.bd-colors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bd-colors li { border: 1px solid var(--line); }
.bd-colors i { display: block; height: 96px; }
.bd-colors b, .bd-colors small { display: block; padding: 0 12px; }
.bd-colors b { padding-top: 12px; font-size: 15px; }
.bd-colors small { padding-bottom: 12px; font-size: 13px; line-height: 1.6; color: var(--gray-7); }
.bd-type { border-top: 2px solid var(--ink-2); }
.bd-type li { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.bd-type small { font-size: 13.5px; line-height: 1.6; color: var(--gray-7); }
.bd-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.bd-icons li { padding: 18px 14px 14px; border: 1px solid var(--line); }
.bd-icons .bx { display: flex; align-items: center; justify-content: center; height: 84px; margin-bottom: 12px; background: var(--soft); color: var(--slate); }
.bd-icons .bx .ic { width: 28px; height: 28px; stroke-width: 1.8; }
.bd-icons .bx .mk { width: 60px; height: 60px; }
.bd-icons b { display: block; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; font-weight: 600; }
.bd-icons small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--gray-7); }
.bd-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bd-images li { border: 1px solid var(--line); padding-bottom: 14px; }
.bd-images .ph { display: block; aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; }
.bd-images .ph img { width: 100%; height: 100%; object-fit: cover; }
.bd-images b, .bd-images small { display: block; padding: 0 14px; }
.bd-images b { padding-top: 12px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.bd-images small { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--gray-6); }
.bd-images small.src { color: var(--gray-7); }
.bd-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bd-pages a { display: block; padding: 18px 16px; border: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.bd-pages a:hover { border-color: var(--slate); }
.bd-pages small { display: block; margin-top: 4px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; font-weight: 400; color: var(--gray-7); }

/* =================================================================
   꼬리말 · 빠른 메뉴
   ================================================================= */
#ft { padding: 64px 0 60px; background: var(--ink); color: #fff; }
.ft-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 34px; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft-links { display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; }
.ft-links a { position: relative; padding: 0 20px; font-size: 18px; line-height: 28.8px; font-weight: 500; }
.ft-links a:first-child { padding-left: 0; }
.ft-links a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 15px; margin-top: -7.5px; background: rgba(255, 255, 255, .5); }
.ft-links a:hover, .ft-ext a:hover, .ft-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-ext { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 16px; }
.ft-ext a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 24px; color: var(--gray-9); }
.ft-ext a:hover { color: #fff; }
.ft-row { display: flex; flex-wrap: wrap; column-gap: 36px; row-gap: 4px; margin-top: 8px; font-size: 15.5px; line-height: 25.6px; }
.ft-row > div { display: flex; gap: 14px; }
.ft-row dt { color: #fff; white-space: nowrap; }
.ft-row dd { color: var(--gray-9); }
.ft-logo { flex: none; align-self: flex-start; display: flex; align-items: center; gap: 9px; margin-right: 24px; color: #fff; }
.ft-logo .mk { width: 42px; height: 42px; flex: none; stroke-width: 14; }
.ft-logo .lt b { font-size: 19px; line-height: 21px; }
.ft-logo .lt i { font-size: 8px; line-height: 10px; margin-top: 3px; }
.ft-legal { margin-top: 28px; font-size: 14px; line-height: 22px; color: var(--ft-dim); }
.ft-copy { margin-top: 6px; font-size: 14px; line-height: 22px; color: var(--ft-dim); }

.quick { position: fixed; right: 12px; bottom: 40px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.qm-ch { display: none; flex-direction: column; gap: 10px; }
.quick.open .qm-ch { display: flex; }
.qm-ch li { position: relative; }
.qm-ch a, .qm-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; transition: background-color .3s; }
.qm-plus svg { transition: transform .3s; }
.quick.open .qm-plus { background: var(--slate-2); }
.quick.open .qm-plus svg { transform: rotate(45deg); }
.qm-ch .lb { display: none; }
@media (min-width: 1024px) {
  .qm-ch .lb {
    display: block; position: absolute; z-index: -1; right: 0; top: 0;
    height: 56px; padding: 0 72px 0 22px; border-radius: 28px;
    background: var(--slate-2); color: #fff;
    font-size: 17px; line-height: 56px; white-space: nowrap;
    opacity: 0; transform: translateX(10px); pointer-events: none;
    transition: opacity .3s, transform .3s;
  }
  .qm-ch a:hover .lb, .qm-ch a:focus-visible .lb { opacity: 1; transform: none; }
  .qm-ch a:hover, .qm-btn:hover { background: var(--slate-2); }
}

/* =================================================================
   반응형
   ================================================================= */

@media (max-width: 1599px) {
  .gnb { gap: 56px; }
}
@media (max-width: 1439px) {
  .sv-cards { padding: 0; gap: 24px; grid-template-columns: repeat(3, minmax(0, 281px)); }
  .services .in { gap: 40px; }
}
@media (max-width: 1365px) {
  .gnb { gap: 44px; }
  .ab-right { width: 600px; }
  .stats { grid-template-columns: 285px 285px; }
  .stats li { min-height: 300px; padding: 36px 30px; }
  .services .in { flex-direction: column; align-items: stretch; gap: 0; }
  .sv-txt { width: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .sv-txt h2 { grid-column: 1 / -1; }
  .sv-txt p { max-width: 640px; }
  .sv-txt .br-x { display: none; }
  .sv-txt .btn-line { margin-top: 0; }
  .sv-cards { margin-top: 50px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .sv-card { height: 420px; }
  .cases { gap: 28px; }
  .hero-copy h1 { font-size: 50px; }
}
@media (max-width: 1279px) {
  .gnb { gap: 34px; }
  .gnb > li > a { font-size: 17px; }
  .ab-right { width: 540px; }
  .stats { grid-template-columns: 255px 255px; }
  .stats li { min-height: 290px; padding: 32px 26px; }
  .stats strong { font-size: 22px; line-height: 24px; }
  .stats .num b { font-size: 44px; line-height: 44px; }
  .brand { font-size: 56px; line-height: 56px; }
  .ab-txt h2 { font-size: 36px; line-height: 44px; }
  .ab-lead { margin-top: 36px; font-size: 20px; line-height: 28px; }
  .ab-desc { font-size: 16px; line-height: 25px; }
  .ab-desc br { display: none; }
  .ab-txt .btn-line { margin-top: 44px; }
  .cases { gap: 20px; }
  .cs-tile span { margin-top: 14px; font-size: 18px; }
  .cs-info { padding: 22px 16px; }
  .cs .tags { font-size: 14px; line-height: 18px; }
  .cs h3 { min-height: 56px; font-size: 20px; line-height: 28px; }
  .cs .cs-desc { font-size: 15px; }
  .ct-head p { font-size: 20px; line-height: 28px; }
  .ct-info h3 { font-size: 22px; line-height: 32px; }
  .ct-info li { font-size: 16px; line-height: 28px; }
  .ct-info li .s16 { margin-top: 6px; }
  .ct-map iframe { height: 420px; }
  .sub-hero h1 { font-size: 48px; }
  .sub-hero .sh-mark { width: 300px; height: 295px; bottom: -70px; }
  .keyfacts > div { padding: 26px 24px 28px; }
  .keyfacts dd { font-size: 18px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf { gap: 44px; }
  .pf-lead h3 { font-size: 26px; }
  .quick { right: 8px; }
  .qm-ch a, .qm-btn { width: 48px; height: 48px; }
  .quick .s28 { width: 24px; height: 24px; stroke-width: 1.8; }
  .bd-colors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .qm-ch .lb { height: 48px; padding-right: 62px; border-radius: 24px; font-size: 16px; line-height: 48px; }
}

/* 1023 이하: 모바일 머리말, 구획은 위아래로 쌓는다 */
@media (max-width: 1023px) {
  :root { --hd-h: 60px; --lnb-h: 50px; --gut: 40px; }
  #hd { background: rgba(0, 0, 0, .7); }
  #hd.is-solid { background: rgba(0, 0, 0, .92); }
  #hd.is-light, .nav-open #hd { background: #fff; color: var(--ink); }
  .logo { gap: 8px; }
  .logo .mk { width: 32px; height: 32px; stroke-width: 16; }
  #hd .lt b { font-size: 16px; line-height: 18px; letter-spacing: -.3px; }
  #hd .lt i { display: none; }
  .ham { display: block; position: relative; width: 44px; height: 44px; margin-right: -7px; }
  .ham span { position: absolute; right: 7px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s, top .25s; }
  .ham span:nth-child(1) { top: 13px; width: 30px; }
  .ham span:nth-child(2) { top: 21px; width: 20px; }
  .ham span:nth-child(3) { top: 29px; width: 30px; }
  .nav-open .ham span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .nav-open .ham span:nth-child(2) { opacity: 0; }
  .nav-open .ham span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
  #gnb { display: none; position: fixed; top: var(--hd-h); left: 0; right: 0; bottom: 0; padding: 8px var(--gut) 40px; overflow-y: auto; background: #fff; color: var(--ink); }
  .nav-open #gnb { display: block; }
  .nav-open { overflow: hidden; }
  .gnb { flex-direction: column; gap: 0; }
  .gnb > li { padding: 0; border-bottom: 1px solid #eee; }
  .gnb > li > a { font-size: 18px; line-height: 56px; font-weight: 600; }
  .gnb > li > a[aria-current="page"]::after { display: none; }
  .gnb > li > a[aria-current="page"] { color: var(--slate); }
  .gnb .sub, .gnb > li:last-child .sub { display: flex; position: static; transform: none; width: auto; padding: 0 0 16px; background: none; }
  .gnb .sub ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .gnb .sub a { padding: 0 14px; border: 1px solid var(--line); border-radius: 17px; text-align: left; font-size: 14.5px; line-height: 32px; color: var(--gray-6); }
  .gnb-foot { display: block; margin-top: 28px; }
  .gnb-foot .btn { width: 100%; }
  .gnb-foot p { margin-top: 14px; font-size: 14px; line-height: 1.7; color: var(--gray-7); }

  .hero { background-position: 0 0, 0 0, 45% 100%; }
  .hero-copy { bottom: 120px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy h1 small { font-size: 20px; }
  .scroll { display: none; }

  .about { min-height: 0; display: block; padding: 90px 0 80px; }
  .about .in { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .ab-txt { flex: none; }
  .brand { font-size: 52px; line-height: 52px; }
  .ab-txt h2 { font-size: 36px; line-height: 46px; }
  .ab-desc br { display: inline; }
  .ab-right { width: auto; margin-top: 56px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stats li:nth-child(even) { transform: none; }
  .about .wm { width: 480px; height: 472px; left: -50px; bottom: -190px; }

  .services { min-height: 0; display: block; padding: 100px 0 80px; }
  .sv-txt { display: block; }
  .sv-txt .br-x { display: inline; }
  .sv-txt .btn-line { margin-top: 40px; }
  .sv-cards {
    display: flex; gap: 15px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
    margin: 44px calc(-1 * var(--gut)) 0; padding: 0 var(--gut);
    scrollbar-width: none;
  }
  .sv-cards::-webkit-scrollbar { display: none; }
  .sv-card { flex: none; width: 305px; height: 320px; scroll-snap-align: start; }
  .sv-card h3 { padding-top: 26px; font-size: 20px; line-height: 24px; }
  .sv-card p { padding-top: 14px; font-size: 15px; line-height: 22.5px; }
  .sv-card .more { margin-top: 20px; }

  .sub-sec, .contact { padding: 90px 0; }
  .sec-head { margin-bottom: 44px; }
  .sec-head h2 { font-size: 36px; }
  .sec-head p { margin-top: 20px; font-size: 20px; }
  .cases { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact .in, .contact .in-doc { grid-template-columns: 1fr; grid-template-areas: "head" "cards" "map"; }
  .ct-head { margin-bottom: 40px; }
  .ct-cards { gap: 24px; }
  .ct-map { margin-top: 40px; }
  .ct-map iframe { height: 420px; }

  .sub-hero { min-height: 440px; padding: calc(var(--hd-h) + 56px) 0 64px; }
  .sub-hero.has-facts { padding-bottom: 112px; }
  .sub-hero h1 { font-size: 40px; letter-spacing: -.8px; }
  .sub-hero .sh-mark { width: 240px; height: 236px; bottom: -60px; right: 24px; }
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keyfacts > div:nth-child(3) { border-left: 0; }
  .keyfacts > div:nth-child(n+3) { border-top: 1px solid #ececec; }
  .lnb a { padding: 0 16px; font-size: 15px; }
  .lnb a.on::after { left: 16px; right: 16px; }
  .sec { padding: 84px 0; }
  .sec > .in-doc > .sec-head h2, .sec-head.s h2 { font-size: 32px; }
  .sec > .in-doc > .sec-head p, .sec-head.s p { font-size: 17px; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .req { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crit .body { padding: 8px 20px 36px 98px; }
  .pf { grid-template-columns: 1fr; gap: 40px; }
  .ft-legal { padding-right: 24px; }
  .quick { right: 8px; bottom: 24px; gap: 8px; }
  .qm-ch { gap: 8px; }
  .qm-ch a, .qm-btn { width: 44px; height: 44px; }
  .quick .s28 { width: 22px; height: 22px; stroke-width: 1.9; }
  .bd-images, .bd-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 767 이하: 휴대폰 */
@media (max-width: 767px) {
  :root { --gut: 16px; }
  .mo { display: inline; }
  .pc { display: none; }
  .logo .mk { width: 27px; height: 27px; stroke-width: 17; }
  #hd .lt b { font-size: 14px; line-height: 16px; letter-spacing: -.2px; }
  #gnb { padding: 4px var(--gut) 32px; }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(10, 22, 48, .6) 0, rgba(10, 22, 48, .2) 150px, rgba(10, 22, 48, 0) 280px, rgba(6, 10, 24, 0) 46%, rgba(6, 10, 24, .82) 100%),
      url(/assets/hero-skyline-m.webp?v=516bfad6) 40% 100% / cover no-repeat #3d6fb8;
  }
  .hero-mark { top: 34%; left: 50%; width: 150px; height: 148px; transform: translate(-64%, -50%); }
  .hero-mark .mk { width: 150px; height: 148px; stroke-width: 12; }
  .hero-mark span { font-size: 30px; line-height: 30px; }
  .hero-mark .t1 { left: 122px; top: 10px; }
  .hero-mark .t2 { left: 148px; top: 42px; }
  .hero-copy { left: var(--gut); right: var(--gut); bottom: 44px; }
  .hero-copy h1 { font-size: 29px; line-height: 1.28; letter-spacing: -.6px; }
  .hero-copy h1 small { margin-bottom: 8px; font-size: 16px; }
  .hero-copy p { margin-top: 12px; font-size: 15px; line-height: 1.6; }
  .hero-copy .btn-row { margin-top: 22px; gap: 8px; }

  .btn-line { min-width: 120px; height: 44px; padding: 0 20px; gap: 10px; font-size: 12px; line-height: 12px; }
  .btn-line.ko { font-size: 14px; }
  .btn-line .iarr { width: 13px; height: 13px; stroke-width: 2.6; }
  .btn-pill { min-width: 0; height: 46px; padding: 0 20px; gap: 8px; font-size: 14px; }
  .btn-pill .iarr { width: 13px; height: 13px; stroke-width: 2.6; }
  .btn { height: 48px; padding: 0 22px; border-radius: 24px; font-size: 14.5px; }

  .about { padding: 60px 0; }
  .about .wm { width: 330px; height: 325px; left: -30px; bottom: -120px; }
  .brand { font-size: 30px; line-height: 30px; }
  .ab-txt h2 { padding-top: 12px; font-size: 25px; line-height: 32px; }
  .ab-lead { margin-top: 24px; font-size: 17px; line-height: 25.5px; }
  .ab-desc { margin-top: 12px; font-size: 14px; line-height: 21px; }
  .ab-desc br { display: none; }
  .ab-txt .btn-line { margin-top: 28px; }
  .ab-right { margin-top: 36px; }
  .stats { gap: 10px; }
  .stats li { min-height: 0; padding: 25px 20px; border-radius: 16px; }
  .stats strong { margin-top: 18px; font-size: 15px; line-height: 20px; }
  .stats .cap { min-height: 2.8em; margin-top: 6px; font-size: 12px; line-height: 1.4; }
  .stats .num { margin-top: 18px; gap: 6px; }
  .stats .num b { font-size: 28px; line-height: 28px; }
  .stats .num span { font-size: 12px; line-height: 12px; }
  .ab-right .note-s { margin-top: 16px; font-size: 12px; }

  .services { padding: 90px 0 60px; }
  .sv-txt h2 { font-size: 30px; line-height: 30px; }
  .sv-txt p { margin-top: 20px; font-size: 15px; line-height: 22.5px; }
  .sv-txt .br-x { display: none; }
  .sv-txt .btn-line { margin-top: 28px; }
  .sv-cards { margin-top: 36px; }
  .sv-card { width: 280px; height: 300px; }
  .sv-card h3 { padding-top: 24px; font-size: 18px; line-height: 22px; }
  .sv-card p { padding-top: 12px; font-size: 14px; line-height: 21px; }

  .sub-sec, .contact { padding: 72px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head h2 { font-size: 27px; }
  .sec-head p { margin-top: 12px; font-size: 16px; }
  .cases { gap: 10px; }
  .cs-tile span { margin-top: 10px; font-size: 15px; }
  .cs-info { padding: 15px 12px; }
  .cs .tags { min-height: 2.8em; margin-bottom: 8px; font-size: 12px; line-height: 1.4; }
  .cs .kw { margin-bottom: 8px; font-size: 13px; line-height: 1.3; }
  .cs h3 { min-height: 2.8em; margin-bottom: 8px; font-size: 16px; line-height: 1.4; }
  .cs .cs-desc { margin-bottom: 14px; font-size: 13px; line-height: 1.5; }
  .cs .cs-go { font-size: 13px; }

  .consult-band .in { width: 100%; }
  .band { min-height: 0; padding: 44px 20px; }
  .band h2 { font-size: 16px; line-height: 25px; }
  .band p { margin-bottom: 24px; font-size: 16px; line-height: 25px; }
  .band p .dot { display: none; }
  .band-btns { gap: 8px; }


  .ct-head { margin-bottom: 26px; }
  .ct-cards { gap: 16px; }
  .ct-card { min-height: 84px; border: 0; box-shadow: 1.93px 1.07px 6px rgba(48, 63, 70, .12); border-radius: 16px; }
  .ct-img { width: 104px; }
  .ct-info { padding: 14px 20px 14px 16px; }
  .ct-info h3 { padding-left: 0; font-size: 15px; line-height: 1.4; }
  .ct-info ul { margin-top: 6px; }
  .ct-info li { gap: 6px; font-size: 13px; line-height: 1.5; }
  .ct-info li + li { margin-top: 3px; }
  .ct-info li .s16 { width: 12px; height: 12px; margin-top: 3.75px; stroke-width: 3.2; }
  .ct-map { margin-top: 26px; }
  .ct-map iframe { height: 295px; }

  .sub-hero { min-height: 0; padding: calc(var(--hd-h) + 40px) 0 48px; }
  .sub-hero.has-facts { padding-bottom: 86px; }
  .sub-hero .sh-mark { width: 150px; height: 148px; right: 8px; bottom: auto; top: calc(var(--hd-h) + 18px); color: rgba(255, 255, 255, .14); stroke-width: 10; }
  .crumb { margin-bottom: 18px; font-size: 13px; }
  .sub-hero .en { font-size: 12px; }
  .sub-hero h1 { margin-top: 10px; font-size: 31px; letter-spacing: -.6px; }
  .sub-hero .lede { margin-top: 16px; font-size: 15px; line-height: 1.7; }
  .sub-hero .lede.b { font-size: 16px; }
  .sub-hero .btn-row { margin-top: 24px; gap: 8px; }
  .sub-hero .btn-pill { height: 46px; padding: 0 18px; font-size: 14px; }
  .sub-hero .asof { margin-top: 18px; font-size: 12.5px; }
  .facts { margin-top: -44px; }
  .keyfacts > div { padding: 18px 16px 20px; }
  .keyfacts dt { font-size: 12.5px; }
  .keyfacts dd { margin-top: 4px; font-size: 15px; }
  .facts + .lnb { margin-top: 28px; }
  .lnb a { padding: 0 12px; font-size: 14.5px; }
  .lnb a.on::after { left: 12px; right: 12px; }

  .sec { padding: 64px 0; }
  .sec > .in-doc > .sec-head h2, .sec-head.s h2 { font-size: 25px; }
  .sec > .in-doc > .sec-head p, .sec-head.s p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; }
  .stack { gap: 24px; }
  h3.h { margin: 44px 0 18px; padding-left: 14px; font-size: 20px; }
  .stack > h3.h { margin: 20px 0 -4px; }
  .g2, .g3, .g4, .steps, .req, .pledge { grid-template-columns: 1fr; }
  .grid, .steps, .req, .pledge { gap: 12px; }
  .tbl { font-size: 14.5px; }
  .tbl th, .tbl td { padding: 13px 12px; }
  .tbl tbody th { width: 112px; }
  .tbl thead th { font-size: 13.5px; }
  .tbl:not(:has(thead)) { min-width: 0; }   /* 이름–값 두 칸 표는 가로로 밀지 않고 줄바꿈 */
  .note { padding: 22px 20px; }
  .note h4 { font-size: 16.5px; }
  .note p, .note li, .dots li { font-size: 15px; }
  .note--warn { padding: 26px 22px; }
  .note--warn h4 { font-size: 19px; }
  blockquote.law { padding: 52px 22px 24px; font-size: 16.5px; }
  blockquote.law::before { left: 18px; top: 14px; font-size: 56px; }
  .card { padding: 26px 22px; }
  .card > .ic { margin-bottom: 18px; }
  .card h3 { font-size: 18.5px; }
  .card p { font-size: 15px; }
  .crit summary { gap: 14px; padding: 20px 6px; }
  .crit .n { width: 46px; height: 46px; }
  .crit .t b { font-size: 18px; }
  .crit .t > span { font-size: 13.5px; }
  .crit .body { gap: 24px; padding: 4px 6px 28px; }
  .crit .item h4 { font-size: 16.5px; }
  .crit .item p { font-size: 15px; }
  .crit .item .ev { font-size: 14px; }
  .steps li { padding: 24px 22px 22px; }
  .steps h3 { margin-top: 30px; font-size: 19px; }
  .steps p { font-size: 15px; }
  .pledge > div { padding: 28px 22px; }
  .pledge h3, .scope h3 { font-size: 19px; }
  .pledge li, .scope ol li { font-size: 15px; }
  .scope { padding: 32px 22px; }
  .scope ol { grid-template-columns: 1fr; }
  .scope .btn-row { flex-direction: column; }
  .req > li { padding: 26px 22px; }
  .req h3 { margin-top: 18px; font-size: 19px; }
  .req .big { font-size: 30px; }

  .pf { gap: 28px; }
  .pf-lead { margin-bottom: 26px; padding-bottom: 26px; }
  .pf-lead h3 { font-size: 21px; }
  .pf-lead p { font-size: 15px; }
  .pf-row { gap: 14px; padding: 22px 0; }
  .pf-row h3 { font-size: 17.5px; }
  .pf-row p { font-size: 15px; }
  .loc-table { margin-bottom: 44px; }



  .nf .en { font-size: 72px; }
  .nf h1 { font-size: 24px; }

  #ft { padding: 36px 0 90px; }
  .ft-top { flex-direction: column-reverse; gap: 24px; padding-bottom: 24px; margin-bottom: 20px; }
  .ft-links a { padding: 0 10px; font-size: 14px; line-height: 24px; }
  .ft-links a:first-child { padding-left: 0; }
  .ft-links a + a::before { height: 11px; margin-top: -5.5px; }
  .ft-ext { margin-top: 12px; }
  .ft-ext a { font-size: 13.5px; }
  .ft-row { flex-direction: column; font-size: 13px; line-height: 1.7; }
  .ft-row > div { gap: 12px; }
  .ft-legal { margin-top: 20px; font-size: 12px; line-height: 1.6; padding-right: 28px; }
  .ft-copy { font-size: 12px; }
  .ft-logo .mk { width: 32px; height: 32px; }
  .ft-logo .lt b { font-size: 15px; line-height: 17px; }
  .ft-logo .lt i { font-size: 7px; line-height: 9px; }

  .quick { right: 6px; bottom: 16px; gap: 6px; }
  .qm-ch { gap: 6px; }
  .qm-ch a, .qm-btn { width: 40px; height: 40px; }
  .quick .s28 { width: 20px; height: 20px; stroke-width: 2.16; }
  .quick .s16 { width: 14px; height: 14px; stroke-width: 3; }

  .bd-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-type li { grid-template-columns: 1fr; gap: 6px; }
  .bd-images, .bd-pages { grid-template-columns: 1fr; }
}

/* =================================================================
   4판 다듬기 (2026-11-17)
   - 사진: 머리 띠 · 구획 사진을 한 톤으로 맞춤(site/tools/tone_photos.py · 원본 site/originals)
   - 배경: 옅은 구획에 번짐 + 고리 장식, 흰 구획 머리에 옅은 빛, 페이지마다 사진 바탕 구획 하나(.sec--photo)
   - 카드: 테두리를 옅게, 모서리를 둥글게 하나로 맞추고 아이콘에 받침(.ib)
   되돌리려면 이 묶음을 걷고 pages 의 .ib · .art · sec--photo 표시를 되돌린다.
   ================================================================= */
:root {
  --tint: #f3f5f9;      /* 옅은 청회색 바탕 */
  --tint-2: #e8edf5;    /* 아이콘 받침 · 표 머리 */
  --hair: #e3e7ee;      /* 카드 테두리 */
  --r: 14px;            /* 카드 모서리 */
  --sh: 0 14px 34px rgba(21, 32, 48, .08);
}

/* ---------- 구획 배경 ---------- */
.sec--soft, .contact.is-soft {
  background:
    url(/assets/orn-arcs.svg?v=44332845) right -140px top -180px / 620px 620px no-repeat,
    linear-gradient(180deg, #edf1f7 0%, #f6f8fb 100%);
}
.sec:not(.sec--soft):not(.sec--photo) {
  background: radial-gradient(760px 280px at 50% 0, rgba(154, 168, 204, .16), rgba(154, 168, 204, 0)) no-repeat #fff;
}
.about {
  background:
    url(/assets/orn-arcs.svg?v=44332845) right -180px top -140px / 720px 720px no-repeat,
    linear-gradient(120deg, #eef2f8 0%, #fff 62%);
}
#cases {
  background:
    url(/assets/orn-dots.svg?v=cbf805f3) left max(24px, (100% - 1600px) / 2 - 60px) top 70px no-repeat,
    linear-gradient(180deg, #f6f8fb 0%, #edf1f7 100%);
}
/* 사진 바탕 구획: 어두운 덮개 + 흰 카드 */
.sec--photo {
  color: #fff;
  background:
    url(/assets/orn-arcs-w.svg?v=64963826) right -140px top -180px / 620px 620px no-repeat,
    linear-gradient(180deg, rgba(13, 21, 34, .9) 0%, rgba(13, 21, 34, .84) 100%),
    var(--photo) 50% 50% / cover no-repeat #18222c;
}
.sec--photo > .in-doc > .sec-head h2 { color: #fff; }
.sec--photo > .in-doc > .sec-head p { color: rgba(255, 255, 255, .82); }
.sec--photo .tbl-note { color: rgba(255, 255, 255, .74); }
.sec--photo .card, .sec--photo .steps li, .sec--photo .req > li { border-color: transparent; color: var(--ink); }
.sec--photo .note { background: rgba(255, 255, 255, .09); border-left-color: var(--peri); }
.sec--photo .note h4 { color: #fff; }
.sec--photo .note p { color: rgba(255, 255, 255, .82); }
.sec--photo .req .key { background: var(--navy); border-color: #4b56a8; color: #fff; }

/* 구획 제목 아래 짧은 줄 */
.sec-head h2::after { content: ""; display: block; width: 40px; height: 3px; margin: 22px auto 0; border-radius: 2px; background: var(--peri); }
.sec-head.left h2::after { margin-left: 0; }
.sec-head p { margin-top: 22px; }
.sec > .in-doc > .sec-head p, .sec-head.s p { max-width: 780px; margin-top: 20px; }

/* ---------- 카드 · 상자: 한 가지 모양으로 ---------- */
.card, .steps li, .req > li, .cs, blockquote.law { border-color: var(--hair); border-radius: var(--r); }
.card, .steps li, .req > li { transition: border-color .3s, box-shadow .3s, transform .3s; }
a.card:hover { box-shadow: var(--sh); }
.keyfacts { border-radius: var(--r); overflow: hidden; }
.note { border-radius: 0 var(--r) var(--r) 0; }
.note--plain { border: 0; border-left: 3px solid var(--line-2); background: var(--tint); }
.sec--soft .note--plain { background: #fff; }
.note--warn, .pledge > div, .scope { border-radius: var(--r); }
.tbl thead th { background: var(--tint-2); }
.tbl tbody th { background: var(--tint); }
.crit .item .ev { border-radius: 8px; background: var(--tint); }
.ct-map iframe { border-radius: var(--r); }
.stack { gap: 36px; }

/* ---------- 홈: 상황별 안내 (그림 타일) ---------- */
.cs { overflow: hidden; box-shadow: 0 6px 20px rgba(21, 32, 48, .05); transition: border-color .3s, box-shadow .3s, transform .3s; }
.cs:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.cs-tile { aspect-ratio: 4 / 3; align-items: flex-start; justify-content: flex-end; padding: 0 24px 20px; background: var(--slate-d); }
.cs-tile .art { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cs:hover .cs-tile .art { transform: scale(1.05); }
.cs-tile span { margin-top: 0; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.3px; text-shadow: 0 1px 10px rgba(10, 16, 22, .5); }
.cs-info { padding: 26px 24px 26px; }
.cs .tags { display: none; }                       /* 해시태그 줄은 걷어 낸다(카드 한 장에 글 층이 너무 많다) */
.cs .kw { display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: 5px 10px; border-radius: 6px; background: var(--tint-2); font-size: 13px; line-height: 16px; color: var(--slate); }
.cs h3 { min-height: 0; }

/* ---------- 찾아오시는 길 · 사무소 소개 ---------- */
.ct-panel { background: radial-gradient(circle at 30% 22%, #4b606c 0%, #2a383f 62%, #1f2a30 100%); }
.ct-card { border-color: var(--hair); box-shadow: 0 6px 20px rgba(21, 32, 48, .05); }
.pf-img img { border-radius: var(--r); box-shadow: -18px 18px 0 #dfe6f0; }
.pf-img figcaption { margin-top: 34px; }

@media (max-width: 1023px) {
  .sec--soft, .contact.is-soft, .sec--photo { background-size: 420px 420px, auto, cover; background-position: right -110px top -130px, 0 0, 50% 50%; }
  .about { background-size: 460px 460px, auto; background-position: right -130px top -110px, 0 0; }
  #cases { background-image: linear-gradient(180deg, #f6f8fb 0%, #edf1f7 100%); }
}
@media (max-width: 767px) {
  .sec-head h2::after { width: 32px; margin-top: 16px; }
  .sec-head p, .sec > .in-doc > .sec-head p, .sec-head.s p { margin-top: 14px; }
  .cs-tile { padding: 0 12px 10px; }
  .cs-tile span { margin-top: 0; font-size: 15px; }
  .cs-info { padding: 14px 12px 16px; }
  .cs .kw { margin-bottom: 8px; padding: 3px 7px; font-size: 11.5px; }
  .cs h3 { min-height: 2.8em; }
  .stack { gap: 24px; }
  .pf-img img { box-shadow: -10px 10px 0 #dfe6f0; }
  .pf-img figcaption { margin-top: 24px; }
}

/* ---------- 4판 다듬기 2 (2026-11-18): 대표 사진 · 숫자 그림 · 움직임 ---------- */
/* 대표 사진: 인물 가운데 세로 사진(4:5) + 좁은 사진 칸 */
.pf { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 76px; }
.pf-img img { aspect-ratio: 4 / 5; object-position: 50% 0; }

/* 숫자 그림: 한 덩어리를 나눈 가는 막대 + 이름 · 값 (전송자격인증 > 보완이 나오는 이유) */
.split { margin: 0; padding: 34px 36px 32px; border: 1px solid var(--hair); border-radius: var(--r); background: #fff; }
.split figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 22px; }
.split figcaption b { font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--ink-2); }
.split figcaption span { font-size: 14px; line-height: 20px; color: var(--gray-7); }
.split-bar { display: flex; gap: 2px; height: 8px; }
.split-bar i { flex: 0 0 0; min-width: 0; }
.split-bar i:first-child { border-radius: 4px 0 0 4px; }
.split-bar i:last-child { border-radius: 0 4px 4px 0; }
.split .s1 { background: #303f46; }
.split .s2 { background: #a3b1bf; }
.split .s3 { background: #6f8494; }
.split-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.split-list li { padding-left: 20px; border-left: 1px solid var(--hair); }
.split-list li:first-child { padding-left: 0; border-left: 0; }
.split-list .k { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--gray-5); }
.split-list .sw { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.split-list .v { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; color: var(--ink); }
.split-list .v b { font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -1px; }
.split-list .v span { font-size: 16px; color: var(--gray-6); }
.split-list .v em { margin-left: 8px; font-size: 15px; font-weight: 600; color: var(--gray-7); }
.split-list small { display: block; margin-top: 6px; font-size: 13.5px; line-height: 20px; color: var(--gray-7); }

/* 움직임: 첫 화면의 解 선 마크가 한 획씩 그려진다(움직임 줄이기 설정이면 그대로 둔다) */
@media (prefers-reduced-motion: no-preference) {
  .hero-mark .mk { stroke-dasharray: 1300 1400; animation: mk-draw 2.8s cubic-bezier(.6, .1, .2, 1) .3s both; }
  .hero-mark span { animation: mk-fade .9s ease 2.3s both; }
  .scroll span { background: linear-gradient(#fff, #fff) 0 0 / 100% 100% no-repeat rgba(255, 255, 255, .25); animation: sc-run 2.4s cubic-bezier(.6, 0, .3, 1) 3s infinite; }
}
@keyframes mk-draw { from { stroke-dashoffset: 1320; } to { stroke-dashoffset: 0; } }
@keyframes mk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sc-run { 0% { background-size: 100% 0; background-position: 0 0; } 50% { background-size: 100% 100%; background-position: 0 0; } 51% { background-position: 0 100%; } 100% { background-size: 100% 0; background-position: 0 100%; } }

@media (max-width: 1023px) {
  .pf { grid-template-columns: 1fr; gap: 44px; }
  .pf-img { max-width: 400px; }
}
@media (max-width: 767px) {
  .pf { gap: 32px; }
  .pf-img { max-width: 300px; }
  .split { padding: 24px 20px 22px; }
  .split figcaption b { font-size: 17px; }
  .split-list { grid-template-columns: 1fr; gap: 0; margin-top: 18px; }
  .split-list li, .split-list li:first-child { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--hair); }
  .split-list li:first-child { border-top: 0; padding-top: 4px; }
  .split-list .v { margin-top: 0; }
  .split-list .v b { font-size: 26px; line-height: 30px; }
  .split-list small { grid-column: 1 / -1; margin-top: 2px; }
}

/* ════════════════════════════════════════════════════════════════════
   4판 다듬기 3 (2026-11-18) — 아이콘 걷어내기 · 업무 그림 · 상담 방법
   · 카드마다 붙던 선 아이콘을 걷고, 숫자 · 조문 기호(가~바) · 순번 · 연혁 꼬리표를 앞에 세웠다.
   · 그림은 업무 그림 셋(icons/svc-*.svg)과 상황 그림 넷(assets/case-*.svg)만 둔다.
     解 마크와 같은 각진 선에 연보라 면을 한 겹 올린다.
   · 상담은 전화 · 네이버 예약 · 이메일 세 가지(.ways). 신청서 양식은 두지 않는다.
   ════════════════════════════════════════════════════════════════════ */

/* 선 아이콘의 끝과 모서리를 각지게 — 解 마크와 같은 결 */
.ic { stroke-linecap: square; stroke-linejoin: miter; }

/* 순번 숫자 (일하는 방식 · 비용 안내) */
.card .no { display: block; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--hair); font-family: var(--ff-en); font-size: 30px; line-height: 30px; font-weight: 700; letter-spacing: .02em; color: var(--slate); }

/* 홈 숫자 카드: 숫자가 그림이다 */
.stats li { display: flex; flex-direction: column; min-height: 270px; padding: 38px 35px 36px; }
.stats .num { margin-top: 0; gap: 8px; }
.stats .num b { font-size: 66px; line-height: 66px; letter-spacing: -2px; color: var(--slate-d); }
.stats .num span { font-size: 20px; line-height: 20px; }
.stats strong { position: relative; margin-top: auto; padding-top: 24px; font-size: 22px; line-height: 28px; }
.stats strong::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 3px; background: var(--peri); }
.stats .cap { margin-top: 8px; }

/* 상담 띠: 둥근 아이콘 대신 문장을 키운다 */
.band { min-height: 380px; }
.band h2 { font-size: 34px; line-height: 1.35; font-weight: 700; letter-spacing: -.4px; }
.band p { margin-top: 14px; }

/* 찾아오시는 길 카드의 어두운 칸: 解 마크 */
.ct-panel .mk { width: 76px; height: 75px; stroke-width: 9; color: rgba(255, 255, 255, .92); }

/* 약력: 둥근 아이콘 대신 꼬리표 칸 */
.pf-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 28px; align-items: start; }
.pf-row .yr { position: relative; margin: 0; padding: 5px 0 0 16px; font-size: 15px; line-height: 22px; font-weight: 700; color: var(--slate); }
.pf-row .yr::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; background: var(--peri); }

/* 심사기준 분야: 번호 칸 */
.crit .n { width: 54px; height: 54px; border-radius: 6px; border: 1.5px solid var(--slate); background: none; color: var(--slate); font-family: var(--ff-en); font-size: 24px; line-height: 1; font-weight: 700; transition: background-color .3s, color .3s; }
.crit details[open] .n { background: var(--slate); color: #fff; }
.crit .body { padding-left: 92px; }

/* 절차: 번호를 키우고 아이콘 자리를 없앤다 */
.steps li::before { content: "0" counter(step); font-size: 30px; line-height: 30px; letter-spacing: .02em; color: var(--slate); }
.steps h3 { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hair); }

/* 등록요건: 가~바를 왼쪽 위 네모 칸으로 */
.req .n { position: static; width: 46px; height: 46px; border-radius: 6px; border: 1.5px solid var(--slate); font-size: 19px; color: var(--slate); }
.req h3 { margin-top: 22px; }
.req .key .n { border-color: rgba(255, 255, 255, .7); color: #fff; }

/* 상담 방법 세 가지 */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.way { display: flex; flex-direction: column; border: 1px solid var(--hair); border-radius: var(--r); background: #fff; transition: border-color .3s, box-shadow .3s; }
.way:hover { border-color: var(--slate); box-shadow: var(--sh); }
.way-a { flex: 1; display: flex; flex-direction: column; padding: 36px 32px 30px; }
.way .k { font-size: 15px; line-height: 22px; font-weight: 700; color: var(--navy); }
.way .v { margin-top: 14px; font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: -.6px; color: var(--ink-2); white-space: nowrap; }
.way .v.em { font-size: 22px; letter-spacing: -.2px; white-space: normal; overflow-wrap: anywhere; }
.way .d { margin-top: 16px; font-size: 15.5px; line-height: 1.7; color: var(--gray-6); }
.way .act { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 26px; font-size: 15px; line-height: 22px; font-weight: 700; color: var(--slate); }
.way .act .ic { transition: transform .3s; }
.way-a:hover .act .ic { transform: translateX(4px); }
.way-sub { margin: 0 32px; padding: 14px 0 18px; border-top: 1px solid var(--hair); font-size: 14.5px; line-height: 22px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.way--main { background: var(--slate-d); border-color: var(--slate-d); color: #fff; }
.way--main:hover { border-color: var(--slate-d); }
.way--main .k { color: var(--peri); }
.way--main .v, .way--main .act { color: #fff; }
.way--main .d { color: rgba(255, 255, 255, .78); }
.way--main .way-sub { border-top-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .86); }

@media (max-width: 1279px) {
  .way-a { padding: 30px 26px 26px; }
  .way .v { font-size: 27px; line-height: 36px; }
  .way .v.em { font-size: 19px; }
  .way-sub { margin: 0 26px; }
}
@media (max-width: 1023px) {
  .ways { grid-template-columns: 1fr; gap: 14px; }
  .way .v { font-size: 30px; line-height: 38px; }
  .way .v.em { font-size: 22px; }
  .way .act { padding-top: 20px; }
  .crit .body { padding-left: 92px; }
  .band h2 { font-size: 28px; }
}
@media (max-width: 767px) {
  .card .no { margin-bottom: 16px; padding-bottom: 14px; font-size: 24px; line-height: 24px; }
  .stats li { min-height: 0; padding: 22px 18px 20px; }
  .stats .num { gap: 5px; }
  .stats .num b { font-size: 38px; line-height: 38px; letter-spacing: -1px; }
  .stats .num span { font-size: 13px; line-height: 13px; }
  .stats strong { margin-top: 18px; padding-top: 14px; font-size: 15px; line-height: 20px; }
  .stats strong::before { width: 20px; height: 2px; }
  .stats .cap { margin-top: 4px; }
  .band { min-height: 0; }
  .band h2 { font-size: 21px; line-height: 1.45; }
  .band p { margin-top: 8px; }
  .ct-panel .mk { width: 46px; height: 45px; stroke-width: 11; }
  .pf-row { grid-template-columns: 1fr; gap: 6px; }
  .pf-row .yr { padding-top: 0; font-size: 14px; }
  .pf-row .yr::before { top: 8px; }
  .crit .n { width: 42px; height: 42px; font-size: 19px; }
  .crit .body { padding-left: 6px; }
  .steps li::before { font-size: 24px; line-height: 24px; }
  .steps h3 { margin-top: 16px; padding-top: 16px; }
  .req .n { width: 40px; height: 40px; font-size: 17px; }
  .req h3 { margin-top: 16px; }
  .way-a { padding: 24px 22px 22px; }
  .way .v { margin-top: 8px; font-size: 26px; line-height: 34px; }
  .way .v.em { font-size: 18.5px; }
  .way .d { margin-top: 10px; font-size: 15px; }
  .way .act { padding-top: 16px; }
  .way-sub { margin: 0 22px; padding: 12px 0 14px; }
}

/* ════════════════════════════════════════════════════════════════════
   4판 다듬기 4 (2026-11-18) — 그림 대신 사진
   상황별 안내의 그림과 업무 분야의 선 그림을 사진풍 이미지로 바꿨다(사용자 요청: 아이콘이 아닌 실사류).
   · 상황별 안내: 사진 + 아래쪽 어두운 덮개 위에 꼬리표
   · 업무 분야: 유리 카드 → 사진 카드(사진은 위쪽, 글은 아래쪽 어두운 덮개 위). 구획 뒤 사진은 더 어둡게 누른다.
   · 상담 안내 · 자가진단의 업무 카드: 왼쪽에 사진 칸(.card--photo)
   이미지 원본 · 출처는 site/originals, site/image-credits.json.
   ════════════════════════════════════════════════════════════════════ */

/* 상황별 안내 */
.cs-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 30, 0) 40%, rgba(13, 20, 30, .76) 100%); pointer-events: none; }
.cs-tile span { z-index: 1; }

/* 업무 분야 */
.services {
  background:
    linear-gradient(90deg, rgba(9, 14, 22, .93) 0%, rgba(9, 14, 22, .87) 45%, rgba(9, 14, 22, .83) 100%),
    url(/assets/photo-signing.webp?v=60e764bc) 50% 100% / cover no-repeat #121a24;
}
.sv-card { height: 470px; padding: 0 22px 30px; align-items: flex-start; justify-content: flex-end; text-align: left; background: var(--slate-d); box-shadow: 0 20px 44px rgba(0, 0, 0, .3); }
.sv-card > .sv-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .7s; }
.sv-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 16, 26, 0) 30%, rgba(10, 16, 26, .8) 62%, rgba(10, 16, 26, .96) 100%); pointer-events: none; }
.sv-card > h3, .sv-card > p, .sv-card > .more { z-index: 2; }
.sv-card:hover .sv-img, .sv-card:focus-visible .sv-img { transform: scale(1.05); }
.sv-card h3 { padding-top: 0; font-size: 26px; line-height: 32px; }
.sv-card p { padding-top: 12px; font-size: 15px; line-height: 23.5px; letter-spacing: -.1px; color: rgba(255, 255, 255, .86); }
.sv-card .more { margin-top: 22px; }

/* 사진 칸이 붙은 카드 */
.card--photo { position: relative; overflow: hidden; min-height: 216px; padding-left: 198px; }
.card--photo .thumb { position: absolute; left: 0; top: 0; width: 168px; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .6s; }
a.card--photo:hover .thumb { transform: scale(1.04); }

@media (max-width: 1279px) {
  .sv-card { height: 430px; }
}
@media (max-width: 1023px) {
  .sv-card { height: 340px; padding: 0 22px 24px; }
  .sv-card h3 { font-size: 21px; line-height: 27px; }
  .sv-card p { padding-top: 8px; font-size: 14.5px; line-height: 21.5px; }
  .sv-card .more { margin-top: 14px; }
}
@media (max-width: 767px) {
  .sv-card { height: 320px; padding: 0 20px 22px; }
  .sv-card h3 { font-size: 19px; line-height: 25px; }
  .sv-card p { font-size: 14px; line-height: 21px; }
  .card--photo { min-height: 0; padding: 156px 22px 26px; }
  .card--photo .thumb { width: 100%; height: 134px; object-position: 50% 24%; }
}
