/* 희원도예 시안 1 「가마 앞 저녁」 — 짙은 호두나무 탁자 위 유약 그릇(인스타 2026-10-09 물레 정규반 작품 사진)에서 뽑은 색.
   호두나무 #2a1c15(실측 #37251b를 짙게) · 아이보리 유약 #f3eee5(실측 #d5d1c5를 밝게) · 청자 #3f5c55(실측 #567068를 짙게) · 꿀색 유약 #d9a868(꽃잔 유약). */
@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 {
  --wood: #2a1c15; --wood-2: #3a281e; --wood-3: #4d3729;
  --ivory: #f3eee5; --ivory-2: #e9e1d3; --paper: #fbf8f2; --line: #d9cfbe; --line-dark: #5a4334;
  --ink: #2a1c15; --ink-2: #5b4a3d; --on-dark: #f3eee5; --on-dark-2: #d6c7b4;
  --celadon: #3f5c55; --celadon-2: #2f4842; --celadon-light: #a8c6ba;
  --honey: #d9a868; --honey-2: #e6bd86;
  --danger: #a3261c;
  --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-xl: 22px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; 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(--paper); line-height: 1.7; font-size: 1.0625rem; word-break: keep-all; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--celadon); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.028em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(1160px, 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(--celadon); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--honey); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--wood); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 700; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

.draft-banner { background: #f6e7c8; color: #4a3612; 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(42 28 21 / .97); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { color: var(--on-dark); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; align-items: center; }
.brand small { font-weight: 500; font-size: .8125rem; color: var(--on-dark-2); letter-spacing: .02em; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 10px 12px; border-radius: var(--r-sm); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--wood-3); }
@media (max-width: 759px) {
  .hdr { flex-wrap: wrap; gap: 0; padding-top: 4px; }
  .brand small { display: none; }
  .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 24px; border-radius: 999px; font: inherit; font-weight: 750; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .18s, color .18s, border-color .18s; }
