/* 태흥 STANDARD — 잡지처럼 읽히는 미색 바탕. 색은 실제 시공에서 뽑았다:
   미색 = 한솔 크림화이트 도어, 짙은 올리브 = 양평 주택 하부장(스모키올리브), 먹색 = 김포 홈바 월넛 장. */
:root {
  --bg: #f4efe6;
  --paper: #fbf8f2;
  --ink: #1f1d1a;
  --sub: #6a645a;
  --line: #d8cfbf;
  --olive: #2f4a44;
  --olive-2: #dfe6e0;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 5vw, 80px);
  --max: 1280px;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
body { font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.8; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, blockquote { font-family: var(--serif); font-weight: 700; letter-spacing: -0.035em; line-height: 1.28; }
h2 { font-size: clamp(30px, 4vw, 54px); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--olive); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* 단추 */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 26px; font-weight: 700; font-size: 15.5px; border-radius: 27px; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.arr { position: relative; width: 16px; height: 10px; transition: width .2s var(--ease); }
.arr::before { content: ""; position: absolute; inset: 4.5px 1px auto 0; height: 1.5px; background: currentColor; }
.arr::after { content: ""; position: absolute; right: 0; top: 1.5px; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.btn:hover .arr { width: 26px; }
.btn-fill { background: var(--olive); color: #fff; } .btn-fill:hover { background: #22372f; }
.btn-line { border: 1px solid var(--ink); } .btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-glass { border: 1px solid rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(6px); } .btn-glass:hover { background: #fff; color: var(--ink); }

/* 머리: 내리면 숨고 올리면 보인다 */
.head { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 34px; padding: 20px var(--pad); transition: transform .45s var(--ease), background .4s, color .4s, padding .3s; color: var(--ink); }
.head.hide { transform: translateY(-100%); }
.head.solid { background: rgba(244,239,230,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 13px; }
.home .head:not(.solid) { color: #fff; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 22px; }
.brand small { font-family: "Pretendard Variable", sans-serif; font-size: 12px; font-weight: 500; margin-left: 9px; opacity: .75; letter-spacing: .04em; }
.lg-w { display: none; } .home .head:not(.solid) .lg-w { display: block; } .home .head:not(.solid) .lg-i { display: none; }
.nav { margin-left: auto; display: flex; gap: 34px; font-size: 15px; font-weight: 600; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.head-call { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; border: 1px solid currentColor; padding: 8px 18px; border-radius: 22px; transition: background .2s, color .2s; }
.head-call:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn i:first-child { top: 17px; } .menu-btn i:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); } .menu-btn[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* 첫 화면: 시공 사진을 가득 깔고 그 위에 글. 화면에 붙어 있고 다음 구역이 덮으며 올라온다 */
.hero { position: sticky; top: 0; height: 100vh; min-height: 640px; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 40px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); animation: drift 14s var(--ease) forwards; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,19,15,.88) 0%, rgba(22,19,15,.55) 40%, rgba(22,19,15,.06) 76%), linear-gradient(0deg, rgba(22,19,15,.94) 0%, rgba(22,19,15,.5) 26%, transparent 46%); }
@keyframes drift { to { transform: scale(1); } }
.hero-in { position: relative; padding: 0 var(--pad); max-width: 1180px; }
.hero-eye { display: flex; gap: 14px; font-size: 13.5px; font-weight: 600; letter-spacing: .1em; margin-bottom: 26px; opacity: 0; animation: fadeup .9s .15s var(--ease) forwards; }
.hero-eye span + span::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; opacity: .6; }
.hero h1 { font-size: clamp(42px, 7vw, 112px); line-height: 1.14; letter-spacing: -0.045em; }
.hero-lead { margin-top: 26px; font-size: clamp(16px, 1.35vw, 19px); color: #e9e3d8; opacity: 0; animation: fadeup .9s .95s var(--ease) forwards; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; opacity: 0; animation: fadeup .9s 1.1s var(--ease) forwards; }
.hero-btns .btn-fill { background: #fff; color: var(--ink); font-variant-numeric: tabular-nums; } .hero-btns .btn-fill:hover { background: var(--olive-2); }
.hero-facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(34px, 6vh, 70px) var(--pad) 0; border-top: 1px solid rgba(255,255,255,.4); opacity: 0; animation: fadeup .9s 1.25s var(--ease) forwards; }
.hero-facts div { padding: 20px 20px 30px 0; } .hero-facts div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); }
.hero-facts dt { font-size: 13px; color: #cfc8ba; }
.hero-facts dd { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.3vw, 32px); line-height: 1.35; font-variant-numeric: tabular-nums; }
.hero-cap { position: absolute; right: var(--pad); top: 50%; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.7); transform: translateY(-50%); }
@keyframes fadeup { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.sheet { position: relative; z-index: 2; background: var(--bg); border-radius: 28px 28px 0 0; margin-top: -28px; box-shadow: 0 -30px 60px rgba(0,0,0,.25); }

/* 도면 모서리 표시가 붙는 틀 */
.frame { position: relative; }
.cm { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 2; transition: transform .7s var(--ease), opacity .7s; opacity: 0; }
.cm::before, .cm::after { content: ""; position: absolute; background: var(--olive); }
.cm::before { width: 100%; height: 1.5px; } .cm::after { width: 1.5px; height: 100%; }
.cm.tl { top: -9px; left: -9px; transform: translate(14px, 14px); } .cm.tr { top: -9px; right: -9px; transform: translate(-14px, 14px); } .cm.tr::after { right: 0; }
.cm.bl { bottom: -9px; left: -9px; transform: translate(14px, -14px); } .cm.bl::before { bottom: 0; }
.cm.br { bottom: -9px; right: -9px; transform: translate(-14px, -14px); } .cm.br::before { bottom: 0; } .cm.br::after { right: 0; }
.frame.in .cm { opacity: 1; transform: none; }

/* 태흥 이야기 블록 (첫 화면 바로 아래) */
.who, .st-person { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--pad) 0; }
.who-frame { background: var(--paper); border: 1px solid var(--line); }
.who-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.who-photo { background: #fff; overflow: hidden; border-right: 1px solid var(--line); }
.who-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; min-height: 420px; }
.who-text { padding: clamp(28px, 4.4vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.who-text > p:not(.label) { margin-top: 20px; color: #3b3832; max-width: 36em; }
.who-facts { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 30px; border-block: 1px solid var(--line); }
.who-facts li { padding: 18px 14px 18px 0; font-size: 14px; color: var(--sub); line-height: 1.5; } .who-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.who-facts b { display: block; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); color: var(--ink); line-height: 1.3; font-variant-numeric: tabular-nums; }
.who-text .who-sign { font-size: 14.5px; color: var(--sub); margin-top: 22px; } .who-sign b { color: var(--ink); font-size: 16px; margin-right: 8px; }
.who-text .btn { margin-top: 26px; }
.who-text blockquote { font-size: clamp(24px, 3vw, 40px); position: relative; padding-top: 34px; }
.who-text blockquote::before { content: "“"; position: absolute; top: -14px; left: -4px; font-size: 80px; color: var(--olive); line-height: 1; }

/* 일하는 방식 */
.craft { max-width: var(--max); margin: 0 auto; padding: clamp(84px, 11vw, 170px) var(--pad) 0; }
.craft-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 60px; align-items: end; }
.craft-head .label { grid-column: 1 / -1; }
.craft-head > p:last-child { color: var(--sub); padding-bottom: 8px; }
.craft-photos { display: grid; grid-template-columns: 5fr 4fr 4fr; gap: clamp(18px, 3vw, 44px); margin-top: clamp(44px, 6vw, 84px); align-items: start; }
.craft-photos figure:nth-child(2) { margin-top: 90px; } .craft-photos figure:nth-child(3) { margin-top: 30px; }
.craft-photos img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.craft-photos figcaption, .st-factory figcaption { font-size: 14.5px; color: var(--sub); margin-top: 16px; line-height: 1.6; }
.craft-photos figcaption b { display: block; font-family: var(--serif); font-size: 21px; color: var(--ink); }

/* 넓어지는 사례 카드 */
.xc, .flow, .ba-sec { max-width: var(--max); margin: 0 auto; padding: clamp(84px, 11vw, 170px) var(--pad) 0; }
.sec-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.xcards { display: flex; gap: 10px; height: clamp(380px, 46vw, 600px); }
.xcard { position: relative; flex: 1; min-width: 0; overflow: hidden; transition: flex .6s var(--ease); color: #fff; }
.xcard.on { flex: 4.2; }
.xcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.72); transition: filter .6s var(--ease), transform .9s var(--ease); }
.xcard.on img { filter: none; transform: scale(1.03); }
.xcard::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(transparent, rgba(22,19,15,.8)); opacity: 0; transition: opacity .5s; }
.xcard.on::after { opacity: 1; }
.xno { position: absolute; top: 18px; left: 18px; font-family: var(--serif); font-size: 17px; z-index: 1; }
.xcap { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); white-space: nowrap; display: grid; }
.xcard.on .xcap { opacity: 1; transform: none; transition-delay: .2s; }
.xcap strong { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); } .xcap span { font-size: 14px; color: #e3ddd0; }

/* 전과 후: 두 사진을 띄우고 굵은 테두리 */
.ba-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 34px 0 30px; }
.ba-tab { height: 46px; padding: 0 22px; border: 1px solid var(--line); border-radius: 23px; font-weight: 700; font-size: 15px; background: var(--paper); transition: background .2s, color .2s, border-color .2s; }
.ba-tab:hover { border-color: var(--ink); } .ba-tab.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ba-pane { display: none; } .ba-pane.on { display: block; animation: fadeup .6s var(--ease); }
.ba-pair { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; }
.ba-fig { position: relative; border: 6px solid var(--sub); background: var(--paper); box-shadow: 0 18px 40px rgba(31,29,26,.14); }
.ba-fig.after { border-color: var(--olive); }
.ba-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-fig.before img { filter: saturate(.8); }
.ba-tag { position: absolute; top: -6px; left: -6px; background: var(--sub); color: #fff; font-weight: 800; font-size: 14px; padding: 7px 16px; z-index: 1; letter-spacing: .04em; }
.ba-fig.after .ba-tag { background: var(--olive); }
.ba-arrow { justify-self: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.ba-arrow::before { content: ""; position: absolute; left: 13px; right: 14px; top: 21px; height: 2px; background: #fff; }
.ba-arrow::after { content: ""; position: absolute; right: 13px; top: 16px; width: 10px; height: 10px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
.ba-desc { margin-top: 26px; color: #3b3832; } .ba-desc b { font-family: var(--serif); font-size: 20px; margin-right: 14px; color: var(--ink); }
.ba-all .ba-pane { display: block; margin-top: 64px; } .ba-name { font-family: var(--serif); font-size: 24px; margin-bottom: 20px; }
.ba-page { padding-bottom: 20px; }

/* 진행 순서 한눈에 */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.steps-line { position: absolute; left: 10%; right: 10%; height: 2px; background: var(--line); top: calc((100% - 0px) * 0 + var(--dot-y, 0px)); }
.steps-line i { display: block; height: 100%; background: var(--olive); transform: scaleX(var(--sp, 0)); transform-origin: left; transition: transform .2s linear; }
.step { position: relative; text-align: center; opacity: .38; transition: opacity .5s; }
.step.on { opacity: 1; }
.step-img { position: relative; overflow: hidden; border-radius: 4px; background: var(--paper); }
.step-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scale(1.08); transition: transform .9s var(--ease); }
.step.on .step-img img { transform: none; }
.step-img em, .gen { position: absolute; right: 8px; bottom: 8px; font-style: normal; font-size: 11px; background: rgba(31,29,26,.72); color: #fff; padding: 2px 8px; border-radius: 10px; }
.step-dot { width: 60px; height: 60px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); margin: 22px auto 14px; display: grid; place-items: center; position: relative; z-index: 1; transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease); color: var(--sub); }
.step.on .step-dot { background: var(--olive); border-color: var(--olive); color: #fff; transform: scale(1.06); }
.step-dot svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step-no { font-family: var(--serif); font-size: 14px; color: var(--olive); letter-spacing: .1em; }
.step h3 { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; }
.step-key { display: inline-block; font-size: 13px; font-weight: 700; color: var(--olive); background: var(--olive-2); padding: 2px 12px; border-radius: 12px; margin-top: 8px; }
.step-desc { font-size: 14.5px; color: var(--sub); line-height: 1.65; margin-top: 12px; }

/* 약속 */
.vow { background: var(--olive); color: #fff; margin-top: clamp(84px, 11vw, 170px); padding: clamp(72px, 9vw, 130px) var(--pad); }
.vow > * { max-width: calc(var(--max) - 2 * var(--pad)); margin-inline: auto; }
.vow .label { color: #cfe0d6; }
.vow ol { margin-top: 44px; }
.vow li { display: grid; grid-template-columns: clamp(50px, 7vw, 100px) 1fr; align-items: baseline; font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 3vw, 40px); line-height: 1.4; padding: clamp(18px, 2.4vw, 32px) 0; border-top: 1px solid rgba(255,255,255,.25); }
.vow li:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.vow li span { font-size: .5em; color: #cfe0d6; }

/* 문의 */
.cta { text-align: center; padding: clamp(84px, 11vw, 160px) var(--pad); }
.cta .label { justify-content: center; } .cta .label::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.cta-tel, .ct-tel { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 8.4vw, 128px); line-height: 1.15; letter-spacing: -0.03em; margin-top: 26px; font-variant-numeric: tabular-nums; background: linear-gradient(var(--olive), var(--olive)) left 92% / 0 3px no-repeat; transition: background-size .7s var(--ease); }
.cta-tel:hover, .ct-tel:hover { background-size: 100% 3px; }
.cta > p:not(.label) { color: var(--sub); margin-top: 10px; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.foot { background: var(--ink); color: #b9b2a5; padding: clamp(54px, 7vw, 90px) var(--pad) 120px; font-size: 14.5px; }
.foot-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; border-bottom: 1px solid #3d3a35; padding-bottom: 34px; margin-bottom: 30px; }
.foot-say { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.3; color: #fff; }
.foot-tel { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); color: #fff; font-variant-numeric: tabular-nums; }
.foot-info b { color: #fff; } .foot-nav { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; color: #fff; }
.foot-note { font-size: 12.5px; color: #7d776c; margin-top: 18px; max-width: 60em; }

/* 아래 고정 상담 바 */
.bar { position: fixed; left: 50%; bottom: 18px; z-index: 45; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 40px; padding: 8px 8px 8px 28px; box-shadow: 0 14px 40px rgba(31,29,26,.2); transition: transform .5s var(--ease); width: max-content; max-width: calc(100vw - 24px); }
.bar.show { transform: translate(-50%, 0); }
.bar p { display: grid; line-height: 1.4; margin-right: 14px; } .bar b { font-size: 15px; } .bar span { font-size: 13px; color: var(--sub); }
.bar .btn { height: 46px; padding: 0 20px; font-size: 14.5px; }

/* 하위 페이지 머리 */
.sub-hero { max-width: var(--max); margin: 0 auto; padding: clamp(130px, 15vw, 210px) var(--pad) clamp(40px, 5vw, 70px); position: relative; }
.sub-hero h1 { font-size: clamp(38px, 6vw, 88px); line-height: 1.2; }
.sub-hero .lead { margin-top: 26px; color: var(--sub); max-width: 38em; }
.dim { margin-top: clamp(36px, 5vw, 64px); height: 9px; border-inline: 1.5px solid var(--olive); position: relative; }
.dim i { position: absolute; left: 0; right: 0; top: 4px; height: 1.5px; background: var(--olive); transform: scaleX(0); transform-origin: left; animation: draw 1.2s .4s var(--ease) forwards; }
@keyframes draw { to { transform: scaleX(1); } }

/* 시공사례 페이지 */
.cases { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.chip { height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 22px; font-weight: 700; font-size: 15px; background: var(--paper); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); } .chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(44px, 6vw, 90px) clamp(24px, 4vw, 64px); }
.case:nth-child(even) { margin-top: clamp(0px, 7vw, 110px); }
.case.hide { display: none; }
.swap { position: relative; overflow: hidden; background: var(--paper); }
.swap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .5s, transform .9s var(--ease); }
.swap img + img { position: absolute; inset: 0; height: 100%; opacity: 0; }
.case:hover .swap img + img, .case:focus-within .swap img + img { opacity: 1; } .case:hover .swap img { transform: scale(1.04); }
.case figcaption { display: grid; grid-template-columns: 54px 1fr; margin-top: 22px; }
.case-no { font-family: var(--serif); color: var(--olive); font-size: 17px; padding-top: 4px; }
.case strong { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 28px); line-height: 1.4; display: block; }
.case em { font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--olive); }
.case figcaption p { color: var(--sub); font-size: 15.5px; margin-top: 6px; }
.more { margin: 70px 0 0; text-align: center; }

/* 진행 순서 페이지 */
.flow-page { padding-top: 10px; }
.prows { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 9vw, 130px) var(--pad) 0; display: grid; gap: clamp(64px, 9vw, 130px); }
.prow { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.prow:nth-child(even) figure { order: 2; }
.prow figure { position: relative; } .prow img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prow-no { font-family: var(--serif); font-size: clamp(54px, 7vw, 100px); line-height: 1; color: var(--olive); font-weight: 700; } .prow-no span { font-size: 16px; color: var(--sub); margin-left: 10px; font-weight: 500; }
.prow h2 { margin-top: 14px; }
.prow-key { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--olive); background: var(--olive-2); padding: 3px 14px; border-radius: 14px; margin: 14px 0 6px; }
.prow-text > p.rv { color: #3b3832; margin-top: 10px; }
.prow ul { margin-top: 20px; border-top: 1px solid var(--line); }
.prow li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 15.5px; }
.prow li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 6px; border-left: 1.5px solid var(--olive); border-bottom: 1.5px solid var(--olive); transform: rotate(-45deg); }
.faq { max-width: 960px; margin: 0 auto; padding: clamp(84px, 11vw, 160px) var(--pad) 0; }
.qa { margin-top: 40px; }
.qa details { border-top: 1px solid var(--line); } .qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding-bottom: 26px; color: var(--sub); }

/* 태흥 이야기 페이지 */
.st-sign { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.st-sign img { width: 100%; } .st-sign p { color: #3b3832; margin-top: 20px; }
.st-years { max-width: var(--max); margin: 0 auto; padding: clamp(84px, 11vw, 160px) var(--pad) 0; }
.st-years ol { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ink); margin-top: 10px; }
.st-years li { padding: 30px 16px 0 0; position: relative; }
.st-years li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink); }
.st-years .now::before { background: var(--olive); border-color: var(--olive); }
.st-years b { font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.st-years p { font-size: 15px; color: var(--sub); line-height: 1.6; margin-top: 8px; }
.st-factory { max-width: var(--max); margin: 0 auto; padding: clamp(84px, 11vw, 160px) var(--pad) 0; display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(22px, 3.4vw, 54px); align-items: start; }
.st-f-text p:last-child { color: #3b3832; margin-top: 20px; }
.st-factory figure:last-child { margin-top: 70px; } .st-factory img { width: 100%; }

/* 상담 문의 페이지 */
.ct { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(84px, 10vw, 140px); }
.ct .cta-btns { justify-content: flex-start; }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); margin-top: clamp(50px, 7vw, 90px); align-items: start; }
.ct-box { background: var(--paper); border: 1px solid var(--line); padding: clamp(26px, 3.4vw, 46px); }
.ct-box h2 { font-size: 26px; } .ct-box ul { margin: 20px 0; border-top: 1px solid var(--line); }
.ct-box li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; } .ct-box p { color: var(--sub); font-size: 15.5px; }
.ct-info div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); } .ct-info div:first-child { border-top: 1px solid var(--ink); }
.ct-info dt { color: var(--sub); font-weight: 600; }

