/* ZIAN INTERIOR — 지안 인테리어 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&display=swap");

:root {
  --ink: #1d1b19;
  --ink-2: #3a3632;
  --muted: #7d766e;
  --line: #e4ded6;
  --paper: #ffffff;
  --ground: #f6f3ef;
  --sand: #c6b6a4;
  --accent: #8c7458;
  --dark: #171513;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec { padding-block: clamp(80px, 11vw, 150px); }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: .02em;
  margin-top: 10px;
}
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.sec-head.center { text-align: center; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 30px;
  border: 1px solid currentColor;
  font-size: 15px; font-weight: 500; letter-spacing: .04em;
  transition: background .3s, color .3s, border-color .3s;
}
.btn::after { content: "→"; transition: transform .3s; }
.btn:hover::after { transform: translateX(4px); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  transition: background .4s, color .4s, border-color .4s, height .3s;
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: none; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: .22em; }
.logo small { font-size: 9px; letter-spacing: .5em; margin-top: 4px; opacity: .8; }
.logo small + small { margin-top: 3px; }
.gnb { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 52px); }
.gnb a { font-size: 14px; font-weight: 500; letter-spacing: .14em; position: relative; padding: 6px 0; }
.gnb a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .3s; }
.gnb a:hover::after, .gnb a.on::after { width: 100%; }
.gnb .tel { font-family: var(--serif); font-size: 20px; letter-spacing: .06em; font-weight: 500; padding-left: 28px; border-left: 1px solid currentColor; opacity: .9; }
.gnb .tel::after { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: .3s; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }

/* transparent over hero */
.is-hero .header:not(.solid) { background: transparent; color: #fff; border-color: transparent; }
.header.solid { height: 72px; }

/* mobile menu (line-design style full screen) */
.mnav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--dark); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav .close { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: calc(var(--gutter) - 10px); width: 44px; height: 44px; }
.mnav .close::before, .mnav .close::after { content: ""; position: absolute; left: 10px; right: 10px; top: 21px; height: 1.5px; background: #fff; }
.mnav .close::before { transform: rotate(45deg); }
.mnav .close::after { transform: rotate(-45deg); }
.mnav ul li { border-bottom: 1px solid rgba(255,255,255,.15); }
.mnav ul a { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; font-family: var(--serif); font-size: 34px; letter-spacing: .06em; }
.mnav ul a span { font-family: var(--sans); font-size: 13px; opacity: .6; letter-spacing: 0; }
.mnav .mnav-foot { margin-top: 40px; font-size: 14px; opacity: .75; line-height: 2; }
.mnav .mnav-foot a { font-family: var(--serif); font-size: 26px; opacity: 1; display: block; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--dark); color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.hero-slide.on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.55) 100%); }
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(90px, 16vh, 170px); }
.hero-copy p { font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .08em; opacity: .92; }
.hero-copy h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 10vw, 150px); line-height: .95; letter-spacing: .06em; margin: 18px 0 36px; }
.hero-copy h1 span { display: block; font-size: .3em; letter-spacing: .42em; margin-top: 14px; font-weight: 400; }
.hero-ui { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(90px, 16vh, 170px); display: flex; align-items: center; gap: 18px; font-family: var(--serif); font-size: 18px; }
.hero-ui .bar { width: 120px; height: 1px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero-ui .bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero-ui .bar i.run { animation: heroBar 6s linear forwards; }
@keyframes heroBar { to { transform: scaleX(1); } }
.hero-ui button { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; font-size: 16px; }
.hero-ui button:hover { background: #fff; color: var(--ink); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .8; }
.scroll-cue::after { content: ""; width: 1px; height: 44px; background: linear-gradient(#fff, transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- WE DO ---------- */
.wedo-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: end; margin-bottom: clamp(56px, 7vw, 90px); }
.wedo-intro .lead { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.55; font-weight: 300; }
.wedo-intro .lead strong { font-weight: 600; }
.wedo-intro .desc { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.values li { padding: 36px 28px 40px 0; border-right: 1px solid var(--line); }
.values li + li { padding-left: 28px; }
.values li:last-child { border-right: 0; }
.values .num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--sand); }
.values h3 { font-size: 19px; font-weight: 600; margin: 22px 0 14px; }
.values p { font-size: 15px; color: var(--muted); }

/* ---------- services ---------- */
.services { background: var(--ground); }
.svc-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { background: var(--paper); display: flex; flex-direction: column; }
.svc .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.svc:hover .ph img { transform: scale(1.06); }
.svc .tx { padding: 26px 24px 30px; }
.svc .en { font-family: var(--serif); font-size: 14px; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.svc h3 { font-size: 20px; font-weight: 600; margin: 6px 0 12px; }
.svc p { font-size: 15px; color: var(--muted); }

/* ---------- before / after ---------- */
.ba-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.ba-tabs button { padding: 10px 20px; border: 1px solid var(--line); font-size: 14px; }
.ba-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ba { position: relative; aspect-ratio: 4 / 3; max-height: 78vh; width: 100%; overflow: hidden; user-select: none; touch-action: pan-y; background: #ddd; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); }
.ba .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 20px; letter-spacing: 4px; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.ba .tag { position: absolute; top: 20px; padding: 6px 14px; font-family: var(--serif); font-size: 14px; letter-spacing: .2em; background: rgba(0,0,0,.55); color: #fff; }
.ba .tag.b { left: 20px; }
.ba .tag.a { right: 20px; }
.ba-cap { margin-top: 16px; color: var(--muted); font-size: 15px; }
.ba-cap a { color: var(--ink); border-bottom: 1px solid; }

/* ---------- portfolio grid ---------- */
.pf-filter { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.pf-filter button { padding: 14px 0; font-size: 15px; color: var(--muted); position: relative; }
.pf-filter button.on { color: var(--ink); font-weight: 600; }
.pf-filter button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 28px); }
.pf-card a { display: block; }
.pf-card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ground); }
.pf-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s, filter .5s; }
.pf-card .ph::after { content: "VIEW"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); letter-spacing: .4em; font-size: 16px; color: #fff; background: rgba(23,21,19,.35); opacity: 0; transition: opacity .4s; }
.pf-card a:hover .ph img { transform: scale(1.06); }
.pf-card a:hover .ph::after { opacity: 1; }
.pf-card .meta { padding-top: 16px; }
.pf-card .cat { font-size: 12px; letter-spacing: .12em; color: var(--accent); font-weight: 600; }
.pf-card h3 { font-size: 18px; font-weight: 600; margin-top: 4px; line-height: 1.45; }
.pf-card .sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.pf-more { text-align: center; margin-top: clamp(48px, 6vw, 72px); }
.pf-more p { color: var(--muted); margin-bottom: 20px; }

/* ---------- process ---------- */
.process { background: var(--dark); color: #fff; }
.process .eyebrow { color: var(--sand); }
.process .sec-head p { color: rgba(255,255,255,.6); }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.steps li { padding: 30px 20px 10px 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }
.steps .num { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: var(--sand); }
.steps h3 { font-size: 18px; font-weight: 600; margin: 10px 0 10px; }
.steps p { font-size: 14px; color: rgba(255,255,255,.6); }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.trust-ph { aspect-ratio: 4 / 5; overflow: hidden; }
.trust-ph img { width: 100%; height: 100%; object-fit: cover; }
.trust-tx h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 300; line-height: 1.45; margin: 14px 0 26px; }
.trust-tx h2 strong { font-weight: 600; }
.trust-tx > p { color: var(--muted); }
.partners { margin-top: 40px; border-top: 1px solid var(--line); }
.partners li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.partners b { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .04em; }
.partners span { color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta { position: relative; color: #fff; text-align: center; padding-block: clamp(100px, 13vw, 170px); overflow: hidden; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(20,18,16,.62); z-index: 1; }
.cta .wrap { position: relative; z-index: 2; }
.cta .eyebrow { color: var(--sand); }
.cta h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 300; line-height: 1.5; margin: 16px 0 12px; }
.cta .tel { display: inline-block; font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); letter-spacing: .04em; margin: 12px 0 34px; }
.cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- sub pages ---------- */
.page-top { padding-top: calc(var(--header-h) + clamp(60px, 9vw, 120px)); padding-bottom: clamp(40px, 5vw, 64px); }
.page-top h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 8vw, 104px); line-height: 1; letter-spacing: .03em; margin-top: 12px; }
.page-top p { margin-top: 20px; color: var(--muted); font-size: 17px; }
.page-banner { height: clamp(260px, 48vw, 560px); overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }

