/* 임팩트 반사경수리 — 교통안전 도면 × 볼록거울 */
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;
}

:root {
  color-scheme: only light;
  --primary: #25300A;
  --primary-2: #34420F;
  --accent: #D4F01E;
  --surface: #F2F4EF;
  --paper: #FFFFFF;
  --ink: #111310;
  --ink-2: #3B4036;
  --muted: #5A6154;
  --border: #C9CEC6;
  --rule: #111310;
  --text-on-light: #111310;
  --text-on-dark: #F4F7EC;
  --text-on-dark-2: #C8D0B8;
  --dp-radius: 2px;
  --shadow-hard: 6px 6px 0 var(--ink);
  --f-display: 'Black Han Sans', 'SUIT Variable', sans-serif;
  --f-body: 'SUIT Variable', 'SUIT', sans-serif;
  --f-mono: 'SUIT Variable', 'SUIT', sans-serif;
  --f-num: 'DM Mono', ui-monospace, monospace;
  --wrap: 1200px;
  --narrow: 680px;
  --gut: clamp(20px, 4vw, 48px);
  --sp-tight: clamp(56px, 7vw, 88px);
  --sp-loose: clamp(80px, 9vw, 124px);
  --sticky-h: 64px;
  --proc-badge: 52px;
  --proc-badge-radius: var(--dp-radius);
  --proc-line: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; background: var(--paper); color: var(--text-on-light);
  font-family: var(--f-body); font-size: 19px; line-height: 1.75; font-weight: 450;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 400; }
h1, h2 { font-family: var(--f-display); letter-spacing: -0.01em; }
h3 { font-family: var(--f-body); font-weight: 800; font-size: 1.12rem; }
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.btn, button, [role="button"], summary, .dp-cta, nav a, .ft-quicklinks a, .hdr-logo, .sticky-bar__btn, .float-cta) {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.br-mobile { display: none; }

/* ---------- 공통 레이아웃 ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sp-loose); position: relative; }
.sec--tight { padding-block: var(--sp-tight); }
.sec--dark { background: var(--primary); color: var(--text-on-dark); }
.sec--surface { background: var(--surface); }
.sec-title { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 20px; }
.sec-lead { font-size: 1.08rem; color: var(--ink-2); max-width: 46em; }
.sec--dark .sec-lead { color: var(--text-on-dark-2); }
.eyebrow {
  font-family: var(--f-mono); font-size: .86rem; letter-spacing: .04em; color: var(--muted);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 36px; height: 2px; background: currentColor; }
.sec--dark .eyebrow { color: var(--accent); }

.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dp-stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; align-items: center; }

/* 사진 안전망 — 파일 자체가 가로(4:3)이고 CSS는 이중 방어 */
.photo img, .card img, .hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; height: auto; }
.photo { margin: 0; position: relative; }
.photo figcaption { font-family: var(--f-mono); font-size: .84rem; color: var(--muted); padding-top: 10px; }
.tag {
  position: absolute; left: 0; top: 0; z-index: 2; background: var(--ink); color: var(--accent);
  font-family: var(--f-mono); font-size: .82rem; padding: 6px 12px; letter-spacing: .06em;
}
.tag--after { background: var(--accent); color: var(--ink); }

/* 도면 모티프 (M1) */
.grid-paper {
  background-image:
    repeating-linear-gradient(0deg, rgba(17, 19, 16, .06) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(17, 19, 16, .06) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(17, 19, 16, .03) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(17, 19, 16, .03) 0 1px, transparent 1px 12px);
}
.ruler {
  height: 16px; border-top: 2px solid var(--rule);
  background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 12px) top / 100% 8px no-repeat;
}
.sec--dark .ruler { border-color: var(--text-on-dark-2); background-image: repeating-linear-gradient(90deg, var(--text-on-dark-2) 0 1px, transparent 1px 12px); }
.sight path, .sight circle, .sight line { vector-effect: non-scaling-stroke; }
.draw path, .draw line, .draw circle, .draw polyline { stroke-dasharray: 600; stroke-dashoffset: 600; }
.draw.is-in path, .draw.is-in line, .draw.is-in circle, .draw.is-in polyline { animation: draw 1.2s var(--ease) forwards; }
html:not(.js) .draw path, html:not(.js) .draw line, html:not(.js) .draw circle, html:not(.js) .draw polyline { stroke-dashoffset: 0; }

