/* 희원도예 시안 2 「하얀 기하」 — 홈페이지에 걸린 논문 화병 세 점(흰 배경·네모 몸통·둥근 구멍)에서 뽑은 색과 모양.
   배경 흰 벽 #f4f3f0(실측 #c8c9c9를 밝게) · 콘크리트 #dcd9d3 · 세이지 유약 #7e7d62(실측) → 글자용 짙은 세이지 #55553f · 흙빛 #8a7766(실측 젖은 흙 #948777) · 먹 #262522.
   모양: 네모 안의 동그라미(구멍 화병). 모서리 0, 동그라미만 50%. */
@font-face { font-family: "Pretendard Variable"; src: url("../fonts/PretendardVariable.woff2") format("woff2-variations"); font-weight: 45 920; font-style: normal; font-display: swap; }
:root {
  --wall: #f4f3f0; --wall-2: #eae8e3; --concrete: #dcd9d3; --line: #cfcbc3;
  --ink: #262522; --ink-2: #57544e; --sage: #7e7d62; --sage-ink: #55553f; --sage-dark: #44442f;
  --clay: #8a7766; --white: #fff; --danger: #a3261c;
  --g-ivory: #ece6d6; --g-celadon: #7fa79b; --g-honey: #d4a565; --g-sage: #9a9a7c;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; scroll-padding-bottom: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Pretendard Variable", system-ui, sans-serif; color: var(--ink); background: var(--wall); line-height: 1.75; font-size: 1.0625rem; word-break: keep-all; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sage-ink); }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.02em; margin: 0; font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--sage-dark); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

.draft-banner { background: #efe6c9; color: #4a3d12; font-size: .8125rem; padding: 8px 20px; text-align: center; line-height: 1.5; }
.draft-banner .long { display: none; }
@media (min-width: 720px) { .draft-banner .long { display: inline; } }

.site-header { position: sticky; top: 0; z-index: 20; background: rgb(244 243 240 / .97); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 1.1875rem; letter-spacing: .02em; }
.brand i { width: 22px; height: 22px; border: 2px solid var(--ink); display: grid; place-items: center; }
.brand i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .9375rem; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--sage); }
@media (max-width: 759px) {
  .hdr { flex-wrap: wrap; gap: 0; padding-top: 4px; }
  .nav { width: 100%; justify-content: space-between; margin: 0 -6px; }
  .nav a { padding: 6px; font-size: .875rem; }
  html { scroll-padding-top: 116px; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 0; font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color .18s, color .18s; letter-spacing: .01em; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--sage-dark); }
.btn--sage { background: var(--sage-ink); color: #fff; }
.btn--sage:hover { background: var(--sage-dark); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* 히어로: 넓은 흰 여백 + 오른쪽 네모 판 속 동그란 사진 */
.hero { padding: 64px 0 72px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hero h1 { font-size: clamp(2.25rem, 1rem + 4vw, 4.25rem); font-weight: 560; letter-spacing: -.035em; line-height: 1.15; }
.hero h1 b { font-weight: 760; color: var(--sage-ink); }
.hero .lead { color: var(--ink-2); font-size: 1.125rem; margin: 22px 0 0; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line); }
.meta li { padding: 12px 20px 0 0; margin-right: 20px; font-size: .875rem; color: var(--ink-2); border-right: 1px solid var(--line); }
.meta li:last-child { border-right: 0; }
.meta b { display: block; color: var(--ink); font-weight: 650; font-size: .9375rem; }
.frame { position: relative; margin: 0; background: var(--concrete); aspect-ratio: 1; display: grid; place-items: center; }
.frame__disc { position: relative; width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--wall-2); }
.frame__disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; padding: 5px 10px; line-height: 1.4; }
@media (max-width: 959px) {
  .hero { padding: 20px 0 40px; }
  .hero__grid { gap: 18px; }
  .frame { order: -1; aspect-ratio: auto; height: 168px; margin: 0 -20px; place-items: center; }
  .frame__disc { width: 140px; }
  .hero .lead { font-size: 1rem; margin-top: 14px; }
  .actions .btn { flex: 1 1 auto; }
  .meta { grid-template-columns: 1fr 1fr 1fr; }
  .meta li { padding-right: 8px; margin-right: 8px; font-size: .8125rem; }
}

.js .rise { animation: rise .42s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transition: opacity .45s ease; }
.js [data-reveal].is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .rise { animation: none; } .js [data-reveal] { opacity: 1; transition: none; } .btn, .ghero__img { transition: none !important; } }

