/* 원조공사 시안 v12 — 명함의 두 면(짙은 갈색 검정 · 아이보리)과 구리색, 로고 글꼴 Outfit.
   모션은 늘 재생한다(줄이기 설정을 따로 보지 않는다). */
:root {
  --ink: #17120d; --ink-2: #3b332b; --ink-dim: #6d6357;
  --ivory: #f3efe8; --ivory-2: #ebe6dc; --ivory-3: #e0d8cb;
  --black: #100c08; --black-2: #1a140e; --black-3: #241b12;
  --copper: #c8956c; --copper-lt: #e0b48a; --copper-d: #b07a4e; --copper-text: #8a5121;
  --cream: #f0ece6; --dim: #a39989; --muted: #6a6155;
  --line-i: rgba(23, 18, 13, .14); --line-d: rgba(240, 236, 230, .15);
  --latin: 'Outfit', 'Wanted Sans Sub', sans-serif;
  --ko: 'Wanted Sans Sub', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --pad: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
/* 한글 글꼴: 이 페이지에 나오는 글자만 남긴 Wanted Sans 한 파일(_tools/build_fonts_v12.py). 굵기 400~700 */
@font-face { font-family: 'Wanted Sans Sub'; src: url('../assets/fonts/wanted-sans-sub.woff2?v=f4a4e10e') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
/* 영문 · 숫자(로고 글꼴). 받기 전에는 다른 글꼴로 그렸다가 바꾸지 않고 잠깐 비워 둔다(block): 로딩 화면의 워드마크와 숫자가 모양을 바꾸며 깜박이지 않게 */
@font-face { font-family: 'Outfit'; src: url('../assets/fonts/outfit-latin.woff2?v=8e6ff848') format('woff2'); font-weight: 300 800; font-style: normal; font-display: block; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { font-family: var(--ko); background: var(--black); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-break: keep-all; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
::selection { background: var(--copper); color: var(--black); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); }
/* 화면에는 안 보이고 화면 낭독기 · 검색은 읽는 글(3D 구간의 단계 설명 전체) */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.lbl { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--copper-text); }
.lbl::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lbl--d { color: var(--copper); }
.h2 { font-size: clamp(31px, 4.5vw, 66px); font-weight: 650; letter-spacing: -.035em; line-height: 1.18; margin-top: 20px; }
.h2--d { color: var(--cream); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s, scale .3s var(--ease); }
.btn:active { scale: .97; }
.btn--copper { background: var(--copper); color: var(--black); }
.btn--copper:hover { background: var(--copper-lt); }
.btn--line { border: 1px solid rgba(240, 236, 230, .45); color: var(--cream); }
.btn--line:hover { border-color: var(--cream); background: rgba(240, 236, 230, .1); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: var(--copper-text); }

/* 등장: 화면에 들어오면 올라온다 */
/* 등장 효과와 로딩 화면은 스크립트가 도는 브라우저(html.js)에서만 건다. 스크립트가 막혔거나 못 받았어도 글과 사진은 보인다 */
.js .rv { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease) var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; translate: 0 0; }

/* 글자 단위 등장 */
.sw { display: inline-block; white-space: nowrap; }
.cm { display: inline-block; overflow: clip; vertical-align: top; padding: .14em 0 .22em; margin: -.14em 0 -.22em; }
.ch { display: inline-block; translate: 0 130%; will-change: translate; }

/* ───────── 로딩 ───────── */
.loader { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; justify-content: center; background: var(--black); color: var(--cream); will-change: clip-path; }
.js .loader { display: flex; }
/* 글과 줄은 영문 글꼴이 온 뒤에 떠오른다(index.html 머리의 짧은 스크립트가 html.lf 를 붙인다) */
.js .loader__in { opacity: 0; transition: opacity .32s ease; }
.js.lf .loader__in { opacity: 1; }
.loader__in { width: 100%; padding-inline: var(--pad); }
.loader__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.loader__mark { font-family: var(--latin); font-weight: 800; font-size: clamp(24px, 2.7vw, 44px); letter-spacing: .05em; line-height: 1; white-space: nowrap; }
.loader__mark b { font-weight: 800; color: var(--copper); }
.loader__num { font-family: var(--latin); font-weight: 600; font-size: clamp(28px, 3.1vw, 50px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.loader__bar { margin-top: clamp(20px, 2.4vw, 30px); height: 3px; overflow: hidden; background: rgba(240, 236, 230, .12); }
.loader__bar i { display: block; height: 100%; background: var(--copper); transform-origin: 0 50%; scale: 0 1; will-change: scale; }
.loader__meta { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13.5px; color: var(--dim); }
.loader__meta span:last-child { font-family: var(--latin); font-weight: 500; letter-spacing: .08em; }

/* 건너뛰기 막 */
.curtain { position: fixed; inset: 0; z-index: 90; background: var(--black); visibility: hidden; clip-path: inset(100% 0 0 0); will-change: clip-path; }

/* ───────── 메뉴 줄 ───────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 28px; height: 72px; padding-inline: var(--pad); color: var(--cream); transition: color .35s, background-color .35s, translate .5s var(--ease); }
.nav.is-solid { background: rgba(16, 12, 8, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav[data-theme="light"] { color: var(--ink); }
.nav[data-theme="light"].is-solid { background: rgba(243, 239, 232, .76); }
.nav.is-away { translate: 0 -100%; }
.nav__mark { display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.nav__en { font-family: var(--latin); font-weight: 800; font-size: 19px; letter-spacing: .06em; }
.nav__en b { font-weight: 800; color: var(--copper); }
.nav[data-theme="light"] .nav__en b { color: var(--copper-d); }
.nav__ko { font-size: 13.5px; opacity: .72; }
.nav__links { display: flex; gap: 28px; font-size: 15.5px; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; scale: 0 1; transform-origin: 0 50%; transition: scale .45s var(--ease); }
.nav__links a:hover::after { scale: 1 1; }
.nav__tel { font-family: var(--latin); font-weight: 600; font-size: 15px; height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid currentColor; border-radius: 999px; transition: background-color .3s, color .3s; }
.nav__tel:hover { background: var(--copper); border-color: var(--copper); color: var(--black); }
.nav__btn { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; }
.nav__btn i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: translate .4s var(--ease), rotate .4s var(--ease); }
.nav__btn i:first-child { top: 18px; } .nav__btn i:last-child { top: 25px; }
.nav__btn[aria-expanded="true"] i:first-child { translate: 0 3.5px; rotate: 45deg; }
.nav__btn[aria-expanded="true"] i:last-child { translate: 0 -3.5px; rotate: -45deg; }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--black); color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--pad) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); pointer-events: none; }
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(30px, 8vw, 44px); font-weight: 650; letter-spacing: -.03em; padding: 10px 0; }
.menu__links a span { font-family: var(--latin); font-size: 14px; font-weight: 500; color: var(--copper); letter-spacing: 0; }
.menu__links a.menu__sub { font-size: 20px; font-weight: 500; padding: 6px 0 6px 34px; color: var(--dim); }
.menu__foot { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--dim); }
.menu__foot a { font-family: var(--latin); font-size: 22px; font-weight: 600; color: var(--cream); margin-bottom: 6px; }

/* 구조 갈래 고르기 */
.switch { position: fixed; left: 50%; top: 16px; z-index: 61; translate: -50% -14px; opacity: 0; visibility: hidden; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(16, 12, 8, .84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: translate .6s var(--ease), opacity .4s, visibility 0s .4s; }
.switch.is-on { translate: -50% 0; opacity: 1; visibility: visible; transition: translate .6s var(--ease), opacity .4s, visibility 0s; }
.switch button { height: 32px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(240, 236, 230, .7); transition: background-color .3s, color .3s; }
.switch button:hover { color: var(--cream); }
.switch button.is-on { background: var(--copper); color: var(--black); font-weight: 600; }

/* ───────── 1 · 첫 화면 ───────── */
.hero { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
.hero__media { position: absolute; inset: 0; will-change: scale, translate; }
.hero__media img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 38%; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 12, 8, .56) 0%, rgba(16, 12, 8, .1) 24%, rgba(16, 12, 8, .26) 50%, rgba(16, 12, 8, .9) 100%); }
.hero__body { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(15.5vw + 34px); color: var(--cream); will-change: translate, opacity; }
.hero__tag { font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; color: var(--copper-lt); margin-bottom: 16px; }
.hero__title { font-size: clamp(32px, 4.7vw, 72px); font-weight: 650; letter-spacing: -.04em; line-height: 1.16; max-width: 14.5em; text-wrap: balance; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: 28px; flex-wrap: wrap; }
.hero__sub { font-size: clamp(15px, 1.25vw, 19px); color: rgba(240, 236, 230, .84); }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__mega { position: absolute; left: var(--pad); bottom: .04em; font-family: var(--latin); font-weight: 800; font-size: 13vw; line-height: .78; letter-spacing: -.012em; white-space: nowrap; color: var(--cream); will-change: translate; }
.hero__mega b { font-weight: 800; color: var(--copper); }

/* ───────── 2 · 소개 ───────── */
/* 안개: 구역 맨 위에 붙어 첫 화면 위로 먼저 올라온다. 모양은 그림(알파), 색은 여기서 입힌다 */
/* 두 겹 모두 아랫부분(불투명한 쪽)이 구역 안으로 넉넉히 들어와 있다. 위로 끌려 올라가도 구역 윗변이 드러나지 않는다 */
.mist { position: absolute; left: 0; top: -62vh; z-index: 3; width: 100%; height: 100vh; pointer-events: none; }
.mist i { position: absolute; left: 0; width: 100%; opacity: 0; background: var(--ivory); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; will-change: transform, opacity; }
.mist__a { top: 20vh; height: 62vh; -webkit-mask-image: url(../assets/fx/mist-a.png); mask-image: url(../assets/fx/mist-a.png); }
.mist__b { top: 6vh; height: 92vh; -webkit-mask-image: url(../assets/fx/mist-b.png); mask-image: url(../assets/fx/mist-b.png); }
/* 세로로 긴 화면: 그림을 옆으로 찌그러뜨리지 않고 높이에 맞춘 뒤 가운데만 쓴다 */
@media (max-aspect-ratio: 1/1) { .mist i { -webkit-mask-size: auto 100%; mask-size: auto 100%; -webkit-mask-position: 50% 0; mask-position: 50% 0; } }
.mist__wash { position: absolute; left: 0; right: 0; top: -40vh; bottom: 0; z-index: 4; opacity: 0; pointer-events: none; background: var(--ivory);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 15%, rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, .9) 42%, #000 50%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 15%, rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, .9) 42%, #000 50%); }
/* 첫 화면 바로 밑이 아니라 조금 아래에서 시작한다: 구역 윗변(곧은 선)이 보이기 전에 안개가 먼저 올라오게 */
/* 높이 = 무대(100svh) + 고정된 동안 내리는 길이 206svh(화면 높이 900 기준 1854: 창 다섯이 차례로 열리고, 다섯째가 한 박자 머문 뒤 무대 바탕이
   밤색으로 바뀐다). 그 뒤로는 무대가 풀려 그대로 스크롤되고 바로 밑에 같은 색의 시공 구조 구역이 이어진다. 무대와 같은 단위(svh)라 폰에서
   주소창이 접혀도 박자가 같다 */
.intro { position: relative; z-index: 2; height: 306vh; height: 306svh; margin-top: 18vh; background: var(--ivory); }
/* 무대 바탕을 덮는 밤색 판(글과 창보다 아래). 짙기는 스크립트가 정한다 */
.intro__night { position: absolute; inset: 0; background: var(--black); opacity: 0; pointer-events: none; will-change: opacity; }
.intro__stage { position: sticky; top: 0; z-index: 5; height: 100vh; height: 100svh; overflow: hidden; }
.intro__text { position: absolute; left: var(--pad); right: var(--pad); top: clamp(96px, 13.5vh, 140px); will-change: translate, opacity; }
.intro__say { font-size: clamp(23px, 3vw, 45px); font-weight: 600; letter-spacing: -.032em; line-height: 1.38; max-width: 25em; margin-top: 20px; }
.intro__say .w { display: inline-block; opacity: .15; }
.intro__row { position: absolute; inset: 0; pointer-events: none; }
/* 판재 모양 창: 닫혀 있으면 좁고, 차례가 오면 넓게 열린다 */
.pk { position: absolute; left: 0; top: 0; display: block; overflow: hidden; background: var(--ivory-3); color: var(--cream); text-align: left; pointer-events: auto; will-change: translate, width, height; }
.pk img { position: absolute; left: 0; top: 0; width: 100%; height: 118%; object-fit: cover; opacity: 0; transition: opacity .6s; will-change: scale; -webkit-user-drag: none; }   /* 사진 밑의 WONJOWORKS 글씨는 칸보다 길게 놓아 잘라 낸다 */
.pk img.is-in { opacity: 1; }   /* 사진이 준비되면 떠오른다(빈 창에 갑자기 박히지 않게) */
.pk__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 12, 8, .78) 0%, rgba(16, 12, 8, .28) 30%, rgba(16, 12, 8, 0) 56%); opacity: var(--c, 1); }
/* 글 칸 폭은 '열렸을 때 폭'에 맞춰 둔다(닫힌 창이 좁아져도 줄이 다시 꺾이지 않게) */
.pk__cap { position: absolute; left: clamp(12px, 1.3vw, 22px); bottom: clamp(14px, 2.2vh, 24px); display: block; width: calc(var(--ow, 420px) - 2 * clamp(12px, 1.3vw, 22px)); opacity: var(--c, 1); }
.pk__n { display: block; font-family: var(--latin); font-weight: 500; font-size: 13.5px; color: var(--copper-lt); }
.pk__t { display: block; font-size: clamp(16px, 1.5vw, 22px); font-weight: 650; letter-spacing: -.025em; line-height: 1.3; margin-top: 2px; }
.pk__m { display: block; font-size: 14.5px; line-height: 1.45; color: rgba(240, 236, 230, .84); margin-top: 4px; opacity: var(--o, 0); translate: 0 calc((1 - var(--o, 0)) * 10px); }
/* 마지막 창이 화면을 채운 뒤 뜨는 글 */
/* 사진이 화면을 다 채운 자리가 끝처럼 보이지 않게: 아래로 이어진다는 단추 */

