/* 캔들랩 사이트 스타일 (2026-10 개편)
   사진이 화면을 채우고 글은 짧게 두는 편집 디자인.
   제목은 명조(Noto Serif KR), 본문은 Pretendard. 색은 종이색·먹색에 촛불색 하나. */

:root {
  --paper: #f5f2ec;
  --paper-2: #ebe6dd;
  --surface: #fffdf9;
  --ink: #15130f;
  --ink-2: #3b372f;
  --muted: #6f695f;
  --line: #dcd6cb;
  --line-strong: #b9b2a5;
  --ember: #b4532a;
  --ember-ink: #8e3f1e;
  --dark: #15130f;
  --dark-2: #1f1c17;
  --dark-ink: #efeae1;
  --dark-muted: #a9a195;
  --dark-line: #2f2b25;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', 'Apple SD Gothic Neo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #121110;
  --paper-2: #1a1816;
  --surface: #1c1a17;
  --ink: #efeae1;
  --ink-2: #d6d0c6;
  --muted: #a39c90;
  --line: #2c2924;
  --line-strong: #4a453d;
  --ember: #d9793f;
  --ember-ink: #e9a16f;
  --dark: #0c0b0a;
  --dark-2: #141311;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 880px); margin-inline: auto; }

/* 글자 */
.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  font-weight: 500; margin-bottom: 18px;
}
.eyebrow--light { color: var(--dark-muted); }
.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 5.6vw, 84px); line-height: 1.12; letter-spacing: -0.02em;
}
.title-xl { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.2; letter-spacing: -0.015em; }
.title-l { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.25; }
.title-m { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.35; }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.75; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* 버튼·링크 */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--ink);
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ember { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn--ember:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn--light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--light:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn--plain { border-color: transparent; padding-inline: 8px; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.arrow-link::after { content: '→'; transition: transform .25s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }
.text-link { border-bottom: 1px solid currentColor; font-weight: 500; font-size: 15px; }
.text-link:hover { color: var(--ember); }

/* 머리 */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
body.has-hero .site-header:not(.is-scrolled) { color: #fff; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.14em; font-size: 14px; }
.wordmark__mark { width: 24px; height: 24px; }
.mark-flame { fill: var(--ember); }
.mark-wick { fill: currentColor; }
.mark-body { fill: currentColor; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 15px; font-weight: 500; opacity: .82; transition: opacity .2s; position: relative; padding: 6px 0; }
.nav__link:hover, .nav__link[aria-current="page"] { opacity: 1; }
.nav__link[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.nav__link--cta { opacity: 1; border: 1px solid currentColor; padding: 9px 18px; }
.nav__link--cta:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.nav__link--cta::after { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.nav-toggle__bar { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 1px solid currentColor; border-radius: 50%; opacity: .75; margin-left: auto;
}
.theme-toggle:hover { opacity: 1; }
.theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: block; }
.theme-toggle__knob { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .theme-toggle { margin-left: 0; }
  .nav {
    position: fixed; inset: 0; z-index: 40; flex-direction: column; justify-content: center; gap: 8px;
    background: var(--dark); color: var(--dark-ink); padding: 80px var(--gutter) 40px;
    transform: translateY(-100%); transition: transform .4s var(--ease), visibility .4s; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__link { font-family: var(--serif); font-size: clamp(28px, 7vw, 40px); padding: 8px 0; }
  .nav__link--cta { border: 0; padding: 8px 0; color: var(--ember-ink); }
  .nav__link--cta:hover { background: none; }
  .site-header:has(.nav.is-open) { color: var(--dark-ink); background: var(--dark); box-shadow: none; }
}

/* 첫 화면: 어두운 바탕에 큰 제목, 오른쪽으로 대표 작업 화면이 브라우저 틀 안에 흘러 나감 */
.hero { position: relative; color: #fff; background: var(--dark); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: end; padding-top: clamp(130px, 16vw, 190px); }
.hero__copy { padding-bottom: clamp(56px, 8vw, 120px); }
.hero__title { max-width: 12ch; text-wrap: balance; }
.hero__lead { margin-top: 26px; max-width: 42ch; font-size: clamp(16px, 1.2vw, 18px); color: rgba(255, 255, 255, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__frame { display: block; position: relative; width: 118%; max-width: none; background: #2a2622; border-radius: 10px 10px 0 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, .45); }
.hero__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; }
.hero__bar i { width: 9px; height: 9px; border-radius: 50%; background: #4d463f; }
.hero__bar em { font-style: normal; font-size: 11px; letter-spacing: .04em; color: #8c837a; margin-left: 10px; padding: 3px 12px; background: #1b1916; border-radius: 4px; }
.hero__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: opacity .3s; }
.hero__frame:hover img { opacity: .92; }
.hero__caption { position: absolute; left: 0; bottom: 100%; margin-bottom: 14px; font-size: 13px; color: rgba(255, 255, 255, .72); display: flex; gap: 12px; align-items: baseline; }
.hero__caption b { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember-ink); font-weight: 600; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 110px; gap: 48px; }
  .hero__copy { padding-bottom: 0; }
  .hero__title { max-width: 14ch; }
  .hero__frame { width: 100%; margin-top: 30px; }
  .hero__frame img { aspect-ratio: 16 / 11; }
}

/* 공통 섹션 */
.section { padding: clamp(72px, 10vw, 150px) 0; }
.section--tight { padding: clamp(48px, 6vw, 90px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section--dark .eyebrow { color: var(--dark-muted); }
.section--dark .lead { color: var(--dark-ink); }
.section--dark .muted { color: var(--dark-muted); }
.section--paper { background: var(--paper-2); }
.section__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 120px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section__head .lead { justify-self: end; }
.section__foot { margin-top: clamp(36px, 5vw, 64px); display: flex; justify-content: center; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 8vw, 140px); align-items: start; }
.split__side { position: sticky; top: 100px; }
.split__side .lead { margin-top: 18px; }
@media (max-width: 900px) {
  .section__head, .split { grid-template-columns: 1fr; }
  .section__head .lead { justify-self: start; }
  .split__side { position: static; }
}

/* 소개 문장 */
.statement { padding: clamp(80px, 11vw, 160px) 0; }
.statement__text { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 48px); line-height: 1.4; max-width: 24ch; letter-spacing: -0.015em; text-wrap: balance; }
.statement__text em { font-style: normal; color: var(--ember); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(48px, 6vw, 90px); padding-top: 32px; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 8px; align-content: start; }
.facts b { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-weight: 500; line-height: 1.1; }
.facts span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 24px; } }

/* 작업 그리드 (편집 배치) */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px); }
.work { grid-column: span 6; }
.work--full { grid-column: span 12; }
.work--third { grid-column: span 4; }
.work--offset { grid-column: 7 / span 6; }
.work__link { display: block; }
.work__media { overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 10; position: relative; }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.work__link:hover .work__media img { transform: scale(1.03); }
.work__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; margin-top: 18px; align-items: baseline; }
.work__meta { grid-column: 1 / -1; font-size: 13px; letter-spacing: .08em; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.work__meta span + span::before { content: '·'; margin-right: 10px; }
.work__title { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; line-height: 1.35; }
.work--full .work__title { font-size: clamp(24px, 2.4vw, 36px); }
.work__arrow { font-size: 20px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.work__link:hover .work__arrow { transform: translateX(6px); color: var(--ember); }
.work__summary { grid-column: 1 / -1; color: var(--ink-2); max-width: 64ch; font-size: 15.5px; }
@media (max-width: 900px) {
  .work, .work--full, .work--third, .work--offset { grid-column: span 12; }
}

/* 작업 목록 (색인) */
.index { border-top: 1px solid var(--line); }
.index__row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 180px 150px 32px; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease);
}
.index__row:hover { padding-left: 8px; }
.index__num { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.index__title { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 23px); font-weight: 500; line-height: 1.35; }
.index__industry, .index__type { font-size: 14px; color: var(--muted); }
.index__arrow { color: var(--muted); font-size: 18px; text-align: right; transition: transform .3s var(--ease), color .3s; }
.index__row:hover .index__arrow { transform: translateX(6px); color: var(--ember); }
@media (max-width: 900px) {
  .index__row { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 16px; }
  .index__industry, .index__type { display: none; }
}

/* 만드는 것 3열 */
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px clamp(32px, 4vw, 64px); }
.offer li { display: grid; gap: 14px; align-content: start; padding-top: 24px; border-top: 1px solid var(--ink); }
.offer .num { font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.offer h3 { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; }
.offer p { color: var(--ink-2); font-size: 15.5px; }
.offer .arrow-link { justify-self: start; margin-top: 6px; }
.section--dark .offer li { border-top-color: var(--dark-line); }
.section--dark .offer p { color: var(--dark-muted); }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; gap: 32px; } }

