/* 흙내음 도예 공방 — 공용 스타일 */
:root {
  --bg: #f6efe4;
  --soft: #ede2d0;
  --sand: #e4d4bb;
  --ink: #3b2d25;
  --muted: #85735f;
  --line: #dccdb8;
  --clay: #b5623c;
  --clay-deep: #92492a;
  --moss: #6f7a5a;
  --dark: #2c211b;
  --white: #fffaf2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: "Noto Sans KR", sans-serif; line-height: 1.75; padding-bottom: 64px; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: "Gowun Batang", serif; }

/* 샘플 배너 */
.sample { background: var(--dark); color: #d3c3b0; text-align: center; font-size: 12px; padding: 7px 16px; line-height: 1.6; }
.sample b { color: #fff; font-weight: 500; }
.sample a { color: #fff; text-decoration: underline; }

/* 헤더: 로고 가운데, 메뉴 아래 */
header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header .wrap { display: flex; flex-direction: column; align-items: center; padding-top: 14px; }
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.logo strong { font-family: "Gowun Batang", serif; font-weight: 700; font-size: 22px; letter-spacing: .08em; color: var(--clay-deep); }
.logo span { font-size: 10px; letter-spacing: .38em; color: var(--muted); }
.gnb { display: flex; align-items: center; justify-content: safe center; gap: 6px; margin-top: 6px; padding-bottom: 8px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.gnb::-webkit-scrollbar { display: none; }
.gnb a { font-size: 14px; color: var(--muted); padding: 10px 14px; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.gnb a:hover { color: var(--ink); }
.gnb a[aria-current="page"] { color: var(--clay-deep); font-weight: 500; border-bottom-color: var(--clay); }
.gnb a.cta { background: var(--clay); color: #fff; border-radius: 999px; border-bottom: 0; padding: 7px 18px; margin-left: 8px; }
.gnb a.cta:hover, .gnb a.cta[aria-current="page"] { background: var(--clay-deep); color: #fff; }

/* 버튼 */
.btn { display: inline-block; padding: 14px 28px; font-size: 15px; border-radius: 999px; text-align: center; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.btn.clay { background: var(--clay); color: #fff; }
.btn.clay:hover { background: var(--clay-deep); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: var(--white); color: var(--clay-deep); }
.btn.line-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn.naver { background: #03c75a; color: #fff; display: block; margin-bottom: 8px; }
.btn.kakao { background: #fee500; color: #3b1e1e; display: block; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 섹션 공통 */
section { padding: 84px 0; }
section.tint { background: var(--soft); }
.head { margin-bottom: 42px; }
.head.center { text-align: center; }
.eyebrow { display: block; color: var(--clay); font-size: 12px; letter-spacing: .3em; margin-bottom: 8px; }
.head h2 { font-family: "Gowun Batang", serif; font-weight: 700; font-size: clamp(25px, 4vw, 33px); line-height: 1.4; }
.head p { color: var(--muted); font-weight: 300; margin-top: 12px; }
.note { color: var(--muted); font-size: 13px; font-weight: 300; margin-top: 18px; }

/* 서브페이지 상단 */
.page-top { padding: 68px 0 54px; text-align: center; background: linear-gradient(180deg, var(--sand), var(--bg)); }
.page-top h1 { font-family: "Gowun Batang", serif; font-weight: 700; font-size: clamp(30px, 5vw, 42px); margin-bottom: 10px; }
.page-top p { color: var(--muted); font-weight: 300; }

/* 홈 히어로: 왼쪽 글, 오른쪽 아치 사진 */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-family: "Gowun Batang", serif; font-weight: 700; font-size: clamp(32px, 5.2vw, 52px); line-height: 1.35; margin: 6px 0 20px; }
.hero p { color: var(--muted); font-weight: 300; margin-bottom: 30px; max-width: 440px; }
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .facts { display: flex; gap: 22px; margin-top: 34px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero .facts b { display: block; font-family: "Gowun Batang", serif; font-size: 20px; color: var(--clay-deep); font-weight: 700; }

/* 소개 */
.intro { text-align: center; max-width: 640px; margin: 0 auto; }
.intro h2 { font-family: "Gowun Batang", serif; font-weight: 700; font-size: clamp(24px, 3.6vw, 30px); line-height: 1.5; margin-bottom: 18px; }
.intro p { color: var(--muted); font-weight: 300; font-size: 16px; }
.intro .sign { margin-top: 20px; font-family: "Gowun Batang", serif; color: var(--clay-deep); }

/* 아치 카드 (클래스·메뉴 입구) */
.entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.entry a { background: var(--white); border-radius: 160px 160px 16px 16px; overflow: hidden; border: 1px solid var(--line); display: block; transition: transform .25s; }
.entry a:hover { transform: translateY(-4px); }
.entry img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.entry .txt { padding: 20px 22px 26px; text-align: center; }
.entry h3 { font-family: "Gowun Batang", serif; font-size: 20px; margin-bottom: 4px; }
.entry p { color: var(--muted); font-size: 14px; font-weight: 300; }
.entry .more { display: inline-block; margin-top: 10px; color: var(--clay-deep); font-size: 14px; font-weight: 500; }

/* 특징 */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reasons > div { padding-top: 18px; border-top: 2px solid var(--clay); }
.reasons .num { font-family: "Gowun Batang", serif; color: var(--clay); font-size: 14px; letter-spacing: .1em; }
.reasons h3 { font-family: "Gowun Batang", serif; font-size: 19px; margin: 4px 0 8px; }
.reasons p { color: var(--muted); font-size: 15px; font-weight: 300; }

/* 후기 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.stars { color: var(--clay); letter-spacing: .1em; font-size: 14px; margin-bottom: 8px; }
.review p { font-size: 15px; margin-bottom: 14px; }
.review .meta { color: var(--muted); font-size: 13px; }
.review .tag { display: inline-block; background: var(--soft); color: var(--clay-deep); padding: 1px 10px; border-radius: 999px; font-size: 12px; margin-right: 8px; }
.more-link { text-align: center; margin-top: 32px; }

/* CTA 박스 */
.cta-box { background: var(--clay-deep); color: #fff; text-align: center; padding: 72px 0; }
.cta-box h2 { font-family: "Gowun Batang", serif; font-size: clamp(24px, 4vw, 32px); margin-bottom: 10px; }
.cta-box p { color: #f0d9c8; font-weight: 300; margin-bottom: 26px; }
.cta-box .btns { justify-content: center; }

/* 클래스 안내 */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px; position: relative; }
.plan.best { border-color: var(--clay); box-shadow: 0 10px 30px rgba(146, 73, 42, .12); }
.plan .badge { position: absolute; top: -12px; left: 28px; background: var(--clay); color: #fff; font-size: 12px; padding: 2px 14px; border-radius: 999px; }
.plan h3 { font-family: "Gowun Batang", serif; font-size: 24px; }
.plan .sub { color: var(--muted); font-size: 14px; font-weight: 300; margin: 4px 0 18px; }
.plan .price { font-family: "Gowun Batang", serif; font-size: 30px; color: var(--clay-deep); font-weight: 700; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.plan ul { margin: 18px 0 24px; border-top: 1px solid var(--line); }
.plan li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan li span:first-child { color: var(--muted); }
.plan li span:last-child { text-align: right; }

.timetable { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: 15px; }
.timetable th, .timetable td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.timetable thead th { background: var(--sand); font-weight: 500; font-size: 14px; }
.timetable tbody th { background: var(--soft); font-weight: 500; white-space: nowrap; }
.timetable td.on { color: var(--clay-deep); font-weight: 500; }
.timetable td.off { color: #b9a994; }
.table-scroll { overflow-x: auto; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.box h3 { font-family: "Gowun Batang", serif; font-size: 20px; margin-bottom: 12px; }
.box li { padding: 6px 0 6px 22px; position: relative; font-size: 15px; color: var(--ink); }
.box li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
.box li b { font-weight: 500; }

.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--clay); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* 작품 */
.showcase { border-radius: 20px; overflow: hidden; position: relative; }
.showcase img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.showcase figcaption { position: absolute; left: 20px; bottom: 16px; background: rgba(44, 33, 27, .72); color: #fff; font-size: 13px; padding: 4px 14px; border-radius: 999px; }
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.glaze { flex: none; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 -6px 10px rgba(0,0,0,.14), inset 0 4px 8px rgba(255,255,255,.35); }
.glaze.oat { background: #e8dcc6; }
.glaze.terra { background: #b5623c; }
.glaze.moss { background: #7d8667; }
.glaze.ash { background: #c9c4b8; }
.glaze.indigo { background: #5a6b7d; }
.glaze.honey { background: #cf9d57; }
.item h3 { font-family: "Gowun Batang", serif; font-size: 17px; line-height: 1.4; }
.item .spec { color: var(--muted); font-size: 13px; font-weight: 300; }
.item .won { color: var(--clay-deep); font-weight: 500; margin-top: 4px; font-size: 15px; }
.item .state { display: inline-block; font-size: 11px; background: var(--soft); color: var(--muted); padding: 0 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }

/* 이야기 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { font-family: "Gowun Batang", serif; font-size: clamp(24px, 3.6vw, 30px); line-height: 1.5; margin-bottom: 16px; }
.split p { color: var(--muted); font-weight: 300; margin-bottom: 12px; }
.timeline { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.timeline li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; }
.timeline li::before { content: counter(step, decimal-leading-zero); font-family: "Gowun Batang", serif; color: var(--clay); font-size: 22px; display: block; }
.timeline h3 { font-family: "Gowun Batang", serif; font-size: 18px; margin: 2px 0 6px; }
.timeline p { color: var(--muted); font-size: 14px; font-weight: 300; }

/* 예약 폼 */
.reserve-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field label em { color: var(--clay); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: var(--clay); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 20px; cursor: pointer; }
.agree input { margin-top: 5px; accent-color: var(--clay); }
.form .btn { width: 100%; }
.success { display: none; margin-top: 18px; background: #eef0e2; border: 1px solid #c9cfae; color: #46512b; border-radius: 12px; padding: 16px 18px; font-size: 14px; }
.success.show { display: block; }
.success strong { display: block; margin-bottom: 2px; }
.side > div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 18px; }
.side h3 { font-family: "Gowun Batang", serif; font-size: 18px; margin-bottom: 10px; }
.side p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.rules li { font-size: 14px; padding: 5px 0; color: var(--muted); }
.rules b { color: var(--ink); font-weight: 500; margin-right: 6px; }

/* 푸터 */
footer { background: var(--dark); color: #cbbca8; padding: 52px 0 40px; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; }
footer .logo { align-items: flex-start; }
footer .logo strong { color: #fff; }
footer .logo span { color: #a99985; }
footer p { margin-top: 10px; font-weight: 300; }
footer dl { display: grid; grid-template-columns: 80px 1fr; gap: 6px 12px; }
footer dt { color: #a99985; }
footer a { text-decoration: underline; text-underline-offset: 3px; }
footer .copy { grid-column: 1 / -1; border-top: 1px solid #4a3b31; padding-top: 18px; margin-top: 4px; font-size: 12px; color: #a99985; }

/* 하단 고정 바 */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1.4fr; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(44, 33, 27, .08); }
.bar a { text-align: center; padding: 16px 8px; font-size: 15px; font-weight: 500; }
.bar a:last-child { background: var(--clay); color: #fff; }

@media (max-width: 820px) {
  section { padding: 60px 0; }
  .hero { padding: 36px 0 52px; }
  .hero .wrap, .split, .reserve-grid, .two-col, footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .arch { aspect-ratio: 4 / 3.4; max-width: 420px; margin: 0 auto; width: 100%; }
  .entry, .reasons, .reviews, .lineup, .timeline, .plans { grid-template-columns: 1fr; }
  .entry a { border-radius: 120px 120px 16px 16px; max-width: 420px; margin: 0 auto; width: 100%; }
  .showcase img { aspect-ratio: 4 / 3; }
  .form { padding: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .gnb a { padding: 10px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .entry a { transition: none; }
}