/* ───────── 3 · 시공 구조 들머리 ───────── */
.shead { position: relative; background: var(--black); color: var(--cream); padding: clamp(120px, 19vh, 210px) 0 clamp(100px, 15vh, 170px); }
.shead__in { max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(44px, 7vw, 120px); align-items: end; }
.shead__title { font-size: clamp(31px, 4.4vw, 64px); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; margin-top: 20px; }
.shead__desc { margin-top: 26px; font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.85; color: var(--dim); max-width: 31em; }
.shead__list { border-top: 1px solid var(--line-d); }
.shead__list a { display: grid; grid-template-columns: 40px auto minmax(0, 1fr) 24px; align-items: center; gap: clamp(12px, 1.6vw, 24px); padding: clamp(18px, 2.4vh, 26px) 4px; border-bottom: 1px solid var(--line-d); transition: color .35s, padding .5s var(--ease); }
.shead__list a:hover { color: var(--copper-lt); padding-left: 16px; }
.shead__n { font-family: var(--latin); font-size: 14.5px; font-weight: 500; color: var(--copper); }
.shead__en { font-family: var(--latin); font-weight: 800; font-size: clamp(34px, 4.6vw, 68px); line-height: 1; letter-spacing: -.012em; }
.shead__ko { font-size: 17px; font-weight: 600; justify-self: end; text-align: right; }
.shead__ko small { display: block; font-size: 13.5px; font-weight: 400; color: var(--dim); margin-top: 2px; }
.shead__list i { font-style: normal; font-size: 18px; color: var(--copper); transition: translate .5s var(--ease); }
.shead__list a:hover i { translate: 0 5px; }

