/* 태흥 PREMIUM — 영화처럼. 색은 영종도 사옥 현장에서 뽑았다:
   먹색 = 블랙우드 도어, 밝은 돌색 = 칼라카타 세라믹, 강철빛 = 스텐 싱크볼과 유리. 검정+금색은 쓰지 않는다. */
:root {
  --bg: #101214; --panel: #181b1f; --line: #2b3036;
  --ink: #eceae6; --sub: #9aa0a6; --steel: #b4c6d0;
  --stone: #ebe7e0; --stone-ink: #15171a; --stone-sub: #5d6166; --stone-line: #cfc9bf;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 5vw, 88px); --max: 1360px;
  --kr: "SUIT Variable", "Pretendard Variable", -apple-system, "Malgun Gothic", sans-serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
body { font-family: var(--kr); background: var(--bg); color: var(--ink); font-size: 17px; font-weight: 400; line-height: 1.85; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
h1, h2, blockquote { font-weight: 300; letter-spacing: -0.045em; line-height: 1.22; }
h2 { font-size: clamp(32px, 4.4vw, 66px); }
h1 em, h2 em { font-style: normal; font-weight: 700; }
:focus-visible { outline: 1.5px solid var(--steel); outline-offset: 5px; }
.en { font-family: var(--en); font-style: italic; font-size: clamp(16px, 1.3vw, 20px); color: var(--steel); letter-spacing: .01em; margin-bottom: 18px; }
.arr { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .3s var(--ease); flex: none; }
.line-btn { display: inline-flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid currentColor; font-weight: 600; font-size: 15.5px; transition: gap .3s var(--ease), color .2s; }
.line-btn:hover { gap: 24px; color: var(--steel); }

/* 여는 장면·페이지 전환: 장문 두 짝이 열리고 닫힌다 (PREMIUM의 고유 요소) */
.doors { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: grid; place-items: center; }
.doors i { position: absolute; top: 0; bottom: 0; width: 50.2%; background: #0b0c0e; transition: transform .8s var(--ease); }
.doors i:first-child { left: 0; border-right: 1px solid #23272c; } .doors i:nth-child(2) { right: 0; border-left: 1px solid #23272c; }
.doors i::after { content: ""; position: absolute; top: 50%; width: 2px; height: 90px; margin-top: -45px; background: var(--steel); opacity: .7; }
.doors i:first-child::after { right: 18px; } .doors i:nth-child(2)::after { left: 18px; }
.doors img { position: relative; z-index: 1; opacity: 0; transition: opacity .4s; }
.js .doors.intro img { opacity: 1; }
.doors.open i:first-child { transform: translateX(-101%); } .doors.open i:nth-child(2) { transform: translateX(101%); }
.doors.open img { opacity: 0; }
html:not(.js) .doors { display: none; }

/* 마우스를 따라다니는 원 */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 96px; height: 96px; margin: -48px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--en); font-style: italic; font-size: 19px; pointer-events: none; transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0); transition: transform .35s var(--ease); }
.cursor.on { transform: translate3d(var(--x), var(--y), 0) scale(1); }
@media (hover: none) { .cursor { display: none; } }

/* 머리 */
.head { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 40px; padding: 22px var(--pad); transition: transform .45s var(--ease), background .4s, padding .3s; mix-blend-mode: normal; }
.head.hide { transform: translateY(-100%); }
.head.solid { background: rgba(16,18,20,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand small { font-family: var(--en); font-style: italic; font-weight: 400; font-size: 15px; color: var(--sub); margin-left: 10px; }
.nav { margin-left: auto; display: flex; gap: 38px; font-size: 14.5px; font-weight: 500; }
.nav a { position: relative; padding: 4px 0; display: grid; }
.nav a i { font-family: var(--en); font-size: 13px; color: var(--steel); line-height: 1; height: 0; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease), height .3s var(--ease); }
.nav a:hover i, .nav a[aria-current] i { opacity: 1; transform: none; height: 13px; }
.head-call { font-size: 14.5px; font-variant-numeric: tabular-nums; padding: 9px 20px; border: 1px solid rgba(236,234,230,.4); border-radius: 30px; transition: background .2s, color .2s; }
.head-call:hover { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i:first-child { top: 18px; } .menu-btn i:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); } .menu-btn[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }

/* 첫 화면: 영상 */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,13,.92) 0%, rgba(10,11,13,.35) 45%, rgba(10,11,13,.5) 100%); }
.hero-in { position: relative; padding: 0 var(--pad); }
.hero-en { margin-bottom: 22px; opacity: 0; animation: fade 1s 1.5s forwards; }
.hero h1 { font-size: clamp(44px, 8.6vw, 148px); line-height: 1.1; letter-spacing: -0.06em; }
.hero-lead { margin-top: 26px; color: #cfd3d6; font-size: clamp(16px, 1.3vw, 19px); opacity: 0; animation: fade 1s 2.3s forwards; }
.hero-foot { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: clamp(30px, 6vh, 64px) var(--pad) 34px; opacity: 0; animation: fade 1s 2.5s forwards; }
.hero-ticks { display: flex; gap: 10px; flex: 1; max-width: 760px; }
.hero-ticks li { flex: 1; font-size: 12px; color: var(--sub); transition: color .4s; }
.hero-ticks i { display: block; height: 1px; background: rgba(236,234,230,.25); margin-bottom: 10px; position: relative; }
.hero-ticks i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--t, 0)); transform-origin: left; }
.hero-ticks li.on { color: var(--ink); }
.hero-scroll { font-family: var(--en); font-style: italic; font-size: 16px; display: flex; align-items: center; gap: 14px; }
.hero-scroll i { width: 1px; height: 46px; background: rgba(236,234,230,.3); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes fade { to { opacity: 1; } }

/* 한 문장: 내리는 만큼 글자가 밝아진다 */
.say { max-width: var(--max); margin: 0 auto; padding: clamp(100px, 14vw, 220px) var(--pad) clamp(70px, 9vw, 130px); }
.fill { font-size: clamp(26px, 4.1vw, 62px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.42; max-width: 22em; }
.fill span { color: rgba(236,234,230,.16); transition: color .35s; } .fill span.on { color: var(--ink); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 120px); border-top: 1px solid var(--line); }
.nums div { padding: 30px 20px 0 0; } .nums div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.nums dd { font-family: var(--en); font-style: italic; font-size: clamp(54px, 7vw, 108px); line-height: 1; display: flex; align-items: baseline; height: 1.05em; overflow: hidden; }
.nums dd small { font-family: var(--kr); font-style: normal; font-size: .22em; margin-left: 8px; color: var(--sub); }
.nums dd.kr { font-family: var(--kr); font-style: normal; font-weight: 300; font-size: clamp(30px, 3.6vw, 54px); letter-spacing: -0.05em; align-items: center; }
.nums dt { color: var(--sub); font-size: 14.5px; margin-top: 14px; }
.roll { display: inline-flex; } .roll b { display: inline-block; font-weight: 400; height: 1.05em; overflow: hidden; } .roll b u { display: block; text-decoration: none; transition: transform 1.4s var(--ease); } .roll b u i { display: block; height: 1.05em; font-style: italic; }

/* 태흥 이야기 블록 */
.who { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.who-box { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); background: var(--panel); border: 1px solid var(--line); }
.who-box::before, .who-box::after { content: ""; position: absolute; width: 46px; height: 46px; border: 1px solid var(--steel); pointer-events: none; }
.who-box::before { top: -9px; left: -9px; border-right: 0; border-bottom: 0; } .who-box::after { bottom: -9px; right: -9px; border-left: 0; border-top: 0; }
.who-photo { overflow: hidden; background: #fff; }
.who-photo img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center 10%; filter: grayscale(.25) contrast(1.03); }
.who-text { padding: clamp(30px, 5vw, 76px); padding-right: clamp(30px, 17vw, 260px); display: flex; flex-direction: column; align-items: flex-start; }
.who-text h2, .who-text blockquote { font-size: clamp(28px, 3.4vw, 50px); }
.who-text > p:not(.en) { color: #c3c7ca; margin-top: 22px; }
.who-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 0 34px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.who-facts li { font-size: 13.5px; color: var(--sub); } .who-facts b { display: block; font-family: var(--en); font-style: italic; font-weight: 400; font-size: clamp(28px, 2.8vw, 42px); color: var(--ink); line-height: 1.2; }
.who-text .who-sign { font-size: 14px; color: var(--sub); } .who-sign b { color: var(--ink); font-size: 16px; margin-right: 12px; font-weight: 600; }
.who-text .line-btn { margin-top: 26px; }
.arch { position: absolute; right: clamp(-10px, 2vw, 40px); bottom: -70px; width: clamp(150px, 17vw, 240px); }
.arch video { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: 999px 999px 0 0; border: 1px solid var(--line); background: var(--panel); }
.arch figcaption { font-family: var(--en); font-style: italic; font-size: 14px; color: var(--sub); margin-top: 8px; text-align: right; }
.who-sub { padding-top: 20px; }

/* 사례 영상 카드 */
.works { max-width: var(--max); margin: 0 auto; padding: clamp(140px, 17vw, 260px) var(--pad) 0; }
.works-sub { padding-top: clamp(70px, 9vw, 130px); }
.sec-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 70px); }
.wcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 26px); perspective: 1400px; }
.wcard { position: relative; display: block; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.wcard:nth-child(even) { margin-top: 70px; }
.wcard-m { overflow: hidden; background: var(--panel); }
.wcard video { width: 100%; aspect-ratio: 4 / 5.4; object-fit: cover; filter: saturate(.7) brightness(.78); transform: scale(1.02); transition: filter .6s, transform 1.2s var(--ease); }
.wcard:hover video { filter: none; transform: scale(1.08); }
.wcard-no { position: absolute; top: 14px; left: 16px; font-family: var(--en); font-style: italic; font-size: 20px; }
.wcard-t { padding-top: 18px; } .wcard-t .en { font-size: 15px; margin-bottom: 4px; }
.wcard h3 { font-size: clamp(19px, 1.7vw, 25px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.35; }
.wcard span { display: block; font-size: 13.5px; color: var(--sub); line-height: 1.6; margin-top: 6px; }

/* 1mm: 화면이 붙은 채 옆으로 흐른다 (3화면 안쪽) */
.mm { height: 300vh; margin-top: clamp(120px, 15vw, 220px); }
.mm-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.mm-track { display: flex; align-items: center; gap: clamp(30px, 5vw, 90px); padding: 0 var(--pad); will-change: transform; }
.mm-pane { flex: none; }
.mm-title { width: min(78vw, 760px); }
.mm-num { font-family: var(--en); font-style: italic; font-size: clamp(140px, 22vw, 360px); line-height: .8; color: var(--steel); margin-bottom: 30px; } .mm-num small { font-size: .2em; margin-left: 10px; }
.mm-fig { width: min(62vw, 520px); } .mm-fig.up { margin-top: -14vh; } .mm-fig:not(.up) { margin-top: 12vh; }
.mm-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.75); }
.mm-fig figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; font-size: clamp(20px, 2vw, 28px); font-weight: 300; letter-spacing: -0.04em; } .mm-fig b { font-family: var(--en); font-style: italic; font-weight: 400; color: var(--steel); font-size: .8em; }
.mm-end { width: min(70vw, 460px); } .mm-end p { font-size: clamp(19px, 1.8vw, 26px); font-weight: 300; line-height: 1.6; letter-spacing: -0.03em; margin-bottom: 30px; }