/* 스튜디오 툴 */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.tool { background: var(--dark-2); padding: clamp(28px, 3vw, 44px); display: grid; gap: 14px; align-content: start; }
.tool__state { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-ink); font-weight: 600; }
.tool--soon .tool__state { color: var(--dark-muted); }
.tool h3 { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; }
.tool p { color: var(--dark-muted); font-size: 15.5px; max-width: 54ch; }
.tool .arrow-link { justify-self: start; margin-top: 8px; }
.tool__state--inline { display: inline-block; margin-left: 12px; vertical-align: middle; font-family: var(--sans); }
.section--paper .tools { background: var(--line); border-color: var(--line); }
.section--paper .tool { background: var(--surface); }
.section--paper .tool p { color: var(--ink-2); }
.section--paper .tool--soon .tool__state { color: var(--muted); }
@media (max-width: 760px) { .tools { grid-template-columns: 1fr; } }

/* 진행 순서 */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 24px; }
.process li { padding-top: 20px; border-top: 1px solid var(--line-strong); display: grid; gap: 10px; align-content: start; }
.process__num { font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.process h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.process p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* 자주 묻는 질문 */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--serif); font-size: clamp(18px, 1.4vw, 22px); font-weight: 500; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--muted); font-family: var(--sans); }
.faq details[open] summary::after { content: '−'; }
.faq p { padding: 0 0 26px; color: var(--ink-2); max-width: 64ch; }

