/* 한백하우징 — 흑백 도면 (Minimalism). radius 0 / 그림자 없음 / 300ms cubic-bezier(.4,0,.2,1) */
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button, label, figcaption, dt, dd, small {
  word-break: keep-all;
  overflow-wrap: break-word;
}
:root {
  color-scheme: only light;
  --ink: #1A1A1A;
  --paper: #FFFFFF;
  --wash: #F5F5F5;
  --line: #E0E0E0;
  --ink-2: #2C2C2C;
  --mute-light: #595959;
  --mute-dark: #A6A6A6;
  --text-on-light: #1A1A1A;
  --text-on-dark: #FFFFFF;
  --border: #8A8A8A;
  --dp-radius: 0;
  --gutter: 24px;
  --sp-1: 32px;
  --sp-2: 48px;
  --sp-3: 64px;
  --margin: max(5vw, 20px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 300ms;
  --proc-badge: 48px;
  --proc-badge-radius: 0;
  --proc-line: 2px;
  --sticky-h: 64px;
  --font: 'Inter', 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
:where(a, button, [role="button"], summary) { touch-action: manipulation; }
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; font-family: var(--font); font-size: 1.125rem; line-height: 1.6;
  letter-spacing: -0.01em; color: var(--text-on-light); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; background: var(--ink); color: #fff; z-index: 200; transform: translateY(-200%); transition: transform var(--dur) var(--ease); }
.skip:focus { transform: none; }

/* ---------- 레이아웃 ---------- */
.wrap { width: 100%; max-width: 77.5rem; margin-inline: auto; padding-inline: var(--margin); }
.wrap--narrow { max-width: calc(680px + var(--margin) * 2); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.sec { padding-block: var(--sp-3); position: relative; }
.sec--loose { padding-block: calc(var(--sp-3) * 1.75); }
.sec--wash { background: var(--wash); }
.on-dark { background: var(--ink); color: var(--text-on-dark); --border: #8A8A8A; }
.on-dark .muted { color: var(--mute-dark); }
.muted { color: var(--mute-light); }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 var(--sp-1);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em;
}
.eyebrow::after { content: ''; height: 2px; width: 72px; background: currentColor; }
.h2 { font-size: clamp(1.65rem, 3.4vw, 2.25rem); margin-bottom: 20px; }
.lead { font-size: 1.1875rem; max-width: 46em; }

/* ---------- 부품 ---------- */
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; min-width: 44px; padding: 0 28px; font: inherit; font-weight: 700; letter-spacing: -0.01em;
  border: 2px solid var(--ink); background: var(--ink); color: #fff; border-radius: var(--dp-radius); cursor: pointer;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--ghost { background: transparent; color: var(--ink); }
.on-dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn--ghost { background: transparent; color: #fff; }
.btn svg, .link svg { width: 20px; height: 20px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:active { opacity: 0.8; }
.link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700;
}
.link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: currentColor;
  transform: scaleX(0.35); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.chip {
  display: inline-block; padding: 4px 12px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  background: var(--ink); color: #fff;
}
.chip--line { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.crumbs { padding-top: var(--sp-1); font-size: 0.9375rem; color: var(--mute-light); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li { display: flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.motif { width: 100%; max-width: 20rem; height: auto; color: currentColor; }

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: border-color var(--dur) var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.hdr { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 1.125rem; letter-spacing: -0.02em; }
.logo__kw { font-size: 0.75rem; font-variant: small-caps; letter-spacing: 0.02em; color: var(--mute-light); }

/* ---------- 히어로 (H2) ---------- */
.hero { padding-block: var(--sp-2); display: flex; align-items: center; overflow: hidden; }
.hero__grid { width: 100%; padding-left: max(var(--margin), calc((100vw - 1240px) / 2 + var(--margin))); align-items: center; }
.hero__media { grid-column: 6 / -1; grid-row: 1; position: relative; min-width: 0; }
.hero__copy { grid-column: 1 / 6; grid-row: 1; min-width: 0; padding-right: var(--gutter); }
.hero__frame { position: relative; aspect-ratio: 16 / 10; background: var(--wash); overflow: hidden; animation: wipe 0.9s var(--ease) both; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease); }
.slide.is-active { opacity: 1; animation: kb 7s var(--ease) forwards; }
.hero__ctrl { display: flex; align-items: center; gap: 4px; margin-top: 12px; }
.hero__ctrl button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink); }
.dot { width: 28px; height: 4px; background: var(--line); transition: background-color var(--dur) var(--ease), height var(--dur) var(--ease); display: block; }
button[aria-current="true"] .dot { background: var(--ink); height: 6px; }
.slide-toggle { font-size: 0.875rem; font-weight: 700; margin-left: auto; padding: 0 12px !important; text-decoration: underline; text-underline-offset: 3px; }
.hero__count { font-size: 0.875rem; color: var(--mute-light); min-width: 3em; }
.hero h1 { font-size: clamp(2.25rem, 5.6vw, 4.25rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 24px; animation: rise 0.7s var(--ease) both; }
.hero__sub { font-size: 1.1875rem; margin-bottom: 32px; animation: rise 0.7s var(--ease) 120ms both; }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; animation: rise 0.7s var(--ease) 220ms both; }
.hero__note { margin: 32px 0 0; font-size: 0.9375rem; color: var(--mute-light); display: flex; align-items: center; gap: 16px; animation: rise 0.7s var(--ease) 320ms both; }
.hero__note .motif { max-width: 8.75rem; flex: none; }

/* ---------- proof (L1 풀블리드 띠) ---------- */
.band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.band figure { margin: 0; position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.band .ph { aspect-ratio: 16 / 9; overflow: hidden; }
.band img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; transition: transform var(--dur) var(--ease); }
.band figcaption { padding: 16px var(--gutter) 0; font-size: 1rem; flex: 1; }
.band figcaption b { display: block; margin-bottom: 4px; }

/* ---------- problem (L6 스티키) ---------- */
.problem { overflow: hidden; }
.problem::before {
  content: ''; position: absolute; inset: 0; opacity: 0.08; z-index: 0;
  background: url(/assets/artwork/gwangmyeong-bathroom-after-01-halftone-soft.png) center / cover no-repeat;
}
.problem > .wrap { position: relative; z-index: 1; }
.split6 { align-items: start; }
.split6__head { grid-column: 1 / 5; position: sticky; top: 104px; }
.split6__body { grid-column: 6 / -1; }
.dl-rows { border-top: 4px solid var(--ink); }
.dl-rows > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--gutter); padding: 24px 0; border-bottom: 1px solid var(--ink); }
.dl-rows b { font-weight: 700; }

/* ---------- guide (L4 오프셋) ---------- */
.offset { position: relative; padding-bottom: var(--sp-2); }
.offset__ph { margin-right: 20%; aspect-ratio: 16 / 9; overflow: hidden; }
.offset__ph img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.offset__card {
  position: relative; margin: -72px 0 0 auto; width: min(560px, 62%); background: #fff; border: 2px solid var(--ink);
  padding: var(--sp-1); display: flex; flex-direction: column; gap: 12px;
}
.offset__card h3 { font-size: 1.5rem; }

/* ---------- method (L8 다크 / 타임라인) ---------- */
.method { overflow: hidden; }
.method::before {
  content: ''; position: absolute; inset: 0; opacity: 0.22; z-index: 0;
  background: url(/assets/artwork/anyang-entry-after-01-duotone.jpg) center / cover no-repeat;
}
.method > .wrap { position: relative; z-index: 1; }
.method__head { max-width: 46em; margin-bottom: var(--sp-3); }

.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 22px; text-align: center; display: flex; flex-direction: column; }
.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 24px; border-radius: var(--proc-badge-radius);
  background: var(--ink); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.on-dark .proc-num { background: #fff; color: var(--ink); }
.proc-step__t { font-size: 1.125rem; margin-bottom: 16px; }
.proc-step p { margin: 0 0 8px; font-size: 1rem; line-height: 1.7; }
.proc-step__meta { font-size: 0.875rem !important; font-weight: 700; padding-top: 14px; border-top: 2px solid currentColor; margin-top: auto !important; }
.proc-step > p:not(.proc-step__meta) { margin-bottom: 24px; }
@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);
  }
}

