/* 첫 화면(index.html) 전용 디자인 — 2026-10-21 index.html 안에서 그대로 옮김(순서 · 내용 같음). 공용은 tokens.css · site.css */
/* 머리·발바닥·캐릭터·휴대폰 메뉴는 공용 design/site.css. 여기는 첫 화면에만 있는 것 */
nav.gnb { height: 100%; }
nav.gnb > div { position: relative; display: flex; align-items: center; }
nav.gnb > div > a { font: 900 20px/1 var(--z-display-ko); letter-spacing: .02em; padding: 24px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
nav.gnb > div > a:hover { border-bottom-color: var(--z-ink); }
.mega { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); background: var(--z-paper); border: 1.5px solid var(--z-ink); border-radius: var(--z-r-card);
        display: none; grid-template-columns: repeat(6, 140px); padding: 26px 30px 28px; box-shadow: 0 24px 50px rgba(0,0,0,.10); }
nav.gnb > div:hover .mega, nav.gnb > div:focus-within .mega { display: grid; }
.mega a.top { font: 700 14px/1.3 var(--z-body); display: block; margin-bottom: 12px; }
.mega a.top::before { content: attr(data-n); display: block; font: 400 10px/1.6 var(--z-mono); letter-spacing: var(--z-ls-mono); color: var(--z-red); }
.mega a.sub { display: block; font-size: 13px; color: var(--z-mute); padding: 4px 0; }
.mega a.sub:hover, .mega a.top:hover { color: var(--z-ink); }
nav.gnb .mega a.top { padding: 0; border: 0; font: 700 14px/1.3 var(--z-body); }
nav.gnb .mega a.sub { padding: 4px 0; border: 0; font: 400 13px/1.4 var(--z-body); letter-spacing: 0; }

/* ---- 표지 ---- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); min-height: calc(100vh - var(--z-header)); max-height: 940px; }
.hero .copy { position: relative; z-index: 2; padding: var(--z-s6) var(--z-s4) var(--z-s5) var(--z-gutter); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font: 900 clamp(56px, 6.6vw, 112px)/1.02 var(--z-display-ko); letter-spacing: -.02em; margin: 18px 0 22px; word-break: keep-all; min-height: 2.04em; }
.hero .z-lead { color: var(--z-mute); margin: 0; }
.hero .sub { font-size: 16px; line-height: 1.6; margin: 10px 0 28px; color: var(--z-ink); min-height: 1.6em; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.stats { display: flex; gap: var(--z-s6); margin-top: var(--z-s6); }
.stats b { display: block; font: 400 var(--z-fs-stat)/1 var(--z-display); color: var(--z-mute); letter-spacing: .01em; }
.stats span { display: block; margin-top: 8px; letter-spacing: .04em; }
.strip .z-mono { letter-spacing: .06em; }
.frame { position: relative; margin: var(--z-s6) 0 0; border-radius: var(--z-r-arc); overflow: hidden; background: var(--z-soft); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--z-ease); }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 7s ease-out; display: block; }
.slide.on img { transform: scale(1.06); }   /* 10/26: 확대→원래 크기였을 때 다음 사진이 더 크게 나타나 구글이 첫 화면을 6초로 계산(LCP) → 원래 크기→천천히 확대로 */
.frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0) 32%); pointer-events: none; }
.ctrl { position: absolute; right: var(--z-gutter); bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 14px; color: #fff; }
.ctrl .z-mono { color: #fff; }
.ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); background: none; color: #fff; cursor: pointer; font-size: 18px; line-height: 1; transition: background .2s; }
.ctrl button:hover { background: rgba(255,255,255,.18); }
.bar { width: 96px; height: 1.5px; background: rgba(255,255,255,.35); position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: #fff; }
.bar i.run { width: 100%; transition: width 5s linear; }
.scene { position: absolute; right: var(--z-gutter); bottom: 96px; z-index: 4; color: #fff !important; letter-spacing: .06em !important; }
.curve { position: absolute; pointer-events: none; z-index: 1; fill: none; stroke: var(--z-red); stroke-width: 1.5; }
.hero .curve { left: 0; top: 0; width: 46%; height: 100%; }

/* ---- 구역 머리 (라벨 → 큰 제목 → 기울인 한 줄) ---- */
.sec-head h2 { font: 900 var(--z-fs-h2)/1.02 var(--z-display-ko); letter-spacing: -.02em; margin: 12px 0 10px; }
.sec-head .z-lead { margin: 0; }

/* ---- 제품 목차: 둥근 사진 카드 가로 넘기기 ---- */
section.index { position: relative; padding: var(--z-s8) 0 var(--z-s7); overflow: hidden; }
section.index .sec-head { padding: 0 var(--z-gutter); display: flex; align-items: end; justify-content: space-between; gap: var(--z-s4); flex-wrap: wrap; }
.roll-nav { display: flex; gap: 10px; }
.roll-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--z-ink); background: var(--z-paper); cursor: pointer; font-size: 18px; transition: background .2s, color .2s; }
.roll-nav button:hover { background: var(--z-ink); color: var(--z-paper); }
.cats { display: flex; gap: var(--z-s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--z-gutter); padding: var(--z-s6) var(--z-gutter) var(--z-s3); scrollbar-width: none; cursor: grab; }
.cats::-webkit-scrollbar { display: none; }
.cats.drag { cursor: grabbing; scroll-snap-type: none; }
.cats .card { flex: 1 0 280px;   /* 넓은 화면은 6칸이 꽉 차게 늘어남, 좁으면 옆으로 넘김 (2026-10-20) */
scroll-snap-align: start; position: relative; z-index: 2; user-select: none; }
.cats .card > a { display: block; -webkit-user-drag: none; }
.cats figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--z-soft); border-radius: var(--z-r-card); }
.cats .card:nth-child(1) figure { transform: rotate(-2deg); }
.cats .card:nth-child(2) figure { border-radius: 50% / 42%; }
.cats .card:nth-child(5) figure { border-radius: 150px 150px var(--z-r-card) var(--z-r-card); }
.cats img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--z-dur) var(--z-ease); pointer-events: none; }
.cats .card > a:hover img { transform: scale(1.04); }
.cats .c-supply figure { background: #f3efe8; position: relative; }
.cats .c-supply img { position: absolute; height: auto; mix-blend-mode: multiply; transition: transform var(--z-dur) var(--z-ease); }
.cats .c-supply .b0 { width: 50%; left: 2%; bottom: 30%; transform: rotate(-9deg); }
.cats .c-supply .b1 { width: 48%; right: 2%; bottom: 28%; transform: rotate(8deg); }
.cats .c-supply .b2 { width: 58%; left: 21%; bottom: 10%; }
.cats .c-supply:hover .b0 { transform: rotate(-14deg) translate(-8px, -6px); }
.cats .c-supply:hover .b1 { transform: rotate(13deg) translate(8px, -6px); }
.cats .c-supply:hover .b2 { transform: translateY(-10px) scale(1.04); }
.cats .z-mono i { font-style: normal; }
.cats .z-mono { display: block; margin-top: 18px; }
.cats h3 { font: 900 30px/1.2 var(--z-display-ko); letter-spacing: -.01em; margin: 6px 0 10px; }
.cats ul { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--z-line); font-size: 13px; color: var(--z-mute); }
.cats ul a { display: flex; justify-content: space-between; padding: 4px 0; transition: color .2s; }
.cats ul a::after { content: '→'; opacity: 0; transition: opacity .2s; color: var(--z-red); }
.cats ul a:hover { color: var(--z-ink); }
.cats ul a:hover::after { opacity: 1; }
section.index .curve { left: 0; top: 0; width: 100%; height: 100%; }