/* ---------- 버튼 (각진 + 하단 룰 + 화살표) ---------- */
.btn {
  gap: 14px; justify-content: center; padding: 12px 22px; min-height: 52px;
  font-family: var(--f-body); font-weight: 800; font-size: 1.02rem; text-decoration: none;
  border: 2px solid var(--ink); border-radius: var(--dp-radius); position: relative;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .2s;
}
.btn--solid { background: var(--accent); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--ghost-dark { color: var(--text-on-dark); border-color: var(--text-on-dark); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn__arrow { width: 18px; height: 2px; background: currentColor; position: relative; transition: width .2s var(--ease); }
.btn__arrow::after {
  content: ''; position: absolute; right: 0; top: -4px; width: 8px; height: 8px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}
.link-rule {
  font-weight: 800; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px; transition: background-size .25s var(--ease);
}

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
  border-bottom: 2px solid transparent;
}
.site-header.is-scrolled { background: var(--paper); border-bottom-color: var(--ink); }
.hdr-inner { max-width: var(--wrap); margin-inline: auto; padding: 14px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hdr-logo { gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { flex: none; }
.hdr-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.hdr-logo__name { font-family: var(--f-display); font-size: 1.5rem; }
.hdr-logo__tagline { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; font-variant: small-caps; color: var(--muted); margin-top: 3px; }
.hdr-cta { min-height: 48px; background: var(--paper); }
body { padding-top: 0; }

/* ---------- HERO (H7 사선 클립) ---------- */
.hero { display: grid; grid-template-columns: 5fr 7fr; grid-template-areas: "copy media"; min-height: 88vh; min-height: 88dvh; background: var(--surface); position: relative; }
.hero__copy { grid-area: copy; padding: 140px var(--gut) 72px max(var(--gut), calc((100% * 12 / 5 - var(--wrap)) / 2 + var(--gut))); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero__media { grid-area: media; position: relative; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; background: var(--ink); animation: clip-in 1s var(--ease) both; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.hero__slide.is-on img { animation: kenburns 9s ease-out both; }
.hero__sight { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; color: var(--accent); }
.hero__cap {
  position: absolute; right: 0; bottom: 0; z-index: 3; background: var(--ink); color: var(--text-on-dark);
  font-family: var(--f-mono); font-size: .84rem; padding: 10px 16px; max-width: 80%;
}
.hero h1 { font-size: clamp(2.2rem, 7vw, 6rem); line-height: 1.02; margin: 4px 0 26px; animation: rise .9s var(--ease) .1s both; }
.hero-sub { font-size: 1.12rem; color: var(--ink-2); max-width: 30em; animation: rise .9s var(--ease) .25s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; animation: rise .9s var(--ease) .4s both; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding-top: 18px; border-top: 2px solid var(--ink); }
.hero__facts li { min-width: 0; display: flex; flex-direction: column; }
.hero__facts .k { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.hero__facts .v { font-weight: 800; }

/* ---------- PROBLEM (L3 초대형 번호 + 구조도 핀) ---------- */
.problem { background: var(--paper); }
.problem__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.diagram {
  margin: 0; border: 2px solid var(--ink); background: var(--surface) url('/assets/artwork/incheon-alley-mirror-halftone-soft.png') center / cover;
  position: relative; padding: 18px; position: sticky; top: 110px;
}
.diagram svg { width: 100%; height: auto; display: block; background: rgba(255, 255, 255, .82); }
.diagram figcaption { font-family: var(--f-mono); font-size: .84rem; margin-top: 12px; background: var(--paper); padding: 6px 10px; display: inline-block; }
.pin { font-family: var(--f-mono); font-size: 13px; }
.symptoms { list-style: none; counter-reset: s; }
.symptom { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; padding: 28px 0; border-top: 2px solid var(--ink); }
.symptom:last-child { border-bottom: 2px solid var(--ink); }
.symptom__no { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--ink); grid-row: span 2; }
.symptom h3 { font-size: 1.25rem; }
.symptom__pair { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 0; }
.symptom__pair li { display: flex; flex-direction: column; border-left: 3px solid var(--border); padding-left: 12px; }
.symptom__pair .k { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.symptom__pair .v { font-size: 1rem; }

/* ---------- METHOD (L8 다크 + 타임라인) ---------- */
.method__panel { margin: 0 0 48px; position: relative; border: 2px solid var(--text-on-dark-2); }
.method__panel img { width: 100%; height: clamp(180px, 26vw, 320px); aspect-ratio: auto; object-fit: cover; }
.method__panel figcaption { position: absolute; left: 0; bottom: 0; background: var(--accent); color: var(--ink); font-family: var(--f-mono); font-size: .84rem; padding: 6px 12px; }
.method__head { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; margin-bottom: 56px; }

/* 프로세스 — 변형 금지 구역 (토큰만 교체) */
.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;
  display: flex; align-items: center; justify-content: center;
}
@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);
  }
}
/* 타임라인 스킨 — 노치 태그 번호 */
.proc-num { font-family: var(--f-mono); font-size: 1.1rem; clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%); transition: background-color .3s, color .3s; }
.sec--dark .proc-num { background: var(--accent); color: var(--ink); }
.sec--dark .proc-step:not(:last-child)::after { background: rgba(244, 247, 236, .35); }
.proc-step h3 { font-size: 1.1rem; margin-bottom: 12px; }
.proc-step p { font-size: 1rem; margin-bottom: 10px; }
.sec--dark .proc-step p { color: var(--text-on-dark-2); }
.proc-step__meta { display: inline-block; font-family: var(--f-mono); font-size: .8rem; border: 1px dashed currentColor; padding: 3px 8px; }
.js .proc-list[data-reveal] .proc-step { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .proc-list[data-reveal].is-in .proc-step { opacity: 1; transform: none; }
.proc-list .proc-step:nth-child(2) { transition-delay: .12s; }
.proc-list .proc-step:nth-child(3) { transition-delay: .24s; }
.proc-list .proc-step:nth-child(4) { transition-delay: .36s; }
.proc-list .proc-step:nth-child(5) { transition-delay: .48s; }

.specs { margin-top: 72px; padding-top: 40px; border-top: 2px solid rgba(244, 247, 236, .35); }
.stat__num { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1; color: var(--accent); display: block; }
.stat__label { font-family: var(--f-mono); font-size: .86rem; color: var(--text-on-dark-2); }
.specs__note { font-size: .95rem; color: var(--text-on-dark-2); margin-top: 24px; }

/* ---------- PROOF (L4 오프셋 겹침 케이스) ---------- */
.case__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case__card {
  position: relative; z-index: 2; margin: -96px 0 0 auto; width: min(640px, 92%);
  background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow-hard); padding: clamp(24px, 4vw, 44px);
}
.case__card .sec-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.case__facts { list-style: none; display: grid; gap: 10px; margin: 18px 0 24px; }
.case__facts li { padding-left: 26px; position: relative; }
.case__facts li::before { content: ''; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: var(--ink); }

/* ---------- MOSAIC (L7) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, auto); gap: 10px; list-style: none; }
.mosaic li { position: relative; overflow: hidden; background: var(--ink); min-width: 0; }
.mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic figure { margin: 0; height: 100%; }
.mosaic figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--ink);
  font-size: .86rem; font-weight: 700; padding: 6px 10px; max-width: 92%;
}
.mosaic__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-top: 36px; }

/* ---------- COST (L5 견적서형 표) ---------- */
.cost__strip { margin: 0 0 40px; border: 2px solid var(--ink); }
.cost__strip img { width: 100%; height: 150px; aspect-ratio: auto; object-fit: cover; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.quote { min-width: 600px; border: 2px solid var(--ink); background: var(--paper); font-size: 1rem; }
.quote caption { text-align: left; font-family: var(--f-mono); font-size: .84rem; padding: 12px 16px; background: var(--ink); color: var(--accent); caption-side: top; }
.quote th, .quote td { text-align: left; padding: 14px 16px; border-bottom: 1px dashed var(--border); vertical-align: top; }
.quote thead th { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; color: var(--muted); border-bottom: 2px solid var(--ink); }
.quote tbody th { font-weight: 800; white-space: nowrap; }
.quote tfoot td { font-size: .95rem; border-top: 2px solid var(--ink); border-bottom: 0; background: var(--surface); }
.cost__note { margin-top: 22px; font-size: 1rem; color: var(--ink-2); }

/* ---------- RISK (L6 스티키 질문 + 펼친 답) ---------- */
.risk__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.risk__side { position: sticky; top: 110px; }
.risk__index { list-style: none; margin-top: 24px; border-top: 2px solid var(--ink); }
.risk__index a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .98rem; padding: 8px 0; width: 100%; border-bottom: 1px solid var(--border); transition: color .2s, padding-left .2s var(--ease); }
.qa { border-top: 2px solid var(--ink); padding: 28px 0 8px; scroll-margin-top: 100px; }
.qa h3 { font-size: 1.22rem; margin-bottom: 12px; display: flex; gap: 14px; }
.qa h3 span { font-family: var(--f-mono); font-size: .9rem; background: var(--ink); color: var(--accent); padding: 2px 8px; height: fit-content; flex: none; }
.qa p { color: var(--ink-2); }

/* ---------- ACTION (L1 풀블리드 사진 CTA) ---------- */
.action { position: relative; min-height: 76vh; min-height: 76dvh; display: flex; align-items: flex-end; color: var(--text-on-dark); overflow: hidden; }
.action__bg { position: absolute; inset: 0; margin: 0; }
.action__bg img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.action__body { position: relative; z-index: 2; width: 100%; }
.action__panel {
  background: linear-gradient(to top, rgba(17, 19, 16, .92) 0, rgba(17, 19, 16, .82) 70%, rgba(17, 19, 16, 0) 100%);
  padding: 120px var(--gut) 56px;
}
.action__inner { max-width: calc(var(--wrap) - 2 * var(--gut)); margin-inline: auto; }
.action h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1.05; margin-bottom: 18px; max-width: 14em; }
.action .eyebrow { color: var(--accent); }
.action__sub { color: var(--text-on-dark-2); max-width: 36em; font-size: 1.08rem; }
.action__btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 16px; }
.action small { font-family: var(--f-mono); font-size: .84rem; color: var(--text-on-dark-2); }
.action .btn--solid { box-shadow: 4px 4px 0 var(--text-on-dark); }