.about-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 7vw, 120px); }
.about-intro h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 300; line-height: 1.45; }
.about-intro h2 strong { font-weight: 600; }
.about-intro .body p + p { margin-top: 1.2em; }
.about-intro .body { color: var(--ink-2); font-size: 17px; }
.info-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-list li { background: var(--paper); padding: 36px 30px; }
.info-list .en { font-family: var(--serif); letter-spacing: .2em; font-size: 14px; color: var(--accent); }
.info-list h3 { font-size: 20px; margin: 8px 0 12px; }
.info-list p { color: var(--muted); font-size: 15px; }
.office { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.office dl { margin: 0; border-top: 1px solid var(--ink); }
.office dl div { display: grid; grid-template-columns: 110px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.office dt { color: var(--muted); font-size: 14px; }
.office dd { margin: 0; }
.map-box { position: relative; min-height: 320px; background: var(--ground); overflow: hidden; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- work detail ---------- */
.work-top { padding-top: calc(var(--header-h) + clamp(50px, 7vw, 100px)); }
.work-top .back { font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.work-top .back:hover { color: var(--ink); }
.work-top h1 { font-size: clamp(28px, 4vw, 50px); font-weight: 600; line-height: 1.3; margin: 18px 0 0; letter-spacing: -.01em; }
.work-hero { margin-top: clamp(32px, 4vw, 56px); aspect-ratio: 16 / 8; overflow: hidden; background: var(--ground); }
.work-hero img { width: 100%; height: 100%; object-fit: cover; }
.work-body { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 6vw, 100px); padding-block: clamp(50px, 7vw, 90px); }
.work-info { border-top: 1px solid var(--ink); align-self: start; }
.work-info div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.work-info dt { color: var(--muted); }
.work-info dd { margin: 0; }
.work-desc .summary { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.65; font-weight: 300; }
.work-points { margin-top: 44px; counter-reset: pt; }
.work-points li { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; }
.work-points li::before { counter-increment: pt; content: counter(pt, decimal-leading-zero); font-family: var(--serif); font-size: 22px; color: var(--sand); line-height: 1.3; }
.work-points h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.work-points p { color: var(--muted); font-size: 15px; }
.work-src { margin-top: 30px; font-size: 14px; color: var(--muted); }
.work-src a { color: var(--ink); border-bottom: 1px solid; }
.gallery { columns: 3; column-gap: 14px; }
.gallery a { display: block; margin-bottom: 14px; break-inside: avoid; overflow: hidden; background: var(--ground); }
.gallery img { width: 100%; height: auto; transition: transform .8s, opacity .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gal-head { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; letter-spacing: .06em; margin: clamp(50px, 7vw, 90px) 0 24px; }
.gal-head:first-child { margin-top: 0; }
.gallery.pairs { columns: auto; display: grid; gap: 28px; max-width: 980px; margin-inline: auto; }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto 1fr; align-items: center; gap: 12px 16px; padding: clamp(14px, 2.4vw, 28px); background: var(--ground); }
.pair .no { grid-column: 1 / -1; font-family: var(--serif); font-size: 16px; letter-spacing: .2em; color: var(--ink); }
.pair a { position: relative; margin: 0; background: none; }
.pair .arrow { font-size: 22px; color: var(--muted); }
.pair a::after { content: "BEFORE"; position: absolute; left: 10px; top: 10px; padding: 5px 10px; font-size: 11px; letter-spacing: .15em; background: rgba(0,0,0,.55); color: #fff; }
.pair a:last-child::after { content: "AFTER"; background: var(--ink); }
.gal-process { margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line); }
.gal-process summary { cursor: pointer; padding: 22px 0; font-size: 15px; color: var(--muted); list-style: none; }
.gal-process summary::-webkit-details-marker { display: none; }
.gal-process summary::after { content: " +"; }
.gal-process[open] summary::after { content: " −"; }
.work-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(60px, 8vw, 100px); }
.work-nav a { padding: 28px 0; font-size: 15px; }
.work-nav a small { display: block; font-family: var(--serif); letter-spacing: .2em; color: var(--muted); font-size: 13px; }
.work-nav .next { text-align: right; }
.work-nav .list { width: 48px; height: 48px; display: grid; grid-template-columns: repeat(3, 6px); gap: 5px; place-content: center; padding: 0; }
.work-nav .list i { width: 6px; height: 6px; background: var(--ink); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12,11,10,.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; color: #fff; width: 56px; height: 56px; font-size: 28px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
.lightbox .lb-prev { left: 8px; }
.lightbox .lb-next { right: 8px; }
.lightbox .lb-count { position: absolute; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-family: var(--serif); letter-spacing: .2em; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 100px); }
.contact-side .tel { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); display: block; line-height: 1.1; margin: 12px 0 8px; }
.contact-side p { color: var(--muted); }
.contact-side .box { border-top: 1px solid var(--ink); margin-top: 36px; }
.contact-side .box div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; font-size: 15px; }
.contact-side .box dt { color: var(--muted); }
.contact-side .box dd { margin: 0; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.form .full { grid-column: 1 / -1; }
.form label.t { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form label.t em { color: var(--accent); font-style: normal; }
.form input[type=text], .form input[type=tel], .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); background: var(--paper);
  padding: 14px 16px; font: inherit; font-size: 15px; color: var(--ink); border-radius: 0;
  transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form textarea { min-height: 160px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); font-size: 14px; transition: .2s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.agree { font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.agree input { margin-top: 5px; accent-color: var(--ink); }
.form .submit { justify-self: start; }
.form-msg { grid-column: 1 / -1; padding: 22px 24px; background: var(--ground); font-size: 15px; }
.form-msg strong { display: block; font-size: 17px; margin-bottom: 6px; }
.form-msg pre { white-space: pre-wrap; font: inherit; font-size: 14px; color: var(--ink-2); margin: 12px 0 0; padding: 14px; background: #fff; border: 1px solid var(--line); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.62); font-size: 14px; padding-block: 64px 40px; }
.footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .logo { color: #fff; }
.footer .fnav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer .fnav a { color: #fff; letter-spacing: .12em; font-size: 13px; }
.footer .info { padding-top: 28px; line-height: 2; }
.footer .info span { display: inline-block; margin-right: 18px; }
.footer .info span::before { content: ""; }
.footer .copy { margin-top: 18px; font-size: 13px; opacity: .7; }

.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .1em; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent); }

/* bottom quick bar (mobile, like line-design) */
.quickbar { display: none; }

/* reveal */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .12s; } .rv.d2 { transition-delay: .24s; } .rv.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-slide img { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .svc-list { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values li:nth-child(2) { border-right: 0; }
  .values li:nth-child(3) { padding-left: 0; }
  .values li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .work-body { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header.solid { height: 64px; }
  .gnb { display: none; }
  .menu-btn { display: block; }
  .logo b { font-size: 24px; }
  .logo small { font-size: 7.5px; }
  .wedo-intro, .trust-grid, .about-intro, .office, .contact-grid { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .info-list { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .gallery.pairs { gap: 16px; }
  .pair { gap: 8px; }
  .pair a::after { left: 6px; top: 6px; padding: 3px 7px; font-size: 10px; }
  .pair .arrow { font-size: 16px; }
  .hero-ui { display: none; }
  .quickbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--ink); color: #fff;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .quickbar a { text-align: center; padding: 15px 0; font-size: 14px; font-weight: 500; }
  .quickbar a + a { border-left: 1px solid rgba(255,255,255,.15); }
  .quickbar a:first-child { background: var(--accent); }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
  .to-top { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 28px 0; border-right: 0; }
  .values li + li { border-top: 1px solid var(--line); }
  .svc-list { grid-template-columns: 1fr; }
  .svc .ph { aspect-ratio: 16 / 10; }
  .pf-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .work-hero { aspect-ratio: 4 / 3; }
  .work-nav { grid-template-columns: 1fr 1fr; }
  .work-nav .list { display: none; }
  .ba { aspect-ratio: 3 / 4; }
  .office dl div { grid-template-columns: 90px 1fr; }
  .hero-copy h1 span { letter-spacing: .2em; }
}

/* serif phone numbers: lining figures read better than old-style */
.gnb .tel, .cta .tel, .contact-side .tel, .mnav-foot a, .hero-ui, .num, .steps .num { font-variant-numeric: lining-nums; }
.sec-head h2.ko { font-family: var(--sans); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.01em; }

/* kakao talk channel */
.ico-kakao { width: 1.25em; height: 1.25em; flex: none; }
.btn-kakao { background: #fee500; border-color: #fee500; color: #191919; }
.btn-kakao::after { content: none; }
.btn-kakao:hover { background: #f5da00; border-color: #f5da00; }
.kakao-float {
  position: fixed; right: 20px; bottom: 86px; z-index: 90;
  display: flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 20px 0 16px; border-radius: 25px;
  background: #fee500; color: #191919; font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,.15); transition: transform .2s;
}
.kakao-float:hover { transform: translateY(-2px); }
.mnav .mnav-foot a.kakao-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 15px; color: #fee500; margin: 6px 0 12px; }
.quickbar a.kakao { display: flex; align-items: center; justify-content: center; gap: 6px; background: #fee500; color: #191919; }
@media (max-width: 900px) {
  .kakao-float { display: none; }
  .quickbar a:first-child { background: var(--ink); }
}
/* about banner: portrait photo, keep pendant light + cabinets in frame */
.about-banner { height: clamp(320px, 56vw, 720px); }
.about-banner img { object-position: 50% 48%; }
.form-msg.ok { background: #eef5ee; }
.form-msg.fail { background: #fbefec; }
.form-msg a { border-bottom: 1px solid; }
.form .submit:disabled { opacity: .6; cursor: wait; }
