/* 강현희의정리상담소: 따뜻한 흰 벽 + 원목 칸 + 검정 라벨 테이프, 세이지(옷 색)는 버튼에만 */
/* fonts:start */
@font-face { font-family: Pretendard; font-weight: 400; font-display: swap; src: url("../fonts/pretendard-400.woff2?v=bf059b0d") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 600; font-display: swap; src: url("../fonts/pretendard-600.woff2?v=e158b465") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 700; font-display: swap; src: url("../fonts/pretendard-700.woff2?v=5d170d3f") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 800; font-display: swap; src: url("../fonts/pretendard-800.woff2?v=51beccb4") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 900; font-display: swap; src: url("../fonts/pretendard-900.woff2?v=8b86af6b") format("woff2"); }
/* fonts:end */
:root {
  --bg: #fbf9f5;
  --linen: #f1ebe1;
  --oak: #b68e64;
  --oak-line: #dccab3;
  --ink: #2b2925;
  --sub: #6b655c;
  --sage: #4f6a55;
  --tape: #242322;
  --gutter: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.65;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
h1, h2 { text-wrap: balance; letter-spacing: -.03em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
br.mo { display: none; }
.nw { white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; line-height: 1.3; margin-bottom: 28px; }
.note { margin-top: 12px; font-size: 14px; color: var(--sub); }

/* 라벨 테이프 (라벨기로 뽑은 검정 테이프) */
.tape { display: inline-block; background: var(--tape); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .08em; line-height: 1; padding: 8px 12px 9px; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.25); }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251,249,245,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--oak-line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.name { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.top-call { font-size: 14px; font-weight: 700; color: #fff; background: var(--sage); border-radius: 999px; padding: 7px 16px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.top-call.is-on { opacity: 1; visibility: visible; }

/* 첫 화면 */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1fr 520px; gap: 64px; align-items: center; }
.career { font-size: 17px; font-weight: 700; color: var(--sage); margin-bottom: 4px; }
.tv { font-size: clamp(17px, 1.9vw, 20px); font-weight: 600; color: var(--sub); margin-bottom: 22px; }
.tv b { font-weight: 800; color: var(--ink); }
.tvn { color: #e60012; }
.tv .tvn { font-weight: 800; }
.tv .tape { font-size: 13px; padding: 6px 9px 7px; margin-right: 6px; vertical-align: 2px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.12; font-weight: 900; margin-bottom: 18px; }
.slogan { font-size: clamp(21px, 2.5vw, 27px); font-weight: 700; line-height: 1.45; letter-spacing: -.02em; margin-bottom: 10px; }
.lead { font-size: clamp(16px, 1.8vw, 18px); color: var(--sub); margin-bottom: 28px; max-width: 30em; }
.phone { display: flex; flex-direction: column; margin-bottom: 18px; }
.phone-label { font-size: 14px; font-weight: 700; color: var(--sub); }
.phone-num { white-space: nowrap; font-size: clamp(32px, 9.6vw, 54px); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 10px; font-size: 17px; font-weight: 800; }
.btn-main { background: var(--sage); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }

/* 정리 철학 */
.think { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--oak-line); }
.think-grid { display: grid; grid-template-columns: 400px 1fr; gap: 72px; align-items: center; }
.notes { display: flex; flex-direction: column; gap: 14px; }
.memo { background: #fff; border: 1px solid var(--oak-line); padding: 18px 22px; font-size: 20px; font-weight: 700; color: var(--sub); box-shadow: 0 6px 16px rgba(60,45,30,.06); }
.memo::before { content: "“"; color: var(--oak); font-weight: 900; margin-right: 2px; }
.memo::after { content: "”"; color: var(--oak); font-weight: 900; margin-left: 2px; }
.m2 { margin-left: 28px; transform: rotate(-1.5deg); }
.m3 { margin-left: 8px; }
.think-text p { color: var(--sub); font-size: 17px; max-width: 32em; }
.think-text p + p { margin-top: 8px; }
.think-text .think-quote { margin-top: 28px; color: var(--sage); font-size: 22px; font-weight: 800; line-height: 1.45; }

/* 하는 일: 원목 정리함 */
.jobs { padding: clamp(64px, 8vw, 112px) 0; background: var(--linen); }
.tray { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; background: var(--oak); border-radius: 8px; box-shadow: inset 0 2px 6px rgba(0,0,0,.18); }
.tray li { background: var(--bg); border-radius: 3px; padding: 22px 22px 24px; box-shadow: inset 0 3px 8px rgba(60,45,30,.10); }
.tray li p { margin-top: 14px; color: var(--sub); }
.tray .big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.tray .big .tape { align-self: flex-start; }
.tray .big .big-lead { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: var(--ink); line-height: 1.4; letter-spacing: -.02em; margin-top: 18px; }
.tray .big .big-lead + p { margin-top: 10px; max-width: 30em; }
.tray .big .move { margin-top: auto; padding-top: 16px; }
.move { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.move > div { border-top: 1px solid var(--oak-line); padding-top: 10px; }
.move dt { font-weight: 800; }
.move dd { color: var(--sub); }

/* 정리 전후: 가운데 손잡이를 밀면 전 ↔ 후 */
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--linen); user-select: none; -webkit-user-select: none; touch-action: pan-y; margin: 0; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--tape); border-radius: 2px; padding: 5px 9px; pointer-events: none; transition: opacity .15s; }
.ba-tag.is-hidden { opacity: 0; }
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; background: var(--sage); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ba-knob::before, .ba-knob::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.ba-knob::before { left: 8px; border-right-color: var(--sage); }
.ba-knob::after { right: 8px; border-left-color: var(--sage); }
.ba { cursor: ew-resize; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba:focus-within .ba-line { box-shadow: 0 0 0 2px var(--sage); }
.ba figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; text-align: center; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.45)); pointer-events: none; }
.hero-ba { box-shadow: 0 18px 40px rgba(60,45,30,.18); }
.gallery { padding: clamp(64px, 8vw, 112px) 0; }
.sec-lead { color: var(--sub); margin: -16px 0 24px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 현장 기록: 블로그·인스타그램으로 */
.record { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: center; }
.record-lead { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; line-height: 1.45; letter-spacing: -.02em; }
.record-links { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; align-items: stretch; }
.record-card.is-main { border-color: var(--sage); border-width: 2px; }
.record-card.is-sub { border-color: var(--oak-line); background: transparent; }
.record-card.is-sub .record-go { color: var(--sub); }
.record-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1.5px solid var(--ink); border-radius: 8px; padding: 20px 22px; transition: transform .15s, box-shadow .15s; }
.record-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(60,45,30,.10); }
.record-name { font-size: 19px; font-weight: 800; }
.record-name small { font-size: 14px; font-weight: 600; color: var(--sub); margin-left: 4px; }
.record-desc { color: var(--sub); font-size: 15px; }
.record-go { margin-top: 8px; font-size: 15px; font-weight: 800; color: var(--sage); }
.record-go i { font-style: normal; display: inline-block; transition: transform .15s; }
.record-card:hover .record-go i { transform: translateX(3px); }

