/* ==========================================================================
   pipeclening.korhomemaster.com — 시스템난방 지역난방배관세척
   모티프 M3 하프톤 · Hero H4 띠 스택 · 부품 언어: 각진 사각 / 굵은 룰 / 사각 번호 태그
   브레이크포인트: 1024 / 768 / 480 (그 외 숫자 금지)
   ========================================================================== */

:root {
  color-scheme: only light;
  --primary: #2f4a1c;          /* 딥모스 */
  --primary-d: #223714;
  --accent: #b8e04a;           /* 애시드라임 — 주 CTA · 현재 상태 · 실측 숫자에만 */
  --surface: #f3f5f1;
  --surface-2: #e6ebe1;
  --paper: #ffffff;
  --ink: #141a12;
  --ink-2: #3c4636;
  --muted: #5b6655;
  --line: #cfd6c8;
  --border: #cfd6c8;
  --text-on-light: #141a12;
  --text-on-light-muted: #4e5a48;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #c9d3c1;

  --dp-radius: 0;
  --proc-badge: 48px;
  --proc-badge-radius: var(--dp-radius);
  --proc-line: 2px;

  --font-display: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', sans-serif;
  --font-body: var(--font-display);
  --font-mono: var(--font-display);   /* 라벨·숫자도 Pretendard — 위계는 굵기와 tabular-nums 로 */

  --wrap: 1200px;
  --wrap-narrow: 680px;
  --gutter: clamp(20px, 4vw, 48px);
  --sp-xl: 144px;   /* 넉넉 */
  --sp-l: 112px;    /* 기본 */
  --sp-s: 80px;     /* 촘촘 */
  --mast-h: 76px;
  --sticky-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ── 리셋 · 전역 ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-h) + 16px); }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; background: var(--surface); color: var(--text-on-light);
  font-family: var(--font-body); font-size: 17px; line-height: 1.75; font-weight: 400; font-variant-numeric: tabular-nums;
  padding-top: var(--mast-h);
}
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button, label, figcaption, dt, dd, small, strong {
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.32; margin: 0; letter-spacing: -.02em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); text-wrap: balance; }
h3 { text-wrap: balance; }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:where(a, button, [role="button"], summary) { touch-action: manipulation; }
:where(a, button, [role="button"], summary, .dp-cta, nav a, .ft-quicklinks a) {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: 0; transform: translateY(-120%); background: var(--ink); color: #fff; padding: 8px 16px; z-index: 110; }
.skip:focus { transform: none; }
.br-mobile { display: none; }
.br-wide { display: inline; }
@media (max-width: 1151px) { .br-wide { display: none; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* 사진 안전망 — 파일 자체가 가로지만 컴포넌트에서도 한 번 더 가로로 고정 */
.photo img, .card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; height: auto; }

/* ── eyebrow · 룰 · 눈금 (부품 언어) ─────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; letter-spacing: 0; color: var(--primary);
}
.eyebrow::after { content: ''; flex: 1; max-width: 120px; height: 4px; background: currentColor; }
.eyebrow__no { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 28px; padding: 0 6px; background: var(--ink); color: var(--accent); }
.on-dark .eyebrow, .band .eyebrow, .act .eyebrow { color: var(--accent); }
.on-dark .eyebrow__no, .band .eyebrow__no, .act .eyebrow__no { background: var(--accent); color: var(--ink); }
.ruler {
  height: 14px; border-top: 4px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 24px) top left / 100% 8px no-repeat;
}
.dots {   /* 하프톤 망점 텍스처(CSS) */
  background-image: radial-gradient(circle, rgba(47, 74, 28, .28) 1.6px, transparent 2px);
  background-size: 12px 12px;
}

/* ── 버튼: 각진 사각 + 하단 라임 바 + 선 화살표 ─────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; justify-content: space-between;
  min-height: 56px; padding: 0 22px; border: 2px solid var(--ink);
  font-family: var(--font-body); font-size: 16px; font-weight: 700; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: -6px; height: 4px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.btn--lime { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--lime::after { background: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.on-dark .btn--line, .act .btn--line, .band .btn--line { color: #fff; border-color: #fff; }
.btn:active { transform: translateY(1px); }
.btns { display: flex; flex-wrap: wrap; gap: 14px 16px; list-style: none; }

/* ── 헤더 ───────────────────────────────────────────────────────────────── */
.mast {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--mast-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter); background: var(--surface); color: var(--ink);
  border-bottom: 4px solid var(--ink);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, height .3s ease;
}
.mast.is-scrolled { background: var(--ink); color: #fff; border-color: var(--accent); }
.mast__brand { gap: 12px; text-decoration: none; min-width: 0; }
.mast__mark { flex: none; color: currentColor; }
.mast__dot { fill: var(--accent); }
.mast__names { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.mast__name { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.mast__kw { font-size: 12.5px; font-weight: 500; font-variant: small-caps; letter-spacing: .04em; color: var(--muted); transition: color .3s ease; }
.mast.is-scrolled .mast__kw { color: var(--text-on-dark-muted); }
.mast__cta {
  gap: 10px; min-height: 48px; padding: 0 18px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 4px solid var(--accent);
  transition: background-color .25s ease, color .25s ease;
}
.mast.is-scrolled .mast__cta { background: var(--accent); color: var(--ink); border-color: #fff; }

/* ── HERO (H4 띠 스택) ───────────────────────────────────────────────────── */
.top { background: var(--surface); }
.top__band { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 1600 / 560; max-height: 62vh; max-height: 62dvh; width: 100%; }
.top__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.top__slide.is-on { opacity: 1; }
.top__slide img { width: 100%; height: 100%; object-fit: cover; }
.js .top__band { animation: band-wipe 1.1s var(--ease) both; }
.top__cap {
  position: absolute; left: var(--gutter); bottom: 16px; z-index: 2; margin: 0;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; padding: 6px 12px;
}
.top__ticks { position: absolute; right: var(--gutter); bottom: 10px; z-index: 2; display: flex; gap: 6px; list-style: none; }
.top__tick {
  width: 48px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0 0 14px; position: relative;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: #fff; text-align: left; align-items: flex-end;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.top__tick::before { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 5px; background: rgba(255, 255, 255, .55); transition: background-color .3s ease; }
.top__tick[aria-selected="true"]::before { background: var(--accent); }
.top__type {
  display: grid; grid-template-columns: 6fr 6fr; gap: 24px 64px; align-items: end;
  max-width: var(--wrap); margin-inline: auto; padding: 64px var(--gutter) 56px;
}
.top__title {
  font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 1.08; letter-spacing: -.035em; color: var(--ink);
}
.top__title { grid-column: 1; grid-row: 1 / span 2; align-self: end; }
.js .top__title { animation: rise .9s .25s var(--ease) both; }
.top__lead { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 0; }
.top__btns { grid-column: 2; grid-row: 2; justify-content: flex-start; margin-bottom: 8px; }
.top__lead { font-size: 17.5px; color: var(--ink-2); margin-bottom: 24px; }
.top__lead strong { background: linear-gradient(transparent 62%, var(--accent) 62%); font-weight: 700; }
.js .top__lead, .js .top__btns { animation: rise .9s .45s var(--ease) both; }
.top__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 4px solid var(--ink);
  position: relative; background: url('/assets/artwork/suwon-manifold-hose-halftone-soft.png') center / cover;
}
.top__facts { list-style: none; }
.top__facts > li { padding: 22px var(--gutter); background: rgba(243, 245, 241, .9); border-right: 2px solid var(--line); }
.top__facts > li:last-child { border-right: 0; }
.top__facts .k { display: block; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.top__facts .v { display: block; margin: 0; font-weight: 600; font-size: 16px; line-height: 1.5; }

/* ── 섹션 공통 ──────────────────────────────────────────────────────────── */
.sec { position: relative; }
.sec--xl { padding-block: var(--sp-xl); }
.sec--l { padding-block: var(--sp-l); }
.sec--s { padding-block: var(--sp-s); }
.sec__head { margin-bottom: 56px; max-width: 760px; }
.sec__head p { color: var(--text-on-light-muted); margin-top: 18px; max-width: 620px; }
/* 공통 4:8 분할 — 왼쪽 제목, 오른쪽 내용 (비용·FAQ·세부 섹션이 같은 선을 공유) */
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.split__head { margin-bottom: 0; position: sticky; top: calc(var(--mast-h) + 32px); }
.on-dark { background: var(--ink); color: var(--text-on-dark); }
.on-dark .sec__head p { color: var(--text-on-dark-muted); }

/* ── PROBLEM (L2 증상→원인 대조 행) ──────────────────────────────────────── */
.sym { background: var(--paper); }
.sym__rows { display: grid; gap: 96px; }
.sym-row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.sym-row > figure { margin: 0; grid-column: 1; grid-row: 1; }
.sym-row > .sym-row__body { grid-column: 2; grid-row: 1; }
.sym-row figure img { border-bottom: 6px solid var(--ink); }
.sym-row figcaption { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.sym-row__no { font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--primary); margin-bottom: 8px; }
.sym-row h3 { margin-bottom: 18px; }
.vs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 20px; border-top: 4px solid var(--ink); }
.vs > li { padding: 16px 20px 16px 0; }
.vs > li + li { padding-left: 20px; border-left: 2px solid var(--line); }
.vs .k { display: block; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--primary); }
.vs .v { display: block; margin: 4px 0 0; font-size: 16.5px; line-height: 1.6; }
.linkcard {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; margin-top: 24px;
  padding: 12px; background: var(--surface); text-decoration: none; border-top: 4px solid var(--primary);
  box-shadow: 6px 6px 0 var(--accent); transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.linkcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.linkcard__t { display: block; font-weight: 700; font-size: 16px; }
.linkcard__s { display: block; font-size: 14.5px; color: var(--muted); }

/* ── METHOD (L8 다크 풀블리드 + 타임라인) ───────────────────────────────── */
.method { background: linear-gradient(rgba(20, 26, 18, .72), rgba(20, 26, 18, .72)), var(--ink) url('/assets/artwork/ansan-sludge-black-halftone-dark.png') center / cover; overflow: hidden; }
.method__title { text-align: center; max-width: 900px; margin: 0 auto 72px; }
.method__title h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.method__title .eyebrow { justify-content: center; }
.method__title .eyebrow::after { display: none; }
.method .proc-num { color: var(--ink); background: var(--accent); }
.method .proc-step h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.method .proc-step p { color: var(--text-on-dark-muted); font-size: 15.5px; margin-bottom: 10px; }
.method .proc-step__meta { color: var(--accent); }
.stat {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  margin-top: 96px; padding-top: 40px; border-top: 4px solid var(--accent);
}
.stat__cell { text-align: left; }
.stat__cell:last-child { text-align: right; }
.stat__n { display: block; font-family: var(--font-mono); font-weight: 800; font-size: clamp(2.2rem, 3.8vw, 3rem); line-height: 1; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat__cell:first-child .stat__n { color: #fff; }
.stat__l { display: block; margin-top: 10px; font-size: 15px; color: var(--text-on-dark-muted); }
.stat__arrow { color: var(--accent); }
.stat__note { grid-column: 1 / -1; margin: 0; font-size: 14.5px; color: var(--text-on-dark-muted); }

/* ── 타임라인 (변형 금지 구역 — 색·폰트만 사이트 토큰) ──────────────────── */
.proc-list { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
.proc-step { flex: 1 1 0; min-width: 0; position: relative; padding: 0 12px; text-align: center; }
.proc-step:not(:last-child)::after {
  content: ''; position: absolute; z-index: 0;
  top: calc(var(--proc-badge) / 2 - var(--proc-line) / 2);
  left: 50%; width: 100%; height: var(--proc-line); background: var(--border);
}
.proc-num {
  position: relative; z-index: 1; width: var(--proc-badge); height: var(--proc-badge);
  margin: 0 auto 12px; border-radius: var(--proc-badge-radius);
  background: var(--primary); color: #fff; font-weight: 700; font-family: var(--font-mono);
  display: flex; align-items: center; justify-content: center;
}
.proc-step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.proc-step p { font-size: 15.5px; margin-bottom: 8px; }
.proc-step__meta { display: block; font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; color: var(--primary); }
.js .proc-step[data-reveal] { transition-delay: calc(var(--i, 0) * 90ms); }
@media (max-width: 1024px) {
  .proc-list { flex-direction: column; gap: 32px; }
  .proc-step { padding: 0 0 0 calc(var(--proc-badge) + 16px); text-align: left; }
  .proc-num { position: absolute; left: 0; top: 0; margin: 0; }
  .proc-step:not(:last-child)::after {
    top: var(--proc-badge); left: calc(var(--proc-badge) / 2 - var(--proc-line) / 2);
    width: var(--proc-line); height: calc(100% + 32px);
  }
}

/* ── PROOF (L7 모자이크 — 같은 배치 세트끼리만 묶는다) ───────────────────── */
.proof { background: var(--surface); }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 24px; }
.pair { margin: 0; display: flex; flex-direction: column; background: var(--paper); min-width: 0; }
.pair__imgs { display: grid; grid-template-columns: 1fr; gap: 4px; }
.pair__shot { position: relative; margin: 0; overflow: hidden; }
.pair__shot img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.pair__tag {
  position: absolute; left: 0; top: 0; background: var(--ink); color: #fff; font-family: var(--font-mono);
  font-size: 13px; font-weight: 600; padding: 6px 10px;
}
.pair__shot--after .pair__tag { background: var(--accent); color: var(--ink); }
.pair figcaption { flex: 1; padding: 18px 20px 22px; font-size: 15px; line-height: 1.6; border-top: 4px solid var(--ink); }
.pair figcaption strong { display: block; font-size: 16.5px; }

/* ── COST (L5 좁은 칼럼 + 견적서 표) ────────────────────────────────────── */
/* 비용 섹션 망점 텍스처는 정보량 정리로 제거 */
.cost { background: var(--paper); }
.quote { background: var(--paper); border: 2px solid var(--ink); padding: 28px 28px 20px; box-shadow: 8px 8px 0 var(--ink); }
.quote__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 4px double var(--ink); padding-bottom: 12px; margin-bottom: 8px; }
.quote__head strong { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.quote__head span { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.qt { font-size: 15.5px; min-width: 520px; }
.qt caption { text-align: left; font-size: 14.5px; color: var(--muted); padding: 8px 0 12px; }
.qt th, .qt td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px dashed var(--line); }
.qt thead th { font-family: var(--font-mono); font-size: 13px; color: var(--primary); border-bottom: 2px solid var(--ink); }
.qt tbody th { font-weight: 700; white-space: nowrap; }
.quote__foot { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.prep { margin-top: 56px; }
.prep h3 { margin-bottom: 20px; }
.prep__grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 0; border-top: 4px solid var(--ink); }
.prep__grid li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 16px 18px 0; border-bottom: 2px solid var(--line); background: rgba(255, 255, 255, .85); }
.prep__grid li:nth-child(even) { padding-left: 16px; border-left: 2px solid var(--line); }
.prep__grid svg { flex: none; color: var(--primary); margin-top: 3px; }
.prep__grid strong { display: block; font-size: 16px; }
.prep__grid span { font-size: 14.5px; color: var(--text-on-light-muted); line-height: 1.55; }

/* ── RISK (L6 좌측 스티키 제목 + 펼친 Q&A) ───────────────────────────────── */
.faq { background: var(--surface-2); }
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.prep { margin-top: 64px; }
.faq__aside { position: sticky; top: calc(var(--mast-h) + 32px); }
.faq__aside p { color: var(--text-on-light-muted); margin-top: 16px; }
.qa { list-style: none; counter-reset: qa; }
.qa__item { counter-increment: qa; padding: 28px 0 26px; border-top: 4px solid var(--ink); position: relative; }
.qa__item:last-child { border-bottom: 4px solid var(--ink); }
.qa__item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.075rem; line-height: 1.45; padding-left: 64px; margin-bottom: 12px; }
.qa__item h3::before {
  content: 'Q' counter(qa); position: absolute; left: 0; top: 28px; font-family: var(--font-mono);
  font-size: 14px; background: var(--ink); color: var(--accent); padding: 4px 8px;
}
.qa__item p { padding-left: 64px; margin: 0; color: var(--ink-2); font-size: 16.5px; }

/* ── ACTION (L4 오프셋 겹침 CTA) ────────────────────────────────────────── */
.act { background: var(--primary); color: var(--text-on-dark); overflow: hidden; }
.act__grid { display: grid; grid-template-columns: 7fr 5fr; align-items: center; }
.act__media { margin: 0; grid-column: 1 / span 1; grid-row: 1; position: relative; }
.act__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.act__media::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(20, 26, 18, .35) 1.4px, transparent 1.8px); background-size: 10px 10px; pointer-events: none; }
.act__ticket {
  grid-column: 1 / -1; grid-row: 1; justify-self: end; width: min(560px, 100%); position: relative; z-index: 1;
  background: var(--ink); color: var(--text-on-dark); padding: 44px 40px 36px;
  border-top: 8px solid var(--accent); box-shadow: -12px 12px 0 rgba(0, 0, 0, .35);
}
.act__ticket h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 16px; }
.act__ticket > p { color: var(--text-on-dark-muted); }
.act__ticket .btns { margin-top: 28px; }
.act__ticket .btn { min-height: 52px; }
.act__ticket small { display: block; margin-top: 22px; font-size: 14.5px; color: var(--text-on-dark-muted); border-top: 1px dashed rgba(255, 255, 255, .3); padding-top: 14px; }

/* ── 세부페이지 ─────────────────────────────────────────────────────────── */
.crumb { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter) 0; font-size: 14.5px; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumb li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.crumb li:not(:last-child)::after { content: '/'; color: var(--line); }
.crumb a { min-height: 44px; justify-content: center; text-decoration: underline; text-underline-offset: 3px; }
.dt-hero { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 0; display: grid; grid-template-columns: 6fr 6fr; gap: 0; align-items: stretch; }
.dt-hero__media { margin: 0; position: relative; }
.dt-hero__media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dt-hero__media figcaption { position: absolute; left: 0; bottom: 0; background: var(--accent); color: var(--ink); font-family: var(--font-mono); font-size: 13px; font-weight: 600; padding: 6px 10px; }
.dt-hero__text { background: var(--ink); color: var(--text-on-dark); padding: 40px 36px; display: flex; flex-direction: column; justify-content: flex-end; }
.dt-hero__text h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 20px; }
.js .dt-hero__text h1 { animation: rise .9s .2s var(--ease) both; }
.dt-hero__text p { color: var(--text-on-dark-muted); font-size: 16.5px; }
.answer { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.answer__box { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 32px 0; border-bottom: 4px solid var(--ink); }
.answer__box .eyebrow { margin: 4px 0 0; }
.answer__box .eyebrow::after { display: none; }
.answer__box p { margin: 0; font-size: 17.5px; font-weight: 500; line-height: 1.7; }
.answer__box strong { background: linear-gradient(transparent 62%, var(--accent) 62%); }

.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 20px; }
.checks li { display: flex; flex-direction: column; height: 100%; background: var(--paper); padding: 22px 22px 20px; border-top: 4px solid var(--primary); }
.checks li strong { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; padding-left: 30px; position: relative; }
.checks li strong::before { content: ''; position: absolute; left: 2px; top: .35em; width: 14px; height: 8px; border-left: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: rotate(-45deg); }
.checks li span { font-size: 15px; color: var(--text-on-light-muted); line-height: 1.6; }

