/* =========================================================
   KNH건축사사무소 — v2 공통 스타일
   ========================================================= */
@view-transition { navigation: auto; }

:root {
  --ink: #1B2230;
  --ink-2: #2B3240;
  --sub: #4A515C;
  --muted: #737A84;
  --paper: #FFFFFF;
  --concrete: #EDEFF0;
  --concrete-2: #E2E5E7;
  --line: #D4D8DB;
  --bronze: #A88A5C;
  --bronze-ink: #7E6440;
  --mark: #B8452F;
  --mark-soft: rgba(184, 69, 47, .14);

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif: "Noto Serif KR", "AppleMyungjo", "Batang", serif;

  --header-h: 64px;
  --max: 1240px;
  --gutter: 20px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.75; font-weight: 400;
  letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); }
.h-display {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(30px, 5.2vw, 54px); line-height: 1.28; letter-spacing: -0.035em;
}
.h-section {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(26px, 3.8vw, 40px); line-height: 1.32; letter-spacing: -0.03em;
}
.lead { color: var(--sub); font-size: 17px; line-height: 1.8; max-width: 34em; }
.lead strong, .body strong { color: var(--ink); font-weight: 600; }
.kicker { display: block; font-size: 14px; font-weight: 600; color: var(--bronze-ink); letter-spacing: 0; margin-bottom: 14px; }
.m-br { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 2px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--concrete); }
.btn-line-white { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-line-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-bronze { background: var(--bronze); color: #fff; }
.btn-bronze:hover { background: var(--bronze-ink); }
.btn-num { white-space: nowrap; padding-left: 12px; border-left: 1px solid currentColor; font-weight: 400; opacity: .9; }

.text-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--bronze); padding-bottom: 2px; transition: color .2s ease; }
.text-link:hover { color: var(--bronze-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--ink); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
  view-transition-name: site-header;
}
.has-hero .site-header:not(.solid) { background: transparent; color: #fff; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-open .site-header { background: #fff !important; color: var(--ink) !important; border-bottom-color: var(--line) !important; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 30px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 36px; }
.brand-ko { display: block; font-size: 18px; font-weight: 700; line-height: 20px; letter-spacing: -0.03em; }
.brand-en { display: block; margin-top: 4px; margin-right: -0.3em; font-size: 9.5px; font-weight: 500; line-height: 12px; letter-spacing: 0.3em; opacity: .75; }

.header-right { display: flex; align-items: center; gap: 4px; }

.nav-toggle { width: 44px; height: 44px; margin-right: -10px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: inherit; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.site-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; color: var(--ink); padding: 20px var(--gutter) 32px;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .3s ease, transform .4s var(--ease), visibility .3s; overflow-y: auto;
}
.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
.nav-open { overflow: hidden; }
.site-nav ul { border-top: 1px solid var(--line); }
.site-nav a.nav-link {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-family: var(--serif); font-size: 21px; letter-spacing: -0.02em;
}
.site-nav a.nav-link .hint { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.site-nav a.nav-link[aria-current="page"] { color: var(--bronze-ink); }
.site-nav .btn { width: 100%; margin-top: 24px; }

/* ---------- Hero (메인) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden; background: #151a22;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-media { position: absolute; inset: -10% 0; will-change: transform; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); animation: heroZoom 2.8s var(--ease) forwards, heroDrift 28s ease-in-out 2.8s infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.04); } }
/* 들어온 뒤에도 사진이 아주 천천히 밀려 움직임 (카메라 패닝 느낌) */
@keyframes heroDrift { from { transform: scale(1.04); } to { transform: scale(1.1) translate(-1.6%, -1.2%); } }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: 1px; height: 56px; background: rgba(255,255,255,.18); overflow: hidden; opacity: 0; animation: fadeIn .8s ease 1.6s forwards; }
.hero-scroll::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; transform: translateY(-100%); animation: scrollCue 2.4s var(--ease) 2s infinite; }
@keyframes scrollCue { 0% { transform: translateY(-100%); } 60% { transform: translateY(0); } 100% { transform: translateY(100%); } }
/* 첫 화면 사진 위 네온 테두리 (Neon Border): 어두운 막 위, 글자 아래. 헤더 아래에서 시작 */
.hero-neon { position: absolute; z-index: 1; inset: calc(var(--header-h) + 14px) 34px 34px; pointer-events: none; opacity: 0; animation: fadeIn 1.4s ease .9s forwards; }
/* 상담 신청 사진 위 파티클 (Particle Drift): 어두운 막 위, 글자 아래 */
.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; pointer-events: none; opacity: 0; transition: opacity 1.6s ease .6s; }
.particle-canvas.is-on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,18,26,.66) 0%, rgba(14,18,26,.42) 48%, rgba(14,18,26,.78) 100%); }
.hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 32px) var(--gutter) 104px; max-width: 980px; }
.hero-intro { display: block; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.86); letter-spacing: -0.01em; }
.hero h1 {
  margin-top: 22px; font-family: var(--serif); font-weight: 300; letter-spacing: -0.045em; line-height: 1.22;
  font-size: clamp(38px, min(7.4vw, 10vh), 80px);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.hero-rule { width: 64px; height: 1px; margin: 34px auto 0; background: var(--bronze); transform: scaleX(0); animation: ruleIn .9s var(--ease) .7s forwards; }
@keyframes ruleIn { to { transform: scaleX(1); } }
.hero-sub, .hero-actions, .hero-note { opacity: 0; animation: fadeIn .9s ease .85s forwards; }
.hero-actions { animation-delay: 1s; }
.hero-note { animation-delay: 1.1s; }
@keyframes fadeIn { to { opacity: 1; } }
.hero-sub { margin: 28px auto 0; max-width: 36em; font-size: 17px; color: rgba(255,255,255,.92); }
.hero-actions { margin-top: 38px; display: flex; flex-direction: column; gap: 10px; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.82); }
.hero-note a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); white-space: nowrap; }