/* 밝은 구역: 들어서면 화면 전체 색이 바뀐다 */
.light { background: var(--stone); color: var(--stone-ink); border-radius: 36px 36px 0 0; margin-top: clamp(60px, 8vw, 120px); position: relative; }
.light .en { color: #4e6470; } .light-top { margin-top: 0; border-radius: 0; }
body.is-light { background: var(--stone); } body { transition: background .8s; }
.ba-sec, .flow-sec, .faq { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 170px) var(--pad) 0; }
.flow-sec { padding-bottom: clamp(90px, 11vw, 170px); }
.ba-tabs { display: flex; gap: 0; margin: 40px 0 34px; border-bottom: 1px solid var(--stone-line); flex-wrap: wrap; }
.ba-tab { padding: 14px 26px 14px 0; margin-right: 26px; font-weight: 600; font-size: 16px; color: var(--stone-sub); position: relative; transition: color .2s; }
.ba-tab i { font-family: var(--en); font-size: 15px; margin-right: 10px; }
.ba-tab::after { content: ""; position: absolute; left: 0; right: 26px; bottom: -1px; height: 2px; background: var(--stone-ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.ba-tab.on { color: var(--stone-ink); } .ba-tab.on::after { transform: scaleX(1); }
.ba-pane { display: none; } .ba-pane.on { display: block; }
.ba-pair { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.ba-fig { position: relative; border: 7px solid #8d8a84; background: #fff; box-shadow: 0 24px 50px rgba(21,23,26,.18); }
.ba-fig.after { border-color: var(--stone-ink); }
.ba-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .ba-fig.before img { filter: saturate(.7); }
.ba-pane.on .ba-fig.before { animation: fromL .8s var(--ease); } .ba-pane.on .ba-fig.after { animation: fromR .8s .12s var(--ease) backwards; }
@keyframes fromL { from { opacity: 0; transform: translateX(-40px); } } @keyframes fromR { from { opacity: 0; transform: translateX(40px); } }
.ba-tag { position: absolute; top: -7px; left: -7px; background: #8d8a84; color: #fff; padding: 6px 16px 7px; z-index: 1; font-family: var(--en); font-style: italic; font-size: 17px; line-height: 1.3; }
.ba-tag b { font-family: var(--kr); font-style: normal; font-size: 12.5px; font-weight: 600; margin-left: 10px; }
.ba-fig.after .ba-tag { background: var(--stone-ink); }
.ba-arrow { justify-self: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--stone-ink); display: grid; place-items: center; }
.ba-desc { margin-top: 28px; font-size: clamp(17px, 1.5vw, 21px); max-width: 34em; }

/* 진행 순서: 왼쪽 사진은 붙어 있고 단계를 내리면 사진이 바뀐다 */
.flow { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.flow-stage { position: sticky; top: 14vh; }
.flow-pics { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1a1d21; }
.flow-pic { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease); z-index: 1; }
.flow-pic.on { clip-path: inset(0); z-index: 2; } .flow-pic.was { clip-path: inset(0); z-index: 1; }
.flow-pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); } .flow-pic.on img { transform: none; }
.flow-pic em, .flow-m em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: 11px; background: rgba(16,18,20,.7); color: #fff; padding: 2px 9px; border-radius: 10px; }
.flow-meter { position: absolute; left: -34px; bottom: -34px; width: 116px; height: 116px; border-radius: 50%; background: var(--stone); display: grid; place-content: center; text-align: center; z-index: 3; }
.flow-meter svg { position: absolute; inset: 8px; transform: rotate(-90deg); } .flow-meter circle { fill: none; stroke: var(--stone-line); stroke-width: 1.5; } .flow-meter .ring { stroke: var(--stone-ink); stroke-dasharray: 289; stroke-dashoffset: calc(289 - 289 * var(--fp, .2)); transition: stroke-dashoffset .6s var(--ease); }
.flow-meter b { font-family: var(--en); font-style: italic; font-weight: 400; font-size: 38px; line-height: 1; } .flow-meter span { font-family: var(--en); font-style: italic; font-size: 14px; color: var(--stone-sub); }
.flow-step { display: grid; grid-template-columns: 76px 1fr; padding: 9vh 0; border-top: 1px solid var(--stone-line); opacity: .32; transition: opacity .5s; min-height: 46vh; align-content: center; }
.flow-step:last-child { border-bottom: 1px solid var(--stone-line); } .flow-step.on { opacity: 1; }
.flow-no { font-family: var(--en); font-style: italic; font-size: 30px; line-height: 1.3; color: #4e6470; }
.flow-step h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 300; letter-spacing: -0.05em; line-height: 1.25; }
.flow-key { display: inline-block; font-size: 13px; font-weight: 700; border: 1px solid var(--stone-ink); border-radius: 20px; padding: 1px 14px; margin: 14px 0 12px; }
.flow-step p:not(.flow-no):not(.flow-key) { color: #3d4145; }
.flow-step ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 8px; } .flow-step ul li { font-size: 13.5px; background: rgba(21,23,26,.06); padding: 2px 12px; border-radius: 14px; }
.flow-m { display: none; position: relative; margin-top: 20px; }

/* 약속: 카드가 쌓인다 */
.vow { max-width: var(--max); margin: 0 auto; padding: clamp(110px, 14vw, 220px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.vow-head { position: sticky; top: 22vh; }
.vcard { position: sticky; top: calc(16vh + var(--i) * 26px); background: var(--panel); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); margin-bottom: 40px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(calc((var(--i) - 1) * 1.6deg)); box-shadow: 0 -20px 50px rgba(0,0,0,.35); }
.vcard h3 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.35; margin: 30px 0; }
.vcard p:last-child { color: var(--sub); }

/* 문의 권유 + 자석 단추 */
.cta { max-width: var(--max); margin: 0 auto; padding: clamp(120px, 15vw, 240px) var(--pad); }
.cta h2 { font-size: clamp(36px, 6.4vw, 104px); }
.cta-row { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); flex-wrap: wrap; margin-top: 50px; }
.mag { display: inline-grid; place-items: center; width: 190px; height: 190px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 16px; transition: transform .5s var(--ease), background .3s; will-change: transform; }
.mag span { display: grid; justify-items: center; gap: 8px; pointer-events: none; } .mag:hover { background: var(--steel); }
.mag.small { width: auto; height: 58px; border-radius: 30px; padding: 0 28px; } .mag.small span { display: flex; gap: 12px; align-items: center; }
.cta-tel { font-family: var(--en); font-style: italic; font-size: clamp(38px, 6vw, 92px); line-height: 1; font-variant-numeric: lining-nums; border-bottom: 1px solid transparent; transition: border-color .3s; } .cta-tel:hover { border-color: currentColor; }

.foot { border-top: 1px solid var(--line); padding: 0 var(--pad) 46px; color: var(--sub); font-size: 14.5px; overflow: hidden; }
.foot-big { font-family: var(--en); font-style: italic; font-size: clamp(70px, 19vw, 330px); line-height: .82; color: #1c2024; letter-spacing: -0.03em; white-space: nowrap; margin: 30px 0 10px -0.04em; user-select: none; }
.foot-row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-say { color: var(--ink); font-size: 20px; font-weight: 300; letter-spacing: -0.03em; margin-bottom: 8px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; color: var(--ink); align-items: start; }
.foot-note { font-size: 12.5px; color: #62676d; margin-top: 30px; max-width: 64em; }
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 76px; height: 76px; border-radius: 50%; background: var(--steel); color: var(--bg); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 13.5px; line-height: 1.3; transform: scale(0); transition: transform .5s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.fab.show { transform: none; } .fab:hover { transform: scale(1.08); }

/* 하위 머리 */
.sub-hero { max-width: var(--max); margin: 0 auto; padding: clamp(150px, 17vw, 240px) var(--pad) clamp(60px, 8vw, 110px); }
.sub-hero h1 { font-size: clamp(40px, 7vw, 112px); line-height: 1.14; letter-spacing: -0.055em; }
.sub-hero .lead { color: #c3c7ca; margin-top: 30px; max-width: 36em; }

/* 사례 목록 */
.wlist { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrow { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, 1fr); align-items: center; gap: 20px; padding: clamp(26px, 3.4vw, 46px) 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.wrow:last-child { border-bottom: 1px solid var(--line); }
.wrow:hover { padding-left: 24px; }
.wrow-no { font-family: var(--en); font-style: italic; font-size: 22px; color: var(--steel); }
.wrow h2 { font-size: clamp(26px, 4vw, 60px); } .wrow-cat { color: var(--sub); font-size: 15px; } .wrow-mat { color: var(--sub); font-size: 14px; text-align: right; }
.wrow-pic { position: absolute; right: 22%; top: 50%; width: clamp(240px, 26vw, 400px); margin-top: -12%; z-index: 3; pointer-events: none; opacity: 0; clip-path: inset(50% 0 50% 0); transform: rotate(-3deg); transition: opacity .3s, clip-path .6s var(--ease); }
.wrow-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.wrow:hover .wrow-pic { opacity: 1; clip-path: inset(0); }

/* 사례 상세 */
.wd-hero { position: relative; height: 92vh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.wd-bg { position: absolute; inset: 0; } .wd-bg img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.wd-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,13,.92), rgba(10,11,13,.1) 60%, rgba(10,11,13,.45)); }
.wd-in { position: relative; padding: 0 var(--pad) clamp(40px, 6vw, 80px); } .wd-in h1 { font-size: clamp(40px, 7.4vw, 124px); letter-spacing: -0.055em; line-height: 1.12; }
.wd-one { font-size: clamp(18px, 1.8vw, 26px); font-weight: 300; margin-top: 18px; color: #d5d8da; }
.wd-body { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 9vw, 140px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 110px); }
.wd-spec div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; } .wd-spec div:last-child { border-bottom: 1px solid var(--line); } .wd-spec dt { color: var(--sub); }
.wd-text p { font-size: clamp(19px, 1.9vw, 27px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.7; } .wd-text p + p { margin-top: 1.2em; color: #c3c7ca; }
.wd-film { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 160px) var(--pad) 0; text-align: center; }
.arch.wide { position: static; width: min(100%, 560px); margin: 0 auto 16px; } .arch.wide video { aspect-ratio: 4 / 4.6; }
.wd-gal { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 160px) var(--pad) 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(30px, 5vw, 80px) clamp(16px, 2.4vw, 40px); align-items: start; }
.g { grid-column: span 7; } .g:nth-child(even) { grid-column: span 5; margin-top: 12vh; } .g.tall { grid-column: span 4; } .g.tall:nth-child(even) { grid-column: 7 / span 4; }
.g img { width: 100%; } .g figcaption { font-size: 14px; color: var(--sub); margin-top: 12px; }
.wd-next { position: relative; display: block; margin-top: clamp(100px, 13vw, 200px); padding: clamp(90px, 13vw, 200px) var(--pad); text-align: center; overflow: hidden; }
.wd-next-bg { position: absolute; inset: 0; } .wd-next-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.3) saturate(.6); transform: scale(1.05); transition: transform 1.4s var(--ease), filter .8s; }
.wd-next:hover .wd-next-bg img { transform: none; filter: brightness(.5); }
.wd-next > *:not(.wd-next-bg) { position: relative; } .wd-next h2 { font-size: clamp(34px, 6vw, 96px); }
body.work .foot { border-top: 0; }