/* 움직임 */
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); } .js .rv.in { opacity: 1; transform: none; }
.js .blur-in { opacity: 0; filter: blur(10px); transform: translateY(18%); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease); } .js .blur-in.in { opacity: 1; filter: none; transform: none; }
.js .clip .frame > img, .js .clip .frame > .swap { clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); } .js .clip.in .frame > img { clip-path: inset(0); }
.split .ln { display: block; overflow: hidden; padding-bottom: .08em; } .split .ln > span { display: block; }
.js .split .ln > span { transform: translateY(105%); transition: transform 1s var(--ease); } .js .split.in .ln > span { transform: none; }
.par { will-change: transform; }

@media (max-width: 1024px) {
  .craft-head, .st-sign, .prow, .ct-grid { grid-template-columns: 1fr; } .prow:nth-child(even) figure { order: 0; }
  .craft-head > p:last-child { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; gap: 0; } .steps-line { display: none; }
  .step { display: grid; grid-template-columns: 150px 1fr; column-gap: 22px; text-align: left; padding: 22px 0; border-top: 1px solid var(--line); opacity: 1; align-items: start; }
  .step-img { grid-row: 1 / span 5; } .step-dot { display: none; } .step-img img { transform: none; }
  .st-years ol { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } .st-years li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .st-factory { grid-template-columns: 1fr 1fr; } .st-f-text { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .head { padding: 12px var(--pad); gap: 8px; } .head-call { display: none; } .brand small { display: none; }
  .menu-btn { display: block; margin-left: auto; z-index: 2; }
  .nav { position: fixed; inset: 0; height: 100vh; background: var(--bg); color: var(--ink); flex-direction: column; justify-content: center; gap: 4px; padding: 0 var(--pad); margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 700; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; } .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .head.menu-open { color: var(--ink) !important; transform: none !important; } .head.menu-open .lg-w { display: none !important; } .head.menu-open .lg-i { display: block !important; }
  .hero-bg img { object-position: 70% 40%; } .hero-bg::after { background: linear-gradient(0deg, rgba(22,19,15,.94) 0%, rgba(22,19,15,.6) 55%, rgba(22,19,15,.25) 100%); }
  .hero-lead br { display: none; } .hero-cap { display: none; }
  .hero-facts { grid-template-columns: 1fr 1fr; } .hero-facts div { padding: 12px 8px 12px 0; } .hero-facts div + div { padding-left: 14px; } .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; } .hero-facts div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); } .hero-facts div:nth-child(n+3) { padding-bottom: 22px; }
  .hero-btns .btn { flex: 1 1 100%; justify-content: space-between; }
  .who-in { grid-template-columns: 1fr; } .who-photo { border-right: 0; border-bottom: 1px solid var(--line); } .who-photo img { min-height: 0; aspect-ratio: 4 / 3.6; }
  .who-facts { grid-template-columns: 1fr; } .who-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .who-facts li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; }
  .craft-photos { grid-template-columns: 1fr; } .craft-photos figure:nth-child(n) { margin-top: 0; } .craft-photos img { aspect-ratio: 4 / 3; }
  .xcards { flex-direction: column; height: auto; } .xcard, .xcard.on { flex: none; height: 78px; transition: height .6s var(--ease); } .xcard.on { height: 300px; }
  .ba-pair { grid-template-columns: 1fr; row-gap: 0; } .ba-arrow { transform: rotate(90deg); margin: 10px 0; } .ba-fig { border-width: 5px; }
  .step { grid-template-columns: 108px 1fr; column-gap: 16px; }
  .case-grid { grid-template-columns: 1fr; } .case:nth-child(even) { margin-top: 0; }
  .st-years ol { grid-template-columns: 1fr 1fr; } .st-years li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .st-factory { grid-template-columns: 1fr; } .st-factory figure:last-child { margin-top: 0; }
  .bar { padding: 6px; gap: 6px; bottom: 10px; width: calc(100vw - 20px); } .bar p { display: none; } .bar .btn { flex: 1; justify-content: center; }
  .foot { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .hero-eye, .hero-lead, .hero-btns, .hero-facts, .dim i { animation: none; opacity: 1; transform: none; }
  .js .rv, .js .blur-in, .js .split .ln > span, .cm { opacity: 1; transform: none; filter: none; transition: none; }
  .js .clip .frame > img { clip-path: none; transition: none; }
  .xcard, .xcard img, .step, .step-img img, .head, .bar { transition: none; } .step { opacity: 1; } .step-img img { transform: none; }
}