/* ---- 카탈로그 목차 ---- */
section.toc { border-top: 1.5px solid var(--z-ink); }
.toc .in { max-width: var(--z-max); margin: 0 auto; padding: var(--z-s7) var(--z-gutter) var(--z-s8); display: grid; grid-template-columns: 380px 1fr; gap: var(--z-s6); }
.toc .side { position: sticky; top: 100px; align-self: start; }
.toc .side p:not(.z-lead) { color: var(--z-ink); font-size: 15px; line-height: 1.75; margin: 22px 0 28px; }
.toc .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.toc .groups { columns: 2; column-gap: var(--z-s6); }
.toc .g { break-inside: avoid; margin: 0 0 var(--z-s5); }
.toc .g h3 { display: flex; align-items: baseline; gap: 12px; font: 700 18px/1.3 var(--z-body); margin: 0; padding-bottom: 12px; border-bottom: 1.5px solid var(--z-ink); }
.toc .g h3 .z-mono { color: var(--z-red); }
.toc .g a { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--z-line); font-size: 14px; transition: padding .3s var(--z-ease); }
.toc .g a::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted #c9c9c9; transform: translateY(-4px); }
.toc .g a b { order: 2; font: 400 12px/1 var(--z-mono); color: var(--z-mute); min-width: 30px; text-align: right; }
.toc .g a:hover { padding-left: 6px; }
.toc .g a:hover b { color: var(--z-red); }


/* ---- 페이지 전체를 가로지르는 빨강 곡선 (검정·회색 구역 뒤로 숨음) ---- */
main > div { position: relative; }
main > section:not(.opaque) > *:not(.thread) { position: relative; z-index: 1; }
main > section.hero > .copy { z-index: 2; }