/* ---------- Notice ---------- */
.notice { background: var(--ink); color: #fff; }
.notice-inner { display: grid; gap: 8px; padding-top: 22px; padding-bottom: 22px; }
.notice-date { font-size: 15px; font-weight: 600; }
.notice-date .tag { display: inline-block; margin-right: 10px; padding: 1px 8px; border: 1px solid var(--bronze); color: #D8C29C; font-size: 12px; font-weight: 500; vertical-align: 1px; }
.notice-text { font-size: 14.5px; color: rgba(255,255,255,.78); }
.notice-link { justify-self: start; font-size: 14.5px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid var(--bronze); }
.notice-link:hover { color: #D8C29C; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-concrete { background: var(--concrete); }
.section-head { margin-bottom: 48px; }
.section-head .lead { margin-top: 20px; }

/* ---------- Page header (서브 페이지) ---------- */
.page-head { padding: calc(var(--header-h) + 64px) 0 56px; background: var(--concrete); border-bottom: 1px solid var(--line); }
.crumb { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.25; letter-spacing: -0.04em; view-transition-name: page-title; }
.page-head .lead { margin-top: 20px; }

/* ---------- 단면 도식 (Section diagram) ---------- */
.diagram { width: 100%; height: auto; color: var(--ink); }
.diagram .st { fill: none; stroke: currentColor; stroke-width: 1.4; }
.diagram .st-thin { fill: none; stroke: currentColor; stroke-width: .8; opacity: .55; }
.diagram .ground { stroke: currentColor; stroke-width: 2; }
.diagram .hatch-ground { fill: url(#hatchGround); opacity: .6; }
.diagram .lbl { font-family: var(--sans); font-size: 16px; fill: var(--muted); letter-spacing: -0.01em; transition: fill .3s ease, font-weight .3s ease; }
.diagram .lead-line { stroke: var(--muted); stroke-width: .8; transition: stroke .3s ease; }
.diagram .zone-fill { fill: var(--mark-soft); opacity: 0; transition: opacity .45s var(--ease); }
.diagram .zone-hatch { fill: url(#hatchMark); opacity: 0; transition: opacity .45s var(--ease); }
.diagram .zone-edge { fill: none; stroke: var(--mark); stroke-width: 1.6; stroke-dasharray: 5 4; opacity: 0; transition: opacity .45s var(--ease); }
.diagram .zone.is-on .zone-fill, .diagram .zone.is-on .zone-hatch, .diagram .zone.is-on .zone-edge { opacity: 1; }
.diagram .zone.is-on .lbl { fill: var(--mark); font-weight: 700; }
.diagram .zone.is-on .lead-line { stroke: var(--mark); }
.diagram .zone.is-hover .zone-fill { opacity: .6; }

/* 메인 진입 섹션에서만 한 번 그려지는 선 연출 */
.draw .diagram .st, .draw .diagram .st-thin, .draw .diagram .ground { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.draw.drawn .diagram .st, .draw.drawn .diagram .st-thin, .draw.drawn .diagram .ground { animation: draw 2.2s var(--ease) forwards; }
.draw .diagram .lbl, .draw .diagram .lead-line { opacity: 0; transition: opacity .6s ease 1.4s; }
.draw.drawn .diagram .lbl, .draw.drawn .diagram .lead-line { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 메인: 1차 점검 진입 ---------- */
.precheck { display: grid; gap: 40px; }
.precheck-figure { background: #fff; border: 1px solid var(--line); padding: 20px 12px 8px; }
.chip-list { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; color: var(--ink); text-decoration: none; border-radius: 999px; transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.chip:hover, .chip:focus-visible { border-color: var(--mark); color: var(--mark); }
.precheck-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.precheck-meta { font-size: 14px; color: var(--muted); }

/* ---------- 상담 대상 (메인 요약) ---------- */
.who-list { border-top: 1px solid var(--ink); }
.who-list li { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.who-list h3 { font-size: 18.5px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.5; }
.who-list p { font-size: 15px; color: var(--sub); }

/* ---------- 서비스 요약 (메인) ---------- */
.svc-links { display: grid; border-top: 1px solid var(--ink); }
.svc-link {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: padding-left .35s var(--ease);
}
.svc-link h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.svc-link p { grid-column: 1; font-size: 15px; color: var(--sub); }
.svc-link svg { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; color: var(--bronze); transition: transform .35s var(--ease); }
.svc-link:hover { padding-left: 8px; }
.svc-link:hover svg { transform: translateX(4px); }

/* ---------- 상담 과정 ---------- */
.process { display: grid; border-top: 1px solid var(--ink); }
.step { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; }
.step-num { font-family: var(--serif); font-size: 34px; font-weight: 300; line-height: 1.1; color: var(--bronze-ink); font-variant-numeric: lining-nums; }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 8px; font-size: 15px; color: var(--sub); }

/* ---------- 서비스 상세 ---------- */
.services { display: grid; gap: 72px; }
.service { display: grid; gap: 28px; }
.service-figure { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--concrete-2); }
.service-figure img, .intro-figure img { width: 100%; height: 100%; object-fit: cover; }
.service h2 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 32px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.35; }
.service .order { display: block; font-size: 14px; font-weight: 600; color: var(--bronze-ink); margin-bottom: 10px; }
.flow { margin-top: 22px; border-top: 1px solid var(--ink); }
.flow > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.flow dt { font-size: 13.5px; font-weight: 600; color: var(--bronze-ink); }
.flow dd { margin-top: 4px; font-size: 15px; color: var(--sub); }
.flow > div:last-child dd { color: var(--ink); font-weight: 500; }

/* ---------- 검토 원칙 ---------- */
.intro { display: grid; gap: 48px; }
.intro-figure { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--concrete-2); }
.statement { font-family: var(--serif); color: var(--ink); font-size: clamp(26px, 4vw, 42px); font-weight: 300; line-height: 1.38; letter-spacing: -0.04em; }
.intro-text .body { margin-top: 24px; color: var(--sub); }
.values { margin-top: 44px; border-top: 1px solid var(--ink); }
.value { padding: 26px 0; border-bottom: 1px solid var(--line); }
.value h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.value p { margin-top: 8px; font-size: 15px; color: var(--sub); }

/* ---------- 준비사항 ---------- */
.checks { display: grid; gap: 40px; }
.check-list { border-top: 1px solid var(--ink); }
.check-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.check-list strong { display: block; font-weight: 600; font-size: 16px; }
.check-list .req { margin-left: 8px; padding: 1px 7px; font-size: 12px; font-weight: 600; color: var(--mark); border: 1px solid currentColor; vertical-align: 2px; }
.check-list .d { display: block; margin-top: 2px; font-size: 15px; color: var(--sub); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 20px; gap: 16px; align-items: start;
  padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.55;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; width: 16px; height: 16px; margin-top: 6px; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details[open] summary { color: var(--bronze-ink); }
.faq .answer { padding: 0 8px 26px 0; color: var(--sub); font-size: 16px; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer strong { color: var(--ink); font-weight: 600; }
.faq details[open] .answer { animation: answerIn .45s var(--ease); }
@keyframes answerIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Final CTA band ---------- */
.band { position: relative; color: #fff; overflow: hidden; background: #1a1f28; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-media { position: absolute; inset: -14% 0; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,26,.86) 0%, rgba(14,18,26,.5) 100%); }
.band .container { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 104px; }
.band h2 { font-family: var(--serif); font-size: clamp(30px, 5vw, 54px); font-weight: 300; line-height: 1.3; letter-spacing: -0.045em; }
.band .desc { margin-top: 22px; max-width: 34em; font-size: 17px; color: rgba(255,255,255,.9); }
.band .final-actions { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.band .final-note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 48px; }
.contact-actions { display: grid; gap: 10px; margin-top: 32px; }
.info-list { border-top: 1px solid var(--ink); }
.info-row { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-row svg { width: 20px; height: 20px; margin-top: 3px; color: var(--bronze); }
.info-row dt { font-weight: 600; }
.info-row dd { color: var(--sub); }
.info-row a { color: inherit; text-decoration: none; white-space: nowrap; }
.info-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-row a.main-tel { color: var(--ink); font-weight: 700; font-size: 18px; }
.info-row .note { display: block; margin-top: 2px; font-size: 13.5px; color: var(--bronze-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: 14px; }
.footer-inner { padding-top: 64px; padding-bottom: 40px; display: grid; gap: 36px; }
.footer-brand .name { font-family: var(--serif); font-size: 24px; color: #fff; letter-spacing: -0.03em; }
.footer-brand .exec { margin-top: 6px; color: #D8C29C; }
.footer-info { display: grid; gap: 6px; }
.footer-info a { color: #fff; text-decoration: none; }
.footer-info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; align-content: start; }
.footer-nav-title { grid-column: 1 / -1; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #D8C29C; }
.footer-nav a {
  position: relative; display: flex; align-items: center; padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.82); text-decoration: none; font-size: 14.5px;
  transition: color .25s ease, padding-left .35s var(--ease);
}
.footer-nav a::before {
  content: ""; width: 0; height: 1px; margin-right: 0; background: var(--bronze); transition: width .35s var(--ease), margin-right .35s var(--ease);
}
.footer-nav a:hover, .footer-nav a:focus-visible { color: #D8C29C; }
.footer-nav a:hover::before, .footer-nav a:focus-visible::before { width: 14px; margin-right: 10px; }
.footer-disclaimer { display: grid; gap: 6px; font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.55); max-width: 62em; }
.footer-copy { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: rgba(255,255,255,.45); }

/* ---------- Mobile call bar ---------- */
.mobile-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink); color: #fff; text-decoration: none; font-size: 16px; font-weight: 600;
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.mobile-call svg { width: 18px; height: 18px; }
.mobile-call.show { transform: none; }

/* ---------- 1차 점검 (check.html) ---------- */
.check-wrap { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 96px; }
.check-aside { align-self: start; }
.check-aside .diagram-box { background: #fff; border: 1px solid var(--line); padding: 16px 10px 6px; }
.check-aside .aside-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

.stepper { display: flex; gap: 6px; margin-bottom: 36px; }
.stepper li { flex: 1; }
.stepper .bar { display: block; height: 3px; background: var(--line); position: relative; overflow: hidden; }
.stepper .bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.stepper li.done .bar::after, .stepper li.current .bar::after { transform: scaleX(1); }
.stepper .t { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.stepper li.current .t { color: var(--ink); font-weight: 600; }

.q-step[hidden] { display: none; }
.q-step { animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.q-step h2 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 32px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.35; }
.q-step .q-help { margin-top: 10px; color: var(--sub); font-size: 15px; }
.q-group { margin-top: 32px; border: 0; padding: 0; min-width: 0; }
.q-group + .q-group { margin-top: 36px; }
.q-group legend { padding: 0; font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.q-group legend .opt { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 6px; }

.opt-grid { display: grid; gap: 10px; }
.opt-grid.cols-2 { grid-template-columns: 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt .box {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.opt .mk { width: 20px; height: 20px; margin-top: 2px; border: 1.5px solid #9AA0A7; border-radius: 2px; display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease; }
.opt input[type="radio"] + .box .mk { border-radius: 50%; }
.opt .mk svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .25s var(--ease); }
.opt .ttl { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.45; }
.opt .dsc { display: block; margin-top: 3px; font-size: 14px; color: var(--sub); line-height: 1.6; }
.opt:hover .box { border-color: #9AA0A7; }
.opt input:focus-visible + .box { outline: 2px solid var(--bronze); outline-offset: 2px; }
.opt input:checked + .box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:checked + .box .mk { background: var(--ink); border-color: var(--ink); }
.opt input:checked + .box .mk svg { opacity: 1; transform: none; }
.opt.is-violation input:checked + .box { border-color: var(--mark); box-shadow: inset 0 0 0 1px var(--mark); background: #FCF6F4; }
.opt.is-violation input:checked + .box .mk { background: var(--mark); border-color: var(--mark); }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg .opt .box { display: block; padding: 11px 18px; border-radius: 999px; }
.seg .opt .ttl { font-size: 15px; font-weight: 500; }
.seg .opt input:checked + .box { background: var(--ink); color: #fff; }

.etc-input { margin-top: 10px; width: 100%; min-height: 84px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 2px; font: inherit; font-size: 15px; resize: vertical; }
.etc-input:focus { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: transparent; }
.tip { margin-top: 14px; padding: 14px 16px; background: var(--concrete); font-size: 14px; color: var(--sub); line-height: 1.65; }
.tip strong { color: var(--ink); font-weight: 600; }

.q-nav { margin-top: 40px; display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.q-nav .err { flex-basis: 100%; font-size: 14px; color: var(--mark); min-height: 1.5em; }
.q-nav .btn[disabled] { opacity: .4; cursor: not-allowed; }

/* 결과 */
.result[hidden] { display: none; }
.result { animation: stepIn .55s var(--ease); }
.result-head { padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.result-head h2 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 36px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.32; }
.summary { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.summary > div { padding: 16px 18px; }
.summary > div + div { border-left: 1px solid var(--line); }
.summary dt { font-size: 13px; color: var(--muted); }
.summary dd { margin-top: 4px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.level { display: inline-flex; align-items: center; gap: 8px; }
.level::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.level-mid { color: var(--bronze-ink); }
.level-high { color: var(--mark); }
.level-tbd { color: var(--muted); }
.level-note { margin-top: 10px; font-size: 13px; color: var(--muted); }

.r-cards { margin-top: 8px; }
.r-card { padding: 26px 0; border-bottom: 1px solid var(--line); }
.r-card header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.r-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.025em; }
.r-card .level { font-size: 13.5px; font-weight: 600; }
.r-card .why { margin-top: 6px; font-size: 15px; color: var(--sub); }
.r-card ul { margin-top: 14px; display: grid; gap: 6px; }
.r-card li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.r-card li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 8px; height: 1px; background: var(--bronze); }
.r-notes { margin-top: 28px; display: grid; gap: 10px; }
.r-notes p { padding: 14px 16px; background: var(--concrete); font-size: 14.5px; color: var(--sub); }
.r-notes strong { color: var(--ink); font-weight: 600; }
.r-cta { margin-top: 36px; padding: 28px 24px; background: var(--ink); color: #fff; }
.r-cta h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.03em; }
.r-cta p { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.82); }
.r-cta .acts { margin-top: 22px; display: grid; gap: 10px; }
.r-disclaimer { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.r-restart { margin-top: 18px; background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; cursor: pointer; border-bottom: 1px solid var(--bronze); }

/* ---------- Reveal (필요한 곳에만) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 섹션 제목: 아래에서 위로 마스크가 걷히며 등장 */
.reveal h2 { clip-path: inset(0 0 100% 0); transform: translateY(28px); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in h2 { clip-path: inset(-12% -2% -12% -2%); transform: none; }
.no-js .reveal h2 { clip-path: none; transform: none; }

/* 목록: 항목이 순서대로 올라옴 */
.stagger.reveal { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .9s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > :nth-child(2) { transition-delay: .1s; }
.stagger.in > :nth-child(3) { transition-delay: .2s; }
.stagger.in > :nth-child(4) { transition-delay: .3s; }
.stagger.in > :nth-child(5) { transition-delay: .4s; }
.no-js .stagger > * { opacity: 1; transform: none; }

/* ---------- View transitions ---------- */
::view-transition-old(root) { animation: vtOut .28s ease both; }
::view-transition-new(root) { animation: vtIn .42s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero-actions, .band .final-actions { flex-direction: row; justify-content: center; }
  .band .final-actions { justify-content: flex-start; }
    .notice-inner { grid-template-columns: 1fr auto; align-items: center; column-gap: 24px; }
  .notice-link { grid-row: 1 / span 2; grid-column: 2; }
  .opt-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-cta .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-actions { grid-template-columns: repeat(2, max-content); }
  .mobile-call { display: none; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 76px; --gutter: 48px; }
  .section { padding: 128px 0; }
  .section-head { margin-bottom: 64px; }
  .section-head.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
  .section-head.split > :first-child { grid-column: 1 / span 6; }
  .section-head.split > .lead { grid-column: 8 / span 5; margin-top: 0; }

  .header-inner { display: grid; grid-template-columns: auto 1fr; column-gap: 40px; }
  .header-right { display: none; }
  .nav-toggle { display: none; }
  .site-nav { position: static; visibility: visible; opacity: 1; transform: none; background: none; color: inherit; padding: 0; overflow: visible; justify-self: end; }
  .site-nav ul { display: flex; gap: 34px; border: 0; }
  .site-nav a.nav-link { padding: 6px 0; border: 0; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; position: relative; }
  .site-nav a.nav-link .hint { display: none; }
  .site-nav a.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .site-nav a.nav-link:hover::after, .site-nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a.nav-link[aria-current="page"] { color: inherit; }
  .site-nav .btn { display: none; }
      .site-header   .has-hero .site-header:not(.solid) 
  .hero-sub { font-size: 18px; }
  .page-head { padding: calc(var(--header-h) + 96px) 0 72px; }

  .precheck { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
  .precheck-text { grid-column: 1 / span 5; }
  .precheck-figure { grid-column: 7 / span 6; padding: 28px 20px 12px; }

  .who-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .who-wrap .section-head { grid-column: 1 / span 4; margin-bottom: 0; }
  .who-wrap .who-list { grid-column: 6 / span 7; }

  .svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }

  .process { grid-template-columns: repeat(4, 1fr); column-gap: 32px; border-top: 0; }
  .step { grid-template-columns: 1fr; border-top: 1px solid var(--ink); border-bottom: 0; padding: 26px 0 0; }
  .step-num { font-size: 54px; margin-bottom: 32px; }

  .services { gap: 120px; }
  .service { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
  .service .service-figure { grid-column: 1 / span 7; }
  .service > div { grid-column: 9 / span 4; }
  .service:nth-child(even) .service-figure { grid-column: 6 / span 7; order: 2; }
  .service:nth-child(even) > div { grid-column: 1 / span 4; order: 1; }

  .intro { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .intro-figure { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 40px); }
  .intro-text { grid-column: 7 / span 6; }

  .checks { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .checks header { grid-column: 1 / span 5; }
  .check-list { grid-column: 7 / span 6; }

  .faq-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .faq-wrap .section-head { grid-column: 1 / span 4; margin-bottom: 0; }
  .faq { grid-column: 6 / span 7; }
  .faq summary { font-size: 18.5px; padding: 26px 0; }

  .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .contact-grid > :first-child { grid-column: 1 / span 5; }
  .contact-grid > :last-child { grid-column: 7 / span 6; }

  .check-wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 40px; padding-top: 72px; padding-bottom: 128px; }
  .check-main { grid-column: 1 / span 7; }
  .check-aside { grid-column: 8 / span 5; position: sticky; top: calc(var(--header-h) + 32px); order: 2; }

  .footer-inner { grid-template-columns: 1.1fr 1fr 1fr; column-gap: 48px; }
  .footer-disclaimer, .footer-copy { grid-column: 1 / -1; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .site-nav ul { gap: 22px; }
  .header-inner { column-gap: 24px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 639px) {
  h1, h2, h3, .lead, .hero-sub, .band .desc { text-wrap: balance; }
  p, dd, li { text-wrap: pretty; }
  .m-br { display: inline; }
  .brand-ko { font-size: 17px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .lead { font-size: 15.5px; }

  .hero { display: block; min-height: 0; }
  .hero-content { padding: calc(var(--header-h) + 72px) var(--gutter) 64px; }
  .hero h1 { font-size: 36px; margin-top: 16px; }
  .hero-intro { font-size: 13.5px; }
  .hero-sub { font-size: 15.5px; margin-top: 24px; }
  .hero-note { font-size: 13px; }
  .hero-scroll { display: none; }
  .hero-neon { inset: calc(var(--header-h) + 8px) 12px 14px; }

  .page-head { padding: calc(var(--header-h) + 44px) 0 40px; }

  .precheck-figure { padding: 12px 4px 4px; }
  .chip { min-height: 40px; padding: 0 14px; font-size: 14px; }

  .svc-link h3 { font-size: 20px; }
  .step { grid-template-columns: 48px 1fr; padding: 22px 0; }
  .step-num { font-size: 28px; }

  .services { gap: 56px; }
  .intro-figure { aspect-ratio: 4 / 3; }

  .band .container { padding-top: 72px; padding-bottom: 72px; }
  .band::after { background: linear-gradient(180deg, rgba(14,18,26,.78) 0%, rgba(14,18,26,.7) 55%, rgba(14,18,26,.9) 100%); }

  .check-wrap { padding-top: 32px; padding-bottom: 96px; }
  .check-aside { order: -1; }
  .check-aside .diagram-box { padding: 10px 4px 2px; }
  .check-aside .aside-note { display: none; }
  .opt .box { padding: 14px 14px; gap: 12px; }
  .summary dd { font-size: 16px; }
  .r-cta { padding: 24px 18px; }
  .site-footer { padding-bottom: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .hero h1 .line > span { transform: none; }
  .hero-sub, .hero-actions, .hero-note { opacity: 1; }
  .hero-rule { transform: none; }
  .draw .diagram .st, .draw .diagram .st-thin, .draw .diagram .ground { stroke-dasharray: none; stroke-dashoffset: 0; }
  .draw .diagram .lbl, .draw .diagram .lead-line { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .reveal h2, .stagger > * { opacity: 1; clip-path: none; transform: none; }
  .hero-scroll { display: none; }
  .hero-img { animation: none; transform: scale(1.04); }
  @view-transition { navigation: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stepper[hidden], #etc-wrap[hidden] { display: none; }
body[data-page="check.html"] .mobile-call { display: none; }
@media (max-width: 639px) { body[data-page="check.html"] .site-footer { padding-bottom: 0; } }

/* =========================================================
   모바일 전용 리파인 (639px 이하). 데스크톱에는 영향 없음.
   섹션별 톤: 첫 화면 = 어둡고 강하게 / 1차 점검 = 밝고 도구적 /
   상담 대상 = 차분한 콘크리트 / 서비스 = 카드형 / 과정 = 타임라인 / 상담 신청 = 사진 위 강조
   ========================================================= */
@media (max-width: 639px) {
  :root { --gutter: 22px; --m-ease: cubic-bezier(.32, .72, 0, 1); }
  body { font-size: 16px; }
  .lead, .who-list p, .svc-link p, .step p, .flow dd, .value p, .faq .answer, .check-list .d { color: #3D4450; }
  .lead { font-size: 16px; line-height: 1.75; }

  /* 섹션 리듬: 아래 여백을 조금 더 크게 */
  .section { padding: 76px 0 84px; }
  .section-head { margin-bottom: 30px; }
  .h-section { font-size: 30px; line-height: 1.3; letter-spacing: -0.04em; }
  .h-display { font-size: 34px; line-height: 1.26; letter-spacing: -0.045em; }

  /* 버튼: 손가락으로 누르기 쉽게, 누를 때 눌리는 느낌 */
  .btn { min-height: 56px; border-radius: 999px; font-size: 16px; font-weight: 600; transition: transform .25s var(--m-ease), background-color .25s ease, color .25s ease; }
  .btn:active { transform: scale(.98); }
  .btn svg.arrow { width: 32px; height: 32px; padding: 8px; margin-right: -14px; border-radius: 50%; background: rgba(27,34,48,.08); }
  .btn-ink svg.arrow, .btn-line-white svg.arrow { background: rgba(255,255,255,.14); }

  /* 모바일 메뉴: 링크가 차례로 올라옴 */
  .site-nav li { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s var(--m-ease); }
  .nav-open .site-nav li { opacity: 1; transform: none; }
  .nav-open .site-nav li:nth-child(2) { transition-delay: .05s; }
  .nav-open .site-nav li:nth-child(3) { transition-delay: .1s; }
  .nav-open .site-nav li:nth-child(4) { transition-delay: .15s; }
  .nav-open .site-nav li:nth-child(5) { transition-delay: .2s; }
  .site-nav a.nav-link { font-size: 24px; padding: 20px 0; }

  /* ---- 첫 화면: 왼쪽 정렬, 아래에서부터 쌓이는 구성 ---- */
  .hero { display: flex; align-items: flex-end; min-height: 100svh; text-align: left; }
  .hero::after { background: linear-gradient(180deg, rgba(14,18,26,.55) 0%, rgba(14,18,26,.35) 32%, rgba(14,18,26,.82) 68%, rgba(14,18,26,.94) 100%); }
  .hero-content { width: 100%; padding: calc(var(--header-h) + 40px) var(--gutter) 36px; }
  .hero-intro {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(216,194,156,.45); border-radius: 999px;
    font-size: 12.5px; font-weight: 500; color: #E9DCC3; background: rgba(14,18,26,.35);
  }
  .hero-intro::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #D8C29C; animation: pulseDot 2.4s ease-in-out infinite; }
  @keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  .hero h1 { margin-top: 18px; font-size: clamp(38px, 11vw, 46px); line-height: 1.17; letter-spacing: -0.055em; }
  /* 핵심 문구: 따뜻한 금빛 + 처음 한 번 빛이 훑고 지나감 */
  .hero h1 .hl {
    font-weight: 500; color: #E6CFA4;
    background: linear-gradient(100deg, #E6CFA4 0%, #E6CFA4 40%, #FFF6E4 50%, #E6CFA4 60%, #E6CFA4 100%);
    background-size: 250% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: lineUp 1.1s var(--ease) .12s forwards, shine 1.6s ease 1.3s forwards;
  }
  @keyframes shine { to { background-position: 0 0; } }
  .hero-rule { margin: 24px 0 0; width: 48px; transform-origin: left; }
  .hero-sub { margin: 20px 0 0; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.9); }
  .hero-actions { margin-top: 30px; gap: 10px; }
  .hero-note { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,.7); }
  .hero-note .m-br { display: none; }

  /* ---- 공지: 브론즈 선으로 구분 ---- */
  .notice-inner { gap: 6px; padding: 22px 0 24px 16px; margin-left: var(--gutter); width: calc(100% - var(--gutter) * 2); border-left: 2px solid var(--bronze); }
  .notice-date { font-size: 15px; line-height: 1.55; }
  .notice-date .tag { display: table; margin: 0 0 8px; }
  .notice-text { font-size: 14.5px; }
  .notice-link { margin-top: 6px; }

  /* ---- 1차 점검 진입: 밝고 도구 같은 톤 ---- */
  #precheck { padding-top: 64px; }
  .precheck { gap: 32px; }
  .precheck > * { min-width: 0; }
  .precheck-text .lead { margin-top: 18px !important; }
  .chip-list {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    margin: 26px calc(var(--gutter) * -1) 0; padding: 2px var(--gutter) 6px; scrollbar-width: none;
  }
  .chip-list::-webkit-scrollbar { display: none; }
  .chip-list li { flex: none; scroll-snap-align: start; }
  .chip { min-height: 44px; padding: 0 16px; font-size: 14.5px; font-weight: 500; }
  .precheck-actions { margin-top: 26px; display: grid; gap: 12px; }
  .precheck-actions .btn { width: 100%; }
  .precheck-meta { font-size: 13.5px; text-align: center; }
  .precheck-figure { border: 0; border-radius: 20px; padding: 14px 8px 6px; background: #fff; box-shadow: 0 0 0 1px rgba(27,34,48,.06), 0 18px 40px -22px rgba(27,34,48,.35); }

  /* ---- 상담 대상: 차분한 목록, 왼쪽 브론즈 표시 ---- */
  .who-list { border-top: 0; display: grid; gap: 10px; }
  .who-list li { position: relative; padding: 20px 20px 20px 22px; border: 0; background: #fff; border-radius: 16px; }
  .who-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: var(--bronze); }
  .who-list h3 { font-size: 17.5px; line-height: 1.45; }
  .who-list p { font-size: 15px; line-height: 1.7; }

  /* ---- 서비스: 누를 수 있는 카드 ---- */
  .svc-links { border-top: 0; gap: 12px; }
  .svc-link { grid-template-columns: 1fr 40px; padding: 22px 18px 22px 22px; border: 0; border-radius: 18px; background: var(--concrete); transition: transform .3s var(--m-ease), background-color .3s ease; }
  .svc-link:hover { padding-left: 22px; }
  .svc-link:active { transform: scale(.985); background: var(--concrete-2); }
  .svc-link h3 { font-size: 21px; line-height: 1.35; }
  .svc-link p { font-size: 14.5px; line-height: 1.65; }
  .svc-link svg { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--ink); color: #fff; }

  /* ---- 상담 과정: 세로 타임라인 ---- */
  .process { border-top: 0; }
  .step { position: relative; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 0 0 28px; border: 0; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 1px; background: linear-gradient(var(--bronze), rgba(168,138,92,.15)); }
  .step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--bronze); background: #fff; font-size: 20px; line-height: 1; }
  .step h3 { padding-top: 10px; font-size: 18px; }
  .step p { font-size: 15px; line-height: 1.7; }

  /* ---- 최종 상담 신청 ---- */
  .band .container { padding-top: 84px; padding-bottom: 88px; }
  .band h2 { font-size: 33px; line-height: 1.28; }
  .band .desc { font-size: 16px; }
  .band .final-actions .btn { width: 100%; }
  .band .btn-num { display: none; }

  /* ---- 하단 전화 바: 떠 있는 알약 모양 ---- */
  .mobile-call {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 56px; padding-bottom: 0;
    border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(14,18,26,.6), inset 0 1px 0 rgba(255,255,255,.08);
    transform: translateY(calc(100% + 28px)); transition: transform .5s var(--m-ease);
  }
  .site-footer { padding-bottom: 84px; }

  /* 서브 페이지 머리말 */
  .page-head h1 { font-size: 34px; line-height: 1.25; }
}

/* 검토 원칙 페이지 상담 신청 영역 오른쪽: 유리 프리즘 (Glass Prism). 데스크톱에서만 표시 */
.band-prism { display: none; }
@media (min-width: 1024px) {
  .band-prism {
    display: block; position: absolute; z-index: 1; top: 0; bottom: 0; width: 400px;
    right: calc(max(0px, (100% - var(--max)) / 2) + var(--gutter));
    opacity: 0; transition: opacity 1.4s ease .3s;
  }
  .band-prism.is-on { opacity: 1; }
}

/* =========================================================
   서브 페이지 전용 효과 (절제된 톤: 설계 도면 · 선 · 빛)
   1) 머리말 도면 격자 + 마우스 빛  2) 머리말 글자 등장  3) 이미지 리빌
   4) 구분선 그리기 + 항목 순차 등장  5) 선택지·행 호버 라인
   ========================================================= */

/* 1) 머리말 배경: 옅은 격자는 늘 보이고, 빛이 지나가는 곳만 브론즈색으로 또렷해짐 */
.page-head { position: relative; overflow: hidden; isolation: isolate; --mx: 72%; --my: 45%; }
.page-head::before, .page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 48px 48px; }
.page-head::before {
  background-image: linear-gradient(to right, rgba(27,34,48,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(27,34,48,.07) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle 360px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 100%);
  mask-image: radial-gradient(circle 360px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 100%);
}
.page-head::after {
  background-image: linear-gradient(to right, rgba(168,138,92,.55) 1px, transparent 1px), linear-gradient(to bottom, rgba(168,138,92,.55) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle 230px at var(--mx) var(--my), #000 0%, transparent 100%);
  mask-image: radial-gradient(circle 230px at var(--mx) var(--my), #000 0%, transparent 100%);
}

/* 2) 머리말 글자: 한 번, 아래에서 걷히며 등장 */
.page-head .crumb, .page-head .lead { opacity: 0; animation: headFade .9s ease .45s forwards; }
.page-head .lead { animation-delay: .6s; }
.page-head h1 { animation: headMask 1.1s var(--ease) .1s both; }
@keyframes headFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes headMask { from { clip-path: inset(0 0 100% 0); transform: translateY(26px); } to { clip-path: inset(-12% -2% -12% -2%); transform: none; } }

/* 3) 이미지 리빌: 회색 틀 안에서 사진이 왼쪽에서 오른쪽으로 열리며 1.14배 → 1배 (틀은 그대로 두어야 화면 진입을 감지할 수 있음) */
.img-reveal img { clip-path: inset(0 100% 0 0); transform: scale(1.14); transition: clip-path 1.4s var(--ease), transform 2.2s var(--ease); }
.img-reveal.in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.no-js .img-reveal img { clip-path: none; transform: none; }
.service:hover .img-reveal.in img, .intro-figure.in:hover img { transform: scale(1.03); transition-duration: 1.2s; }

/* 4) 구분선: 그려지듯 나타나고, 항목은 위에서부터 차례로 */
.draw-line { position: relative; border-top-color: transparent !important; }
.draw-line::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }
.draw-line.in::before { transform: scaleX(1); }
.no-js .draw-line::before { transform: none; }
.stagger.in > :nth-child(6) { transition-delay: .5s; }
.stagger.in > :nth-child(7) { transition-delay: .6s; }
.stagger.in > :nth-child(8) { transition-delay: .7s; }

/* 5) 호버 라인: 문의 정보·FAQ 줄 아래로 브론즈 선이 지나감 */
.info-row, .faq details { position: relative; }
.info-row::after, .faq details::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); pointer-events: none;
}
.info-row:hover::after, .faq details:hover::after, .faq details[open]::after { transform: scaleX(1); }

/* 점검 선택지: 마우스 쪽 테두리가 은은하게 빛남 */
.opt .box { position: relative; }
.opt .box::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(150px circle at var(--x, 50%) var(--y, 50%), rgba(168,138,92,.95), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s ease;
}
.opt:hover .box::before { opacity: 1; }

@media (max-width: 639px) {
  .page-head::before, .page-head::after { background-size: 36px 36px; }
  .page-head::before { -webkit-mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 100%); mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 100%); }
  .page-head::after { -webkit-mask-image: radial-gradient(circle 160px at var(--mx) var(--my), #000 0%, transparent 100%); mask-image: radial-gradient(circle 160px at var(--mx) var(--my), #000 0%, transparent 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .page-head .crumb, .page-head .lead { opacity: 1; animation: none; }
  .page-head h1 { animation: none; }
  .img-reveal img { clip-path: none; transform: none; }
  .draw-line::before { transform: none; }
}

/* =========================================================
   메인 2·3·4번 섹션 강화
   2 공지 = 시행일 D-day + 빛 훑기 / 3 1차 점검 = 도면 격자 + 부위 순환 + 스캔선 / 4 상담 대상 = 체크 그리기 + 마우스 빛
   ========================================================= */

/* ---- 2) 공지: D-day ---- */
.notice { position: relative; overflow: hidden; }
.notice::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 36%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(216,194,156,.12) 50%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg); animation: noticeSweep 8s ease-in-out 1.8s infinite;
}
.notice::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--bronze), transparent); opacity: .7; }
@keyframes noticeSweep { 0% { transform: translateX(-140%) skewX(-18deg); } 40%, 100% { transform: translateX(420%) skewX(-18deg); } }
.notice-inner { position: relative; z-index: 1; padding-top: 30px; padding-bottom: 30px; gap: 18px; }
.notice-dday { display: flex; align-items: baseline; gap: 14px; }
.dday-label { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.72); }
.dday-num { font-family: var(--serif); font-weight: 300; font-size: 60px; line-height: 1; letter-spacing: -0.04em; color: #E6CFA4; font-variant-numeric: tabular-nums lining-nums; }
.dday-num b { font-weight: 400; }
.notice-copy { display: grid; gap: 6px; }
@media (min-width: 640px) {
  .notice-inner { grid-template-columns: auto 1fr auto; column-gap: 40px; align-items: center; }
  .notice-dday { padding-right: 40px; border-right: 1px solid rgba(255,255,255,.16); }
  .notice-link { grid-row: auto; grid-column: 3; }
}
@media (min-width: 1024px) {
  .notice-inner { column-gap: 56px; padding-top: 38px; padding-bottom: 38px; }
  .notice-dday { padding-right: 56px; }
  .dday-num { font-size: 72px; }
  .notice-date { font-size: 17px; }
  .notice-text { font-size: 15.5px; }
}
@media (max-width: 639px) {
  .dday-num { font-size: 52px; }
  .notice-inner { gap: 14px; }
}

/* ---- 3) 1차 점검 안내: 도면 격자 섹션 + 부위 순환 + 스캔선 ---- */
.blueprint { position: relative; overflow: hidden; isolation: isolate; --mx: 70%; --my: 45%; }
.blueprint::before, .blueprint::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 48px 48px; }
.blueprint::before {
  background-image: linear-gradient(to right, rgba(27,34,48,.075) 1px, transparent 1px), linear-gradient(to bottom, rgba(27,34,48,.075) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle 420px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.3) 100%);
  mask-image: radial-gradient(circle 420px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.3) 100%);
}
.blueprint::after {
  background-image: linear-gradient(to right, rgba(168,138,92,.55) 1px, transparent 1px), linear-gradient(to bottom, rgba(168,138,92,.55) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000 0%, transparent 100%);
  mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000 0%, transparent 100%);
}
.precheck-figure { position: relative; overflow: hidden; }
.precheck-figure::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(168,138,92,.20) 85%, rgba(168,138,92,.55) 100%);
  border-bottom: 1px solid rgba(168,138,92,.7); transform: translateY(-100%);
}
.precheck-figure.drawn::after { opacity: 1; animation: scanDown 6s var(--ease) 2.6s infinite; }
@keyframes scanDown { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(calc(100% + 380px)); } }
/* 자동으로 훑는 부위는 마우스로 고른 것과 같은 모양으로 표시 */
.diagram .zone.is-cycle .zone-fill, .diagram .zone.is-cycle .zone-hatch, .diagram .zone.is-cycle .zone-edge { opacity: 1; }
.diagram .zone.is-cycle .lbl { fill: var(--mark); font-weight: 700; }
.diagram .zone.is-cycle .lead-line { stroke: var(--mark); }
.chip.is-cycle { border-color: var(--mark); color: var(--mark); background: #FCF6F4; }

/* ---- 4) 상담 대상: 체크 표시가 그려지고, 마우스 빛이 따라다님 ---- */
.who-list li { position: relative; grid-template-columns: 30px 1fr; column-gap: 20px; align-items: start; }
.who-list li > h3 { grid-column: 2; grid-row: 1; transition: transform .45s var(--ease), color .3s ease; }
.who-list li > p { grid-column: 2; grid-row: 2; }
.who-check { grid-column: 1; grid-row: 1 / span 2; width: 30px; height: 30px; margin-top: 1px; overflow: visible; }
.who-check circle, .who-check path {
  stroke: var(--bronze); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease) var(--d, 0s), fill .35s ease, stroke .35s ease;
}
.who-check path { stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition-delay: calc(var(--d, 0s) + .5s), 0s, 0s; }
.who-list li:nth-child(2) { --d: .1s; } .who-list li:nth-child(3) { --d: .2s; } .who-list li:nth-child(4) { --d: .3s; }
.stagger.in .who-check circle, .stagger.in .who-check path { stroke-dashoffset: 0; }
.no-js .who-check circle, .no-js .who-check path { stroke-dashoffset: 0; }
.who-list li::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(168,138,92,.18), transparent 70%);
}
.who-list li:hover::after { opacity: 1; }
.who-list li:hover .who-check circle { fill: var(--bronze); }
.who-list li:hover .who-check path { stroke: #fff; }
.who-list li:hover > h3 { transform: translateX(4px); }
@media (min-width: 1024px) {
  .who-wrap .section-head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .who-list li { padding: 30px 12px 30px 8px; }
}
@media (max-width: 639px) {
  .blueprint::before, .blueprint::after { background-size: 36px 36px; }
  .who-list li { column-gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .notice::before, .precheck-figure.drawn::after { animation: none; }
  .precheck-figure::after { display: none; }
  .who-check circle, .who-check path { stroke-dashoffset: 0; }
}

/* =========================================================
   메인 5·6·7번 섹션 + 푸터 강화
   5 서비스 = 점 격자 + 카드 채움 호버 / 6 상담 과정 = 번호 채움 + 선 이어짐 /
   7 상담 신청 = 사진 천천히 이동 + 버튼 빛 + 마우스 따라오기 / 푸터 = 외곽선 워드마크
   ========================================================= */

/* ---- 5) 서비스: 점 격자(마우스 주변이 브론즈색으로 켜짐) ---- */
.dotfield { position: relative; overflow: hidden; isolation: isolate; --mx: 30%; --my: 40%; }
.dotfield::before, .dotfield::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 30px 30px; }
.dotfield::before {
  background-image: radial-gradient(circle, rgba(27,34,48,.20) 1.2px, transparent 1.6px);
  -webkit-mask-image: radial-gradient(circle 460px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.25) 100%);
  mask-image: radial-gradient(circle 460px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.25) 100%);
}
.dotfield::after {
  background-image: radial-gradient(circle, rgba(168,138,92,.95) 1.5px, transparent 2px);
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000 0%, transparent 100%);
  mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000 0%, transparent 100%);
}

/* 서비스 줄: 마우스를 올리면 남색이 왼쪽에서 채워지며 글자가 흰색으로 */
.svc-link { position: relative; overflow: hidden; isolation: isolate; }
.svc-link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.svc-link::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(168,138,92,.30), transparent 70%);
}
.svc-link h3, .svc-link p { transition: color .45s ease .08s, transform .5s var(--ease); }
@media (hover: hover) {
  .svc-link:hover::before { transform: scaleX(1); }
  .svc-link:hover::after { opacity: 1; }
  .svc-link:hover h3 { color: #fff; }
  .svc-link:hover p { color: rgba(255,255,255,.78); }
  .svc-link:hover svg { color: #E6CFA4; }
}
@media (min-width: 1024px) { .svc-link { padding-left: 14px; padding-right: 14px; } .svc-link:hover { padding-left: 14px; } .svc-link:hover h3 { transform: translateX(8px); } }

/* ---- 6) 상담 과정: 번호가 외곽선에서 채워지고, 선이 이어짐 ---- */
.step { position: relative; }
.step-num { color: transparent; -webkit-text-stroke: 1px var(--bronze-ink); transition: color .9s ease var(--d, 0s), background-color .6s ease var(--d, 0s), border-color .6s ease var(--d, 0s); }
.step.on .step-num { color: var(--bronze-ink); }
.step h3, .step p { transition: opacity .9s ease var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.step:not(.on) h3, .step:not(.on) p { opacity: .35; transform: translateY(8px); }
.no-js .step-num { color: var(--bronze-ink); }
@media (min-width: 1024px) {
  .step::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) var(--d, 0s); }
  .step.on::before { transform: scaleX(1); }
}
@media (max-width: 639px) {
  .step-num { -webkit-text-stroke: 0; color: var(--bronze-ink); }
  .step:not(.on) .step-num { background: #fff; }
  .step.on .step-num { background: var(--bronze); border-color: var(--bronze); color: #fff; }
  .step:not(:last-child)::before { transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease) .3s; }
  .step.on:not(:last-child)::before { transform: scaleY(1); }
}

/* ---- 7) 상담 신청: 사진이 아주 천천히 움직이고, 주 버튼에 빛이 지나감 ---- */
.band-media img { animation: bandDrift 30s ease-in-out infinite alternate; }
@keyframes bandDrift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.band .btn-white { position: relative; overflow: hidden; isolation: isolate; will-change: transform; transition: transform .35s var(--ease), background-color .25s ease; }
.band .btn-white::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(168,138,92,.38), transparent);
  transform: translateX(-160%) skewX(-18deg); animation: btnShine 5.5s ease-in-out 2s infinite;
}
@keyframes btnShine { 0% { transform: translateX(-160%) skewX(-18deg); } 35%, 100% { transform: translateX(380%) skewX(-18deg); } }

/* ---- 푸터: 크게 깔리는 외곽선 워드마크 ---- */
.site-footer { overflow: hidden; }
.site-footer::after {
  content: "KNH ARCHITECTS"; display: block; margin: 12px auto 0; padding: 0 var(--gutter) .06em; text-align: center; white-space: nowrap; overflow: hidden;
  font-family: var(--sans); font-weight: 700; font-size: clamp(34px, 9.6vw, 168px); line-height: .92; letter-spacing: .04em;
  user-select: none; pointer-events: none; color: transparent; -webkit-text-fill-color: transparent;
  background:
    linear-gradient(100deg, rgba(216,194,156,0) 35%, rgba(216,194,156,.30) 50%, rgba(216,194,156,0) 65%) 130% 0 / 250% 100% no-repeat,
    linear-gradient(rgba(216,194,156,.085), rgba(216,194,156,.085));
  -webkit-background-clip: text; background-clip: text; animation: markShine 9s ease-in-out 1s infinite;
}
@keyframes markShine { 0% { background-position: 130% 0, 0 0; } 45%, 100% { background-position: -30% 0, 0 0; } }
@media (max-width: 639px) { .site-footer::after { margin-top: 4px; } }

@media (prefers-reduced-motion: reduce) {
  .band-media img, .band .btn-white::after, .site-footer::after { animation: none; }
  .step-num { color: var(--bronze-ink); }
  .step:not(.on) h3, .step:not(.on) p { opacity: 1; transform: none; }
  .step::before { transform: none !important; }
}

/* =========================================================
   상담 과정 · 1차 점검 페이지 · FAQ 강화
   과정 = 대각선 해칭이 천천히 흐르고 선 위로 빛이 지나감 /
   1차 점검 = 점 격자 + 네온 테두리 도식 + 선택 시 번쩍임 / FAQ = 도면 격자 + 부드러운 펼침 + 큰 물음표
   ========================================================= */

/* ---- 상담 과정 (메인·서비스 페이지 공통) ---- */
#process { position: relative; overflow: hidden; isolation: isolate; }
#process::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(135deg, transparent 0 calc(50% - .5px), rgba(27,34,48,.085) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px));
  background-size: 34px 34px; animation: hatchSlide 26s linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
}
@keyframes hatchSlide { to { background-position: 34px 34px; } }
.step-num { transition-property: color, background-color, border-color, transform; }
@media (hover: hover) {
  .step:hover .step-num { transform: translateY(-6px); }
  .step:hover h3 { color: var(--bronze-ink); }
}
@media (min-width: 1024px) {
  .process { position: relative; }
  .process.in::after {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; pointer-events: none; z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(255,246,228,.95), transparent) -30% 0 / 24% 100% no-repeat;
    animation: railRun 5.5s ease-in-out 2.2s infinite;
  }
}
@keyframes railRun { 0% { background-position: -30% 0; } 70%, 100% { background-position: 135% 0; } }

/* ---- 1차 점검 페이지 ---- */
.check-section { position: relative; background: #fff; }
.check-section.dotfield::before { background-size: 32px 32px; }
.check-aside .diagram-box { border-radius: 14px; background: #fff; }
.neon-frame { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.opt input:checked + .box { animation: pickPulse .7s var(--ease); }
@keyframes pickPulse { 0% { box-shadow: 0 0 0 0 rgba(168,138,92,.55); } 100% { box-shadow: 0 0 0 12px rgba(168,138,92,0); } }
.opt input:checked + .box { box-shadow: inset 0 0 0 1px var(--ink); }
.opt.is-violation input:checked + .box { box-shadow: inset 0 0 0 1px var(--mark); }
.stepper li.current .t { position: relative; }
.stepper li.current .t::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--bronze); vertical-align: 1px; animation: pulseDot 2.2s ease-in-out infinite; }

/* ---- FAQ (차분하게): 펼침은 부드럽게, 답변 문단은 마스크가 걷히듯 ---- */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .6s var(--ease), content-visibility .6s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { transition: color .35s ease; }
.faq .pm { transition: transform .6s var(--ease); }
.faq details[open] .pm { transform: rotate(180deg); }
.faq details[open] .answer { animation: none; }
.faq details[open] .answer p { animation: ansReveal 1s var(--ease) .1s both; }
.faq details[open] .answer p + p { animation-delay: .26s; }
@keyframes ansReveal { from { clip-path: inset(0 0 100% 0); opacity: 0; transform: translateY(10px); } to { clip-path: inset(-6% -2% -6% -2%); opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  #process::before, .process.in::after, .stepper li.current .t::after, .opt input:checked + .box, .faq details[open] .answer p { animation: none; }
}

/* hidden 속성은 어떤 display 스타일보다 우선 */
[hidden] { display: none !important; }

/* =========================================================
   준비 체크리스트와 1차 점검 대칭
   ========================================================= */

/* ---- 상담 전 준비: 직접 체크해 보는 목록 ---- */
.pre-progress { margin-top: 36px; max-width: 360px; }
.pre-bar { height: 3px; background: var(--concrete-2); overflow: hidden; }
.pre-bar span { display: block; height: 100%; background: var(--bronze); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .8s var(--ease); }
.pre-msg { margin-top: 12px; font-size: 14.5px; color: var(--sub); font-variant-numeric: tabular-nums; }
.pre-msg b { color: var(--ink); font-weight: 700; }
.pre-cta { display: none; margin-top: 18px; min-height: 48px; font-size: 15px; }
.pre-progress.complete .pre-cta { display: inline-flex; animation: ctaIn .7s var(--ease) both; }
@keyframes ctaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pre-label { position: relative; display: grid; grid-template-columns: 26px 1fr; column-gap: 16px; cursor: pointer; }
.pre-input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pre-tick { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 1.5px solid #9AA0A7; border-radius: 50%; background: #fff; transition: background-color .35s ease, border-color .35s ease, transform .35s var(--ease); }
.pre-tick svg { width: 14px; height: 14px; }
.pre-tick path { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease); }
.pre-input:checked + .pre-tick { background: var(--bronze); border-color: var(--bronze); transform: scale(1.06); }
.pre-input:checked + .pre-tick path { stroke-dashoffset: 0; }
.pre-input:focus-visible + .pre-tick { outline: 2px solid var(--bronze); outline-offset: 3px; }
@media (hover: hover) { .pre-label:hover .pre-tick { border-color: var(--bronze); } }
.pre-text strong, .pre-text .d { transition: opacity .4s ease, color .4s ease; }
.check-list li.done .pre-text strong { color: var(--sub); }
.check-list li.done .pre-text strong, .check-list li.done .pre-text .d { opacity: .6; }

/* ---- 1차 점검 페이지: 왼쪽(질문)·오른쪽(도식)을 같은 폭·같은 높이·같은 모서리로 ---- */
.opt-grid .opt .box { border-radius: 14px; }
@media (min-width: 640px) { .opt-grid .opt:last-child { grid-column: 1 / -1; } }
.check-aside .diagram-box { border-radius: 14px; }
@media (min-width: 1024px) {
  .check-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
  .check-main { display: contents; }
  .check-wrap #stepper { grid-column: 1 / -1; grid-row: 1; }
  .check-wrap #check-form, .check-wrap #result { grid-column: 1; grid-row: 2; }
  .check-aside { grid-column: 2; grid-row: 2; position: static; align-self: stretch; display: flex; order: 0; }
  .check-aside .diagram-box { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 40px 28px; }
  .check-aside .diagram { position: sticky; top: calc(var(--header-h) + 40px); }
  .aside-note { display: none; }
}

.check-aside .diagram-box { position: relative; }

/* =========================================================
   모바일 최적화: 위반 형태 버튼을 가로 스크롤 대신 2열로 전부 보이게
   ========================================================= */
@media (max-width: 639px) {
  .chip-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
    overflow: visible; margin: 24px 0 0; padding: 0; scroll-snap-type: none;
  }
  .chip-list li { min-width: 0; }
  .chip-list li:last-child { grid-column: 1 / -1; }
  .chip {
    width: 100%; min-height: 48px; padding: 8px 12px; border-radius: 14px;
    justify-content: center; text-align: center; white-space: normal; line-height: 1.3; font-size: 14px; word-break: keep-all;
  }
}

/* ---- 도식 캡션: 모바일에서만 표시. 선택·순환 중인 부위 이름을 읽기 쉬운 크기로 ---- */
.diagram-cap { display: none; }
@media (max-width: 639px) {
  .diagram .lbl, .diagram .lead-line { display: none; }
  .diagram-cap {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 4px 0 6px; padding: 0 12px;
    font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: -0.02em; text-align: center; transition: color .3s ease;
  }
  .diagram-cap i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #B5BAC0; transition: background-color .3s ease; }
  .diagram-cap.has { color: var(--mark); }
  .diagram-cap.has i { background: var(--mark); }
  .precheck-figure { padding-bottom: 4px; }
}

/* =========================================================
   점검 페이지 비례: 질문 문장은 전체 폭 한 줄, 그 아래 체크칸(왼쪽)과 건물 그림(오른쪽)을 같은 폭·같은 높이로
   ========================================================= */
.check-aside .diagram .lbl, .check-aside .diagram .lead-line { display: none; }
.check-aside .diagram-cap, .diagram-cap.always {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin: 6px 0 0; padding: 0 12px;
  font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: -0.02em; text-align: center; transition: color .3s ease;
}
.check-aside .diagram-cap i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #B5BAC0; transition: background-color .3s ease; }
.check-aside .diagram-cap.has { color: var(--mark); }
.check-aside .diagram-cap.has i { background: var(--mark); }
.check-aside .diagram-stage { width: 100%; }
@media (min-width: 1024px) {
  .check-wrap #check-form { display: contents; }
  .check-wrap .q-step:not([hidden]) { display: contents; }
  .check-wrap .q-step > h2 { grid-column: 1 / -1; grid-row: 2; }
  .check-wrap .q-step > .q-help { grid-column: 1 / -1; grid-row: 3; max-width: none; }
  .check-wrap .q-step > .q-group { grid-column: 1; }
  .check-wrap .q-nav { grid-column: 1 / -1; margin-top: 40px; }
  .check-wrap .check-aside { grid-column: 2; grid-row: 4 / span var(--qrows, 1); margin-top: 32px; }
  .check-wrap:has(#result:not([hidden])) .check-aside { grid-row: 2; margin-top: 0; }
  .check-aside .diagram-box { padding: 32px; align-items: stretch; }
  .check-aside .diagram { position: static; }
  .check-aside .diagram-stage { position: sticky; top: calc(var(--header-h) + 40px); margin: auto 0; align-self: center; }
}

@media (min-width: 1024px) { .check-wrap { row-gap: 0; } }

/* 체크칸 높이 맞춤: 그림 카드가 더 길면 체크칸이 같은 높이로 늘어남 (데스크톱) */
@media (min-width: 1024px) {
  .check-wrap .q-step > .q-group { display: flex; flex-direction: column; }
  .check-wrap .q-group .opt-grid { flex: 1; grid-auto-rows: 1fr; }
  .check-wrap[data-q="2"] .diagram-stage { max-width: 340px; }
}

@media (min-width: 1024px) {
  .check-wrap .opt-grid .opt { display: flex; }
  .check-wrap .opt-grid .opt .box { flex: 1; align-content: center; }
}

/* =========================================================
   로고 이미지 · 블로그 링크
   ========================================================= */
.brand-mark.mark-light { display: none; }
/* 첫 화면 사진 위의 투명 헤더에서는 흰색 로고 */
.has-hero .site-header:not(.solid) .brand-mark.mark-dark { display: none; }
.has-hero .site-header:not(.solid) .brand-mark.mark-light { display: block; }
/* 모바일 메뉴가 열리면 배경이 흰색이므로 다시 남색 로고 */
.nav-open.has-hero .site-header:not(.solid) .brand-mark.mark-dark { display: block; }
.nav-open.has-hero .site-header:not(.solid) .brand-mark.mark-light { display: none; }
.ext-ico { display: inline-block; width: .62em; height: .62em; margin-left: 5px; vertical-align: .12em; flex: none; }
.footer-mark { display: block; height: 46px; width: auto; margin-bottom: 20px; }
.footer-nav a.ext-link { grid-column: 1 / -1; }
.footer-nav a.ext-link .ext-ico { margin-left: 8px; color: #D8C29C; }