/* 문의 마무리 */
.cta { background: var(--dark); color: var(--dark-ink); padding: clamp(80px, 11vw, 170px) 0; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.cta__title { font-family: var(--serif); font-size: clamp(34px, 5vw, 76px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance; }
.cta__text { margin-top: 24px; color: var(--dark-muted); max-width: 46ch; font-size: 17px; }
.cta__actions { display: grid; gap: 14px; justify-items: start; }
.cta__mail { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 24px); border-bottom: 1px solid var(--dark-line); padding-bottom: 4px; }
.cta__mail:hover { border-color: currentColor; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }

/* 페이지 머리 */
.page-head { padding: clamp(140px, 18vw, 220px) 0 clamp(40px, 5vw, 72px); }
.page-head--compact { padding-bottom: 24px; }
.page-head--center { text-align: center; }
.page-head--center .lead { margin-inline: auto; }
.page-head__title { font-family: var(--serif); font-size: clamp(38px, 5.4vw, 80px); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance; }
.page-head--center .page-head__title { margin-inline: auto; }
.page-head__lead { margin-top: 26px; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 34px; font-size: 14px; }
.jump a { border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; color: var(--ink-2); }
.jump a:hover { border-color: var(--ink); color: var(--ink); }
.hero__actions--center { justify-content: center; }

/* 사례 상세 */
.case__hero { padding-top: 76px; }
.case__hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--paper-2); }
.case__head { padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 100px); align-items: end; }
.case__title { font-family: var(--serif); font-size: clamp(30px, 4vw, 58px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.case__lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }
.back-link { display: inline-block; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.back-link:hover { color: var(--ink); }
.case__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px clamp(40px, 7vw, 120px); padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 90px); border-top: 1px solid var(--line); }
.case__aside { position: sticky; top: 100px; }
.data { display: grid; margin: 0; }
.data > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.data > div:first-child { border-top: 1px solid var(--line); }
.data dt { color: var(--muted); }
.data dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; }
.case__body { display: grid; gap: clamp(36px, 4vw, 56px); }
.case__block h2 { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; margin-bottom: 16px; }
.case__block p { color: var(--ink-2); max-width: 64ch; font-size: 16.5px; }
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 22px; color: var(--ink-2); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 13px; width: 10px; height: 1px; background: var(--ember); }
.honesty { padding: 20px 24px; border-left: 2px solid var(--ember); background: var(--surface); font-size: 15px; color: var(--ink-2); }
.honesty b { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px); }
.gallery li { grid-column: span 12; }
.gallery li.is-mobile { grid-column: span 4; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; background: var(--paper-2); border: 1px solid var(--line); }
.gallery li.is-mobile img { max-width: 360px; }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 64ch; }
.case__gallery { padding-bottom: clamp(48px, 6vw, 100px); }
.case__gallery h2 { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; margin-bottom: clamp(24px, 3vw, 40px); }
.case__pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case__pager a { padding: 28px 0; display: grid; gap: 6px; font-family: var(--serif); font-size: clamp(17px, 1.4vw, 22px); }
.case__pager a:last-child { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.case__pager span { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case__pager a:hover { color: var(--ember); }
.case__stage { display: none; }
.shot { width: 100%; }
@media (max-width: 900px) {
  .case__head, .case__grid { grid-template-columns: 1fr; }
  .case__aside { position: static; }
  .gallery li.is-mobile { grid-column: span 6; }
}
@media (max-width: 560px) { .case__pager { grid-template-columns: 1fr; } .case__pager a:last-child { border-left: 0; padding-left: 0; text-align: left; border-top: 1px solid var(--line); } }

/* 글 */
.prose { font-size: 17px; color: var(--ink-2); }
.prose p + p { margin-top: 18px; }
.prose h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ink); margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose a { border-bottom: 1px solid var(--line-strong); }
.prose--narrow { max-width: 72ch; }
.principles { display: grid; counter-reset: p; }
.principles li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); counter-increment: p; }
.principles li::before { content: counter(p, decimal-leading-zero); font-size: 13px; letter-spacing: .1em; color: var(--muted); padding-top: 6px; }
.principles h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.principles p { color: var(--ink-2); font-size: 15.5px; }
.name-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.name-card { background: var(--surface); padding: clamp(28px, 4vw, 56px); display: grid; gap: 10px; align-content: start; }
.name-card--dark { background: var(--dark); color: var(--dark-ink); }
.name-card__word { font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); letter-spacing: .04em; line-height: 1; }
.name-card__ko { font-size: 14px; letter-spacing: .06em; color: var(--muted); }
.name-card--dark .name-card__ko { color: var(--dark-muted); }
.name-card p:last-child { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }
.name-card--dark p:last-child { color: var(--dark-muted); }
@media (max-width: 760px) { .name-split { grid-template-columns: 1fr; } }
.spec { display: grid; }
.spec li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.spec li:last-child { border-bottom: 1px solid var(--line); }
.spec span { color: var(--muted); }
.spec b { font-weight: 500; }
.service__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.service__cols h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.service__body { display: grid; gap: 28px; justify-items: start; }
.service__aside { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .service__cols { grid-template-columns: 1fr; } }

