@font-face { font-family: "GSerif"; src: url("/assets/fonts/serif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GSerif"; src: url("/assets/fonts/serif-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("/assets/fonts/pret-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pretendard"; src: url("/assets/fonts/pret-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #f2eee7;
  --paper-2: #e9e3d8;
  --card: #fbf9f5;
  --ink: #1c1f22;
  --ink-2: #262a2e;
  --slate: #252e35;
  --text: #2b2f33;
  --mute: #686c6f;
  --mute-d: #a6abad;
  --line: rgba(28, 31, 34, .13);
  --line-d: rgba(255, 255, 255, .14);
  --bronze: #87673f;
  --bronze-l: #c9aa7c;
  --serif: "GSerif", "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 16.5px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip:focus { top: 12px; }

/* 공통 타이포 */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--bronze); font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.l { color: var(--bronze-l); }
.h2 { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: clamp(27px, 3.5vw, 44px); line-height: 1.38; letter-spacing: -.025em; color: var(--ink); }
.on-dark .h2 { color: #f4f1eb; }
.lead { margin-top: 20px; max-width: 620px; color: var(--mute); font-size: clamp(16px, 1.3vw, 18px); }
.on-dark .lead { color: var(--mute-d); }
.sec { padding: clamp(84px, 11vw, 150px) 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.c { text-align: center; }
.sec-head.c .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-head.c .lead { margin-left: auto; margin-right: auto; }
.on-dark { background: var(--ink); color: #d9dcdd; }
.cap { margin-top: 10px; color: var(--mute); font-size: 12.5px; letter-spacing: .01em; }
.on-dark .cap { color: #8d9294; }
.tag-gen { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 4px 9px; border-radius: 4px; background: rgba(20, 22, 24, .55); color: rgba(255, 255, 255, .86); font-size: 11.5px; line-height: 1.4; backdrop-filter: blur(4px); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 4px; border: 1px solid transparent; font-weight: 600; font-size: 16px; letter-spacing: -.01em; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-solid { background: var(--bronze); color: #fff; }
.btn-solid:hover { background: #745836; }
.btn-light { background: #f4f1eb; color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-line { border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-out { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-out:hover { border-color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: gap .25s var(--ease), border-color .25s; }
.more:hover { gap: 14px; border-color: var(--ink); }
.on-dark .more { color: #f4f1eb; border-color: var(--line-d); }

/* 헤더 */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, color .35s; color: #fff; }
.hd-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.logo b { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: -.02em; }
.logo small { font-size: 12px; opacity: .72; letter-spacing: .02em; }
.logo-mark { width: 26px; height: 26px; align-self: center; flex: none; }
.gnb { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.gnb > li { position: relative; }
.gnb > li > a, .gnb > li > button { display: flex; align-items: center; gap: 6px; height: 78px; padding: 0 13px; background: none; border: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; opacity: .92; }
.gnb > li > a:hover, .gnb > li > button:hover, .gnb > li > a[aria-current] { opacity: 1; }
.gnb > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--bronze-l); }
.gnb .caret { width: 10px; height: 10px; transition: transform .25s; }
.sub { position: absolute; left: 50%; top: 100%; min-width: 230px; padding: 10px; transform: translate(-50%, 8px); background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.sub a { display: block; padding: 10px 14px; border-radius: 4px; font-size: 15px; }
.sub a:hover { background: var(--paper); }
.sub a span { display: block; color: var(--mute); font-size: 12.5px; line-height: 1.4; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover .caret, .has-sub.open .caret { transform: rotate(180deg); }
.hd-tel { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; font-weight: 600; font-size: 15.5px; letter-spacing: .01em; white-space: nowrap; transition: border-color .25s, background .25s; }
.hd-tel svg { width: 16px; height: 16px; }
.hd-tel:hover { border-color: currentColor; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn i:nth-child(1) { top: 16px; } .menu-btn i:nth-child(2) { top: 22px; } .menu-btn i:nth-child(3) { top: 28px; }
.hd.solid, .hd.light { background: rgba(242, 238, 231, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.2) blur(10px); }
.hd.solid .hd-tel, .hd.light .hd-tel { border-color: var(--line); }
.hd.solid .hd-tel:hover, .hd.light .hd-tel:hover { border-color: var(--ink); }
.hd.solid .gnb > li > a[aria-current], .hd.light .gnb > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--bronze); }

.mnav { position: fixed; inset: 0; z-index: 49; padding: 96px var(--gut) 40px; background: var(--paper); color: var(--ink); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.mnav.open { opacity: 1; visibility: visible; }
.mnav h2 { margin: 26px 0 8px; color: var(--bronze); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; }
.mnav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 600; font-size: 20px; }
.mnav .btn { margin-top: 30px; width: 100%; font-family: var(--sans); }
body.menu-open { overflow: hidden; }
body.menu-open .hd { background: var(--paper); color: var(--ink); box-shadow: none; }
body.menu-open .menu-btn i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn i:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 히어로 */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; color: #fff; background: #2a2b2b; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: kb 22s var(--ease) both; }
.hero-media video { opacity: 0; transition: opacity 1.6s; }
.hero-media video.on { opacity: 1; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 18, 19, .82) 0%, rgba(17, 18, 19, .58) 42%, rgba(17, 18, 19, .12) 78%), linear-gradient(0deg, rgba(17, 18, 19, .7) 0%, transparent 42%); }
.hero-in { width: 100%; padding-top: 140px; padding-bottom: clamp(36px, 6vw, 70px); }
.hero .eyebrow { color: var(--bronze-l); }
.hero h1 { margin-top: 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(31px, 5.5vw, 74px); line-height: 1.3; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; font-weight: 600; }
.hero h1 .ln { display: block; white-space: nowrap; }
.hero-sub { margin-top: 26px; max-width: 560px; color: rgba(255, 255, 255, .8); font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.8; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-foot { margin-top: clamp(48px, 8vw, 96px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .22); }
.hero-foot a { display: flex; align-items: baseline; gap: 10px; padding: 20px 18px 4px 0; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .86); transition: color .2s; }
.hero-foot a + a { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-foot a:hover { color: #fff; }
.hero-foot small { color: var(--bronze-l); font-size: 12.5px; font-family: var(--serif); }
.hero .tag-gen { bottom: auto; top: 96px; }

/* 상황 선택 */
.who-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.who-tab { position: relative; padding: 26px 26px 24px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.who-tab b { display: block; font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); letter-spacing: -.02em; }
.who-tab span { display: block; margin-top: 6px; color: var(--mute); font-size: 14.5px; line-height: 1.6; }
.who-tab small { position: absolute; right: 22px; top: 24px; color: var(--bronze); font-family: var(--serif); font-size: 14px; }
.who-tab:hover { border-color: rgba(28, 31, 34, .35); }
.who-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
.who-tab[aria-selected="true"] b { color: #f4f1eb; }
.who-tab[aria-selected="true"] span { color: var(--mute-d); }
.who-tab[aria-selected="true"] small { color: var(--bronze-l); }
.who-panel { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.who-panel[hidden] { display: none; }
.who-panel figure { position: relative; min-height: 360px; }
.who-panel figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who-body { padding: clamp(28px, 4vw, 54px); }
.who-body h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.45; color: var(--ink); letter-spacing: -.025em; }
.who-body > p { margin-top: 14px; color: var(--mute); }
.checks { margin-top: 26px; display: grid; gap: 2px; }
.checks li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 8px; border-left: 1.6px solid var(--bronze); border-bottom: 1.6px solid var(--bronze); transform: rotate(-45deg); }
.on-dark .checks li { border-color: var(--line-d); color: #d9dcdd; }
.on-dark .checks li::before { border-color: var(--bronze-l); }
.who-body .btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.panel-in { animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 서비스 */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.svc:hover { border-color: rgba(28, 31, 34, .3); transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(0, 0, 0, .45); }
.svc-img { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--paper-2); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.05); }
.svc-body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 24px; }
.svc-no { color: var(--bronze); font-family: var(--serif); font-size: 14px; }
.svc h3 { margin-top: 4px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.svc p { margin-top: 10px; color: var(--mute); font-size: 15px; line-height: 1.7; }
.svc .go { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.svc .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc:hover .go svg { transform: translateX(4px); }
.svc-wide { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--ink); color: #d9dcdd; border-radius: 6px; overflow: hidden; }
.svc-wide figure { position: relative; min-height: 340px; }
.svc-wide figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-wide-body { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.svc-wide-body h3 { margin-top: 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.42; color: #f4f1eb; letter-spacing: -.025em; }
.svc-wide-body p { margin-top: 14px; color: var(--mute-d); }
.svc-wide-body .more { margin-top: 28px; align-self: flex-start; color: #f4f1eb; border-color: var(--line-d); }

/* 3단계 고정 장면 */
.seq { position: relative; height: 330vh; background: var(--ink); color: #d9dcdd; }
.seq-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 4vw, 64px); max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 90px var(--gut) 40px; }
.seq-text .h2 { color: #f4f1eb; }
.seq-steps { margin-top: 36px; display: grid; gap: 4px; }
.seq-step { position: relative; padding: 16px 0 16px 22px; border-left: 1px solid var(--line-d); opacity: .38; transition: opacity .5s, border-color .5s; }
.seq-step b { display: block; font-family: var(--serif); font-weight: 600; font-size: 21px; color: #f4f1eb; }
.seq-step b small { margin-right: 10px; color: var(--bronze-l); font-size: 14px; font-weight: 400; }
.seq-step p { margin-top: 6px; font-size: 15px; line-height: 1.7; color: var(--mute-d); }
.seq-step.on { opacity: 1; border-color: var(--bronze-l); }
.seq-stage { position: relative; aspect-ratio: 16 / 9.05; border-radius: 6px; overflow: hidden; background: #111; }
.seq-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seq-stage .l2, .seq-stage .l3 { clip-path: inset(0 100% 0 0); }
.seam { position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 1px; background: var(--bronze-l); box-shadow: 0 0 18px 2px rgba(201, 170, 124, .55); opacity: 0; transition: opacity .3s; }
.seq-label { position: absolute; left: 14px; top: 14px; z-index: 3; padding: 6px 12px; border-radius: 4px; background: rgba(17, 18, 19, .62); color: #f4f1eb; font-size: 13px; font-weight: 600; letter-spacing: .02em; backdrop-filter: blur(4px); }
.seq-bar { margin-top: 18px; height: 2px; background: var(--line-d); border-radius: 2px; overflow: hidden; }
.seq-bar i { display: block; height: 100%; width: 0; background: var(--bronze-l); }
.seq-cap { margin-top: 10px; display: flex; justify-content: space-between; color: #8d9294; font-size: 12.5px; }

/* 전후 비교 */
.cmp-sec { background: var(--paper-2); }
.cmp-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cmp { position: relative; aspect-ratio: 4 / 5; max-height: 78vh; margin-inline: auto; width: 100%; border-radius: 6px; overflow: hidden; background: #222; user-select: none; touch-action: pan-y; --pos: 50%; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp .after { clip-path: inset(0 0 0 var(--pos)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.cmp-knob svg { width: 24px; height: 24px; }
.cmp input { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp input:focus-visible + .cmp-line .cmp-knob { outline: 2px solid var(--bronze); outline-offset: 3px; }
.cmp-tag { position: absolute; top: 14px; z-index: 3; padding: 6px 12px; border-radius: 4px; background: rgba(17, 18, 19, .62); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; }
.cmp-tag.b { left: 14px; } .cmp-tag.a { right: 14px; }
.cmp .tag-gen { right: auto; left: 12px; }
.cmp-tabs { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-tabs button { height: 42px; padding: 0 18px; border-radius: 40px; border: 1px solid var(--line); background: transparent; font-size: 15px; font-weight: 600; color: var(--mute); cursor: pointer; transition: all .25s; }
.cmp-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cmp-desc { margin-top: 26px; min-height: 120px; }
.cmp-desc h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); }
.cmp-desc p { margin-top: 8px; color: var(--mute); }
.cmp-hint { margin-top: 18px; display: flex; align-items: center; gap: 10px; color: var(--mute); font-size: 14px; }
.cmp-hint svg { width: 20px; height: 20px; color: var(--bronze); }

/* 약속 */
.vow { position: relative; overflow: hidden; }
.vow::before { content: "雲"; position: absolute; right: -4vw; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-weight: 600; font-size: min(52vw, 640px); line-height: 1; color: rgba(28, 31, 34, .035); pointer-events: none; }
.vow-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.vow-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vow-item { padding: 28px 26px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--bronze); border-radius: 2px 6px 6px 2px; }
.vow-item small { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--bronze); }
.vow-item h3 { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.vow-item p { margin-top: 8px; color: var(--mute); font-size: 15px; line-height: 1.7; }
.vow-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14.5px; }

/* 진행 */
.flow { background: var(--slate); color: #d9dcdd; }
.flow-list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.flow-list::before { content: ""; position: absolute; left: 10%; right: 10%; top: 32px; height: 1px; background: var(--line-d); }
.flow-item { position: relative; text-align: center; }
.flow-no { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border: 1px solid var(--bronze-l); background: var(--slate); color: var(--bronze-l); font-family: var(--serif); font-size: 20px; }
.flow-item h3 { margin-top: 22px; font-family: var(--serif); font-weight: 600; font-size: 19px; color: #f4f1eb; }
.flow-item p { margin-top: 10px; color: var(--mute-d); font-size: 14.5px; line-height: 1.7; }
.flow-foot { margin-top: 56px; display: flex; justify-content: center; }

/* 도배 띠 */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; background: var(--card); }
.band figure { position: relative; }
.band figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-body { padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.band-body .more { margin-top: 32px; align-self: flex-start; }
.two-way { margin-top: 30px; display: grid; gap: 10px; }
.two-way div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.two-way dt { color: var(--mute); font-size: 14px; font-weight: 600; }
.two-way dd { font-size: 15.5px; color: var(--text); }
.two-way .us dt { color: var(--bronze); }
.two-way .us dd { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; gap: 16px; padding: 24px 4px; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink); letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; flex: none; color: var(--bronze); font-size: 17px; }
.qa summary i { position: relative; flex: none; margin-left: auto; width: 14px; height: 14px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; height: 1.4px; background: var(--ink); transition: transform .3s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa .ans { padding: 0 40px 26px 34px; color: var(--mute); }
.qa[open] .ans { animation: fadeUp .4s var(--ease) both; }

/* 연락 */
.contact { background: var(--ink); color: #d9dcdd; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.tel-big { display: inline-block; margin-top: 30px; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5vw, 62px); line-height: 1.1; color: #f4f1eb; letter-spacing: -.01em; white-space: nowrap; border-bottom: 1px solid var(--line-d); padding-bottom: 10px; transition: color .25s, border-color .25s; }
.tel-big:hover { color: var(--bronze-l); border-color: var(--bronze-l); }
.contact-note { margin-top: 18px; color: var(--mute-d); font-size: 15px; }
.contact-btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.info-list { margin-top: 40px; display: grid; gap: 0; }
.info-list div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-d); font-size: 15px; }
.info-list dt { color: #8d9294; }
.info-list dd { color: #d9dcdd; }

.form { padding: clamp(24px, 3.4vw, 44px); background: var(--card); color: var(--text); border-radius: 6px; }
.form h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--ink); }
.form > p { margin-top: 6px; color: var(--mute); font-size: 14.5px; }
.fields { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 600; color: var(--ink); }
.field > label em, .field > .lbl em { color: var(--bronze); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: 16px; transition: border-color .2s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .err { display: none; color: #a1412c; font-size: 13px; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #a1412c; }
.field.bad .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 40px; background: #fff; font-size: 14.5px; cursor: pointer; transition: all .2s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.field > .agree { grid-column: 1 / -1; display: flex; font-weight: 400; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--mute); }
.field .agree input { margin-top: 4px; width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--ink); flex: none; }
.agree a { text-decoration: underline; }
.form .btn { margin-top: 24px; width: 100%; }
.form-done { margin-top: 18px; padding: 16px 18px; border-radius: 4px; background: var(--paper); font-size: 14.5px; color: var(--ink); }
.form-done[hidden] { display: none; }

/* 푸터 */
.ft { padding: 64px 0 120px; background: #151719; color: #8d9294; font-size: 14px; }
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid var(--line-d); }
.ft .logo { color: #f4f1eb; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ft-nav a:hover { color: #f4f1eb; }
.ft-info { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ft-note { margin-top: 18px; line-height: 1.7; }
.ft-copy { margin-top: 18px; color: #6c7174; }

/* 플로팅 */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; gap: 8px; transform: translateY(16px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); }
.fab.show { transform: none; opacity: 1; visibility: visible; }
.fab a { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); transition: background .2s; }
.fab a:first-child { background: var(--bronze); }
.fab a:hover { background: #000; }
.fab svg { width: 18px; height: 18px; }
.mbar { display: none; }

/* 서브 페이지 */
.ph { padding: 150px 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--mute); font-size: 13.5px; }
.crumb a:hover { color: var(--ink); }
.crumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.ph h1 { margin-top: 26px; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 64px); line-height: 1.25; letter-spacing: -.035em; color: var(--ink); }
.ph .lead { margin-top: 24px; font-size: clamp(16px, 1.35vw, 18.5px); color: var(--text); max-width: 600px; }
.ph-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.ph figure { position: relative; aspect-ratio: 4 / 4.6; border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.ph figure.wide { aspect-ratio: 4 / 3; }
.ph figure img { width: 100%; height: 100%; object-fit: cover; }
.ph.no-img .ph-grid { grid-template-columns: minmax(0, 1fr); }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.box { padding: clamp(26px, 3.4vw, 44px); background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
.box h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2vw, 26px); color: var(--ink); letter-spacing: -.02em; }
.box > p { margin-top: 10px; color: var(--mute); }
.box .checks { margin-top: 18px; }
.num-list { margin-top: 18px; counter-reset: n; display: grid; }
.num-list li { position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--line); counter-increment: n; }
.num-list li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 14px; color: var(--bronze); font-family: var(--serif); font-size: 15px; }
.notice { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 22px 24px; border-radius: 6px; background: var(--paper-2); color: var(--text); font-size: 15.5px; }
.notice svg { width: 22px; height: 22px; margin-top: 3px; color: var(--bronze); }
.mini-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mini-flow li { padding: 22px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
.mini-flow small { color: var(--bronze); font-family: var(--serif); font-size: 14px; }
.mini-flow b { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); }
.mini-flow p { margin-top: 6px; color: var(--mute); font-size: 14.5px; line-height: 1.65; }

.compare-flow { display: grid; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: 24px 26px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); }
.cf-row.us { background: var(--ink); border-color: var(--ink); }
.cf-row h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); }
.cf-row.us h3 { color: var(--bronze-l); }
.cf-steps { display: flex; flex-wrap: wrap; gap: 8px 6px; align-items: center; }
.cf-steps li { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--mute); }
.cf-steps li + li::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .5; margin-right: 4px; }
.cf-row.us .cf-steps li { color: #f4f1eb; font-weight: 600; }
.cf-row .cnt { margin-left: auto; }

.sit-list { display: grid; }
.sit { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 26px 4px; border-top: 1px solid var(--line); transition: background .25s, padding .3s var(--ease); }
.sit:last-child { border-bottom: 1px solid var(--line); }
.sit:hover { background: var(--card); padding-left: 16px; padding-right: 16px; }
.sit small { color: var(--bronze); font-family: var(--serif); font-size: 16px; }
.sit b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.7vw, 22px); color: var(--ink); letter-spacing: -.02em; }
.sit span { display: block; margin-top: 4px; color: var(--mute); font-size: 15px; }
.sit em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.sit em svg { width: 16px; height: 16px; }

.who-full { display: grid; gap: 18px; }
.who-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.who-row figure { position: relative; min-height: 300px; }
.who-row figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.steps-v { display: grid; }
.step-v { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding: 36px 0; border-top: 1px solid var(--line); }
.step-v:last-child { border-bottom: 1px solid var(--line); }
.step-v small { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--bronze); }
.step-v h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2vw, 26px); color: var(--ink); }
.step-v p { margin-top: 10px; color: var(--mute); max-width: 680px; }

.rec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rec { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.rec-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.rec-pair figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.rec-pair img { width: 100%; height: 100%; object-fit: cover; }
.rec-pair figcaption { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 4px; background: rgba(17, 18, 19, .6); color: #fff; font-size: 12.5px; font-weight: 600; }
.rec-body { padding: 22px 24px 26px; }
.rec-body small { color: var(--bronze); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.rec-body h2 { margin-top: 6px; font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); }
.rec-body p { margin-top: 8px; color: var(--mute); font-size: 15px; }
.rec-body .more { margin-top: 16px; }

.about-table { display: grid; }
.about-table div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.about-table div:last-child { border-bottom: 1px solid var(--line); }
.about-table dt { color: var(--mute); font-weight: 600; font-size: 15px; }
.about-table dd { color: var(--ink); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); }
.prose p, .prose li { margin-top: 12px; color: var(--text); }
.prose ul { margin-top: 8px; padding-left: 4px; }
.prose li { position: relative; padding-left: 16px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); }
.end-cta { padding: clamp(64px, 8vw, 110px) 0; background: var(--ink); color: #d9dcdd; text-align: center; }
.end-cta .h2 { color: #f4f1eb; }
.end-cta .btns { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* 등장 */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
.no-js .rv { opacity: 1; transform: none; }

/* 반응형 */
@media (max-width: 1240px) {
  .gnb > li > a, .gnb > li > button { padding: 0 9px; font-size: 15px; }
  .hd-in { gap: 18px; }
}
@media (max-width: 1120px) {
  .gnb, .hd-tel { display: none; }
  .menu-btn { display: block; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow-list::before { left: 31px; right: auto; top: 32px; bottom: 32px; width: 1px; height: auto; }
  .flow-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 22px; text-align: left; padding-bottom: 30px; }
  .flow-no { grid-row: span 2; margin: 0; }
  .flow-item h3 { margin-top: 16px; }
  .flow-item p { margin-top: 6px; }
  .hero-foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-foot a:nth-child(n+4) { display: none; }
  .mini-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .who-panel, .svc-wide, .band, .cmp-grid, .vow-grid, .faq-grid, .contact-grid, .ph-grid, .cols, .who-row { grid-template-columns: minmax(0, 1fr); }
  .who-panel figure, .who-row figure { min-height: 0; aspect-ratio: 16 / 10; }
  .svc-wide figure { min-height: 0; aspect-ratio: 16 / 10; }
  .band figure { aspect-ratio: 16 / 11; }
  .band { min-height: 0; }
  .faq-grid .sec-head { position: static; }
  .ph { padding-top: 116px; }
  .ph figure, .ph figure.wide { aspect-ratio: 16 / 11; }
  .seq { height: auto; }
  .seq-pin { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); padding: clamp(84px, 11vw, 150px) var(--gut); }
  .seq-stage-wrap { order: -1; }
  .rec-grid { grid-template-columns: minmax(0, 1fr); }
  .cmp { max-height: none; }
}
@media (max-width: 860px) and (min-height: 560px) {
  .seq.pin-m { height: 300vh; }
  .seq.pin-m .seq-pin { position: sticky; top: 0; height: 100svh; align-content: center; gap: 22px; padding: 76px var(--gut) 86px; }
  .seq.pin-m .seq-text .h2 { font-size: 23px; margin-top: 10px; }
  .seq.pin-m .seq-text .eyebrow { display: none; }
  .seq.pin-m .seq-steps { margin-top: 14px; }
  .seq.pin-m .seq-step { display: none; padding: 4px 0 4px 16px; opacity: 1; border-color: var(--bronze-l); }
  .seq.pin-m .seq-step.on { display: block; animation: fadeUp .45s var(--ease) both; }
  .seq.pin-m .seq-step b { font-size: 19px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hd-in { height: 64px; }
  .logo b { font-size: 21px; }
  .logo small { display: none; }
  .hero-in { padding-top: 110px; padding-bottom: 92px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-foot { display: none; }
  .hero .tag-gen { top: 76px; }
  .who-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .who-tab { padding: 14px 8px; text-align: center; }
  .who-tab b { font-size: 15.5px; }
  .who-tab span, .who-tab small { display: none; }
  .svc-grid { gap: 10px; }
  .svc-body { padding: 16px 14px 18px; }
  .svc h3 { font-size: 18px; }
  .svc p { font-size: 13.5px; line-height: 1.6; }
  .svc .go { font-size: 13.5px; }
  .vow-list { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .tel-big { font-size: 34px; }
  .fab { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--ink); box-shadow: 0 -1px 0 var(--line-d); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 62px; color: #e8e9e9; font-size: 13px; font-weight: 600; }
  .mbar a + a { border-left: 1px solid var(--line-d); }
  .mbar a:first-child { background: var(--bronze); color: #fff; }
  .mbar svg { width: 19px; height: 19px; }
  .ft { padding-bottom: 110px; }
  .two-way div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cf-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px; }
  .sit { grid-template-columns: 34px minmax(0, 1fr); }
  .sit em { grid-column: 2; }
  .step-v { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 28px 0; }
  .step-v small { font-size: 32px; }
  .about-table div, .info-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .mini-flow { grid-template-columns: minmax(0, 1fr); }
  .qa .ans { padding: 0 6px 22px 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