/* ---------- 카드 (하드 오프셋) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; align-items: stretch; gap: 24px; list-style: none; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex; flex-direction: column; height: 100%; min-width: 0; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--dp-radius);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card__img { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--ink); position: relative; }
.card__img img { height: 100%; }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.card__kicker { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.card__title { font-size: 1.2rem; font-weight: 800; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__desc { font-size: 1rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.card__more { margin-top: auto; padding-top: 16px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.card--cta { background: var(--accent); }
.card--cta .card__img { background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.badge { font-family: var(--f-mono); font-size: .78rem; border: 1.5px solid var(--ink); padding: 2px 8px; }

/* ---------- 상세 페이지 ---------- */
.crumbs { font-family: var(--f-mono); font-size: .84rem; color: var(--muted); padding-top: 104px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: '/'; margin-right: 10px; }
.crumbs a { min-height: 44px; }
.dhero { padding-bottom: var(--sp-tight); }
.dhero__media { position: relative; margin: 16px 0 0; }
.dhero__media img { aspect-ratio: 16 / 9; }
.dhero__card {
  position: relative; z-index: 2; background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow-hard);
  margin: -120px 0 0 clamp(0px, 4vw, 48px); width: min(760px, 100%); padding: clamp(24px, 4vw, 44px);
}
.dhero__card h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.05; margin-bottom: 20px; }
.answer { font-size: 1.1rem; color: var(--ink-2); border-left: 4px solid var(--accent); padding-left: 16px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba__note { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.ba__note p { font-size: 1rem; margin: 0; padding-top: 12px; border-top: 2px solid var(--ink); }
.compare { min-width: 560px; border: 2px solid var(--ink); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 1rem; }
.compare thead th { background: var(--ink); color: var(--text-on-dark); font-family: var(--f-mono); font-weight: 500; font-size: .84rem; }
.compare tbody th { font-weight: 800; width: 26%; }
.proc-sec { background-color: var(--surface); }
.proc-sec__box { background: rgba(255, 255, 255, .94); border: 2px solid var(--ink); padding: clamp(24px, 4vw, 56px); }
.callout { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; background: var(--primary); color: var(--text-on-dark); padding: clamp(28px, 4vw, 56px); }
.callout h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.check { list-style: none; display: grid; gap: 14px; }
.check li { position: relative; padding-left: 40px; }
.check li::before { content: ''; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border: 2px solid currentColor; }
.check li::after { content: ''; position: absolute; left: 7px; top: calc(.3em + 3px); width: 7px; height: 12px; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(45deg); }
.qa2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.qa2 .qa:last-child:nth-child(odd) { grid-column: span 2; }
.split-cta { display: grid; grid-template-columns: 7fr 5fr; background: var(--ink); color: var(--text-on-dark); border: 2px solid var(--ink); }
.split-cta__copy { padding: clamp(28px, 5vw, 64px); background-image: repeating-linear-gradient(0deg, rgba(212, 240, 30, .07) 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, rgba(212, 240, 30, .07) 0 1px, transparent 1px 48px); }
.split-cta__copy h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 20px; }
.split-cta__copy p { color: var(--text-on-dark-2); }
.split-cta__copy small { font-family: var(--f-mono); font-size: .84rem; color: var(--text-on-dark-2); }
.split-cta__img { margin: 0; }
.split-cta__img img { height: 100%; aspect-ratio: auto; object-fit: cover; }

/* ---------- 상담 페이지 ---------- */
.contact-hero { padding: 96px 0 var(--sp-tight); }
.contact-hero h1 { font-size: clamp(2.2rem, 6.4vw, 5rem); line-height: 1.05; margin-bottom: 18px; }
.phone-big { min-height: 44px; font-family: var(--f-display); font-size: clamp(2.4rem, 8vw, 5.6rem); line-height: 1; text-decoration: none; display: inline-block; margin: 10px 0 30px; letter-spacing: .01em; }
.reach { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 24px; }
.reach__card {
  display: flex; flex-direction: column; gap: 10px; height: 100%; min-width: 0; text-decoration: none; color: var(--ink);
  border: 2px solid var(--ink); box-shadow: var(--shadow-hard); padding: 28px; background: var(--paper);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.reach__card strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.reach__card span { color: var(--ink-2); font-size: 1rem; }
.reach__card em { font-style: normal; margin-top: auto; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.reach__card--sms { background: var(--accent); }
.guide { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.why { counter-reset: w; }
.why .card__body { padding-top: 26px; }
.why .card__kicker::before { counter-increment: w; content: 'R-0' counter(w) ' '; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; min-height: 70dvh; display: flex; align-items: center; padding: 140px var(--gut) 80px; }
.nf__box { max-width: var(--wrap); margin-inline: auto; width: 100%; }
.nf h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); margin-bottom: 16px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 푸터 (좌측 클러스터) ---------- */
.site-footer { background: var(--surface); border-top: 2px solid var(--ink); padding: 64px var(--gut) 28px; font-size: 1rem; }
.site-footer .ft-inner { max-width: calc(var(--wrap) - 2 * var(--gut)); 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: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); letter-spacing: .04em; }
.ft-cluster__title .logo-mark { width: 28px; height: 28px; }
.ft-cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-cluster li { color: var(--ink-2); }
.ft-quicklinks a { text-decoration: none; font-weight: 700; }
.ft-bottom { max-width: calc(var(--wrap) - 2 * var(--gut)); margin-inline: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 16px; color: var(--muted); font-family: var(--f-mono); }

/* ---------- 고정 CTA ---------- */
.sticky-bar {
  transition: transform .3s var(--ease);
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 8px;
  background: var(--ink); padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
}
.sticky-bar__btn { flex: 1; justify-content: center; min-height: 48px; color: var(--text-on-dark); text-decoration: none; font-weight: 800; border: 2px solid var(--text-on-dark); border-radius: var(--dp-radius); }
.sticky-bar__btn--main { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.float-cta {
  position: fixed; right: 24px; z-index: 80; bottom: calc(24px + env(safe-area-inset-bottom));
  gap: 12px; padding: 12px 20px; min-height: 52px; background: var(--accent); color: var(--ink); text-decoration: none; font-weight: 800;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); border-radius: var(--dp-radius);
  transition: transform .2s var(--ease), opacity .3s, box-shadow .2s var(--ease);
  opacity: 0; transform: translateY(12px); pointer-events: none;
}
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .float-cta { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- 스크롤 리빌 ---------- */
.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; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); }
.js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0); }
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger] > *:nth-child(2) { transition-delay: .08s; }
[data-stagger] > *:nth-child(3) { transition-delay: .16s; }
[data-stagger] > *:nth-child(4) { transition-delay: .24s; }
[data-stagger] > *:nth-child(5) { transition-delay: .32s; }
[data-stagger] > *:nth-child(6) { transition-delay: .4s; }
.js [data-reveal].proc-list { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes clip-in { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 호버 (포인터 기기 전용) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
  .btn--line:hover { background: var(--accent); }
  .btn--ghost-dark:hover { background: var(--text-on-dark); color: var(--ink); box-shadow: 6px 6px 0 var(--accent); }
  .btn:hover .btn__arrow { width: 26px; }
  .card:hover, .reach__card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
  .card:hover .card__img img, .mosaic li:hover img { transform: scale(1.04); }
  .card__img img { transition: transform .5s var(--ease); }
  .link-rule:hover { background-size: 0 2px; }
  .risk__index a:hover { color: var(--primary); padding-left: 8px; }
  .ft-quicklinks a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .float-cta:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1151px) {
  .hero__copy { padding-left: var(--gut); }
}
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .problem__grid, .risk__grid, .guide { grid-template-columns: 1fr; }
  .diagram, .risk__side { position: static; }
  .method__head { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.why { grid-template-columns: repeat(3, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic li:first-child { grid-row: auto; }
  .callout { grid-template-columns: 1fr; }
  .site-footer .ft-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  body { font-size: 18px; padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
  .br-mobile { display: inline; }
  .br-desktop { display: none; }
  .sticky-bar { display: flex; }
  .float-cta { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "media" "copy"; min-height: 0; }
  .js .sticky-bar { transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
  .js .sticky-bar.is-on { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .hero__media { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); aspect-ratio: 16 / 9; animation: none; }
  .hero__copy { padding: 36px var(--gut) 56px; }
  .hero__cap { font-size: .76rem; }
  .site-header { background: var(--paper); border-bottom-color: var(--ink); }
  .hero { padding-top: 76px; }
  .dp-g2, .dp-g3, .ba, .ba__note, .case__media, .qa2, .split-cta, .reach { grid-template-columns: 1fr; }
  .qa2 .qa:last-child:nth-child(odd) { grid-column: auto; }
  .symptom__pair { grid-template-columns: 1fr; }
  .case__card { margin: -40px 0 0; width: 100%; }
  .dhero__card { margin: -40px 0 0; }
  .cards, .cards.why { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .mosaic__head { grid-template-columns: 1fr; }
  .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; gap: 6px; }
  .quote tbody th { white-space: normal; }
  .split-cta__img img { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .hdr-logo__tagline { display: none; }
  .hdr-cta { padding: 10px 14px; }
  .dp-stat3 { grid-template-columns: 1fr; gap: 16px; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic li:first-child { grid-column: auto; }
  .symptom { grid-template-columns: 1fr; }
  .symptom__no { grid-row: auto; }
  .hero__actions .btn, .action__btns .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] > *, .js .proc-list[data-reveal] .proc-step { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .draw path, .draw line, .draw circle, .draw polyline { stroke-dashoffset: 0 !important; }
  .hero__media { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
}
.ba__title { margin-top: 48px; }
.crumbs--flat { padding-top: 0; margin-bottom: 24px; }
.action--short { min-height: 62vh; min-height: 62dvh; }
.qa-list, .qa2 { list-style: none; }

.proc-num, .tag, .qa h3 span { font-family: var(--f-num); }
.eyebrow, .hdr-logo__tagline, .quote caption, .proc-step__meta, .card__kicker { letter-spacing: .02em; font-weight: 600; }
.proc-step { display: flex; flex-direction: column; align-items: center; }
.proc-step__meta { margin-top: auto; }
.crumbs a { justify-content: flex-start; }
.crumbs li + li::before { margin-left: -32px; }
.split-cta__img--plan { display: flex; align-items: center; justify-content: center; color: var(--accent); padding: 32px; border-left: 2px solid var(--text-on-dark-2); }
.split-cta__img--plan svg { width: 100%; height: auto; max-width: 420px; }
@media (max-width: 1024px) {
  .proc-step { align-items: flex-start; }
}
@media (max-width: 768px) {
  .quote, .compare { min-width: 0; }
  .quote thead, .compare thead { display: none; }
  .quote tr, .compare tr { display: block; padding: 14px 16px; border-bottom: 1px dashed var(--border); }
  .quote th, .quote td, .compare th, .compare td { display: block; padding: 3px 0; border: 0; width: auto; }
  .quote td::before, .compare td::before { content: attr(data-label); display: block; font-size: .8rem; color: var(--muted); }
  .quote tbody th, .compare tbody th { font-size: 1.05rem; width: auto; }
  .quote tfoot td { padding: 14px 16px; }
  .split-cta__img--plan { border-left: 0; border-top: 2px solid var(--text-on-dark-2); }
}
.callout .eyebrow, .split-cta .eyebrow { color: var(--accent); }