/* ───────── 4 · 구조 3D 무대 ───────── */
.st { position: relative; background: var(--ivory); }
.st__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--ink); background: radial-gradient(120% 92% at 56% 40%, #faf7f1 0%, #f0eadf 54%, #e2d9ca 100%); }
.st__night { position: absolute; inset: 0; background: radial-gradient(120% 92% at 56% 46%, #2e2219 0%, #17110c 56%, #0d0906 100%); opacity: 0; }
.st__mount { position: absolute; inset: 0; }
.st__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.st__gl.is-drag { cursor: grabbing; }
.st__veil { position: absolute; left: 0; bottom: 0; width: min(760px, 100%); height: min(46%, 420px); pointer-events: none; background: radial-gradient(100% 100% at 0% 100%, rgba(243, 239, 232, .94) 0%, rgba(243, 239, 232, .7) 42%, rgba(243, 239, 232, 0) 100%); transition: opacity .5s; }
.st__stage.is-night .st__veil { background: radial-gradient(100% 100% at 0% 100%, rgba(16, 12, 8, .9) 0%, rgba(16, 12, 8, .6) 42%, rgba(16, 12, 8, 0) 100%); }
.st__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.st__lines path { fill: none; stroke: var(--copper-d); stroke-width: 1; opacity: 0; }
.st__lines circle { fill: var(--copper-d); opacity: 0; }
.st__tags { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; padding-left: 12px; border-left: 1px solid var(--copper-d); white-space: nowrap; opacity: 0; will-change: translate, opacity; }
.tag b { display: block; font-size: 16px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.tag span { display: block; font-size: 13px; color: var(--ink-dim); line-height: 1.35; }
.st[hidden], .strip[hidden] { display: none; }
.st__head { position: absolute; left: var(--pad); top: clamp(88px, 12vh, 122px); display: flex; align-items: flex-end; gap: clamp(10px, 1.2vw, 18px); pointer-events: none; transform-origin: 0 0; transition: scale .9s var(--ease); }
.st__stage.is-compact .st__head { scale: .46; }
.st__rail { transition: opacity .4s; }
.st__stage.has-tags .st__rail { opacity: 0; pointer-events: none; }
.st__idx { font-family: var(--latin); font-size: 15px; font-weight: 500; color: var(--copper-text); padding-bottom: .7em; }
.st__en { display: block; font-family: var(--latin); font-weight: 800; font-size: clamp(50px, 7.6vw, 120px); line-height: .82; letter-spacing: -.02em; }
.st__ko { font-size: clamp(15px, 1.25vw, 19px); font-weight: 600; padding-bottom: .5em; }
.st__cap { position: absolute; left: var(--pad); bottom: clamp(42px, 8vh, 86px); width: min(440px, calc(100% - 2 * var(--pad))); pointer-events: none; }
/* 글 세 줄은 늘 따로 떠 있는 층으로 둔다: 등장 애니메이션이 시작하고 끝날 때마다 층이 새로 생기면
   무대 전체(화면 가득한 바탕)를 다시 칠하느라 폰에서 한 박자 멈춘다 */
.st__cap > * { will-change: translate, opacity; }
.st__cap.in > * { animation: capIn .6s var(--ease) both; }
.st__cap.in > :nth-child(2) { animation-delay: .05s; } .st__cap.in > :nth-child(3) { animation-delay: .1s; }
@keyframes capIn { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.st__num { font-family: var(--latin); font-weight: 600; font-size: 15px; color: var(--copper-text); }
.st__name { font-size: clamp(21px, 2.1vw, 31px); font-weight: 650; letter-spacing: -.03em; line-height: 1.25; margin-top: 4px; }
.st__name small { font-family: var(--latin); font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--ink-dim); margin-left: 10px; }
.st__spec { margin-top: 12px; font-size: 15.5px; line-height: 1.78; color: var(--ink-2); }
/* 단계 넘기기 단추: 손가락으로 쓰는 기기와 좁은 화면에서만 보인다(큰 화면은 오른쪽 눈금과 휠로 넘긴다) */
.st__ctl { position: absolute; right: var(--pad); bottom: clamp(42px, 8vh, 86px); display: none; align-items: center; gap: 8px; }
.st__step { height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(23, 18, 13, .22); background: rgba(243, 239, 232, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 15px; font-weight: 600; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s, opacity .3s, scale .3s var(--ease); }
.st__step:active { scale: .95; }
.st__step:disabled { opacity: .32; pointer-events: none; }
.st__step--next { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.st__skip { height: 44px; padding: 0 4px 0 8px; font-size: 14px; color: var(--ink-dim); text-decoration: underline; text-underline-offset: 4px; }
.st__stage.is-night .st__step { background: rgba(16, 12, 8, .62); border-color: rgba(240, 236, 230, .3); color: var(--cream); }
.st__stage.is-night .st__step--next { background: var(--cream); border-color: var(--cream); color: var(--black); }
.st__stage.is-night .st__skip { color: var(--dim); }
.st__rail { position: absolute; right: calc(var(--pad) - 8px); top: 50%; translate: 0 -50%; display: flex; flex-direction: column; }
.st__rail button { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 26px; padding-left: 20px; font-size: 13px; color: var(--ink-dim); }
.st__rail span { opacity: 0; translate: 6px 0; transition: opacity .3s, translate .4s var(--ease); }
.st__rail i { width: 14px; height: 1.5px; background: currentColor; opacity: .5; transition: width .45s var(--ease), opacity .3s, background-color .3s; }
.st__rail button:hover span, .st__rail button.is-on span { opacity: 1; translate: 0 0; }
.st__rail button.is-on { color: var(--ink); font-weight: 600; }
.st__rail button.is-on i { width: 34px; opacity: 1; background: var(--copper-d); }
.st__big { position: absolute; right: var(--pad); bottom: clamp(30px, 6vh, 62px); font-family: var(--latin); font-weight: 800; font-size: clamp(76px, 11.5vw, 180px); line-height: .78; letter-spacing: -.03em; color: rgba(23, 18, 13, .09); pointer-events: none; font-variant-numeric: tabular-nums; }
.st__hint { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; font-size: 13px; color: var(--ink-dim); opacity: 0; transition: opacity .5s; pointer-events: none; }
.st__hint.is-on { opacity: 1; }
.st__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(23, 18, 13, .08); }
.st__bar i { display: block; height: 100%; background: var(--copper-d); transform-origin: 0 50%; scale: 0 1; }
.st__stage, .st__spec, .st__name small, .st__idx, .st__num, .st__big, .tag span, .st__rail button { transition: color .5s; }
.st__stage.is-night { color: var(--cream); }
.st__stage.is-night .st__spec { color: rgba(240, 236, 230, .8); }
.st__stage.is-night .st__name small, .st__stage.is-night .tag span, .st__stage.is-night .st__rail button, .st__stage.is-night .st__hint { color: var(--dim); }
.st__stage.is-night .st__rail button.is-on { color: var(--cream); }
.st__stage.is-night .st__idx, .st__stage.is-night .st__num { color: var(--copper); }
.st__stage.is-night .st__big { color: rgba(240, 236, 230, .1); }
.st__stage.is-night .st__bar { background: rgba(240, 236, 230, .1); }

/* 현장 사진 띠 */
/* 높이는 화면 한 장 이상: 앞뒤 3D 무대 둘이 한 화면에 같이 걸리지 않게 한다(무대 캔버스는 하나다) */
.strip { position: relative; background: var(--black); color: var(--cream); padding: clamp(96px, 15vh, 160px) 0 clamp(96px, 14vh, 150px); overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.strip__head { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.strip__title { font-size: clamp(30px, 4.3vw, 62px); font-weight: 650; letter-spacing: -.035em; line-height: 1.18; margin-top: 18px; }
.strip__title em { font-style: normal; font-family: var(--latin); font-weight: 700; color: var(--copper); }
.strip__tools { display: flex; align-items: center; gap: 22px; padding-bottom: 4px; }
.strip__link { font-size: 15.5px; font-weight: 500; padding-bottom: 6px; border-bottom: 1px solid var(--line-d); transition: color .3s, border-color .3s; }
.strip__link:hover { color: var(--copper-lt); border-color: var(--copper-lt); }
.strip__nav { display: flex; gap: 8px; }
.strip__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(240, 236, 230, .32); font-size: 18px; line-height: 1; transition: background-color .3s, color .3s, border-color .3s, opacity .3s, scale .3s var(--ease); }
.strip__arrow:hover { background: var(--cream); border-color: var(--cream); color: var(--black); }
.strip__arrow:active { scale: .94; }
.strip__arrow:disabled { opacity: .28; pointer-events: none; }
/* 사진 줄: 세로 스크롤과 따로, 옆으로만 움직인다 */
.strip__view { margin-top: clamp(36px, 6vh, 64px); overflow-x: auto; overflow-y: hidden; scroll-padding-inline: var(--pad); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.strip__view::-webkit-scrollbar { display: none; }
.strip__view.is-drag { cursor: grabbing; }
.strip__view.is-drag .strip__card { pointer-events: none; }
.strip__track { display: flex; gap: clamp(12px, 1.5vw, 22px); padding-inline: var(--pad); width: max-content; }
.strip__card { flex: 0 0 auto; width: clamp(260px, 33vw, 500px); text-align: left; scroll-snap-align: start; cursor: inherit; }
.strip__card img { -webkit-user-drag: none; }
.strip__foot { width: 100%; max-width: 1360px; margin: clamp(26px, 4vh, 40px) auto 0; padding-inline: var(--pad); display: flex; align-items: center; gap: 18px; font-size: 13.5px; color: var(--dim); }
.strip__hint { transition: opacity .5s; white-space: nowrap; }
.strip.is-moved .strip__hint { opacity: .35; }
.strip__prog { position: relative; flex: 1; height: 2px; background: rgba(240, 236, 230, .14); overflow: hidden; border-radius: 2px; }
.strip__prog i { position: absolute; left: 0; top: 0; height: 100%; width: 20%; background: var(--copper); border-radius: 2px; }
.strip__count { font-family: var(--latin); font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip__count b { font-weight: 600; color: var(--cream); }
.strip__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--black-3); }
.strip__ph img { width: 100%; height: 118%; object-fit: cover; opacity: 0; transition: scale 1.1s var(--ease), opacity .5s; }
.strip__ph img.is-in { opacity: 1; }
.strip__card:hover .strip__ph img { scale: 1.045; }
.strip__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 15px; }
.strip__cap span:last-child { color: var(--dim); white-space: nowrap; }

/* ───────── 5 · 시공 사례 ───────── */
.work { position: relative; background: var(--ivory); padding: clamp(110px, 17vh, 190px) 0 clamp(90px, 13vh, 150px); }
.work__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; }
.work__head .lbl, .work__head .h2 { grid-column: 1; }
.work__sub { grid-column: 2; grid-row: 2; font-size: 16.5px; line-height: 1.8; color: var(--ink-dim); max-width: 27em; padding-bottom: .5em; }
.work__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(38px, 5.5vh, 60px); }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-i); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .3s, color .3s, border-color .3s; }
.chip b { font-family: var(--latin); font-weight: 500; color: var(--copper-text); margin-left: 6px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip.is-on b { color: var(--copper-lt); }
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 50px) clamp(16px, 1.8vw, 28px); margin-top: clamp(30px, 4.5vh, 50px); }
.case { display: block; text-align: left; cursor: pointer; }
.case[hidden] { display: none; }
.case__ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--ivory-3); }
.case__ph img { width: 100%; height: 118%; object-fit: cover; transition: scale 1.1s var(--ease); }
.case:hover .case__ph img { scale: 1.045; }
.case__cnt { position: absolute; right: 10px; top: 10px; display: flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(16, 12, 8, .64); color: var(--cream); font-size: 12.5px; }
.case__t { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.02em; margin-top: 14px; }
.case__l { display: block; font-size: 15px; color: var(--ink-dim); margin-top: 3px; }
.case__m { display: flex; gap: 10px; font-size: 13.5px; margin-top: 8px; color: var(--copper-text); }
.case__m span + span { color: var(--ink-dim); }
.work__more { display: flex; justify-content: center; margin-top: clamp(44px, 6vh, 70px); }
.work__more[hidden] { display: none; }