/* 이야기 */
.years { max-width: var(--max); margin: 0 auto; padding: clamp(150px, 18vw, 260px) var(--pad) 0; }
.years ol { border-top: 1px solid var(--line); }
.years li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: baseline; padding: clamp(18px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); }
.years b { font-family: var(--en); font-style: italic; font-weight: 400; font-size: clamp(44px, 7vw, 110px); line-height: 1; color: var(--steel); }
.years p { font-size: clamp(18px, 2vw, 28px); font-weight: 300; letter-spacing: -0.035em; }
.say-sub { padding-bottom: 0; }

/* 질문 */
.faq { padding-top: 0; padding-bottom: clamp(90px, 11vw, 170px); max-width: 1000px; }
.qa { margin-top: 40px; } .qa details { border-top: 1px solid var(--stone-line); } .qa details:last-child { border-bottom: 1px solid var(--stone-line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; font-size: clamp(18px, 1.8vw, 23px); font-weight: 500; letter-spacing: -0.035em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .4s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); } .qa details p { padding-bottom: 28px; color: #3d4145; max-width: 44em; }

/* 문의 양식 */
.ask { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(100px, 12vw, 180px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.ask fieldset { border: 0; border-top: 1px solid var(--line); padding: 34px 0 40px; }
.ask legend { float: left; width: 100%; font-size: clamp(22px, 2.3vw, 32px); font-weight: 300; letter-spacing: -0.04em; margin-bottom: 22px; } .ask legend i { font-family: var(--en); color: var(--steel); margin-right: 18px; font-size: .8em; }
.opts { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.opt input { position: absolute; opacity: 0; } .opt span { display: block; padding: 12px 22px; border: 1px solid var(--line); border-radius: 30px; font-size: 15.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.opt:hover span { border-color: var(--ink); transform: translateY(-2px); } .opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); } .opt input:focus-visible + span { outline: 1.5px solid var(--steel); outline-offset: 4px; }
.ask-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; clear: both; }
.ask label:not(.opt) { display: grid; gap: 6px; font-size: 13.5px; color: var(--sub); clear: both; } .ask-name { margin-top: 22px; max-width: 320px; }
.ask input[type=text], .ask textarea { border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 17px; color: var(--ink); resize: vertical; transition: border-color .2s; } .ask input[type=text]:focus, .ask textarea:focus { outline: 0; border-color: var(--steel); } .ask ::placeholder { color: #5d6369; }
.ask-out { position: sticky; top: 110px; background: var(--panel); border: 1px solid var(--line); padding: clamp(26px, 3.4vw, 46px); }
.ask-text { font-size: clamp(18px, 1.7vw, 23px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.75; min-height: 8em; white-space: pre-line; } .ask-text mark { background: none; color: var(--steel); border-bottom: 1px solid currentColor; }
.ask-btns { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 26px; } .ask-note { font-size: 13px; color: var(--sub); margin-top: 14px; }
.ask-info { margin-top: 30px; border-top: 1px solid var(--line); } .ask-info div { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; } .ask-info dt { color: var(--sub); } .ask-info a { border-bottom: 1px solid var(--sub); }

/* 움직임 */
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); } .js .rv.in { opacity: 1; transform: none; }
.split .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; } .split .ln > span { display: block; }
.js .split .ln > span { transform: translateY(108%) rotate(2deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); } .js .split.in .ln > span { transform: none; }
.clip { overflow: hidden; }
.js .clip img { clip-path: inset(0 0 100% 0); transform: scale(1.15); transition: clip-path 1s var(--ease), transform 1.6s var(--ease); } .js .clip.in img { clip-path: inset(0); transform: none; }
.js .wcard { opacity: 0; translate: 0 50px; transition: opacity .8s var(--ease), translate .9s var(--ease), transform .5s var(--ease); } .js .wcard.in { opacity: 1; translate: 0 0; }
.par { will-change: transform; }

@media (max-width: 1024px) {
  .wcards { grid-template-columns: 1fr 1fr; } .wcard:nth-child(even) { margin-top: 40px; }
  .who-text { padding-right: clamp(30px, 5vw, 76px); } .arch { display: none; } .arch.wide { display: block; }
  .flow { grid-template-columns: 1fr; } .flow-stage { display: none; } .flow-m { display: block; } .flow-m img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .flow-step { opacity: 1; min-height: 0; padding: 40px 0; }
  .vow, .wd-body, .ask { grid-template-columns: 1fr; } .vow-head, .ask-out { position: static; }
  .wrow { grid-template-columns: 50px 1fr; } .wrow-cat, .wrow-mat { grid-column: 2; text-align: left; } .wrow-pic { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .head { padding: 14px var(--pad); } .head-call { display: none; } .brand small { display: none; } .menu-btn { display: block; margin-left: auto; }
  .nav { position: fixed; inset: 0; height: 100vh; background: var(--bg); flex-direction: column; justify-content: center; gap: 0; padding: 0 var(--pad); margin: 0; font-size: 34px; font-weight: 300; letter-spacing: -0.04em; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav.open { opacity: 1; visibility: visible; } .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); } .nav a i { height: auto; opacity: 1; transform: none; font-size: 15px; }
  .head.menu-open { transform: none !important; background: none !important; backdrop-filter: none !important; }
  .hero-ticks span { display: none; } .hero-scroll { display: none; }
  .nums { grid-template-columns: 1fr 1fr; } .nums div:nth-child(3) { padding-left: 0; border-left: 0; } .nums div:nth-child(n+3) { margin-top: 30px; border-top: 1px solid var(--line); }
  .who-box { grid-template-columns: 1fr; } .who-photo img { min-height: 0; aspect-ratio: 4 / 4; } .who-facts { grid-template-columns: 1fr; gap: 10px; } .who-facts li { display: flex; align-items: baseline; gap: 14px; }
  .mm { height: auto; } .mm-pin { position: static; height: auto; overflow: visible; } .mm-track { flex-direction: column; align-items: stretch; transform: none !important; gap: 44px; } .mm-pane { width: auto !important; margin-top: 0 !important; }
  .light { border-radius: 22px 22px 0 0; }
  .ba-tab { padding-right: 14px; margin-right: 14px; font-size: 14.5px; } .ba-pair { grid-template-columns: 1fr; } .ba-arrow { margin: 12px 0; transform: rotate(90deg); width: 44px; height: 44px; } .ba-fig { border-width: 5px; }
  .flow-step { grid-template-columns: 52px 1fr; }
  .vcard { position: static; transform: none; min-height: 0; margin-bottom: 14px; }
  .mag { width: 150px; height: 150px; }
  .g, .g:nth-child(even), .g.tall, .g.tall:nth-child(even) { grid-column: 1 / -1; margin-top: 0; }
  .years li { grid-template-columns: 1fr; gap: 6px; } .ask-2 { grid-template-columns: 1fr; }
  .fab { width: 64px; height: 64px; right: 14px; bottom: 14px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .doors { display: none; } .hero-en, .hero-lead, .hero-foot { animation: none; opacity: 1; } .hero-scroll i::after { animation: none; }
  .js .rv, .js .split .ln > span, .js .clip img, .js .wcard { opacity: 1; transform: none; translate: none; clip-path: none; transition: none; }
  .fill span { color: var(--ink); } .flow-pic, .flow-pic img, .ba-pane.on .ba-fig { transition: none; animation: none; } .flow-step { opacity: 1; }
  .vcard { transform: none; } .cursor { display: none; } body { transition: none; }
}