/* ---------- cost (L5 좁은 칼럼) / 표 ---------- */
.tbl-wrap { overflow-x: auto; margin: var(--sp-1) 0; }
.tbl { width: 100%; border-collapse: collapse; border-top: 4px solid var(--ink); }
.tbl caption { text-align: left; padding: 12px 0; font-weight: 700; caption-side: top; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--ink); font-size: 1rem; }
.tbl thead th { font-size: 0.875rem; letter-spacing: 0.04em; border-bottom: 2px solid var(--ink); }
.tbl tbody th { font-weight: 700; width: 28%; }
.prep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gutter); margin-top: var(--sp-2); }
.prep__item { display: flex; flex-direction: column; height: 100%; min-width: 0; border-top: 4px solid var(--ink); padding-top: 16px; }
.prep__item svg { width: 40px; height: 40px; margin-bottom: 12px; }
.prep__item h3 { font-size: 1.125rem; margin-bottom: 12px; }
.prep__item p { margin: 0; font-size: 1rem; }
.callout { border-left: 6px solid var(--ink); background: var(--wash); padding: 20px 24px; margin: var(--sp-1) 0; }
.callout p { margin: 0; }
.callout b { display: block; margin-bottom: 4px; }

/* ---------- risk (Q&A 전부 펼침) ---------- */
.risk__head { grid-column: 1 / 5; }
.risk__body { grid-column: 6 / -1; }
.qa { border-top: 4px solid var(--ink); }
.qa__item { border-bottom: 1px solid var(--ink); }
.qa__item summary { display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 16px; align-items: center; min-height: 52px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__no { font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; }
.qa__item h3 { font-size: 1.25rem; margin: 0; }
.qa__ico { width: 24px; height: 24px; justify-self: end; transform: rotate(90deg); transition: transform var(--dur) var(--ease); }
.qa__item details[open] .qa__ico { transform: rotate(-90deg); }
.qa__item details[open] summary { padding-bottom: 12px; }
.qa__item p { margin: 0; padding: 0 60px 28px 72px; }

/* ---------- action (L1 풀블리드 CTA) ---------- */
.cta { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; padding-block: calc(var(--sp-3) * 1.75); }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url(/assets/artwork/suji-rotten-wood-after-01-duotone.jpg) center / cover no-repeat; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 26, 26, 0.94) 0%, rgba(26, 26, 26, 0.7) 55%, rgba(26, 26, 26, 0) 100%); }
.cta__title { font-size: clamp(2rem, 6vw, 4.25rem); line-height: 1.12; letter-spacing: -0.03em; max-width: 12em; margin-bottom: 20px; }
.cta__sub { max-width: 34em; font-size: 1.1875rem; margin-bottom: 32px; }
.cta__act { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.cta small { display: block; margin-top: 24px; font-size: 0.9375rem; color: var(--mute-dark); }
.cta .btn--ghost { border-color: #fff; }

/* ---------- 상세 페이지 ---------- */
.hero-d { padding-top: var(--sp-1); }
.hero-d__fig { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; animation: wipe 0.9s var(--ease) both; }
.hero-d__fig img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-d__fig .chip { position: absolute; left: 0; top: 0; }
.hero-d__copy { padding-top: var(--sp-2); padding-bottom: var(--sp-3); }
.h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 24px; animation: rise 0.7s var(--ease) both; }
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); grid-auto-rows: 1fr; }
.ba figure { margin: 0; position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.ba .ph { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.ba img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ba .chip { position: absolute; left: 0; top: 0; }
.ba figcaption { padding-top: 12px; font-size: 1rem; flex: 1; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gutter); }
.checks li { display: flex; flex-direction: column; height: 100%; min-width: 0; border-top: 4px solid var(--ink); padding-top: 16px; }
.checks b { font-size: 1.125rem; margin-bottom: 8px; }
.checks span { font-size: 1rem; }
.checks svg { width: 32px; height: 32px; margin-bottom: 10px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gutter); }
.card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; border: 2px solid var(--ink); border-top-width: 4px; background: #fff; }
.card::after { content: ''; position: absolute; left: -2px; top: -4px; height: 4px; width: calc(100% + 4px); background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.card .ph { aspect-ratio: 16 / 9; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 28px; }
.card__body h3 { font-size: 1.25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__body p { margin: 0; font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__body .link { margin-top: auto; }
.card--text { background: var(--wash); }

/* ---------- 상담 페이지 ---------- */
.contact-hero { padding-block: var(--sp-2) var(--sp-3); }
.contact-top { padding-block: var(--sp-2) var(--sp-3); }
.contact-top .dial { margin-top: var(--sp-2); }
.contact-hero__fig { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; animation: wipe 0.9s var(--ease) both; }
.contact-hero__fig img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gutter); }
.dial__card { display: flex; flex-direction: column; height: 100%; min-width: 0; padding: var(--sp-2) var(--sp-1); border: 2px solid var(--ink); background: #fff; }
.dial__card h2 { font-size: 1.25rem; margin-bottom: 12px; }
.dial__num { font-size: clamp(2rem, 6.4vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 8px 0 20px; }
.dial__card p { font-size: 1rem; }
.dial__card .dial__num { font-size: clamp(2.25rem, 6.4vw, 3.75rem); margin: 8px 0 20px; }
.dial__card .btn { margin-top: auto; align-self: flex-start; }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gutter); }
.why__item { display: flex; flex-direction: column; height: 100%; min-width: 0; border-top: 4px solid var(--ink); padding-top: 16px; }
.why__item h3 { font-size: 1.25rem; margin-bottom: 12px; }
.why__item p { margin: 0; }
.list-check { border-top: 4px solid var(--ink); }
.list-check li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.list-check b { display: block; margin-bottom: 4px; }
.list-check span.n { font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; padding-top: 4px; }

/* ---------- 404 ---------- */
.nf { padding-block: calc(var(--sp-3) * 1.5); }
.nf__act { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: var(--sp-1); }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--wash); border-top: 4px solid var(--ink); padding-top: var(--sp-3); }
.site-footer .ft-inner { max-width: 77.5rem; 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: 0.8125rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.04em; color: #707070; }
.ft-cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ft-biz { margin: 0; display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 2px 8px; font-size: 0.8125rem; line-height: 1.5; color: #707070; }
.ft-biz dt { color: #707070; }
.ft-biz dd { margin: 0; }
.ft-quicklinks a, .ft-services a { display: inline-flex; align-items: center; min-height: 24px; min-width: 44px; font-size: 0.8125rem; line-height: 1.4; color: #707070; text-decoration: none; }
.ft-bottom { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 16px; padding-bottom: 32px; font-size: 0.8125rem; color: #707070; }

/* ---------- 고정 바 / 플로팅 ---------- */
.sticky-bar { display: none; }

/* ---------- 스크롤 리빌 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-in > *:nth-child(2) { transition-delay: 70ms; }
.js [data-stagger].is-in > *:nth-child(3) { transition-delay: 140ms; }
.js [data-stagger].is-in > *:nth-child(4) { transition-delay: 210ms; }
.js [data-stagger].is-in > *:nth-child(5) { transition-delay: 280ms; }
.js [data-stagger].is-in > *:nth-child(6) { transition-delay: 350ms; }
.js [data-stagger].is-in > *:nth-child(7) { transition-delay: 420ms; }
.js [data-stagger].is-in > *:nth-child(8) { transition-delay: 490ms; }
.js .draw path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.js .is-in .draw path, .js .hero .draw path { animation: draw 1.1s var(--ease) forwards; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 호버 (가드 안에서만) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { opacity: 0.8; }
  .link:hover::after { transform: scaleX(1); }
  .link:hover svg, .btn:hover svg { transform: translateX(4px); }
  .card:hover::after { transform: scaleX(1); }
  .band figure:hover img { transform: scale(1.02); }
  .crumbs a:hover { opacity: 0.7; }
  .ft-quicklinks a:hover, .ft-services a:hover { color: #1A1A1A; }
  .hero__ctrl button:hover .dot { background: var(--ink); }
}

/* ---------- 반응형: 1024 / 768 / 480 ---------- */
@media (max-width: 1024px) {
  .split6__head, .split6__body, .risk__head, .risk__body { grid-column: 1 / -1; }
  .split6__head { position: static; margin-bottom: var(--sp-2); }
  .risk__head { margin-bottom: var(--sp-2); }
  .hero__copy { grid-column: 1 / 7; }
  .hero__media { grid-column: 7 / -1; }
  .offset__ph { margin-right: 10%; }
  .offset__card { width: min(560px, 80%); }
  .site-footer .ft-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); font-size: 1.0625rem; }
  .sec { padding-block: var(--sp-2); }
  .sec--loose, .cta { padding-block: calc(var(--sp-2) * 1.5); }
  .hero { min-height: 0; display: block; padding-block: 0 var(--sp-2); }
  .hero__grid { padding-left: 0; display: block; }
  .hero__media { padding: 0; }
  .hero__frame { aspect-ratio: 16 / 9; max-height: min(46vh, 360px); max-height: min(46dvh, 360px); }
  .hero__ctrl { padding-inline: var(--margin); }
  .hero__copy { padding: var(--sp-1) var(--margin) 0; }
  .band { grid-template-columns: 1fr; }
  .band figcaption { padding: 16px var(--margin) 0; padding-bottom: 16px; }
  .band figure + figure { margin-top: 8px; }
  .dl-rows > li { grid-template-columns: 1fr; gap: 8px; }
  .offset__ph { margin-right: 0; }
  .offset__card { width: 100%; margin-top: 0; border-width: 2px; }
  .prep, .checks, .why, .dial, .cards, .ba { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .list-check li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .qa__item summary { grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 12px; }
  .qa__item p { padding: 0 0 24px 44px; }
  .cta::after { background: linear-gradient(90deg, rgba(26, 26, 26, 0.94) 0%, rgba(26, 26, 26, 0.82) 100%); }
  .site-footer .ft-inner { grid-template-columns: 1fr; text-align: left; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ft-biz { grid-template-columns: 7em minmax(0, 1fr); }
  .sticky-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 2px solid var(--ink);
    padding: 10px var(--margin) calc(10px + env(safe-area-inset-bottom));
  }
  .sticky-bar .btn { width: 100%; min-height: 44px; }
  .js .sticky-bar { transform: translateY(105%); visibility: hidden; transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease); }
  .js .sticky-bar.is-on { transform: none; visibility: visible; }
  .tbl th, .tbl td { padding: 12px 10px 12px 0; font-size: 0.9375rem; }
  .dial__card { padding: var(--sp-1) 24px; }
  .contact-top { padding-block: var(--sp-1) var(--sp-2); }
}
@media (max-width: 480px) {
  .logo__kw { display: none; }
  .hero__note .motif { display: none; }
  .btn { padding: 0 22px; }
  .hero__act .btn, .cta__act .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] > * { opacity: 1 !important; transform: none !important; }
  .js .draw path { stroke-dashoffset: 0 !important; }
  .slide.is-active { transform: none; }
}

/* ---------- 변형 ---------- */
.cta--b::before { background-image: url(/assets/artwork/osan-entry-after-01-duotone.jpg); }
.cta--c::before { background-image: url(/assets/artwork/incheon-after-01-duotone.jpg); }
.sec--tight { padding-block: var(--sp-2); }

/* ---------- 세부페이지 히어로 변형 ---------- */
.hx { padding-top: var(--sp-1); }
.hx__act { margin-top: 8px; }
.hx__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; padding-bottom: var(--sp-3); }
.hx--splitL .hero-d__fig { grid-column: 1 / 8; }
.hx--splitL .hx__copy { grid-column: 8 / -1; }
.hx--splitR .hero-d__fig { grid-column: 6 / -1; grid-row: 1; }
.hx--splitR .hx__copy { grid-column: 1 / 6; grid-row: 1; }
.hx__copy { min-width: 0; padding-block: var(--sp-1); }
.hx--splitL .hero-d__fig, .hx--splitR .hero-d__fig { aspect-ratio: 16 / 11; }
.hx--bleed { padding-top: 0; }
.hx--bleed .hero-d__fig { aspect-ratio: 21 / 9; }
.hx__card { position: relative; margin: -88px 0 var(--sp-3); max-width: 52rem; background: #fff; border: 2px solid var(--ink); padding: var(--sp-2) var(--sp-2) var(--sp-1); }
.hx__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.hx--band .hero-d__fig { aspect-ratio: 21 / 9; }
.hx__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: var(--sp-2) var(--sp-3); align-items: start; }
.hx__cols > div:first-child { grid-column: 1 / 7; }
.hx__cols > div:last-child { grid-column: 7 / -1; padding-top: 44px; }
.hx__mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.hx__mosaic .hero-d__fig { grid-column: 1 / 9; }
.hx__mosaic .hx__fig2 { grid-column: 9 / -1; aspect-ratio: 16 / 11; }

/* ---------- 섹션 컴포넌트 ---------- */
.nums { border-top: 4px solid var(--ink); }
.nums li { display: grid; grid-template-columns: minmax(96px, 160px) minmax(0, 1fr); gap: var(--gutter); padding: 28px 0; border-bottom: 1px solid var(--ink); align-items: start; }
.nums__n { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.nums h3 { font-size: 1.25rem; margin-bottom: 12px; }
.nums p { margin: 0; }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); border-top: 4px solid var(--ink); margin: 0; }
.spec dt, .spec dd { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.spec dt { font-weight: 700; padding-right: var(--gutter); }
.callouts { display: grid; grid-template-columns: 1fr; gap: 16px; }
.callouts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gutter); }
.callouts .callout { margin: 0; }
.pstack { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--sp-2); }
.pstack figure { margin: 0; min-width: 0; }
.pstack__a { grid-column: 1 / 9; }
.pstack__b { grid-column: 5 / -1; }
.pstack .ph, .mt__ph .ph { aspect-ratio: 16 / 9; overflow: hidden; }
.pstack img, .mt__ph img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pstack figcaption, .mt__ph figcaption { padding-top: 12px; font-size: 1rem; }
.mt { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.mt__ph { margin: 0; min-width: 0; }
.mt--l .mt__ph { grid-column: 1 / 8; }
.mt--l .mt__body { grid-column: 8 / -1; }
.mt--r .mt__ph { grid-column: 6 / -1; grid-row: 1; }
.mt--r .mt__body { grid-column: 1 / 6; grid-row: 1; }
.mt__body { min-width: 0; }
.qa-wide { max-width: 60rem; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card .ph { margin: 0; }

/* ---------- 메인 5-이미지 그리드 ---------- */
.five { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gutter); }
.five > li { grid-column: span 2; display: flex; }
.five > li:nth-child(n+4) { grid-column: span 3; }
.five .card { width: 100%; }

/* ---------- CTA 변형 ---------- */
.cta__in { max-width: 44rem; }
.cta--right .cta__in { margin-left: auto; }
.cta--right::after { background: linear-gradient(270deg, rgba(26, 26, 26, 0.94) 0%, rgba(26, 26, 26, 0.7) 55%, rgba(26, 26, 26, 0) 100%); }
.cta.art-anyang::before { background-image: url(/assets/artwork/anyang-entry-after-01-duotone.jpg); }
.cta.art-gwang::before { background-image: url(/assets/artwork/gwangmyeong-bathroom-after-01-duotone.jpg); }
.cta.art-incheon::before { background-image: url(/assets/artwork/incheon-after-01-duotone.jpg); }
.cta.art-osan::before { background-image: url(/assets/artwork/osan-entry-after-01-duotone.jpg); }
.cta.art-suji::before { background-image: url(/assets/artwork/suji-after-01-duotone.jpg); }
.cta.art-rotten::before { background-image: url(/assets/artwork/suji-rotten-wood-after-01-duotone.jpg); }
.cta.art-suwon::before { background-image: url(/assets/artwork/suwon-after-01-duotone.jpg); }

@media (max-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .five > li, .five > li:nth-child(n+4) { grid-column: span 1; }
  .five > li:last-child { grid-column: span 2; }
  .hx--splitL .hero-d__fig { grid-column: 1 / 7; }
  .hx--splitL .hx__copy { grid-column: 7 / -1; }
  .hx--splitR .hero-d__fig { grid-column: 7 / -1; }
  .hx--splitR .hx__copy { grid-column: 1 / 7; }
  .mt--l .mt__ph { grid-column: 1 / 7; }
  .mt--l .mt__body { grid-column: 7 / -1; }
  .mt--r .mt__ph { grid-column: 7 / -1; }
  .mt--r .mt__body { grid-column: 1 / 7; }
}
@media (max-width: 768px) {
  .cards--3, .five { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .five > li, .five > li:nth-child(n+4), .five > li:last-child { grid-column: auto; }
  .hx__grid, .mt { display: block; }
  .hx__grid { padding-bottom: var(--sp-2); }
  .hx__copy { padding-top: var(--sp-2); }
  .mt__body { padding-top: var(--sp-1); }
  .hx--bleed .hero-d__fig, .hx--band .hero-d__fig { aspect-ratio: 16 / 9; }
  .hx__card { margin: -32px 0 var(--sp-2); padding: var(--sp-1) 24px; }
  .hx__pair { grid-template-columns: 1fr; gap: 8px; }
  .hx__cols { display: block; padding-block: var(--sp-1) var(--sp-2); }
  .hx__cols > div:last-child { padding-top: 0; }
  .hx__mosaic { display: block; }
  .hx__mosaic .hx__fig2 { margin-top: 8px; aspect-ratio: 16 / 9; }
  .nums li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .spec { grid-template-columns: 1fr; }
  .spec dt { border-bottom: 0; padding-bottom: 4px; }
  .spec dd { padding-top: 0; }
  .callouts--2 { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .pstack__a, .pstack__b { grid-column: 1 / -1; }
  .cta--right .cta__in { margin-left: 0; }
  .cta--right::after { background: linear-gradient(90deg, rgba(26, 26, 26, 0.94) 0%, rgba(26, 26, 26, 0.82) 100%); }
}
@media (max-width: 768px) {
  .hx:not(.hx--bleed) .hero-d__fig { margin-inline: calc(-1 * var(--margin)); }
}
@media (max-width: 768px) {
  .hx .hero-d__fig { max-height: min(46vh, 360px); max-height: min(46dvh, 360px); }
  .hx .hx__pair, .hx .hx__mosaic { margin-inline: calc(-1 * var(--margin)); }
  .hx .hx__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .hx .hx__pair .hero-d__fig { margin-inline: 0; aspect-ratio: 4 / 3; }
  .hx .hx__mosaic { display: grid; grid-template-columns: 2fr 1fr; gap: 4px; align-items: stretch; }
  .hx .hx__mosaic .hero-d__fig, .hx .hx__mosaic .hx__fig2 { margin: 0; grid-column: auto; aspect-ratio: auto; height: clamp(150px, 42vw, 240px); max-height: none; }
  .hx .hx__mosaic .hx__fig2 { margin-top: 0; }
  .hx .hx__pair img, .hx .hx__mosaic img { height: 100%; }
}
@media (max-width: 768px) {
  .hx .hero-d__fig { width: 100%; }
  .hx:not(.hx--bleed) .hero-d__fig { width: auto; }
  .hx .hx__pair .hero-d__fig, .hx .hx__mosaic .hero-d__fig { width: auto; }
}
@media (max-width: 768px) {
  .hx--splitL .hero-d__fig, .hx--splitR .hero-d__fig, .hx--band .hero-d__fig, .hx--top .hero-d__fig { width: calc(100% + 2 * var(--margin)); }
}
@media (max-width: 768px) {
  .hx .hero-d__fig, .hx.hx--splitL .hero-d__fig, .hx.hx--splitR .hero-d__fig, .hx.hx--band .hero-d__fig, .hx.hx--top .hero-d__fig { width: auto; max-height: none; aspect-ratio: 21 / 9; }
  .hx.hx--bleed .hero-d__fig { aspect-ratio: 16 / 9; }
  .hx .hx__pair .hero-d__fig { aspect-ratio: 4 / 3; }
  .hx .hx__mosaic .hero-d__fig, .hx .hx__mosaic .hx__fig2 { aspect-ratio: auto; }
}
@media (max-width: 480px) {
  .hx .hero-d__fig, .hx.hx--splitL .hero-d__fig, .hx.hx--splitR .hero-d__fig, .hx.hx--band .hero-d__fig, .hx.hx--top .hero-d__fig { aspect-ratio: 16 / 9; }
  .hx .hx__pair .hero-d__fig { aspect-ratio: 4 / 3; }
  .hx .hx__mosaic .hero-d__fig, .hx .hx__mosaic .hx__fig2 { aspect-ratio: auto; }
}

.mt__ph .ph { position: relative; }
.mt__ph .chip { position: absolute; left: 0; top: 0; }
.hx__mosaic { align-items: center; }
.card--text .card__body { justify-content: center; }
.card--text .link { margin-top: 12px; }
@media (max-width: 768px) {
  .hx .hx__mosaic { grid-template-columns: 1fr 1fr; }
}

.lead + .proc-list, .h2 + .proc-list { margin-top: var(--sp-3); }
.sec.on-dark { padding-block: 88px; }
@media (max-width: 1024px) {
  .proc-list { gap: 40px; }
  .proc-step { padding: 0 0 0 calc(var(--proc-badge) + 20px); }
  .proc-step:not(:last-child)::after { height: calc(100% + 40px); }
  .lead + .proc-list, .h2 + .proc-list { margin-top: var(--sp-2); }
}
@media (max-width: 768px) {
  .sec.on-dark { padding-block: var(--sp-3); }
}

.ft-quicklinks a, .ft-services a { position: relative; }
.ft-quicklinks a::before, .ft-services a::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
@media (max-width: 768px) {
  .crumbs { padding-top: 16px; }
  .contact-top { padding-block: var(--sp-1) var(--sp-2); }
  .contact-top .eyebrow { margin-bottom: 16px; }
  .contact-top .h1 { margin-bottom: 14px; }
  .contact-top .lead { font-size: 1rem; line-height: 1.55; margin-bottom: 0; }
  .contact-top .dial { margin-top: 24px; }
  .dial__card { padding: 24px; }
  .dial__card h2 { margin-bottom: 4px; }
  .dial__card .dial__num { margin: 4px 0 14px; }
}
@media (max-width: 480px) {
  .dial__card .dial__num { font-size: clamp(1.6rem, 8.2vw, 2.25rem); white-space: nowrap; }
}
@media (max-width: 768px) {
  .contact-top .h1 { margin-bottom: 20px; }
  .dial__card h2 { margin-bottom: 20px; }
  .dial__card .dial__num { margin: 0 0 14px; }
}