/* 문의 */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 7vw, 120px); align-items: start; }
.form { display: grid; gap: 28px; }
.form__group { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.form__label { display: block; font-size: 14px; font-weight: 500; letter-spacing: .02em; margin-bottom: 8px; }
.form__hint { font-weight: 400; color: var(--muted); margin-left: 6px; }
.req { font-weight: 400; color: var(--ember); margin-left: 6px; font-size: 12px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); padding: 10px 0; border-radius: 0;
  transition: border-color .2s;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field__error { font-size: 13px; color: var(--ember); margin-top: 6px; min-height: 1.2em; }
.field__count { font-size: 12px; color: var(--muted); text-align: right; margin-top: 6px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; }
.choice span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { margin-top: 5px; accent-color: var(--ember); }
.consent a { border-bottom: 1px solid var(--line-strong); }
.form__actions { display: grid; gap: 14px; justify-items: start; }
.form__note { font-size: 13.5px; color: var(--muted); max-width: 56ch; }
.contact__side { display: grid; gap: 32px; position: sticky; top: 100px; }
.contact__card { min-width: 0; padding-top: 20px; border-top: 1px solid var(--ink); display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.contact__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__mail { font-family: var(--serif); font-size: clamp(20px, 1.6vw, 24px); color: var(--ink); }
.contact__mail:hover { color: var(--ember); }
.result { grid-column: 1 / -1; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-strong); background: var(--surface); display: grid; gap: 20px; }
.result__title { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); font-weight: 500; }
.result__text { white-space: pre-wrap; font-family: var(--sans); font-size: 14.5px; line-height: 1.7; background: var(--paper); padding: 20px; margin: 0; border: 1px solid var(--line); }
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result__hint { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__side { position: static; } .form__grid { grid-template-columns: 1fr; } }