/* ───────── 6 · 시공 순서 ───────── */
.proc { position: relative; background: var(--ivory-2); padding: clamp(100px, 15vh, 170px) 0; }
.proc__sub { margin-top: 18px; font-size: 16.5px; color: var(--ink-dim); }
.proc__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(48px, 7vh, 80px); }
.proc__list li { position: relative; padding: 30px clamp(14px, 1.6vw, 26px) 0 0; border-top: 1px solid var(--line-i); }
.proc__list li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--copper-d); scale: 0 1; transform-origin: 0 50%; transition: scale 1.3s var(--ease) calc(var(--d, 0s) + .15s); }
.proc__list li.in::before { scale: 1 1; }
.proc__n { display: block; font-family: var(--latin); font-weight: 700; font-size: clamp(34px, 3.5vw, 54px); line-height: 1; color: var(--copper-d); }
.proc__list h3 { font-size: 19px; font-weight: 650; letter-spacing: -.02em; margin-top: 18px; }
.proc__list p { font-size: 15px; line-height: 1.78; color: var(--ink-dim); margin-top: 8px; }

/* ───────── 7 · 견적 문의 · 맺음 ───────── */
.contact { position: relative; background: var(--black); color: var(--cream); padding: clamp(110px, 17vh, 190px) 0 clamp(70px, 10vh, 110px); }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px) clamp(40px, 6vw, 100px); }
.contact__desc { margin-top: 24px; font-size: 16.5px; line-height: 1.85; color: var(--dim); max-width: 28em; }
.contact__call { display: block; align-self: end; justify-self: end; text-align: right; }
.contact__call span { display: block; font-size: 15.5px; color: var(--dim); }
.contact__call b { display: block; white-space: nowrap; font-family: var(--latin); font-weight: 700; font-size: clamp(34px, 5.4vw, 84px); line-height: 1; letter-spacing: -.03em; margin-top: 10px; transition: color .3s; font-variant-numeric: tabular-nums; }
.contact__call:hover b { color: var(--copper-lt); }
.contact__meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.contact__meta dt { font-size: 13.5px; font-weight: 600; color: var(--copper); }
.contact__meta dd { font-size: 17px; margin-top: 6px; }
.footer { position: relative; background: var(--black); color: var(--cream); padding: 30px 0 32px; overflow: hidden; }
.footer__mark { font-family: var(--latin); font-weight: 800; font-size: 13vw; line-height: .9; letter-spacing: -.012em; white-space: nowrap; }
.footer__mark b { font-weight: 800; color: var(--copper); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-top: 40px; font-size: 15px; line-height: 1.75; color: var(--dim); }
.footer__grid h3 { font-size: 13.5px; font-weight: 600; color: var(--copper); margin-bottom: 8px; }
.footer__tag { font-size: 16.5px; color: var(--cream); }
.footer__grid a { white-space: nowrap; }   /* '난간·가드레일' 같은 한 낱말이 가운뎃점에서 끊기지 않게 */
.footer__grid a:hover { color: var(--cream); }
.footer__base { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--muted); }