.band { padding: 88px 0; }
.band--white { background: var(--white); }
.band--concrete { background: var(--wall-2); }
.band--ink { background: var(--ink); color: #f0eee9; }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: end; } }
.sec-head h2 { font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); font-weight: 600; }
.sec-head p { color: var(--ink-2); margin: 0; }
.band--ink .sec-head p { color: #cfcac0; }
.fine { font-size: .875rem; color: var(--ink-2); margin: 16px 0 0; }
@media (max-width: 719px) { .band { padding: 56px 0; } }

/* 작품: 사진 아래 글(겹치지 않음), 세로 단 */
.gallery { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 24px; } }
.gallery li { break-inside: avoid; margin: 0 0 24px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; background: var(--concrete); }
.gallery figcaption { padding: 10px 0 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 10px; }
.gallery figcaption b { display: block; color: var(--ink); font-weight: 650; font-size: .9375rem; }

/* 수업: 번호 목록 */
.list { list-style: none; margin: 0; padding: 0; counter-reset: c; border-top: 1px solid var(--ink); }
.list > li { counter-increment: c; display: grid; gap: 4px 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .list > li { grid-template-columns: 3.5em 1.1fr 1.6fr 10em; align-items: baseline; } }
.list > li::before { content: counter(c, decimal-leading-zero); font-weight: 600; color: var(--sage-ink); font-variant-numeric: tabular-nums; }
.list h3 { font-size: 1.1875rem; }
.list p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.list .price { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; text-align: left; }
@media (min-width: 800px) { .list .price { text-align: right; } }
.list .price small { display: block; font-weight: 500; color: var(--ink-2); font-size: .8125rem; }

/* 리뷰 */
.voice { display: grid; gap: 36px; }
@media (min-width: 900px) { .voice { grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: center; } }
.voice blockquote { margin: 0; font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem); font-weight: 500; line-height: 1.5; letter-spacing: -.02em; }
.voice cite { display: block; font-style: normal; font-size: .875rem; color: #cfcac0; margin-top: 16px; }
.kw { list-style: none; margin: 0; padding: 0; border-top: 1px solid #55524b; }
.kw li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #55524b; }
.kw b { font-weight: 700; font-variant-numeric: tabular-nums; }

/* 입주 */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.split figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); }
.split > div > p { color: var(--ink-2); margin: 14px 0 0; }
.spec { display: grid; grid-template-columns: 7em 1fr; gap: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec dt { font-weight: 650; }
.spec dd { color: var(--ink-2); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; background: #efe6c9; color: #4a3d12; padding: 1px 6px; vertical-align: 1px; }

.faq { max-width: 860px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 650; min-height: 52px; }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--ink-2); }