/* 경력: 큰 숫자 */
.career-sec { padding: clamp(64px, 8vw, 112px) 0; }
.career-quote { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.4; letter-spacing: -.03em; margin-bottom: 44px; }
.stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr 1.3fr; border-top: 2px solid var(--ink); }
.stats li { padding: 22px 20px 4px 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--oak-line); }
.stats b { display: block; font-size: clamp(36px, 5vw, 56px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; color: var(--sage); }
.stats li > span { display: block; margin-top: 8px; font-weight: 600; color: var(--sub); }

/* 자주 묻는 질문 */
.faq { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--oak-line); }
.faq-list > div { display: grid; grid-template-columns: 360px 1fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--oak-line); }
.faq-list > div:first-child { border-top: 1px solid var(--oak-line); }
.faq-list dt { font-size: 18px; font-weight: 800; }
.faq-list dd { color: var(--sub); }

/* 마지막 문의 */
.contact { padding: clamp(64px, 8vw, 112px) 0; background: var(--linen); }
.contact-grid { display: grid; grid-template-columns: 520px 1fr; gap: 64px; align-items: center; }
.contact-photo img { border-radius: 6px; }
.call-title { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; line-height: 1.35; letter-spacing: -.03em; margin-bottom: 10px; }
.call-sub { color: var(--sub); margin-bottom: 24px; }

/* 바닥 */
.foot { border-top: 1px solid var(--oak-line); color: var(--sub); font-size: 14px; padding: 28px 0 40px; }
.foot b { color: var(--ink); }
.foot p + p { margin-top: 4px; }
.biz { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--oak-line); }
.biz a { text-decoration: underline; text-underline-offset: 3px; }

.qr-dlg { margin: auto; width: 320px; max-width: calc(100% - 32px); padding: 32px 28px 26px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 30px 80px -20px rgba(43,41,37,.5); }
.qr-dlg::backdrop { background: rgba(43,41,37,.55); }
.qr-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--sub); cursor: pointer; border-radius: 8px; }
.qr-close:hover { background: var(--linen); color: var(--ink); }
.qr-title { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 18px; }
.qr-box { width: 196px; height: 196px; margin: 0 auto; padding: 8px; background: #fff; border: 1px solid #e2e2e2; border-radius: 10px; display: grid; place-items: center; }
.qr-img { width: 180px; height: 180px; }
.qr-desc { margin-top: 16px; font-size: 14px; color: var(--sub); }
.qr-num { margin-top: 6px; font-size: 22px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

.callbar { display: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 420px; gap: 40px; }
  .think-grid { grid-template-columns: 1fr; gap: 40px; }
  .notes { max-width: 420px; }
  .faq-list > div { grid-template-columns: 1fr; gap: 6px; }
  .contact-grid { grid-template-columns: 420px 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  br.mo { display: inline; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-ba { order: 2; }
  .ba-grid { grid-template-columns: 1fr; }
  .memo { font-size: 18px; padding: 14px 18px; }
  .m2 { margin-left: 18px; }
  .tray { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
  .record { grid-template-columns: 1fr; gap: 16px; }
  .record-links { grid-template-columns: 1fr; }
  .tray .big { grid-column: auto; }
  .move { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li + li { padding: 18px 0; border-left: 0; }
  .stats li + li { border-top: 1px solid var(--oak-line); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .top-call { display: none; }
  .hero-btns { flex-wrap: nowrap; }
  .hero-btns .btn { flex: 1; padding: 0 10px; white-space: nowrap; }
  .biz { flex-direction: column; }
  .callbar { display: grid; grid-template-columns: 2fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; transform: translateY(110%); transition: transform .25s ease; background: rgba(251,249,245,.97); border-top: 1px solid var(--oak-line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .callbar.is-on { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 10px; font-weight: 800; font-size: 17px; }
  .callbar a:first-child { background: var(--sage); color: #fff; }
  .callbar a:last-child { border: 1.5px solid var(--ink); background: #fff; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}