/* ---- 공용: 구역 여백·통계 줄·말풍선·모양 ---- */
.sec { padding: var(--z-s8) var(--z-gutter); max-width: var(--z-max); margin: 0 auto; }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--z-s3) var(--z-s4); margin-top: var(--z-s5); }
.spec dt { font: 400 10px/1.6 var(--z-mono); letter-spacing: var(--z-ls-mono); text-transform: uppercase; color: var(--z-mute); }
.spec dd { margin: 4px 0 0; font: 700 14px/1.45 var(--z-ui); letter-spacing: .04em; }
.spec dd a { border-bottom: 1.5px solid currentColor; }
.bubble { position: absolute; z-index: 3; padding: 12px 20px; border: 2px solid var(--z-ink); border-radius: 50%; background: var(--z-paper); font: 700 13px/1 var(--z-ui); letter-spacing: .12em; white-space: nowrap; }
.bubble::after { content: ''; position: absolute; left: 22%; bottom: -9px; width: 14px; height: 14px; background: var(--z-paper); border: 2px solid var(--z-ink); border-top: 0; border-left: 0; transform: rotate(45deg); }
.more { display: inline-block; margin-top: var(--z-s6); }
.more:hover { color: var(--z-ink); }

/* ---- 900×1800: 왼쪽 제품 + 오른쪽 카톡 상담창 ---- */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: var(--z-s6); align-items: center; }
.feat h2 { font: 900 clamp(56px, 6.4vw, 104px)/1 var(--z-display-ko); letter-spacing: -.02em; margin: 14px 0 26px; }
/* 첫 화면 질문 (design/info.css .faq와 같은 모양) */
.hfaq { max-width: 980px; margin: 0 auto; padding: var(--z-s7) var(--z-gutter) var(--z-s8); }
.hfaq details { border-bottom: 1px solid var(--z-line); } .hfaq details:first-of-type { border-top: 1.5px solid var(--z-ink); margin-top: var(--z-s5); }
.hfaq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 700 18px/1.45 var(--z-body); }
.hfaq summary::-webkit-details-marker { display: none; }
.hfaq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font: 400 30px/1 var(--z-display); color: var(--z-red); transition: transform .3s; }
.hfaq details[open] summary::after { transform: rotate(45deg); }
.hfaq details p { margin: 0 0 24px; font-size: 16px; line-height: 1.75; color: #444; }
.hfaq h2 { font: 900 clamp(48px, 6vw, 96px)/1 var(--z-display-ko); letter-spacing: -.02em; margin: 12px 0 10px; }
.grlead { font-size: 17px; color: #444; margin: 0 0 14px; }
.grout { position: relative; display: flex; align-items: center; gap: 22px; padding: 10px 0 30px; }
.grout .gr { margin: 0; text-align: center; } .grout svg { width: 210px; height: 210px; display: block; }
.grout figcaption { margin-top: 10px; font-size: 14px; color: #555; } .grout figcaption b { display: block; font: 400 22px/1.2 var(--z-display); color: #111; }
.grout .vs { font: 700 28px/1 var(--z-ui); color: var(--z-red); }
.grout .gb { position: absolute; left: 62%; top: -18px; }
@media (max-width: 760px) { .grout { gap: 10px; justify-content: center; } .grout svg { width: 132px; height: 132px; } .grout figcaption b { font-size: 18px; } .grout .vs { font-size: 20px; } .grout .gb { left: auto; right: 0; top: -22px; font-size: 13px; } .grlead { font-size: 15px; } }
.chat .ask { align-self: flex-start; max-width: 86%; padding: 12px 16px; border: 2px solid var(--z-ink); border-radius: 20px; background: #fff; font-size: 15px; line-height: 1.45; color: inherit; text-align: left; cursor: pointer; transition: transform .25s var(--z-ease), background .25s; }
.chat .ask:hover { background: #fff3c4; transform: translateX(4px); }
.chat .ask small { display: block; font: 700 11px/1.4 var(--z-ui); color: var(--z-red); margin-top: 4px; letter-spacing: .04em; }
.tiles2 { position: relative; display: flex; gap: var(--z-s6); padding: var(--z-s6) 0 0 var(--z-s5); height: 400px; }
.tiles2 img { height: 300px; width: auto; box-shadow: 0 30px 40px -18px rgba(0,0,0,.35); border-radius: 3px; transition: transform var(--z-dur) var(--z-ease); }
.tiles2 img:nth-child(1) { transform: rotate(-4deg); }
.tiles2 img:nth-child(2) { transform: rotate(3deg) translateY(16px); }
.tiles2 img:hover { transform: rotate(0) translateY(-6px); }
.tiles2 .b1 { left: 52%; top: 0; }
.tiles2 .b2 { left: 60%; bottom: 0; }
.chat { border: 2px solid var(--z-ink); background: #ececec; transform: rotate(1.2deg); box-shadow: 10px 12px 0 rgba(0,0,0,.08); display: flex; flex-direction: column; min-height: 560px; }
.chat .top { background: var(--z-black); color: #fff; height: 56px; display: flex; align-items: center; justify-content: center; font: 700 15px/1 var(--z-body); position: relative; }
.chat .top small { font: 400 11px/1 var(--z-mono); color: #9a9a9a; margin-left: 8px; }
.chat .top::before { content: '‹'; position: absolute; left: 18px; font-size: 26px; }
.chat .body { flex: 1; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.chat .day { align-self: center; background: #d6d6d6; border-radius: 99px; padding: 5px 12px; font: 400 10px/1 var(--z-mono); letter-spacing: .1em; }
.chat .msg { max-width: 78%; padding: 12px 16px; border: 2px solid var(--z-ink); border-radius: 20px; background: #fff; font-size: 15px; line-height: 1.5; }
.chat .msg.me { align-self: flex-end; background: var(--z-ink); color: #fff; }
.chat .who { font: 700 12px/1 var(--z-body); margin-bottom: -6px; }
.chat .t { font: 400 10px/1 var(--z-mono); color: var(--z-mute); }
.chat .typing { width: 64px; padding: 10px 14px; border: 2px solid var(--z-ink); border-radius: 16px; background: #fff; letter-spacing: 4px; font-weight: 700; }
.chat .send { margin: 0 14px 14px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 99px; padding: 6px 6px 6px 20px; color: var(--z-mute); font-size: 14px; }
.chat .send b { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--z-red); color: #fff; display: grid; place-items: center; font-size: 16px; }

/* ---- 포세린 네 가지 크기 ---- */
.sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--z-s4); margin-top: var(--z-s7); }
.size:nth-child(even) { margin-top: var(--z-s6); }
.size .pic { position: relative; height: 330px; }
.size .blob { position: absolute; inset: 60px 0 0; overflow: hidden; border-radius: 58% 42% 52% 48% / 46% 58% 42% 54%; }
.size:nth-child(2) .blob { border-radius: 42% 58% 40% 60% / 60% 40% 60% 40%; }
.size:nth-child(3) .blob { border-radius: 50% 50% 46% 54% / 38% 52% 48% 62%; }
.size:nth-child(4) .blob { border-radius: 62% 38% 56% 44% / 50% 44% 56% 50%; }
.size .blob img { width: 100%; height: 100%; object-fit: cover; }
.size .sw { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 46%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 26px 30px -14px rgba(0,0,0,.45); border-radius: 2px; z-index: 2; transition: transform var(--z-dur) var(--z-ease); }
.size .sw.tall { width: 34%; aspect-ratio: 1 / 2; }
.size .sw.wide { width: 62%; aspect-ratio: 2 / 1; bottom: 60px; }
.size:hover .sw { transform: translateX(-50%) translateY(-8px); }
.size h3 { font: 400 46px/1 var(--z-display); margin: 26px 0 10px; letter-spacing: .01em; }
.size a.sub { display: block; }
.size .go { color: var(--z-red); font-size: .7em; transition: margin var(--z-dur) var(--z-ease); }
.size a.sub:hover .go { margin-left: 10px; }
.size p { margin: 0; color: #555; line-height: 1.6; font-size: 15px; min-height: 3.2em; }
.size .spec { grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }

/* ---- 빅슬랩: 검정 구역 (위 톱니, 아래 둥글게) ---- */
.slab { background: var(--z-black); color: #fff; text-align: center; padding: var(--z-s7) var(--z-gutter) 160px; border-radius: 0 0 50% 50% / 0 0 120px 120px; margin-top: var(--z-s6); }
.slab::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; background: linear-gradient(-45deg, var(--z-black) 8px, transparent 0) 0 0 / 16px 12px, linear-gradient(45deg, var(--z-black) 8px, transparent 0) 0 0 / 16px 12px; }
.slab .arc { width: min(720px, 92%); height: auto; overflow: visible; }
.slab .arc text { font: 400 64px var(--z-display); fill: #fff; letter-spacing: 2px; text-transform: uppercase; }
.slab .stage { position: relative; height: 560px; margin: -10px auto 0; max-width: 1000px; }
.slab .ghost { position: absolute; inset: 120px 0 auto; font: 400 clamp(160px, 26vw, 380px)/1 var(--z-display); color: transparent; -webkit-text-stroke: 2px #4a4a4a; letter-spacing: .02em; user-select: none; }
.slab .stage img { position: absolute; left: 50%; top: 20px; width: 220px; height: auto; aspect-ratio: 1 / 2; object-fit: cover; box-shadow: 0 40px 60px -20px rgba(0,0,0,.8); transition: transform .7s var(--z-ease); }
.slab .stage a { cursor: pointer; }   /* 판을 누르면 빅슬랩 색 목록 (대표님 2026-10-20) */
.slab .stage img.c { transform: translateX(-50%); z-index: 2; width: 255px; }   /* 1600×3200 판 비율 1:2 (대표님 2026-10-20) */
.slab .stage img.l { transform: translateX(-118%) rotate(-9deg) translateY(50px); opacity: .9; }
.slab .stage img.r { transform: translateX(18%) rotate(9deg) translateY(50px); opacity: .9; }
.slab .stage:hover img.l { transform: translateX(-132%) rotate(-12deg) translateY(40px); }
.slab .stage:hover img.r { transform: translateX(32%) rotate(12deg) translateY(40px); }
.slab .note { position: absolute; right: 4%; bottom: 70px; font: italic 22px/1.2 var(--z-serif); color: #ddd; }
.slab .note::before { content: '↖'; display: block; font-style: normal; font-size: 28px; color: #999; text-align: left; }
.slab .z-label { color: #fff; }
.slab p.lede { max-width: 640px; margin: 14px auto 0; color: #d0d0d0; line-height: 1.7; font-size: 16px; }
.slab .spec { max-width: 680px; margin: var(--z-s4) auto 0; text-align: left; }
.slab .spec dd { color: #fff; }
.slab .z-btn.line { color: #fff; border-color: #fff; margin-top: var(--z-s5); }
.slab .z-mono.foot { display: block; margin-top: 18px; color: #bdbdbd; }

/* ---- 욕실: 하트 사진 + 아치 사진 세 장 ---- */
.bath .center { text-align: center; }
.heart { width: min(640px, 90%); aspect-ratio: 1.15; margin: var(--z-s4) auto 0; overflow: hidden;
         -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 115 100'%3E%3Cpath d='M57.5 100 L8 50 A26 26 0 0 1 57.5 14 A26 26 0 0 1 107 50 Z'/%3E%3C/svg%3E") center / contain no-repeat;
                 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 115 100'%3E%3Cpath d='M57.5 100 L8 50 A26 26 0 0 1 57.5 14 A26 26 0 0 1 107 50 Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.heart img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--z-ease); }
/* 하트 = 욕실 자동견적 입구 (2026-10-20 대표님: 견적이 잘 안 보임) — 영수증 카드 + 30초 말풍선, 누르면 bath */
.hwrap { position: relative; display: block; width: min(640px, 90%); margin: var(--z-s4) auto 0; color: inherit; }
.hwrap .heart { width: 100%; margin: 0; }
.hwrap:hover .heart img { transform: scale(1.06); }
.hwrap .hb { position: absolute; left: -2%; top: 8%; font-size: 20px; padding: 14px 22px; transform: rotate(-8deg); }
.rcpt { position: absolute; right: -14%; bottom: 6%; width: 250px; background: #fff; border: 2px solid var(--z-ink); border-radius: 16px; padding: 18px 18px 14px; text-align: left; box-shadow: 10px 12px 0 rgba(0,0,0,.08); transform: rotate(3deg); transition: transform .5s var(--z-ease); }
.hwrap:hover .rcpt { transform: rotate(0) translateY(-6px); }
.rcpt .rh { font: 700 13px/1 var(--z-ui); letter-spacing: .06em; color: var(--z-mute); border-bottom: 1.5px dashed #bbb; padding-bottom: 10px; margin-bottom: 10px; }
.rcpt .rl { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; padding: 5px 0; }
.rcpt .rl b { font: 900 22px/1 var(--z-display-ko); } .rcpt .rl.dim { color: #777; } .rcpt .rl.dim b { font: 700 13px/1 var(--z-ui); color: var(--z-red); }
.rcpt .rgo { margin-top: 12px; background: var(--z-red); color: #fff; text-align: center; border-radius: 99px; padding: 12px; font: 700 15px/1 var(--z-ui); }
@media (max-width: 760px) { .hwrap { width: 92%; } .rcpt { position: relative; right: auto; bottom: auto; width: auto; margin: -40px 6% 0; transform: none; } .hwrap .hb { font-size: 15px; padding: 10px 16px; } }
.bath .hk { font-family: var(--z-display-ko) !important; font-weight: 900 !important; font-style: normal !important; }
.bath .hsub { font-size: 17px; color: #444; margin: 14px auto 0; max-width: 560px; line-height: 1.6; }
.bath .hacts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.bath .center .z-lead { font-size: 36px; margin: var(--z-s3) auto 0; max-width: 620px; }
.bath h2 { font: 900 clamp(56px, 7vw, 120px)/1 var(--z-display-ko); letter-spacing: -.02em; margin: var(--z-s8) 0 var(--z-s5); }
.arches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--z-s4); align-items: start; }
.arches a { display: block; }
.arches figure { margin: 0; overflow: hidden; aspect-ratio: 9 / 16; background: var(--z-soft); }
.arches a:nth-child(1) figure { border-radius: 260px 40px 260px 40px / 200px 40px 200px 40px; }
.arches a:nth-child(2) figure { border-radius: 40px 200px 40px 40px; margin-top: var(--z-s5); }
.arches a:nth-child(3) figure { border-radius: 999px 999px 24px 24px; }
.arches a:nth-child(4) figure { border-radius: 40px 40px 200px 40px; margin-top: var(--z-s5); }
@media (max-width: 1024px) and (min-width: 761px) { .arches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.arches img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--z-dur) var(--z-ease); }
.arches a:hover img { transform: scale(1.04); }
.arches .z-mono { display: block; margin-top: 16px; }
.arches h3 { font: 700 20px/1.4 var(--z-body); margin: 4px 0 0; }

/* ---- 시공 사진 롤 ---- */
.roll-sec { padding: var(--z-s7) 0 var(--z-s6); overflow: hidden; }
.roll-sec .sec-head { padding: 0 var(--z-gutter); }
.roll { display: flex; align-items: flex-start; gap: var(--z-s4); overflow-x: auto; scrollbar-width: none; padding: var(--z-s6) var(--z-gutter) var(--z-s3); cursor: grab; }
.roll::-webkit-scrollbar { display: none; }
.roll.drag { cursor: grabbing; }
.roll figure { flex: 0 0 auto; margin: 0; user-select: none; }
.roll .ph { height: 380px; overflow: hidden; background: var(--z-soft); }
.roll .ph img { height: 100%; width: auto; display: block; pointer-events: none; transition: transform .9s var(--z-ease), filter .5s; }
.roll a { color: inherit; display: block; }
.roll .ph { position: relative; }
.roll .ph::after { content: '시공 사례 보기 →'; position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 12px); opacity: 0; background: var(--z-red); color: #fff; font: 700 14px/1 var(--z-ui); padding: 12px 18px; border-radius: 99px; white-space: nowrap; transition: opacity .35s, transform .45s var(--z-ease); }
.roll a:hover .ph img { transform: scale(1.07); filter: brightness(.88); }
.roll a:hover .ph::after { opacity: 1; transform: translate(-50%, 0); }
.roll a:hover figcaption { color: var(--z-red); }
.roll figcaption { transition: color .3s; }
.roll figure:nth-child(1) .ph { border-radius: 22px; transform: rotate(-2deg); }
.roll figure:nth-child(2) .ph { border-radius: 50%; height: 340px; margin-top: 30px; }
.roll figure:nth-child(3) .ph { border-radius: 18px; }
.roll figure:nth-child(4) .ph { border-radius: 200px 200px 18px 18px; }
.roll figure:nth-child(5) .ph { border-radius: 18px; height: 330px; margin-top: 40px; }
.roll figure:nth-child(6) .ph { border-radius: 50% / 40%; }
.roll figure:nth-child(7) .ph { border-radius: 18px; transform: rotate(2deg); }
.roll figcaption { margin-top: 16px; }

/* ---- 전시장 이야기 ---- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--z-s6); align-items: center; }
.story h2 { font: 900 clamp(56px, 6.4vw, 104px)/1 var(--z-display-ko); letter-spacing: -.02em; margin: 14px 0 18px; }
.story .z-lead { color: var(--z-mute); margin: 0 0 24px; }
.story p.body { font-size: 16px; line-height: 1.75; margin: 0 0 var(--z-s4); max-width: 560px; }
.floors { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--z-ink); max-width: 560px; }
.floors li { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--z-line); }
.floors b { font: 400 30px/1 var(--z-display); color: var(--z-mute); }
.floors strong { display: block; font-size: 16px; }
.floors span { font-size: 13px; color: var(--z-mute); }
.floors .yt { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--z-r-pill); border: 1.5px solid var(--z-red); color: var(--z-red); font: 700 11px/1 var(--z-ui); letter-spacing: .12em; white-space: nowrap; transition: background .2s, color .2s; }
.floors .yt:hover { background: var(--z-red); color: #fff; }
.story .blob { aspect-ratio: 1; overflow: hidden; border-radius: 56% 44% 48% 52% / 50% 56% 44% 50%; }
.story .blob img { width: 100%; height: 100%; object-fit: cover; }
.story .maps { display: flex; gap: 10px; margin-top: var(--z-s4); flex-wrap: wrap; }

/* ---- 소식 받기: 회색, 위가 둥근 구역 ---- */
.list { background: var(--z-soft); border-radius: 50% 50% 0 0 / 120px 120px 0 0; }
.list .in { max-width: var(--z-max); margin: 0 auto; padding: 160px var(--z-gutter) var(--z-s8); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--z-s6); align-items: center; }
.list h2 { font: 900 clamp(52px, 5.8vw, 96px)/1.02 var(--z-display-ko); letter-spacing: -.02em; margin: 14px 0 18px; }
.list .z-lead { color: var(--z-mute); margin: 0 0 var(--z-s4); }
.list .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.list .z-mono { display: block; margin-top: 18px; }
.fan { position: relative; height: 460px; }
.fan img { position: absolute; left: 50%; top: 50%; width: 190px; aspect-ratio: 1 / 2;   /* 판 비율 1:2 (2026-10-20) */ object-fit: cover; box-shadow: 0 30px 40px -18px rgba(0,0,0,.4); transition: transform .7s var(--z-ease); }
.fan img:nth-child(1) { transform: translate(-90%, -50%) rotate(-14deg); }
.fan img:nth-child(2) { transform: translate(-50%, -56%) rotate(-2deg); z-index: 2; }
.fan img:nth-child(3) { transform: translate(-10%, -48%) rotate(12deg); }
.fan:hover img:nth-child(1) { transform: translate(-104%, -50%) rotate(-18deg); }
.fan:hover img:nth-child(3) { transform: translate(4%, -48%) rotate(16deg); }

/* ---- 사진으로 찾기: 검정 ---- */
.play { background: var(--z-black); color: #fff; text-align: center; border-radius: 120px 120px 0 0 / 60px 60px 0 0; margin-top: -60px; }
.play .in { padding: 140px var(--z-gutter) 150px; max-width: 900px; margin: 0 auto; }
.play .z-label { color: #fff; }
.play h2 { font: 900 clamp(60px, 8vw, 128px)/1 var(--z-display-ko); letter-spacing: -.02em; margin: 16px 0 26px; }
.play p { color: #d0d0d0; font-size: 17px; line-height: 1.7; margin: 0 auto; max-width: 560px; }
.play .z-mono { display: block; color: #fff; margin: 22px 0 30px; }

@media (max-width: 1024px) {
  .toc .in { grid-template-columns: 1fr; }
  .toc .side { position: static; }
}
@media (max-width: 760px) {
  :root { --z-gutter: 16px; --z-header: 92px; }
  .hero { display: flex; flex-direction: column-reverse; min-height: 0; max-height: none; }
  .frame { margin: 0; height: 58vh; min-height: 340px; border-radius: 0 0 50% 50% / 0 0 14% 14%; }
  .ctrl { right: 16px; bottom: 26px; gap: 10px; }
  .bar { width: 56px; }
  .scene { left: 16px; right: auto; bottom: 50px; }
  .hero .copy { padding: 36px 16px 56px; }
  .hero h1 { font-size: 46px; margin: 14px 0 16px; }
  .hero .z-lead { font-size: 26px; }
  .hero .sub { font-size: 17px; }
  .hero .acts .z-btn { min-height: 52px; font-size: 13px; padding: 0 22px; }
  .stats { gap: 0; justify-content: space-between; margin-top: 40px; }
  .stats b { font-size: 30px; }
  .hero .curve, section.index .curve { display: none; }
  .cats .c-supply .b0 { width: 40%; left: 8%; bottom: 26%; }
  .cats .c-supply .b1 { width: 38%; right: 8%; bottom: 24%; }
  .cats .c-supply .b2 { width: 44%; left: 28%; bottom: 4%; }
  section.index { padding: 72px 0 40px; }
  .sec-head h2 { font-size: 44px; }
  .sec-head .z-lead { font-size: 26px; }
  .roll-nav { display: none; }
  .cats { flex-direction: column; gap: 44px; overflow: visible; padding: 36px 16px 24px; cursor: auto; }
  .cats .card { flex: none; }
  .cats figure { aspect-ratio: 4 / 3; }
  .cats .card:nth-child(1) figure { transform: rotate(-1.2deg); }
  .cats .card:nth-child(2) figure { border-radius: 50% / 34%; }
  .cats .card:nth-child(5) figure { border-radius: 160px 160px var(--z-r-card) var(--z-r-card); }
  .cats .z-mono { font-size: 12px; }
  .cats h3 { font: 700 24px/1.3 var(--z-body); letter-spacing: 0; margin: 4px 0 8px; }
  .cats ul { font-size: 16px; }
  .cats ul a { min-height: 44px; align-items: center; padding: 0; border-bottom: 1px solid var(--z-line); }
  .cats ul a::after { opacity: 1; color: var(--z-mute); }
  .toc .in { gap: 36px; padding: 64px 16px 72px; }
  .toc .side p:not(.z-lead) { font-size: 16px; }
  .toc .btns .z-btn { min-height: 52px; flex: 1 1 100%; justify-content: space-between; font-size: 13px; }
  .toc .groups { columns: 1; }
  .toc .g h3 { font-size: 20px; }
  .toc .g a { min-height: 50px; align-items: center; font-size: 17px; padding: 0; }
  .toc .g a b { font-size: 14px; }
  .thread { display: none; }
  .sec { padding: 72px 16px; }
  .spec { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
  .spec dd { font-size: 15px; }
  .feat, .story, .list .in { grid-template-columns: 1fr; gap: 40px; }
  .feat h2, .story h2 { font-size: 48px; }
  .tiles2 { height: 300px; padding: 30px 0 0 16px; gap: 28px; justify-content: center; }
  .tiles2 img { height: 220px; }
  .tiles2 .b1 { left: auto; right: 0; }
  .tiles2 .b2 { left: auto; right: 10px; }
  .chat { min-height: 440px; transform: none; }
  .chat .msg { font-size: 16px; }
  .sizes { grid-template-columns: 1fr; gap: 56px; margin-top: 40px; }
  .size:nth-child(even) { margin-top: 0; }
  .size .pic { height: 300px; }
  .size h3 { font-size: 44px; }
  .size p { font-size: 16px; min-height: 0; }
  .slab { padding: 64px 16px 110px; border-radius: 0 0 50% 50% / 0 0 60px 60px; }
  .slab .arc text { font-size: 76px; }
  .slab .stage { height: 380px; overflow: hidden; }
  .slab .stage img { width: 140px; }
  .slab .stage img.c { width: 165px; }
  .slab .note { display: none; }
  .slab p.lede { font-size: 16px; }
  .slab .z-btn.line { min-height: 52px; }
  .bath .center .z-lead { font-size: 26px; }
  .bath h2 { font-size: 48px; margin: 72px 0 32px; }
  .arches { grid-template-columns: 1fr; gap: 44px; }
  .arches figure { aspect-ratio: 4 / 5; }
  .arches a:nth-child(2) figure, .arches a:nth-child(4) figure { margin-top: 0; }
  .arches h3 { font-size: 21px; }
  .roll-sec { padding: 64px 0 32px; }
  .roll { padding: 32px 16px 16px; gap: 18px; scroll-snap-type: x mandatory; }
  .roll figure { scroll-snap-align: start; }
  .roll .ph { height: 300px !important; margin-top: 0 !important; }
  .list { border-radius: 50% 50% 0 0 / 50px 50px 0 0; }
  .list .in { padding: 96px 16px 120px; }
  .list h2 { font-size: 44px; }
  .list .acts .z-btn { min-height: 52px; flex: 1 1 100%; justify-content: center; font-size: 13px; }
  .fan { height: 320px; }
  .fan img { width: 125px; }
  .play { border-radius: 50px 50px 0 0 / 30px 30px 0 0; }
  .play .in { padding: 96px 16px 110px; }
  .play h2 { font-size: 52px; }
  .play .z-btn { min-height: 52px; font-size: 13px; }
  .floors .yt { min-height: 44px; font-size: 12px; }
  .story .maps .z-btn { min-height: 52px; flex: 1 1 40%; justify-content: center; }
}

/* 흐르는 X자 두 띠 (시안 10, pick-band.html) — 숫자 아래. 마우스 올리면 멈춤 */
.xband { position: relative; height: 200px; overflow: hidden; margin: 8px 0 0; }
.xband .belt { position: absolute; left: -3%; width: 106%; top: 50%; height: 92px; display: flex; align-items: center; background: var(--z-black); color: #fff; }
.xband .belt.a { transform: translateY(-50%) rotate(3deg); }
.xband .belt.b { transform: translateY(-50%) rotate(-3deg); background: var(--z-red); }
.xband .track { display: flex; align-items: center; width: max-content; animation: xrun 40s linear infinite; }
.xband .b .track { animation-direction: reverse; }
.xband:hover .track { animation-play-state: paused; }
.xband .w { white-space: nowrap; padding: 0 28px; font: 400 46px/1 var(--z-display); text-transform: uppercase; }
.xband .w.ko { font-family: var(--z-display-ko); font-weight: 900; font-size: 40px; }
.xband i { display: inline-flex; width: 30px; height: 30px; flex: none; }
.xband i svg { width: 100%; height: 100%; }
@keyframes xrun { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .xband .track { animation-duration: 160s; } }
@media (max-width: 760px) {
  .xband { height: 170px; }
  .xband .belt { height: 54px; left: -10%; width: 120%; }
  .xband .belt.a { transform: translateY(-50%) rotate(9deg); }   /* 좁은 화면은 더 크게 엇갈려야 두 띠가 다 보임 */
  .xband .belt.b { transform: translateY(-50%) rotate(-9deg); }
  .xband .w { font-size: 30px; padding: 0 16px; }
  .xband .w.ko { font-size: 26px; }
  .xband i { width: 22px; height: 22px; }
}
