@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500&display=swap");

:root {
  --paper: #f6f4ef;
  --card: #fffdf9;
  --ink: #1d1c1a;
  --sub: #55514a;
  --mute: #8a857b;
  --line: #e2ded4;
  --sun: #c47a24;
  --night: #191816;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif: "Noto Serif KR", "AppleMyungjo", serif;
  --wrap: 1240px;
  --gut: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.7; letter-spacing: -0.02em; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.num { font-feature-settings: "tnum"; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* 헤더 */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: #fff; }
.hd.solid, .hd.plain { background: rgba(246, 244, 239, .94); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hd-in { display: flex; align-items: center; height: 72px; gap: 48px; }
.logo { display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -0.04em; }
.logo small { font-size: 11px; font-weight: 500; letter-spacing: .14em; opacity: .7; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hd-tel { margin-left: auto; font-size: 15px; font-weight: 600; }
.hd-tel span { font-weight: 400; opacity: .7; margin-right: 8px; font-size: 13px; }
.burger { display: none; width: 40px; height: 40px; margin-left: auto; position: relative; }
.burger i { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 24px; }
.menu-open .burger i:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 19.5px; transform: rotate(-45deg); }

/* 히어로: 슬랫이 열리며 사진이 드러난다 */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 980px; overflow: hidden; background: var(--night); color: #fff; --open: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,.5) 0%, rgba(20,18,15,.05) 32%, rgba(20,18,15,.12) 55%, rgba(20,18,15,.72) 100%); pointer-events: none; }
.slats { position: absolute; inset: 0; display: flex; flex-direction: column; pointer-events: none; }
.slats i { flex: 1; background: linear-gradient(180deg, #ebe6da, #d9d2c2 85%, #bdb5a3); transform-origin: top; transform: scaleY(calc(1 - var(--open) * .965)); opacity: calc(1 - var(--open) * .45); box-shadow: 0 1px 2px rgba(0,0,0,.25); will-change: transform; }
.hero-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: 56px; opacity: calc(var(--open) * 1.6 - .3); }
.hero-body .wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero h1 { text-shadow: 0 1px 24px rgba(20,18,15,.35); font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 68px); line-height: 1.28; letter-spacing: -0.045em; }
.hero p { margin-top: 22px; font-size: 17px; max-width: 30em; opacity: .9; }
.hero-cta { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.hero-site { font-size: 13px; opacity: .8; text-align: right; line-height: 1.6; }
.hero-site b { display: block; font-weight: 600; font-size: 14px; opacity: 1; }

/* 빛 조절 줄 */
.cord { position: absolute; z-index: 4; right: var(--gut); top: 72px; bottom: 170px; width: 44px; display: flex; flex-direction: column; align-items: center; }
.cord::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(255,255,255,.55); }
.cord input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ns-resize; writing-mode: vertical-lr; direction: rtl; appearance: slider-vertical; }
.cord-knob { position: absolute; left: 50%; top: calc((1 - var(--open)) * (100% - 54px)); width: 14px; height: 54px; margin-left: -7px; border-radius: 7px; background: #f3efe6; box-shadow: 0 2px 10px rgba(0,0,0,.35); pointer-events: none; }
.cord-label { position: absolute; bottom: -34px; white-space: nowrap; font-size: 12px; letter-spacing: .02em; opacity: .85; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 26px; font-size: 15px; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-paper { background: #fff; color: var(--ink); }
.btn-ghost { border: 1px solid currentColor; }
.btn svg { width: 15px; height: 15px; }

/* 약속 띠 */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 34px 28px 32px 0; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.035em; }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--sub); line-height: 1.6; }

/* 섹션 공통 */
.sec { padding: 128px 0; }
.sec-hd { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; color: var(--sun); margin-bottom: 14px; }
.sec h2 { font-size: clamp(28px, 3.3vw, 42px); font-weight: 700; line-height: 1.32; letter-spacing: -0.045em; }
.sec-hd p { color: var(--sub); max-width: 27em; font-size: 15.5px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; padding-bottom: 3px; border-bottom: 1px solid var(--ink); }
.more:hover { color: var(--sun); border-color: var(--sun); }

/* 시공 카드 */
.rail { display: flex; align-items: flex-start; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); scroll-padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.rail::-webkit-scrollbar { display: none; }
.rail .work { flex: 0 0 min(420px, 78vw); scroll-snap-align: start; }
.rail-bar { height: 1px; background: var(--line); margin-top: 44px; position: relative; }
.rail-bar i { position: absolute; left: 0; top: -1px; height: 2px; width: 20%; background: var(--ink); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--card); transition: border-color .2s; }
.rail-nav button:hover { border-color: var(--ink); }
.rail-nav svg { width: 14px; height: 14px; }

.work { display: block; text-align: left; width: 100%; }
.work-ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--line); }
.work-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.work:hover .work-ph img { transform: scale(1.035); }
.work-cnt { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 12px; background: rgba(20,18,15,.6); color: #fff; font-size: 12px; }
.work-meta { display: flex; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--mute); }
.work-meta span + span::before { content: "·"; margin-right: 8px; }
.work h3 { margin-top: 4px; font-size: 19px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.work p { margin-top: 6px; font-size: 14.5px; color: var(--sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 제품 가이드 */
.guide { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.guide-list li { border-top: 1px solid var(--line); }
.guide-list li:last-child { border-bottom: 1px solid var(--line); }
.guide-tab { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; width: 100%; padding: 22px 0; text-align: left; color: var(--mute); transition: color .2s; }
.guide-tab .num { font-size: 13px; }
.guide-tab b { font-size: 22px; font-weight: 700; letter-spacing: -0.04em; }
.guide-tab em { font-style: normal; font-size: 13.5px; }
.guide-tab:hover, .guide-tab[aria-selected="true"] { color: var(--ink); }
.guide-body { display: none; padding: 0 0 26px 40px; }
.guide-tab[aria-selected="true"] + .guide-body { display: block; }
.guide-body p { font-size: 15.5px; color: var(--sub); }
.guide-body dl { display: grid; grid-template-columns: 76px 1fr; gap: 8px 0; margin-top: 18px; font-size: 14px; }
.guide-body dt { color: var(--mute); }
.meter { display: flex; gap: 3px; align-items: center; height: 24px; }
.meter i { width: 22px; height: 6px; background: var(--line); border-radius: 1px; }
.meter i.on { background: var(--sun); }
.guide-ph { position: sticky; top: 104px; aspect-ratio: 5 / 6; border-radius: 4px; overflow: hidden; background: var(--line); }
.guide-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.guide-ph img.on { opacity: 1; }
.guide-ph figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 2; padding: 4px 10px; font-size: 12.5px; color: #fff; background: rgba(20,18,15,.55); border-radius: 12px; }

/* 공간별 */
.spaces { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.space { position: relative; overflow: hidden; border-radius: 4px; color: #fff; min-height: 300px; display: flex; align-items: flex-end; background: var(--night); }
.space:nth-child(1) { grid-column: span 7; min-height: 460px; }
.space:nth-child(2) { grid-column: span 5; min-height: 460px; }
.space:nth-child(n+3) { grid-column: span 4; }
.space img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.space::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0) 40%, rgba(20,18,15,.78)); }
.space:hover img { transform: scale(1.04); }
.space div { position: relative; z-index: 2; padding: 26px 28px; }
.space b { font-size: 22px; font-weight: 700; letter-spacing: -0.04em; }
.space span { display: block; font-size: 14px; opacity: .85; margin-top: 2px; }

/* 전동 */
.motor { background: var(--night); color: #efeae0; }
.motor .eyebrow { color: #e0a256; }
.motor-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: center; }
.motor-ph { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.motor-ph img { width: 100%; height: 100%; object-fit: cover; }
.motor h2 { font-family: var(--serif); font-weight: 500; }
.motor-lead { margin-top: 22px; color: #bdb6a8; font-size: 16.5px; }
.motor-types { margin-top: 40px; border-top: 1px solid #36332e; }
.motor-types li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #36332e; font-size: 15px; }
.motor-types b { font-weight: 600; color: #fff; }
.motor-types span { color: #bdb6a8; }
.motor-tip { margin-top: 28px; padding-left: 16px; border-left: 2px solid #e0a256; font-size: 14.5px; color: #d6cfc1; }

/* 진행 과정 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .num { font-family: var(--serif); font-size: 15px; color: var(--sun); }
.steps b { display: block; margin-top: 44px; font-size: 21px; font-weight: 700; letter-spacing: -0.04em; }
.steps p { margin-top: 10px; font-size: 14.5px; color: var(--sub); }

/* 납품 원장 */
.ledger-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
.ledger-grid > div > p { margin-top: 20px; color: var(--sub); font-size: 15.5px; }
.ledger li a { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--line); transition: padding .25s, color .2s; }
.ledger li:first-child a { border-top: 1px solid var(--ink); }
.ledger li a:hover { padding-left: 10px; color: var(--sun); }
.ledger time, .ledger em { font-size: 13.5px; color: var(--mute); font-style: normal; }
.ledger b { font-weight: 600; font-size: 16px; letter-spacing: -0.035em; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: 17.5px; font-weight: 600; letter-spacing: -0.035em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 11px; height: 11px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 26px 0; color: var(--sub); font-size: 15.5px; }

/* 상담 */
.ask { background: #ebe6da; scroll-margin-top: 72px; }
.ask-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.ask h2 { font-family: var(--serif); font-weight: 500; }
.ask-lead { margin-top: 20px; color: var(--sub); }
.ask-box { border-top: 1px solid var(--ink); padding-top: 28px; }
.ask-cap { font-size: 13.5px; font-weight: 600; color: var(--sub); }
.ask-tel { display: block; margin-top: 6px; font-size: clamp(40px, 5.4vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.ask-tel:hover { color: var(--sun); }
.ask-links { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.ask-note { margin-top: 40px; font-size: 14.5px; color: var(--sub); }
.ask-list { margin-top: 14px; border-top: 1px solid #d3ccbc; }
.ask-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #d3ccbc; font-size: 15px; font-weight: 600; }
.ask-list span { font-weight: 400; color: var(--mute); font-size: 14px; text-align: right; }
.cb { display: flex; align-items: center; gap: 18px; }
.cb img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--card); box-shadow: 0 4px 16px rgba(20,18,15,.14); }
.cb b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.04em; }
.cb span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--sub); }
.cb-say { margin-top: 22px; font-family: var(--serif); font-size: 19px; line-height: 1.6; letter-spacing: -0.02em; }
.ask-box .ask-tel { margin-top: 24px; }
.ask-ai { margin: 16px 4px 0; font-size: 12px; line-height: 1.7; color: #625e55; }
.btn-yt svg { width: 18px; height: 18px; }
.ask .ask-lead { max-width: 28em; line-height: 1.9; }
.ask-points { margin-top: 28px; display: grid; gap: 10px; font-size: 14px; color: #48483e; }
.ask-points li::before { content: "✓"; margin-right: 10px; color: #707858; }
.ask-hint { margin-top: 32px; padding-top: 22px; border-top: 1px solid #d1c9b7; font-size: 13px; line-height: 1.9; color: var(--sub); max-width: 29em; }
.ask-hint b { color: var(--ink); font-weight: 600; }
.contact-wrap { min-width: 0; }
/* The whole face of this business card is generated raster artwork, not a CSS imitation. */
.contact-card { position: relative; isolation: isolate; border-radius: 5px; background: #fffdf8; box-shadow: 0 24px 50px -26px #51442d55, 0 2px 6px #51442d16; }
.contact-card-art { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: inherit; }
.contact-actions { position: absolute; inset: 0; pointer-events: none; }
.contact-action, .contact-number { position: absolute; z-index: 1; display: block; border-radius: 4px; pointer-events: auto; background: transparent; transition: background .2s, box-shadow .2s; }
.contact-action { bottom: 1.5%; height: 13%; min-height: 44px; width: 24%; }
.contact-action-primary { left: 4%; }
.contact-action-message { left: 29.5%; width: 22%; }
.contact-number { left: 4%; top: 57%; width: 47%; height: 11%; min-height: 24px; }
.contact-action:hover, .contact-number:hover { background: #61723812; box-shadow: inset 0 0 0 1px #53612d66; }
.contact-action:focus-visible, .contact-number:focus-visible { outline: 3px solid #647733; outline-offset: -2px; background: #ffffff25; }
.contact-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 14px 2px 0; font-size: 11px; color: #615d52; }
.contact-card-meta a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 4px; }
.contact-wrap .ask-ai { margin-top: 8px; }

/* 창반장 쇼츠 */
.shorts { padding-bottom: 0; }
.shorts .sec-hd { margin-bottom: 32px; }
.shorts .shorts-lead { max-width: 36em; margin-top: 14px; }
.shorts-tools { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.shorts-nav { display: flex; gap: 8px; }
.shorts-nav[hidden] { display: none; }
.shorts-nav button { width: 44px; height: 44px; border: 1px solid #cbc5b8; border-radius: 50%; font-size: 22px; background: var(--card); }
.shorts-nav button:hover:not(:disabled) { background: var(--ink); color: var(--card); }
.shorts-nav button:disabled { opacity: .3; cursor: default; }
.shorts-rail, .shorts-mini { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #bfb6a4 transparent; padding: 4px 3px 16px; margin: -4px -3px 0; }
.short { position: relative; min-width: 0; display: block; scroll-snap-align: start; }
.short-photo { position: relative; border-radius: 8px; overflow: hidden; background: var(--line); }
.short img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; display: block; transition: transform .4s; }
.short:hover img { transform: scale(1.025); }
.short-play { position: absolute; bottom: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ffffff99; border-radius: 50%; background: #fffdf8e8; color: #363d30; font-size: 12px; padding-left: 2px; box-shadow: 0 2px 8px #0002; }
.short-info { padding: 17px 2px 4px; }
.short-info small { color: #797267; font-size: 11px; letter-spacing: .01em; }
.short-info h3 { margin: 7px 0 12px; font-size: 17px; font-weight: 650; line-height: 1.55; letter-spacing: -.03em; }
.short-watch { color: #5b614c; font-size: 12px; font-weight: 600; }
.shorts-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 12px; color: #746e62; }
.shorts-position { flex-shrink: 0; }
.shorts-mini { grid-auto-columns: min(260px, 72%); margin-top: 8px; }
.shorts-mini + .note { margin-top: 16px; }

/* 푸터 */
.ft { background: var(--night); color: #a39d90; font-size: 14px; padding: 64px 0 110px; }
.ft-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid #36332e; }
.ft .logo { color: #fff; }
.ft-top p { margin-top: 14px; max-width: 30em; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 20px 28px; color: #d6cfc1; align-items: flex-start; }
.ft-nav a:hover { color: #fff; }
.ft-btm { padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }

/* 떠 있는 상담 버튼 */
.fab-wrap { position: fixed; left: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; }
.fab-wrap.show { opacity: 1; visibility: visible; pointer-events: auto; }
.fab { display: flex; align-items: center; gap: 12px; min-height: 74px; padding: 8px 19px 8px 8px; border: 1px solid #e1d9c9; border-radius: 42px; background: #fffdf8; color: #363e31; line-height: 1.4; text-align: left; box-shadow: 0 6px 25px #292a1f25; transition: transform .2s, box-shadow .2s; }
.fab img { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid #e7e3d6; }
.fab-copy small { display: block; font-size: 10px; color: #716b5b; margin-bottom: 3px; }
.fab-copy strong { display: block; font-size: 15px; font-weight: 700; }
.fab > svg { width: 22px; height: 22px; margin-left: 4px; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 10px 30px #292a1f30; }
.fab[aria-expanded="true"] { border-color: #737e61; }
.fab-menu { width: min(300px, calc(100vw - 32px)); max-height: calc(100dvh - 180px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(20,18,15,.18); }
.fab-intro { padding: 20px; background: #f0efe7; border-bottom: 1px solid var(--line); }
.fab-intro b { font-size: 16px; }
.fab-intro p { margin-top: 5px; font-size: 12px; color: var(--sub); }
.fab-intro small { display: block; margin-top: 9px; font-size: 10px; color: #6d6d5e; }
.fab-menu a { display: flex; align-items: center; gap: 12px; padding: 14px 20px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.fab-menu svg { width: 18px; height: 18px; }
.fab-menu a:last-child { border-bottom: 0; }
.fab-menu a:hover { background: var(--paper); color: var(--sun); }

/* 시공사례 페이지 */
.page-hd { padding: 168px 0 56px; }
.page-hd h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.045em; line-height: 1.3; }
.page-hd p { margin-top: 18px; color: var(--sub); max-width: 34em; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 40px; }
.filters button { padding: 9px 18px; border: 1px solid var(--line); border-radius: 22px; font-size: 14.5px; font-weight: 500; background: var(--card); transition: background .15s, color .15s, border-color .15s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .num { margin-left: 5px; opacity: .6; font-size: 13px; }
.works-note { margin: -22px 0 36px; font-size: 14px; color: var(--mute); }
.works-note a { text-decoration: underline; text-underline-offset: 3px; }
.works-more { margin-top: 56px; text-align: center; }
.works-more .num { opacity: .6; font-size: 13px; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 24px; align-items: start; }

/* 상세 모달 */
.modal { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(20,18,15,.72); overflow-y: auto; padding: 40px 20px; }
.modal.open { display: block; }
.modal-in { position: relative; max-width: 980px; margin: 0 auto; background: var(--paper); border-radius: 6px; padding: 48px; }
.modal-x { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.modal-x:hover { background: var(--line); }
.modal-x svg { width: 16px; height: 16px; }
.modal h2 { margin-top: 4px; font-size: 30px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.35; padding-right: 40px; }
.modal-desc { margin-top: 20px; color: var(--sub); max-width: 40em; white-space: pre-line; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.spec { margin-top: 28px; border-top: 1px solid var(--ink); }
.spec li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec li span:first-child { color: var(--mute); }
.modal-ph { margin-top: 32px; display: grid; gap: 12px; }
.modal-ph img { width: 100%; border-radius: 4px; background: var(--line); }
.modal-ft { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }

/* 등장 */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  :root { --gut: 24px; }
  .nav, .hd-tel { display: none; }
  .burger { display: block; }
  .menu-open { overflow: hidden; }
  .menu-open .hd { background: var(--paper); color: var(--ink); backdrop-filter: none; }
  .menu-open .nav { display: flex; flex-direction: column; gap: 0; position: fixed; inset: 72px 0 0 0; background: var(--paper); padding: 16px var(--gut); font-size: 24px; font-weight: 700; letter-spacing: -0.04em; }
  .menu-open .nav a { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .sec { padding: 88px 0; }
  .sec-hd { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
  .rail-nav { display: none; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li, .facts li + li { padding: 24px 16px 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .guide-grid, .motor-grid, .ledger-grid, .faq-grid, .ask-grid { grid-template-columns: 1fr; gap: 40px; }
  .shorts-rail { grid-auto-columns: calc((100% - 44px) / 3); }
  .shorts-tools { width: 100%; justify-content: space-between; }
  .ask-grid { max-width: 760px; gap: 38px; }
  .ask-copy { max-width: 520px; }
  .cta-in { gap: 18px; } .cta-face { width: 56px; height: 56px; }
  .fab-wrap { left: max(14px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .guide-ph { position: relative; top: 0; order: -1; aspect-ratio: 4 / 3; }
  .space:nth-child(n) { grid-column: span 12; min-height: 260px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li, .steps li + li { padding: 24px 16px 28px 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps b { margin-top: 20px; }
  .works { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .hero-body .wrap { grid-template-columns: 1fr; }
  .hero-site { display: none; }
  .cord { top: 96px; bottom: auto; height: 34svh; right: 12px; }
  .cord-label { right: 4px; }
  .hero::after { background: linear-gradient(180deg, rgba(20,18,15,.5) 0%, rgba(20,18,15,.05) 28%, rgba(20,18,15,.5) 52%, rgba(20,18,15,.82) 100%); }
  .hero-body { padding-bottom: 40px; }
  .hero h1 { padding-right: 36px; }
  .modal { padding: 0; }
  .modal-in { padding: 56px 20px 32px; border-radius: 0; min-height: 100%; }
  .spec li { grid-template-columns: 110px 1fr; }
}
@media (max-width: 600px) {
  :root { --gut: 20px; }
  .page-hd h1 { word-break: normal; overflow-wrap: anywhere; text-wrap: balance; }
  .shorts-rail { grid-auto-columns: min(290px, 80%); gap: 16px; }
  .shorts .shorts-lead { font-size: 14px; }
  .shorts-footer { font-size: 11px; }
  .short-info h3 { font-size: 17px; }
  .ask-ai { font-size: 11px; }
  .fab { min-height: 64px; gap: 9px; padding: 7px 15px 7px 7px; }
  .fab img { width: 48px; height: 48px; }
  .fab-copy strong { font-size: 14px; }
  .fab > svg { width: 19px; height: 19px; }
  .works { grid-template-columns: 1fr; }
  .ledger li a { grid-template-columns: 1fr; gap: 2px; }
  .ledger em { display: none; }
  .motor-types li { grid-template-columns: 1fr; gap: 4px; }
  .btn { height: 50px; padding: 0 22px; }
}
@media (max-width: 360px) {
  .page-hd h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ── 생성 페이지(guide/·apt/·faq) ── */
.crumbs { font-size: 13px; color: var(--mute); margin-bottom: 18px; }
.crumbs a { color: var(--sub); } .crumbs a:hover { color: var(--sun); } .crumbs > span { margin: 0 6px; }
.article { padding-bottom: 96px; max-width: 880px; }
.article h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.04em; margin: 56px 0 18px; }
.article .prose p { font-size: 17px; line-height: 1.85; color: var(--ink); margin-top: 18px; }
.article .note { margin: -6px 0 14px; font-size: 14px; color: var(--mute); }
.art-ph { margin: 8px 0 28px; }
.art-ph img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; display: block; }
.art-ph figcaption { margin-top: 10px; font-size: 13.5px; color: var(--mute); }
.kv li span:first-child { color: var(--mute); }
.kv small { color: var(--mute); }
.faq-list details:first-child { border-top: 1px solid var(--ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 8px; }
.card { display: block; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.card div { padding: 14px 16px 16px; } .card b { display: block; font-size: 15.5px; letter-spacing: -0.03em; }
.card span { display: block; margin-top: 4px; font-size: 13px; color: var(--mute); }
.card.txt div { padding: 22px 20px; } .card.txt b { font-size: 18px; }
.cta-box { background: var(--paper); }
.cta-box h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.04em; }
.cta-box p { margin-top: 14px; color: var(--sub); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px !important; }
.cta-in { display: flex; gap: 28px; align-items: flex-start; }
.cta-face { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(20,18,15,.12); }
.cta-box .ask-ai { margin-top: 16px; }
@media (max-width: 720px) { .article h2 { font-size: 23px; margin-top: 40px; } .art-ph img { aspect-ratio: 4/3; } }