/* 사진 크게 보기 */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: 76px minmax(0, 1fr) 76px; align-items: center; background: rgba(10, 7, 5, .95); opacity: 0; pointer-events: none; transition: opacity .35s; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100vh; height: 100svh; padding: 66px 0 34px; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); object-fit: contain; border-radius: 4px; }
.lb__fig figcaption { color: var(--cream); font-size: 15px; text-align: center; }
.lb__x { position: absolute; right: var(--pad); top: 18px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(240, 236, 230, .3); color: var(--cream); font-size: 14.5px; }
.lb__nav { justify-self: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(240, 236, 230, .3); color: var(--cream); font-size: 19px; transition: background-color .3s, color .3s; }
.lb__x:hover, .lb__nav:hover { background: var(--cream); color: var(--black); }

@media (pointer: coarse), (max-width: 700px) { .st__ctl { display: flex; } }


/* 손가락으로 미는 기기: 화살표를 빼고, 밀다 놓으면 가까운 사진 앞에 서게 한다.
   마우스 · 터치패드에서는 서는 자리를 정하지 않는다(휠 한 칸마다 제자리로 끌려 돌아오므로). */
@media (pointer: coarse) { .strip__nav { display: none; } .strip__view { cursor: auto; scroll-snap-type: x proximity; } }