/* 상담창 (사이트 안내에서 답하는 검색 답변) */
.assistant { min-width: 0; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto auto; max-height: 600px; }
.assistant__head { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.assistant__avatar { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
.assistant__name { font-weight: 600; font-size: 15px; }
.assistant__status { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.dot--on { background: #3f9a5a; }
.assistant__log { padding: 18px 20px; overflow: auto; display: grid; gap: 12px; align-content: start; min-height: 240px; font-size: 15px; }
.msg { max-width: 88%; padding: 12px 16px; line-height: 1.6; }
.msg--bot { background: var(--paper); border: 1px solid var(--line); justify-self: start; }
.msg--user { background: var(--ink); color: var(--paper); justify-self: end; }
.msg__src { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.msg__src a { border-bottom: 1px solid currentColor; }
.msg__options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg.is-typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-right: 4px; animation: typing 1s infinite; }
.msg.is-typing span:nth-child(2) { animation-delay: .2s; } .msg.is-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.assistant__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 12px; }
.chip { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); }
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.assistant__form { display: flex; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); }
.assistant__form input { flex: 1; width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); padding: 8px 0; }
.assistant__form input:focus { outline: none; border-color: var(--ink); }
.assistant__send { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); }
.assistant__send:hover { background: var(--ink); color: var(--paper); }
.assistant__note { font-size: 12.5px; color: var(--muted); padding: 0 20px 14px; }

/* 바닥 */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: clamp(56px, 7vw, 96px) 0 40px; border-top: 1px solid var(--dark-line); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 40px; }
.site-footer__brand { display: grid; gap: 12px; justify-items: start; }
.site-footer__slogan { font-family: var(--serif); font-size: 22px; }
.site-footer__about { color: var(--dark-muted); font-size: 15px; max-width: 40ch; }
.site-footer__col { display: grid; gap: 10px; align-content: start; font-size: 15px; color: var(--dark-muted); }
.site-footer__col a:hover { color: var(--dark-ink); }
.site-footer__heading { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-ink); margin-bottom: 6px; }
.site-footer__copy { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--dark-muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .site-footer__top { grid-template-columns: 1fr; } }

/* 등장 효과 (JS가 켜졌을 때만) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