.btn--honey { background: var(--honey); color: var(--wood); }
.btn--honey:hover { background: var(--honey-2); }
.btn--celadon { background: var(--celadon); color: #fff; }
.btn--celadon:hover { background: var(--celadon-2); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: var(--on-dark-2); }
.btn--ghost:hover { background: var(--wood-3); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* 히어로 — 글자는 단색 호두나무 면 위, 사진은 옆 액자(글자를 사진 위에 얹지 않는다) */
.hero { background: var(--wood); color: var(--on-dark); padding: 56px 0 64px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero__kicker { color: var(--honey); font-weight: 700; font-size: .9375rem; margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.375rem, 1rem + 4.6vw, 4.5rem); font-weight: 820; letter-spacing: -.045em; line-height: 1.1; }
.hero h1 .soft { color: var(--honey); }
.hero .lead { color: var(--on-dark-2); font-size: 1.125rem; margin: 20px 0 0; max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.facts li { font-size: .875rem; font-weight: 600; color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: 999px; padding: 5px 12px; background: var(--wood-2); }
.hero__photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-cap { position: absolute; left: 12px; bottom: 12px; background: rgb(42 28 21); color: var(--on-dark); font-size: .75rem; font-weight: 650; padding: 4px 10px; border-radius: var(--r-sm); line-height: 1.4; }
@media (max-width: 959px) {
  .hero { padding: 0 0 36px; }
  .hero__grid { gap: 20px; }
  .hero__photo { order: -1; aspect-ratio: auto; height: 132px; margin: 0 -20px; border-radius: 0; box-shadow: none; }
  .hero__photo img { object-position: 50% 62%; }
  .hero__kicker { margin-bottom: 8px; font-size: .875rem; }
  .hero .lead { font-size: 1rem; margin-top: 12px; }
  .actions { margin-top: 18px; }
  .actions .btn { flex: 1 1 auto; }
  .facts { margin-top: 16px; }
}

/* 등장(첫 화면 필수 요소 650ms 안 정착) */
.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 { transition: none; } }

/* 띠 */
.band { padding: 80px 0; }
.band--ivory { background: var(--ivory); }
.band--dark { background: var(--wood); color: var(--on-dark); }
.band--dark .sec-head p, .band--dark .fine { color: var(--on-dark-2); }
.sec-head { max-width: 40em; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(1.875rem, 1.1rem + 2.4vw, 3rem); font-weight: 800; }
.sec-head p { color: var(--ink-2); margin: 14px 0 0; }
.fine { font-size: .875rem; color: var(--ink-2); margin: 16px 0 0; }
@media (max-width: 719px) { .band { padding: 56px 0; } }

/* 수업·가격: 카드가 아니라 표 형태의 행 */
.classes { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.cls { display: grid; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 760px) { .cls { grid-template-columns: 1.1fr 1.6fr auto; } }
.cls h3 { font-size: 1.25rem; font-weight: 780; }
.cls p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.cls .price { font-weight: 800; font-size: 1.125rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cls .price small { display: block; font-weight: 600; font-size: .8125rem; color: var(--ink-2); }
.src { font-size: .8125rem; color: var(--ink-2); margin-top: 14px; }

/* 작업 사진 — 크기가 다른 칸(벤토) */
.works { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .works { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; } .works .w-tall { grid-row: span 2; } .works .w-wide { grid-column: span 2; } }
.work figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; height: 100%; min-height: 200px; background: var(--wood-2); }
.work img { width: 100%; height: 100%; object-fit: cover; }
.work figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgb(42 28 21); color: var(--on-dark); border-radius: var(--r-sm); padding: 6px 9px; line-height: 1.35; }
.work figcaption b { display: block; font-size: .875rem; font-weight: 700; }
.work figcaption small { font-size: .75rem; color: var(--on-dark-2); }

/* 칭찬 숫자(네이버 리뷰 키워드) */
.voices { display: grid; gap: 28px; }
@media (min-width: 900px) { .voices { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; } }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-weight: 650; }
.bars .bar { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: var(--wood-3); overflow: hidden; }
.bars .bar span { display: block; height: 100%; background: var(--honey); border-radius: 999px; }
.quotes { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.quotes blockquote { margin: 0; background: var(--wood-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 18px 20px; }
.quotes p { margin: 0; }
.quotes cite { display: block; font-style: normal; font-size: .8125rem; color: var(--on-dark-2); margin-top: 8px; }

/* 입주작가 */
.share { display: grid; gap: 32px; }
@media (min-width: 900px) { .share { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; } }
.share figure { margin: 0; position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 4; max-height: 560px; }
.share figure img { width: 100%; height: 100%; object-fit: cover; }
.spec { display: grid; grid-template-columns: 7em 1fr; gap: 10px 16px; margin: 20px 0 0; }
.spec dt { font-weight: 750; }
.spec dd { margin: 0; color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; min-height: 52px; list-style-position: inside; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }

/* 오시는 길 */
.visit__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.mapart { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); 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: 10px 14px; margin: 0; }
.info dt { font-weight: 780; }
.info dd { margin: 0; color: var(--ink-2); }
.tag { display: inline-block; font-size: .75rem; font-weight: 750; background: #f6e7c8; color: #4a3612; border-radius: var(--r-sm); padding: 1px 6px; vertical-align: 1px; }
.links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 18px 0 0; font-weight: 650; }
.links a { display: inline-flex; align-items: center; min-height: 44px; }

/* 폼 */
.ask { display: grid; gap: 32px; }
@media (min-width: 960px) { .ask { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.ask__note h2 { font-size: clamp(1.875rem, 1.1rem + 2.4vw, 3rem); font-weight: 800; }
.ask__note p { color: var(--ink-2); margin: 14px 0 0; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 34px); display: grid; gap: 18px; box-shadow: 0 20px 40px -30px rgb(42 28 21 / .45); }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 720; 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: 1.5px solid #a99883; border-radius: var(--r); background: #fff; color: var(--ink); width: 100%; }
.field textarea { padding: 12px 14px; min-height: 88px; resize: vertical; }
.field [aria-invalid=true] { border-color: var(--danger) !important; }
.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(--celadon); 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: #f6e7c8; color: #4a3612; border-radius: var(--r); 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(--wood); border-top: 1px solid var(--line-dark); }
  .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(20 13 10 / .66); display: grid; place-items: center; padding: 20px; }
.modal-box { background: #fff; border-radius: var(--r-xl); padding: 28px; width: min(500px, 100%); max-height: 90vh; overflow: auto; }
.modal-box h2 { font-size: 1.375rem; }
.draft-stamp { background: #f6e7c8; color: #4a3612; border-radius: var(--r); 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: 780; }
#confirm-summary dd { margin: 0; color: var(--ink-2); }

.site-footer { background: var(--wood); color: var(--on-dark-2); padding: 36px 0 44px; font-size: .875rem; }
.site-footer p { margin: 0 0 8px; }
.site-footer b { color: var(--on-dark); }
.site-footer a { color: var(--honey); }

/* ───── 고급형(B) 전용 ───── */
/* 시그니처: 수업·인원 계산 카드 */
.sig { margin-top: 26px; background: var(--wood-2); border: 1px solid var(--line-dark); border-radius: var(--r-xl); padding: 18px 20px 20px; max-width: 520px; }
.sig h2 { font-size: 1rem; font-weight: 750; color: var(--on-dark); margin: 0 0 12px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { font: inherit; font-weight: 700; font-size: .9375rem; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-dark); background: transparent; color: var(--on-dark); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.seg button[aria-pressed=true] { background: var(--honey); border-color: var(--honey); color: var(--wood); }
.seg button svg { width: 16px; height: 16px; display: none; }
.seg button[aria-pressed=true] svg { display: block; }
.sig__row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 14px; }
.sig__row label { font-weight: 650; font-size: .9375rem; }
.sig__row output { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 3em; text-align: right; }
.sig input[type=range] { width: 100%; min-height: 44px; accent-color: var(--honey); }
.sig__out { margin-top: 12px; min-height: 3.4em; }
.sig__out b { display: block; font-size: 1.0625rem; color: var(--honey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig__out span { display: block; font-size: .875rem; color: var(--on-dark-2); }
.sig .btn { margin-top: 12px; }
@media (max-width: 959px) { .sig { margin-top: 18px; padding: 14px 16px 16px; } .sig h2 { margin-bottom: 8px; } .sig__out { margin-top: 6px; } .sig .btn { min-height: 48px; margin-top: 8px; } }

/* 수업 사진 행 */
.cls--photo { grid-template-columns: 96px 1fr; }
@media (min-width: 760px) { .cls--photo { grid-template-columns: 120px 1.1fr 1.6fr auto; } }
.cls__img { margin: 0; width: 96px; height: 96px; border-radius: var(--r); overflow: hidden; grid-row: span 3; }
@media (min-width: 760px) { .cls__img { width: 120px; height: 120px; grid-row: auto; } }
.cls__img img { width: 100%; height: 100%; object-fit: cover; }
.cls .pick { justify-self: start; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* 예약 요청 폼(한 번에) */
.book { display: grid; gap: 28px; }
@media (min-width: 1000px) { .book { grid-template-columns: 1.35fr .65fr; align-items: start; } }
.choices { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; cursor: pointer; background: #fff; min-height: 64px; }
.choice input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--celadon); flex: none; }
.choice b { display: block; font-weight: 750; }
.choice small { color: var(--ink-2); font-size: .8125rem; }
.choice:has(input:checked) { border-color: var(--celadon); background: #eef4f1; box-shadow: inset 0 0 0 1px var(--celadon); }
.stepper { display: inline-grid; grid-template-columns: 52px 72px 52px; align-items: center; border: 1.5px solid #a99883; border-radius: var(--r); overflow: hidden; width: max-content; }
.stepper input { border: 0 !important; text-align: center; min-height: 50px !important; padding: 0 !important; font-weight: 750; -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; font-weight: 700; height: 50px; border: 0; background: var(--ivory); color: var(--ink); cursor: pointer; }
.step-btn:hover { background: var(--ivory-2); }
.people { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.summary { background: var(--wood); color: var(--on-dark); border-radius: var(--r-xl); padding: 22px 22px 24px; display: grid; gap: 8px; }
@media (min-width: 1000px) { .summary { position: sticky; top: 92px; } }
.summary h3 { font-size: 1.0625rem; color: var(--on-dark-2); font-weight: 650; }
#bookTotal { display: grid; gap: 4px; min-height: 6em; }
#bookTotal b { font-size: 1.0625rem; }
#bookTotal strong { font-size: 2rem; color: var(--honey); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
#bookTotal span { font-size: .875rem; color: var(--on-dark-2); }
.summary .fine { color: var(--on-dark-2); margin-top: 6px; }
.status-line { font-size: .875rem; font-weight: 650; color: var(--celadon); min-height: 1.4em; margin: 0; }
.share__h { font-size: clamp(1.875rem, 1.1rem + 2.4vw, 3rem); font-weight: 800; }
.share__p { color: var(--ink-2); margin: 14px 0 0; }
.share__go { margin: 24px 0 0; }
@media (max-width: 899px) { .share figure { aspect-ratio: 4 / 3; } .share figure img { object-position: 50% 70%; } }
.ppl { display: block; font-weight: 650; font-size: .875rem; margin-bottom: 4px; }
.field ::placeholder { color: #6e6257; opacity: 1; }