.visit__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.mapart { margin: 0; background: var(--white); border: 1px solid var(--line); padding: 14px; }
.mapart svg { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.mapart figcaption { font-size: .875rem; color: var(--ink-2); margin-top: 10px; }
.info { display: grid; grid-template-columns: 5.5em 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.info dt, .info dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info dt { font-weight: 650; }
.info dd { color: var(--ink-2); }
.links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 18px 0 0; font-weight: 600; }
.links a { display: inline-flex; align-items: center; min-height: 44px; }

/* 폼 */
.ask { display: grid; gap: 32px; }
@media (min-width: 960px) { .ask { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.ask__note h2 { font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); }
.ask__note p { color: var(--ink-2); margin: 14px 0 0; }
.form { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 650; font-size: .9375rem; padding: 0; }
.field em { color: var(--danger); font-style: normal; }
.field small { font-weight: 500; color: var(--ink-2); }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea { font: inherit; font-size: 1.0625rem; min-height: 52px; padding: 0 14px; border: 0; border-bottom: 1.5px solid #8f8a80; border-radius: 0; background: var(--wall); color: var(--ink); width: 100%; }
.field textarea { padding: 12px 14px; min-height: 88px; resize: vertical; }
.field [aria-invalid=true] { border-color: var(--danger) !important; box-shadow: inset 0 -2px 0 var(--danger); }
.row { display: grid; gap: 16px; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--sage-ink); flex: none; }
.error { color: var(--danger); font-size: .875rem; font-weight: 650; margin: 0; }
.form-error { color: var(--danger); font-weight: 700; margin: 0; }
.note-inline { background: #efe6c9; color: #4a3d12; padding: 8px 12px; font-size: .875rem; margin: 0; }

.cta-bar { display: none; }
@media (max-width: 959px) {
  .cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--wall); border-top: 1px solid var(--line); }
  .cta-bar .btn { min-height: 48px; padding: 0 12px; }
  body { padding-bottom: 72px; }
  body.is-typing .cta-bar { display: none; }
}

.modal { position: fixed; inset: 0; z-index: 50; background: rgb(38 37 34 / .62); display: grid; place-items: center; padding: 20px; }
.modal-box { background: #fff; padding: 28px; width: min(500px, 100%); max-height: 90vh; overflow: auto; }
.modal-box h2 { font-size: 1.375rem; }
.draft-stamp { background: #efe6c9; color: #4a3d12; padding: 10px 12px; font-size: .875rem; }
#confirm-summary { display: grid; grid-template-columns: 6.5em 1fr; gap: 6px 12px; margin: 16px 0 20px; }
#confirm-summary dt { font-weight: 700; }
#confirm-summary dd { margin: 0; color: var(--ink-2); }

.site-footer { background: var(--ink); color: #cfcac0; padding: 36px 0 44px; font-size: .875rem; }
.site-footer p { margin: 0 0 8px; }
.site-footer b { color: #fff; }

/* ───── 고급형(B): 유약 색 고르기(시그니처) ───── */
.glaze { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; max-width: 520px; }
.glaze h2 { font-size: 1rem; font-weight: 650; margin: 0 0 12px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips button { font: inherit; font-size: .875rem; font-weight: 600; color: var(--ink); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; min-height: 44px; padding: 0 14px 0 6px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.chips button i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .18); flex: none; }
.chips button[aria-pressed=true] { border-color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
.glaze__out { margin: 12px 0 0; min-height: 3.4em; }
.glaze__out b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glaze__out span { display: block; font-size: .875rem; color: var(--ink-2); }
.glaze .btn { margin-top: 12px; }
.ghero__img { opacity: 0; transition: opacity .3s ease; }
.ghero__img.is-on { opacity: 1; }
@media (max-width: 959px) { .glaze { margin-top: 16px; padding-top: 12px; } .glaze h2 { margin-bottom: 8px; } .chips { gap: 6px; } .chips button { padding-right: 10px; } .chips button i { width: 26px; height: 26px; } .glaze__out { margin-top: 6px; } .glaze .btn { margin-top: 8px; min-height: 48px; } }

.book { display: grid; gap: 28px; }
@media (min-width: 1000px) { .book { grid-template-columns: 1.35fr .65fr; align-items: start; } }
.choices { display: grid; gap: 0; border-top: 1px solid var(--line); }
.choice { display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 14px 4px; cursor: pointer; min-height: 56px; }
.choice input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--sage-ink); flex: none; }
.choice b { font-weight: 650; margin-right: 8px; }
.choice small { color: var(--ink-2); font-size: .8125rem; }
.choice:has(input:checked) { background: var(--wall); }
.people { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.ppl { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 4px; }
.stepper { display: inline-grid; grid-template-columns: 52px 72px 52px; align-items: center; border: 1.5px solid #8f8a80; width: max-content; }
.stepper input { border: 0 !important; text-align: center; min-height: 50px !important; padding: 0 !important; font-weight: 700; background: #fff !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.step-btn { font: inherit; font-size: 1.375rem; height: 50px; border: 0; background: var(--wall-2); color: var(--ink); cursor: pointer; }
.step-btn:hover { background: var(--concrete); }
.summary { border: 1.5px solid var(--ink); background: var(--white); padding: 22px; display: grid; gap: 8px; }
@media (min-width: 1000px) { .summary { position: sticky; top: 88px; } }
.summary h3 { font-size: 1rem; color: var(--ink-2); font-weight: 600; }
#bookTotal { display: grid; gap: 4px; min-height: 6em; }
#bookTotal b { font-size: 1.0625rem; }
#bookTotal strong { font-size: 2rem; color: var(--sage-ink); font-variant-numeric: tabular-nums; font-weight: 700; }
#bookTotal span { font-size: .875rem; color: var(--ink-2); }
.status-line { font-size: .875rem; font-weight: 650; color: var(--sage-ink); min-height: 1.4em; margin: 0; }
.field ::placeholder { color: #66625a; opacity: 1; }
@media (max-width: 959px) {
  .chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .chips button { flex-direction: column; gap: 4px; padding: 6px 2px; border-radius: 10px; min-height: 64px; font-size: .8125rem; }
}