.cmp { font-size: 15.5px; min-width: 640px; background: var(--paper); }
.cmp caption { text-align: left; font-size: 14.5px; color: var(--muted); padding-bottom: 12px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 2px solid var(--line); }
.cmp thead th { background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 13.5px; }
.cmp tbody th { font-weight: 700; background: var(--surface-2); }
.cmp td.is-hit { font-weight: 700; }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--ink); }
.ba__shot { margin: 0; position: relative; }
.ba__shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ba__label { position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-weight: 600; font-size: 14px; padding: 8px 12px; background: var(--ink); color: #fff; }
.ba__shot--after .ba__label { background: var(--accent); color: var(--ink); }
.ba__shot figcaption { padding: 16px 20px 20px; color: var(--text-on-dark-muted); font-size: 15px; }
.ba__shot figcaption strong { display: block; color: #fff; font-size: 16.5px; }
.ba__shot--after figcaption { border-left: 2px solid rgba(255, 255, 255, .15); }

.callout { max-width: 840px; display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; padding: 32px; background: var(--paper); border-left: 8px solid var(--ink); }
.callout svg { color: var(--primary); }
.callout h3, .callout .h3 { margin-bottom: 14px; font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.callout ul { list-style: none; display: grid; gap: 12px; }
.callout li { padding-left: 22px; position: relative; font-size: 16px; }
.callout li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; background: var(--ink); }

.dt-sec__split { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
.dt-sec__split > .sec__head { margin-bottom: 0; }
.dt-sec__split > .sec__head h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; align-items: stretch; gap: 20px; list-style: none; }
.cards--1 { grid-template-columns: minmax(0, 26rem); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; align-items: stretch; height: 100%; min-width: 0; background: var(--paper); text-decoration: none; border-top: 4px solid var(--ink); position: relative; transition: border-color .3s ease; }
.card::before { content: ''; position: absolute; left: 0; top: -4px; height: 4px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card__img { display: grid; overflow: hidden; }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.card__cat { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--primary); }
.card__t { font-weight: 700; font-size: 16.5px; line-height: 1.45; margin: 4px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__d { font-size: 14.5px; color: var(--text-on-light-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__go { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.card--contact { background: var(--ink); color: #fff; }
.card--contact .card__img { background: var(--primary); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.card--contact .card__img.dots { background-color: var(--primary); background-image: radial-gradient(circle, rgba(184, 224, 74, .35) 1.6px, transparent 2px); }
.card--contact .card__cat { color: var(--accent); }
.card--contact .card__d { color: var(--text-on-dark-muted); }

.band { background: var(--ink); color: var(--text-on-dark); position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, transparent 0 22px, rgba(184, 224, 74, .09) 22px 24px); pointer-events: none; }
.band__inner { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.band h2 { margin-bottom: 14px; }
.band p { color: var(--text-on-dark-muted); margin: 0; }
.band small { display: block; margin-top: 18px; color: var(--text-on-dark-muted); font-size: 14.5px; }
.band .btns { justify-content: flex-end; }
.band .btn { min-height: 52px; }


/* ── 세부페이지 블록 변형 (blocks.php) ─────────────────────────────────── */
.dh { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 0; display: grid; }
.dh__media { margin: 0; position: relative; }
.dh__media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dh__media figcaption { position: absolute; left: 0; bottom: 0; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 600; padding: 6px 10px; }
.dh h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 20px; }
.js .dh h1 { animation: rise .9s .2s var(--ease) both; }
.dh__lead { margin: 0; font-size: 16.5px; }
/* split: 사진 | 다크 글 패널 */
.dh--split { grid-template-columns: 6fr 6fr; }
.dh--split .dh__text { background: var(--ink); color: var(--text-on-dark); padding: 40px 36px; display: flex; flex-direction: column; justify-content: flex-end; }
.dh--split .eyebrow { color: var(--accent); }
.dh--split .dh__lead { color: var(--text-on-dark-muted); }
/* stack: 넓은 사진 위, 제목·리드 아래 6:6 */
.dh--stack { grid-template-columns: 6fr 6fr; gap: 0 64px; }
.dh--stack .dh__media { grid-column: 1 / -1; }
.dh--stack .dh__media img { aspect-ratio: 16 / 7; }
.dh--stack .dh__text { grid-column: 1 / -1; display: grid; grid-template-columns: 6fr 6fr; gap: 0 64px; align-items: end; padding-top: 48px; }
.dh--stack .eyebrow { grid-column: 1 / -1; }
.dh--stack h1 { margin: 0; }
.dh--stack .dh__lead { color: var(--ink-2); }
/* band: 밝은 글(왼쪽) | 사진(오른쪽) — DOM 은 사진 먼저, 배치는 grid-column 으로 */
.dh--band { grid-template-columns: 5fr 7fr; gap: 0 56px; align-items: center; padding-top: 40px; }
.dh--band .dh__media { grid-column: 2; grid-row: 1; }
.dh--band .dh__text { grid-column: 1; grid-row: 1; border-top: 4px solid var(--ink); padding-top: 28px; }
.dh--band .dh__lead { color: var(--ink-2); }
/* offset: 사진 위로 흰 카드가 걸침 */
.dh--offset { grid-template-columns: repeat(12, 1fr); }
.dh--offset .dh__media { grid-column: 1 / 10; grid-row: 1; }
.dh--offset .dh__text { grid-column: 7 / 13; grid-row: 1; align-self: end; margin-bottom: -48px; position: relative; z-index: 1;
  background: var(--paper); padding: 36px 36px 32px; border-top: 6px solid var(--primary); box-shadow: 10px 10px 0 var(--ink); }
.dh--offset .dh__lead { color: var(--ink-2); }
.dh--offset + .answer, .dh--offset + section { margin-top: 88px; }
.answer--rule .answer__box { grid-template-columns: 1fr; gap: 10px; border-bottom: 0; border-left: 6px solid var(--primary); padding: 8px 0 8px 28px; margin-top: 48px; }
.sec--tint { background: var(--surface-2); }
.cmp--stripe thead th { background: transparent; color: var(--primary); border-bottom: 4px solid var(--ink); }
.cmp--stripe tbody th { background: transparent; }
.cmp--stripe tbody tr:nth-child(odd) { background: var(--surface-2); }
.sec--paper { background: var(--paper); }
.qt--wide { min-width: 560px; }
.tick-rows { list-style: none; border-top: 4px solid var(--ink); }
.tick-rows li { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; padding: 20px 0; border-bottom: 2px solid var(--line); }
.tick-rows strong { font-weight: 700; font-size: 16.5px; }
.tick-rows span { color: var(--text-on-light-muted); font-size: 15.5px; }
.ph-side { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.ph-side__media { margin: 0; }
.ph-side__media figcaption, .ph-wide figcaption { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.ph-wide { margin: 0 0 56px; }
.ph-wide img { aspect-ratio: 16 / 7; }
.notes { list-style: none; margin: 0; border-top: 4px solid var(--ink); }
.notes > li { padding: 18px 0; border-bottom: 2px solid var(--line); display: grid; grid-template-columns: 9em 1fr; gap: 20px; }
.notes__k { font-weight: 700; color: var(--primary); font-size: 15px; }
.notes__v { margin: 0; font-size: 16px; }
.notes--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 0; }
.notes--3 > li { grid-template-columns: 1fr; gap: 6px; border-top: 4px solid var(--ink); border-bottom: 0; }
.erows { list-style: none; border-top: 4px solid var(--ink); }
.erows li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 26px 0; border-bottom: 2px solid var(--line); }
.erows__no { font-weight: 800; font-size: 28px; line-height: 1; color: var(--primary); letter-spacing: -.03em; }
.erows h3 { margin-bottom: 8px; }
.erows p { margin: 0; color: var(--ink-2); font-size: 16px; }
.faq--stack .qa { max-width: 860px; }
.faq--grid .qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq--grid .qa__item:nth-last-child(2) { border-bottom: 4px solid var(--ink); }
.answer--tint .answer__box { grid-template-columns: 1fr; gap: 12px; border-bottom: 0; background: var(--surface-2); padding: 36px 40px; margin-top: 40px; border-top: 6px solid var(--primary); }
.cta-lime { background: var(--accent); color: var(--ink); }
.cta-lime .eyebrow, .cta-lime .eyebrow::after { color: var(--ink); }
.cta-lime .eyebrow__no { background: var(--ink); color: var(--accent); }
.cta-lime h2 { margin-bottom: 14px; }
.cta-lime p { margin: 0; color: var(--ink-2); }
.cta-lime small { display: block; margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.cta-lime .btns { justify-content: flex-end; }
.cta-lime .btn { min-height: 52px; }
.cta-lime .btn--line { color: var(--ink); border-color: var(--ink); }
.cta-lime .btn::after { background: var(--ink); }
/* 메인 5-Image 내부링크 그리드 */
.hub { background: var(--paper); }
.hub__list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.hub__list .card__t { -webkit-line-clamp: 2; }
@media (max-width: 1024px) {
  .dh--split, .dh--stack, .dh--band, .dh--offset { grid-template-columns: 1fr; gap: 0; }
  .dh--stack .dh__text { grid-template-columns: 1fr; gap: 16px; }
  .dh--band .dh__media, .dh--band .dh__text, .dh--offset .dh__media, .dh--offset .dh__text { grid-column: 1; grid-row: auto; }
  .dh--band .dh__text { margin-top: 32px; }
  .dh--offset .dh__text { margin: -40px 16px 0; }
  .dh--offset + .answer, .dh--offset + section { margin-top: 0; }
  .ph-side { grid-template-columns: 1fr; gap: 32px; }
  .hub__list { grid-template-columns: repeat(3, 1fr); }
  .cta-lime .btns { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .dh { padding-inline: 0; }
  .dh--stack .dh__text, .dh--band .dh__text { padding-inline: var(--gutter); }
  .dh--band .dh__text { border-top: 0; }
  .dh--offset .dh__media figcaption { bottom: auto; top: 0; }
  .dh--split .dh__text { padding: 30px 22px; }
  .dh--offset .dh__text { padding: 26px 22px; box-shadow: 6px 6px 0 var(--ink); }
  .dh--stack .dh__media img { aspect-ratio: 16 / 9; }
  .tick-rows li { grid-template-columns: 1fr; gap: 4px; }
  .notes > li { grid-template-columns: 1fr; gap: 4px; }
  .notes--3 { grid-template-columns: 1fr; }
  .erows li { grid-template-columns: 48px 1fr; gap: 16px; }
  .erows__no { font-size: 22px; }
  .hub__list { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .faq--grid .qa { grid-template-columns: 1fr; }
  .answer--tint .answer__box { padding: 26px 22px; }
  .qt--wide { min-width: 0; }
}

/* ── 상담 페이지 ────────────────────────────────────────────────────────── */
.ct-head { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 24px; display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.ct-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -.035em; }
.js .ct-head h1 { animation: rise .9s .15s var(--ease) both; }
.ct-head p { color: var(--ink-2); margin: 0; }
.ct-lines { width: min(calc(100% - var(--gutter) * 2), calc(var(--wrap) - var(--gutter) * 2)); margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 0; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.ct-line { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 36px 32px 32px 0; text-decoration: none; position: relative; }
.ct-line + .ct-line { padding-left: 32px; border-left: 2px solid var(--line); }
.ct-line__k { font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--primary); }
.ct-line__n { font-family: var(--font-mono); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; margin: 10px 0 12px; letter-spacing: -.02em; }
.ct-line__d { font-size: 15.5px; color: var(--text-on-light-muted); flex: 1; }
.ct-line__go { margin-top: 18px; align-self: flex-start; }
.ct-photo { margin: 0; position: sticky; top: calc(var(--mast-h) + 32px); }
.ct-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ct-photo figcaption { font-size: 14.5px; color: var(--muted); padding-top: 10px; }
.why { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.why li { display: flex; flex-direction: column; height: 100%; padding: 26px 24px; background: var(--paper); border-top: 4px solid var(--primary); }
.why svg { color: var(--primary); margin-bottom: 14px; }
.why strong { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.why span { font-size: 15px; color: var(--text-on-light-muted); line-height: 1.6; }
[data-page="contact"] #mob-bar, [data-page="contact"] #float-cta { display: none !important; }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.nf__body { padding-block: var(--sp-xl); }
.nf__body h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 20px; }
.nf { background: var(--surface); }
.nf__lead { font-size: 17px; color: var(--ink-2); max-width: 34em; }
.nf__links { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* ── 푸터 (좌측 클러스터) ───────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--text-on-dark); padding: 64px var(--gutter) 32px; }
.site-footer .ft-inner { max-width: 1200px; margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; text-align: left; }
.ft-cluster__title { font-size: 14.5px; font-weight: 700; margin-bottom: 12px; font-family: var(--font-mono); color: var(--accent); }
.ft-cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ft-quicklinks { gap: 0 !important; }
.site-footer .ft-quicklinks a { min-height: 30px; }
.ft-cluster li { font-size: 14.5px; color: var(--text-on-dark-muted); line-height: 1.6; }
.ft-cluster--biz li { display: grid; grid-template-columns: 8.5em 1fr; gap: 8px; }
.ft-k { color: #fff; font-weight: 700; }
.ft-quicklinks a { color: #fff; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .25s ease; }
.ft-services { display: flex; flex-wrap: wrap; gap: 0 20px; }
.ft-bottom { max-width: 1200px; margin-inline: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 40px; padding-top: 16px; color: var(--text-on-dark-muted); gap: 12px; }

/* ── 고정 CTA ───────────────────────────────────────────────────────────── */
.float-cta {
  position: fixed; right: 24px; z-index: 80; bottom: calc(24px + env(safe-area-inset-bottom));
  width: 60px; height: 60px; justify-content: center; background: var(--accent); color: var(--ink);
  font-weight: 700; text-decoration: none; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .3s ease, visibility .3s ease;
}
.js .float-cta:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(12px); }
.float-cta::before { content: ''; position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; background: var(--ink); animation: blink 1.2s steps(2, jump-none) infinite; }
.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink); border-top: 4px solid var(--accent); padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
.sticky-bar { justify-content: space-between; gap: 12px; color: #fff; text-decoration: none; font-size: 14.5px; }
.sticky-bar strong { background: var(--accent); color: var(--ink); padding: 10px 16px; font-size: 15px; }

/* ── 리빌 · 키프레임 ────────────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* 마스크 와이프: 요소는 자르지 않고 덮개 색면이 걷힌다(clip-path 로 자르면 IntersectionObserver·lazy 로딩이 교차 0 으로 본다) */
.js [data-reveal="wipe"] { opacity: 1; transform: none; position: relative; }
.js [data-reveal="wipe"]::before { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--ink); transform-origin: bottom; transition: transform .9s var(--ease); }
.js [data-reveal="wipe"].is-in::before { transform: scaleY(0); }
.js [data-stagger] > * { transition-delay: calc(var(--i, 0) * 80ms); }

@keyframes band-wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: .2; } }

/* ── 호버 (포인터 기기 전용) ────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after { transform: scaleX(1); }
  .btn:hover svg { transform: translateX(4px); }
  .btn--ink:hover { background: var(--primary); }
  .btn--line:hover { background: var(--ink); color: #fff; }
  .on-dark .btn--line:hover, .act .btn--line:hover, .band .btn--line:hover { background: #fff; color: var(--ink); }
  .btn--lime:hover { background: #c9ec62; }
  .mast__cta:hover { background: var(--primary); }
  .mast.is-scrolled .mast__cta:hover { background: #c9ec62; }
  .linkcard:hover { box-shadow: 10px 10px 0 var(--accent); transform: translate(-2px, -2px); }
  .pair__shot:hover img { transform: scale(1.04); }
  .card:hover::before { transform: scaleX(1); }
  .ft-quicklinks a:hover { border-color: var(--accent); }
  .float-cta:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
  .crumb a:hover { color: var(--primary); }
}

/* ── 반응형 ─────────────────────────────────────────────────────────────── */
@media (max-width: 1151px) {
  .float-cta { display: none; }
}
@media (max-width: 1024px) {
  :root { --sp-xl: 112px; --sp-l: 88px; --sp-s: 64px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__head { position: static; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__grid > :last-child { grid-column: 1 / -1; }
  .top__type { grid-template-columns: 1fr; align-items: start; }
  .top__title, .top__lead, .top__btns { grid-column: 1; grid-row: auto; }
  .top__btns { justify-content: flex-start; }
  .top__band { aspect-ratio: 16 / 7; }
  .sym-row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .faq__aside { position: static; }
  .act__ticket { padding: 36px 30px 30px; }
  .dt-hero { grid-template-columns: 1fr; }
  .dt-sec__split { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(3, 1fr); }
  .ct-head { grid-template-columns: 1fr; }
  .ct-photo { position: static; }
    .band__inner { grid-template-columns: 1fr; }
  .band .btns { justify-content: flex-start; }
}
@media (max-width: 768px) {
  :root { --sp-xl: 80px; --sp-l: 64px; --sp-s: 56px; --mast-h: 66px; }
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
  .br-desktop { display: none; }
  .br-mobile { display: inline; }
  .dp-g2, .dp-g3 { grid-template-columns: 1fr; }
  .float-cta { display: none; }
  .sticky-bar { display: flex; }
  .mast__mark { width: 34px; height: 34px; }
  .mast__name { font-size: 17px; }
  .top__band { aspect-ratio: 16 / 9; max-height: 44vh; max-height: 44dvh; }
  .top__ticks { display: none; }
  .top__cap { left: 12px; right: 12px; bottom: 12px; font-size: 13px; }
  .top__type { padding-top: 32px; }
  .top__facts { grid-template-columns: 1fr; }
  .top__facts > li { border-right: 0; border-bottom: 2px solid var(--line); }
  .sym__rows { gap: 56px; }
  .sym-row { grid-template-columns: 1fr; gap: 20px; }
  .sym-row > figure, .sym-row > .sym-row__body { grid-column: 1; grid-row: auto; }
  .vs { grid-template-columns: 1fr; }
  .vs > li + li { padding-left: 0; border-left: 0; border-top: 2px solid var(--line); }
  .linkcard { grid-template-columns: 120px 1fr; }
  .stat { grid-template-columns: 1fr; text-align: left; }
  .stat__cell:last-child { text-align: left; }
  .stat__arrow { transform: rotate(90deg); }
  .proof__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .proof__grid > :last-child { grid-column: auto; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp tbody tr { border-bottom: 2px solid var(--line); }
  .cmp tbody th { border: 0; padding: 14px 16px 10px; }
  .cmp td { border: 0; padding: 4px 16px 10px; }
  .cmp td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--primary); }
  .quote { padding: 22px 18px 16px; box-shadow: 5px 5px 0 var(--ink); }
  .qt { min-width: 0; }
  .qt thead { display: none; }
  .qt tr, .qt th, .qt td { display: block; }
  .qt tbody tr { padding: 14px 0; border-bottom: 1px dashed var(--line); }
  .qt tbody th, .qt td { border: 0; padding: 2px 0; }
  .qt tbody th { font-size: 16px; margin-bottom: 4px; }
  .qt td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--primary); margin-top: 6px; }
  .prep__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .prep__grid li:nth-child(even) { padding-left: 0; border-left: 0; }
  .qa__item h3, .qa__item p { padding-left: 0; }
  .qa__item h3 { padding-top: 40px; }
  .act__grid { grid-template-columns: 1fr; }
  .act__media { grid-column: 1; grid-row: 1; }
  .act__ticket { grid-column: 1; grid-row: 2; justify-self: stretch; width: auto; margin: -48px 16px 0; padding: 32px 24px 26px; }
  .answer__box { grid-template-columns: 1fr; gap: 12px; }
  .checks { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ba { grid-template-columns: 1fr; }
  .ba__shot--after figcaption { border-left: 0; }
  .callout { grid-template-columns: 1fr; padding: 24px; }
  .cards { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ct-lines { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ct-line { padding: 28px 0; }
  .ct-line + .ct-line { padding-left: 0; border-left: 0; border-top: 2px solid var(--line); }
  .why { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-footer .ft-inner { grid-template-columns: 1fr; text-align: left; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  body { font-size: 16.5px; }
  .mast__kw { display: none; }
  .mast__cta { padding: 0 14px; font-size: 14.5px; }
  .top__title { font-size: clamp(2.6rem, 12vw, 3.25rem); }
  .dt-hero__text { padding: 30px 22px; }
  .ft-cluster--biz li { grid-template-columns: 1fr; gap: 0; }
}

/* ── 모션 감소 ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-footer .ft-quicklinks a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="wipe"]::before { display: none; }
}

/* ── 지역서비스 허브 (접기/펼치기 · 모바일 2열) ───────────────────────────── */
.rg-note { color: var(--muted); font-size: .9rem; padding-block: var(--sp-s) 0 }
.rg { border: 1px solid var(--line); margin-bottom: 14px; background: var(--paper) }
.rg__sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; min-height: 48px; cursor: pointer; font-weight: 800; list-style: none }
.rg__sum::-webkit-details-marker { display: none }
.rg__sum::after { content: '+'; font-size: 1.3rem; color: var(--primary); margin-left: auto; padding-left: 12px }
.rg[open] > .rg__sum::after { content: '–' }
.rg__name { font-size: 1.1rem }
.rg__meta { color: var(--muted); font-weight: 600; font-size: .86rem }
.rg__body { padding: 0 18px 18px }
.rg__scope { margin: 0 0 14px; color: var(--ink-2) }
.rg__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none }
.rg__card { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); min-width: 0 }
.rg__city { font-weight: 800; font-size: .95rem; overflow-wrap: anywhere }
a.rg__city { color: var(--primary); text-decoration: underline; text-underline-offset: 3px }
.rg__adm { color: var(--muted); font-size: .82rem; overflow-wrap: anywhere }
@media (max-width: 768px) { .rg__cards { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 360px) { .rg__cards { grid-template-columns: 1fr } }