/* 중간 폭: 가운데 갈래 단추가 메뉴 글씨와 겹치므로 메뉴 줄 밑으로 내린다 */
@media (max-width: 1280px) { .switch { top: 78px; } }
/* 손가락으로 쓰는 기기: 오른쪽 아래는 단계 넘기기 단추 자리다. 큰 숫자는 뺀다 */
@media (pointer: coarse) { .st__big { display: none; } }

/* ───────── 좁은 화면 ───────── */
@media (max-width: 1000px) {
  .nav__links, .nav__tel { display: none; }
  .nav__btn { display: block; }
  .shead__in { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .work__head { grid-template-columns: minmax(0, 1fr); }
  .work__sub { grid-column: 1; grid-row: auto; }
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .contact__in { grid-template-columns: minmax(0, 1fr); }
  .contact__call { justify-self: start; text-align: left; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__tag { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .nav { height: 62px; }
  .switch { top: 64px; }
  .hero__body { bottom: calc(16vw + 26px); }
  .hero__row { margin-top: 20px; }
  .hero__cta .btn { height: 48px; padding: 0 20px; font-size: 15px; }
  .hero__mega { font-size: 13.4vw; }
  .intro__say { line-height: 1.44; }
  .pk__cap { left: 9px; width: calc(var(--ow, 200px) - 18px); bottom: 14px; }
  .pk__n { font-size: 12px; }
  .pk__t { opacity: var(--o, 0); }
  .pk__m { font-size: 13px; }
  .st__head { top: 112px; }
  .st__rail, .st__big { display: none; }
  .st__cap { bottom: 88px; }
  .st__ctl { left: var(--pad); right: var(--pad); bottom: 26px; }
  .st__skip { margin-left: auto; }
  .st__spec { font-size: 14.5px; line-height: 1.7; }
  .st__hint { bottom: auto; top: 154px; left: auto; right: var(--pad); translate: 0 0; }   /* 갈래 단추 · 제목 밑 */
  .st__en { font-size: clamp(38px, 12.4vw, 50px); }
  .st__ko { white-space: nowrap; font-size: 14px; }
  .tag b { font-size: 13.5px; padding: 1px 6px; margin-left: -6px; border-radius: 4px; background: rgba(243, 239, 232, .86); } .tag span { display: none; }
  .st__stage.is-night .tag b { background: rgba(16, 12, 8, .7); }
  .shead__list a { grid-template-columns: 30px minmax(0, 1fr) 24px; row-gap: 4px; }
  .shead__ko { grid-column: 2; grid-row: 2; justify-self: start; text-align: left; font-size: 15.5px; }
  .shead__ko small { display: inline; margin-left: 8px; }
  .shead__list i { grid-column: 3; grid-row: 1 / span 2; }
  .strip__tools { width: 100%; justify-content: space-between; }
  .strip__card { width: 78vw; }
  .work__grid { grid-template-columns: minmax(0, 1fr); }
  .proc__list { grid-template-columns: minmax(0, 1fr); }
  .contact__meta { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lb { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .lb__nav { position: absolute; bottom: 18px; } .lb__nav--p { left: 24%; } .lb__nav--n { right: 24%; }
  .lb__fig { padding: 70px 14px 86px; }
}

/* ───────── 낮은 화면(폰을 눕혔을 때) ───────── */
@media (max-height: 520px) and (min-width: 560px) {
  .nav { height: 54px; }
  .hero__tag { display: none; }
  .hero__body { bottom: calc(8.4vw + 16px); }
  .hero__title { font-size: clamp(22px, 3.5vw, 34px); max-width: 20em; }
  .hero__row { margin-top: 12px; }
  .hero__sub { font-size: 14px; }
  .hero__cta .btn { height: 40px; padding: 0 16px; font-size: 14px; }
  .hero__mega { font-size: 8vw; }
  .intro__text { top: 62px; }
  .intro__text .lbl { display: none; }
  .intro__say { font-size: clamp(15px, 2.1vw, 20px); line-height: 1.36; margin-top: 0; max-width: 34em; }
  .pk__m { display: none; }
  .st__head { top: 58px; scale: .58; }
  .st__stage.is-compact .st__head { scale: .4; }
  .st__cap { left: var(--pad); bottom: 14px; width: min(400px, 46%); }
  .st__name { font-size: 17px; } .st__name small { font-size: 12px; }
  .st__spec { margin-top: 5px; font-size: 12.5px; line-height: 1.55; }
  .st__hint, .st__big, .st__rail { display: none; }
  .st__ctl { bottom: 14px; }
  .st__step { height: 38px; min-width: 38px; padding: 0 13px; font-size: 14px; }
  .menu { padding: 62px var(--pad) 18px; overflow-y: auto; justify-content: flex-start; gap: 18px; }
  .menu__links a { font-size: 24px; padding: 4px 0; } .menu__links a.menu__sub { display: none; }
  .shead { padding: 76px 0 54px; }
  .lb__fig { padding: 46px 0 10px; } .lb__fig img { max-height: calc(100svh - 96px); }
}
@media (max-height: 520px) and (min-width: 560px) and (max-width: 1000px) { .switch { top: 9px; } }   /* 메뉴 글씨가 없는 폭에서만 메뉴 줄 안으로 */
/* 메뉴가 화면보다 길면 그 안에서 스크롤한다 */
.menu { overflow-y: auto; overscroll-behavior: contain; }

/* ───────── 큰 모니터: 글과 여백을 같이 키운다 ───────── */
@media (min-width: 1800px) {
  .wrap, .shead__in, .strip__head, .strip__foot { max-width: 1560px; }
  .nav { height: 84px; gap: 34px; }
  .nav__en { font-size: 22px; } .nav__ko { font-size: 15px; }
  .nav__links { font-size: 17px; gap: 34px; }
  .nav__tel { height: 46px; padding: 0 20px; font-size: 16.5px; }
  .switch { top: 20px; } .switch button { height: 36px; padding: 0 20px; font-size: 16px; }
  .lbl { font-size: 16px; }
  .btn { height: 58px; padding: 0 30px; font-size: 17.5px; }
  .hero__sub { font-size: 21px; }
  .intro__say { font-size: clamp(45px, 2.55vw, 62px); }
  .hero__title { font-size: clamp(72px, 3.7vw, 104px); }
  .h2, .shead__title, .strip__title { font-size: clamp(64px, 3.3vw, 92px); }
  .st__en { font-size: clamp(120px, 6.2vw, 168px); }
  .shead__en { font-size: clamp(68px, 3.5vw, 96px); }
  .contact__call b { font-size: clamp(84px, 4.3vw, 120px); }
  .proc__n { font-size: clamp(54px, 2.8vw, 76px); }
  .pk__n { font-size: 15px; } .pk__t { font-size: 26px; } .pk__m { font-size: 16.5px; }
  .shead__desc { font-size: 19.5px; } .shead__ko { font-size: 19px; } .shead__ko small { font-size: 15px; } .shead__n { font-size: 16px; }
  .st__cap { width: 540px; } .st__num { font-size: 16.5px; } .st__name { font-size: 36px; } .st__name small { font-size: 16px; } .st__spec { font-size: 17.5px; }
  .st__idx { font-size: 17px; } .st__ko { font-size: 21px; }
  .st__rail button { height: 30px; font-size: 14.5px; }
  .tag b { font-size: 18.5px; } .tag span { font-size: 14.5px; }
  .strip__link { font-size: 17px; } .strip__cap { font-size: 16.5px; } .strip__foot { font-size: 14.5px; }
  .strip__card { width: clamp(260px, 26vw, 600px); }
  .work__sub, .proc__sub, .contact__desc { font-size: 18.5px; }
  .chip { height: 48px; padding: 0 22px; font-size: 16.5px; }
  .case__t { font-size: 22px; } .case__l { font-size: 16.5px; } .case__m { font-size: 14.5px; }
  .proc__list h3 { font-size: 22px; } .proc__list p { font-size: 16.5px; }
  .contact__call span { font-size: 17.5px; } .contact__meta dt { font-size: 14.5px; } .contact__meta dd { font-size: 19px; }
  .footer__grid { font-size: 16.5px; } .footer__grid h3 { font-size: 14.5px; } .footer__tag { font-size: 18.5px; } .footer__base { font-size: 14px; }
}
@media (min-width: 2300px) {
  .wrap, .shead__in, .strip__head, .strip__foot { max-width: 1840px; }
  .work__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ───────── 두 화면을 펼친 폰(가운데가 접히거나 틈이 있는 기기) ─────────
   가운데 놓이던 것을 한쪽 화면으로 옮겨, 접히는 자리에 글이나 단추가 걸리지 않게 한다 */
@media (horizontal-viewport-segments: 2) {
  .switch { left: calc(env(viewport-segment-left 1 0, 50vw) + env(viewport-segment-width 1 0, 50vw) / 2); }   /* 오른쪽 화면 가운데(왼쪽 위는 제목 자리) */
  .st__hint { left: calc(env(viewport-segment-right 0 0, 50vw) / 2); }
  .st__cap { width: min(440px, calc(env(viewport-segment-right 0 0, 50vw) - 2 * var(--pad))); }
  .lb { grid-template-columns: env(viewport-segment-left 1 0, 50vw) minmax(0, 1fr) 0; }
  .lb__nav { position: absolute; bottom: 22px; } .lb__nav--p { left: calc(env(viewport-segment-left 1 0, 50vw) + 24%); translate: -50% 0; } .lb__nav--n { right: 12%; }
  .hero__body { right: auto; width: calc(env(viewport-segment-right 0 0, 50vw) - 2 * var(--pad)); }
  .intro__text { right: auto; width: calc(env(viewport-segment-right 0 0, 50vw) - 2 * var(--pad)); }
}

/* ───────── 스크립트가 안 도는 경우 ─────────
   스크롤에 맞춰 스크립트가 놓아 주던 것들(안개 · 소개 창 · 3D 무대 · 사진 띠)을 접고, 글과 사례 카드가 차례로 읽히는 보통 문서로 둔다 */
html:not(.js) .hero { position: relative; }
html:not(.js) .hero__mega { font-size: 11vw; }   /* 폭에 맞추는 일은 스크립트가 한다. 없을 땐 넘치지 않는 크기로 */
html:not(.js) .intro { height: auto; margin-top: 0; padding: clamp(90px, 14vh, 150px) 0 clamp(70px, 10vh, 110px); }
html:not(.js) .intro__stage { position: static; height: auto; overflow: visible; }
html:not(.js) .intro__text { position: static; padding-inline: var(--pad); }
html:not(.js) .intro__say .w { opacity: 1; }
html:not(.js) .mist, html:not(.js) .mist__wash, html:not(.js) .intro__night, html:not(.js) .intro__row, html:not(.js) .strip, html:not(.js) .work__filters, html:not(.js) .work__more, html:not(.js) .nav__btn { display: none; }
html:not(.js) .st { background: var(--ivory); padding: 48px var(--pad); }
html:not(.js) .st__stage { display: none; }
html:not(.js) .st .sr { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; max-width: 860px; }
html:not(.js) .st .sr h3 { font-size: 24px; margin-bottom: 14px; }
html:not(.js) .st .sr li { margin: 0 0 10px 1.2em; list-style: decimal; line-height: 1.75; }
