/* Wadstone Pottery — 흙 · 유약 색 면 분할 */
:root {
  --bisque: #E9E9E6;
  --white: #FFFFFF;
  --ink: #1E1A17;
  --muted: #5A534D;
  --line: #C9C4BD;
  --line-strong: #6B635C;
  --clay: #8E4527;
  --on-clay: #FFFFFF;
  --on-clay-muted: #F4E4DA;
  --celadon: #A9C2B2;
  --on-celadon-muted: #34433B;
  --tenmoku: #231915;
  --on-tenmoku: #EFE9E2;
  --on-tenmoku-muted: #B8ACA2;
  --iron: #9A3F1E;
  --gut: clamp(16px, 4vw, 56px);
  --band: clamp(56px, 8vw, 112px);
  --serif: 'Young Serif', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lock { overflow: hidden; }
body {
  margin: 0;
  background: var(--bisque);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 7vw, 104px); line-height: 1.02; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; }
h3 { font: 650 19px/1.35 var(--sans); margin: 0; }
.h-small { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--iron); outline-offset: 3px; }
.field-clay :focus-visible, .field-tenmoku :focus-visible, .foot :focus-visible { outline-color: var(--white); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; max-width: 40ch; }
.fine { font-size: 15px; color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* 색 면 */
.field-clay { background: var(--clay); color: var(--on-clay); }
.field-clay .fine, .field-clay dt { color: var(--on-clay-muted); }
.field-celadon { background: var(--celadon); color: var(--ink); }
.field-celadon .fine, .field-celadon dt { color: var(--on-celadon-muted); }
.field-tenmoku { background: var(--tenmoku); color: var(--on-tenmoku); }
.field-tenmoku .fine, .field-tenmoku dt { color: var(--on-tenmoku-muted); }
.field-white { background: var(--white); }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.band { padding: 112px 56px; }
.page-head { padding: 104px 56px 88px; }
.foot { padding: 72px 56px 56px; }
.gd-tile, .gd-intro, .hero-text { padding: 96px 56px; }
.hero-wheel { padding: 40px 56px; }
.band > .wrap, .page-head > .wrap, .foot > .wrap { padding-inline: 0; }
@media (max-width: 1180px) {
  .band { padding: 88px 32px; }
  .page-head { padding: 80px 32px 64px; }
  .foot { padding: 64px 32px 48px; }
  .gd-tile, .gd-intro, .hero-text { padding: 64px 32px; }
  .hero-wheel { padding: 40px 32px; }
}
@media (max-width: 760px) {
  .band { padding: 64px 16px; }
  .page-head { padding: 56px 16px 48px; }
  .foot { padding: 56px 16px 40px; }
  .gd-tile, .gd-intro, .hero-text { padding: 48px 16px; }
  .hero-wheel { padding: 32px 16px; }
}

/* 머리 */
.top {
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gut);
  border-bottom: 1px solid var(--line);
  background: var(--bisque);
  position: relative; z-index: 20;
}
.mark { text-decoration: none; display: flex; align-items: baseline; gap: 10px; margin-right: auto; padding-block: 6px; }
.mark-name { font: 400 28px/1 var(--serif); }
.mark-sub { font-size: 15px; color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; padding: 10px 12px; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--iron); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.menu-btn { display: none; }
.cart-btn, .menu-btn {
  font: 600 16px/1 var(--sans); color: var(--ink); background: transparent;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 11px 18px; cursor: pointer;
}
.cart-btn:hover, .menu-btn:hover { background: var(--white); }
.count { display: inline-block; min-width: 1.6em; padding-left: 4px; text-align: left; }

/* 버튼 */
.btn, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 14px 24px; min-height: 48px;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.btn { background: var(--ink); color: var(--white); border: 1.5px solid var(--ink); }
.btn:hover { background: #3A322C; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--bisque); }
.btn-line { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, .5); }
.btn-line-light { color: var(--white); }
.btn-line-light:hover { background: rgba(255, 255, 255, .14); }
.btn-line:disabled { color: var(--muted); border-color: var(--line); cursor: default; background: transparent; }
.field-tenmoku .btn-line:hover, .field-clay .btn-line:hover { background: rgba(255, 255, 255, .14); }

/* 히어로 */
.hero { display: grid; grid-template-columns: 7fr 5fr; min-height: min(calc(100svh - 73px), 860px); }
.hero-text { display: flex; flex-direction: column; justify-content: flex-end; }
.hero-text h1 { font-size: clamp(60px, 9.2vw, 164px); line-height: .94; letter-spacing: -0.025em; max-width: 7ch; margin-bottom: 32px; }
.hero-line { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; max-width: 34ch; margin-bottom: 32px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-wheel { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; }
.wheel-box { width: min(440px, 100%); }
.wheel-cap { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: var(--on-tenmoku); }
.wheel-cap p { margin: 0; font-size: 16px; }

/* 물레 회전 — 유일한 큰 모션 */
.spin-strip { animation: spin 9s linear infinite; }
.wheel-ticks { animation: ticks 9s linear infinite; }
@keyframes spin { to { transform: translateX(var(--spin-w)); } }
@keyframes ticks { to { stroke-dashoffset: -400; } }
.wheel-box.paused .spin-strip, .wheel-box.paused .wheel-ticks { animation-play-state: paused; }

/* 공통 머리 */
.page-head h1 { margin-bottom: 24px; }
.page-head .lead { margin: 0; }
.page-head .facts { margin-top: 32px; }
.row-head { display: grid; grid-template-columns: 4fr 6fr auto; gap: 32px; align-items: end; margin-bottom: 48px; }
.row-head p { margin: 0; max-width: 52ch; }

.split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split-head h2 { margin-bottom: 20px; }
.split-head p { max-width: 36ch; }
.split-photo { grid-template-columns: 7fr 5fr; align-items: center; }
.split-photo.flip > figure { order: -1; }
.split-photo h2 { margin-bottom: 24px; }
figure { margin: 0; }
.photo-tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-wide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 사실 목록 */
.facts { display: grid; gap: 14px 32px; margin: 0 0 32px; }
.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: 15px; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; font-size: 18px; }
.field-clay .facts dt { color: var(--on-clay-muted); }
.field-celadon .facts dt { color: var(--on-celadon-muted); }
.field-tenmoku .facts dt { color: var(--on-tenmoku-muted); }
.sw { display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .35); }
.sw-clay { background: var(--clay); }
.sw-celadon { background: var(--celadon); }
.sw-tenmoku { background: var(--tenmoku); border-color: #8A7E74; }

/* 이번 주 가마 */
.wk-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.wk { border-top: 2px solid var(--ink); padding-top: 20px; }
.wk-h { font: 400 26px/1.2 var(--serif); margin-bottom: 4px; }
.wk-id { font-size: 15px; color: var(--on-celadon-muted); margin-bottom: 20px; }
.wk .facts { margin: 0; }

/* 타일 벽 */
.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 48px clamp(20px, 3vw, 48px); }
.wall-sm { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.tile { position: relative; }
.tile .tile-svg { width: 100%; aspect-ratio: 100 / 170; transition: transform 220ms var(--ease-out); }
.tile:hover .tile-svg { transform: translateY(-6px); }
.tile figcaption { margin-top: 14px; font-size: 15px; line-height: 1.4; }
.tile-code { color: var(--muted); }
.tile-name { display: block; font: 400 20px/1.2 var(--serif); text-decoration: none; margin: 2px 0 4px; }
.tile-name::after { content: ''; position: absolute; inset: 0; }
.tile-name:hover { text-decoration: underline; }
.tile-name:focus-visible { outline: none; }
.tile-name:focus-visible::after { outline: 3px solid var(--iron); outline-offset: 6px; }
.tile-meta, .tile-food { display: block; color: var(--muted); }
.tile-food { color: var(--ink); font-weight: 600; }
.tile-sm .tile-name { font-size: 18px; }

/* 수업 줄 */
.cl-list { list-style: none; padding: 0; margin: 32px 0 40px; }
.cl-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 0; border-top: 1px solid #4A3B33; }
.cl-row h3 { font: 400 28px/1.2 var(--serif); }
.cl-row h3 a { text-decoration: none; }
.cl-row h3 a:hover { text-decoration: underline; }
.cl-row p { margin: 0; color: var(--on-tenmoku-muted); }
.cl-row .cl-price { grid-row: 1; grid-column: 2; font: 400 28px/1.2 var(--serif); color: var(--on-tenmoku); }
.cl-row .cl-next { grid-column: 1 / -1; color: var(--on-tenmoku); }

/* 수치 */
.figures { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; margin: 32px 0 0; }
.figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; border-top: 2px solid var(--ink); padding-top: 16px; }
.figures dd { margin: 0; font: 400 clamp(48px, 5.6vw, 88px)/1 var(--serif); letter-spacing: -0.02em; }
.figures dt { font-size: 16px; color: var(--muted); }

.hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 32px; margin: 24px 0 32px; }
.hours div { display: contents; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.hours-lg { font-size: 20px; }
.field-clay .hours dt { color: var(--on-clay); }

/* 필터 */
.filters { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px 48px; margin-bottom: 32px; }
.filters fieldset, .cal-show { border: 0; padding: 0; margin: 0; min-width: 0; }
.filters legend, .cal-show legend { font-weight: 650; font-size: 16px; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1.2 var(--sans); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 10px 14px; min-height: 44px; cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip .n { font-weight: 400; color: var(--muted); }
.chip[aria-pressed="true"] .n { color: #D9D3CC; }
.sw-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .3); }
.sw-blue { background: #4C6E9A; } .sw-green { background: #6E9A7C; } .sw-brown { background: #4A3022; }
.sw-red { background: #B5543A; } .sw-white { background: #F2F0EA; } .sw-yellow { background: #D3A23E; }
.chip .sw { margin-right: 0; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 48px; }
.result-bar p { margin: 0; font-weight: 600; }
.no-match { padding: 48px 0; }
.no-match p { font: 400 28px/1.3 var(--serif); }

.read-list { margin: 0; display: grid; gap: 0; }
.read-list div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 30%, transparent); }
.read-list dt { font-weight: 650; }
.read-list dd { margin: 0; max-width: 60ch; }

/* 유약 상세 */
.gd-head { display: grid; grid-template-columns: 5fr 7fr; }
.gd-tile { display: flex; align-items: center; justify-content: center; }
.gd-tile .tile-svg { width: min(300px, 70%); }
.gd-code { color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.gd-intro h1 { margin-bottom: 20px; }
.gd-intro .lead { margin-bottom: 36px; }
.batch { margin-top: 28px; display: grid; gap: 8px; max-width: 260px; }
.batch label { font-weight: 650; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 15px; color: var(--muted); font-weight: 650; border-bottom: 2px solid var(--ink); }
.recipe tbody th { font-weight: 500; }
.recipe .adds th, .recipe .adds td { background: var(--white); }
.recipe .adds th { padding-left: 12px; }
.recipe tfoot th, .recipe tfoot td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--ink); }
.bar-cell { width: 34%; }
.bar { display: block; height: 10px; background: var(--clay); margin-top: 7px; }
.adds .bar { background: var(--iron); }
.plain th, .plain td { border-bottom-color: #4A3B33; }
.plain thead th { color: var(--on-tenmoku-muted); border-bottom-color: var(--on-tenmoku); }
.band:not(.field-tenmoku) .plain th, .band:not(.field-tenmoku) .plain td { border-bottom-color: var(--line); }
.band:not(.field-tenmoku) .plain thead th { color: var(--muted); border-bottom-color: var(--ink); }

.pager { display: flex; justify-content: space-between; gap: 24px; padding-block: 40px 64px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pager a { text-decoration: none; font: 400 22px/1.3 var(--serif); padding: 8px 0; }
.pager a:hover { text-decoration: underline; }
.pager span { display: block; font: 600 15px/1.4 var(--sans); color: var(--muted); }

/* 가마 달력 */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.cal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.cal-nav { display: flex; gap: 8px; }
.cal-show { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-show legend { width: 100%; }
.month-h { font-size: clamp(30px, 3vw, 44px); margin-bottom: 16px; }
.dow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: 15px; font-weight: 650; color: var(--muted); }
.dow { border-bottom: 2px solid var(--ink); }
.dow li { padding: 8px 10px; }
.day:nth-child(7n + 1) { border-left: 1px solid var(--line); }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day { padding: 8px; min-height: 124px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.day.pad { background: transparent; }
.day-btn { all: unset; box-sizing: border-box; display: flex; align-items: baseline; gap: 8px; padding: 0 0 4px; cursor: pointer; }
.day-btn::after { content: ''; position: absolute; inset: 0; }
.day-btn:focus-visible::after { outline: 3px solid var(--iron); outline-offset: -3px; }
.day.empty .day-btn { cursor: default; }
.dnum { font: 400 22px/1 var(--serif); }
.dname { display: none; font-size: 15px; color: var(--muted); }
.tag-today { font-size: 13px; font-weight: 700; background: var(--ink); color: var(--white); padding: 2px 8px; border-radius: 999px; }
.day.today { background: var(--white); }
.day.closed { background: #E2DFDA; }
.day:not(.empty):hover { background: var(--white); }
.day.sel { background: var(--white); box-shadow: inset 0 0 0 3px var(--ink); }
.evs { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; line-height: 1.3; }
.ev .sw { width: 10px; height: 10px; margin-right: 6px; vertical-align: 0; }
.ev-closed { color: var(--muted); }
.cal-wrap.hide-bisque .ev-bisque, .cal-wrap.hide-c6 .ev-c6, .cal-wrap.hide-c10 .ev-c10 { display: none; }
.cal-detail { position: sticky; top: 24px; padding: 28px; border: 1px solid var(--line); }
.cal-detail h2 { margin-bottom: 16px; }
.cal-detail:focus-visible { outline-offset: 0; }
.cd-ev { border-top: 1px solid var(--line); padding: 16px 0; }
.cd-ev h3 { margin-bottom: 8px; }
.cd-ev .facts { margin: 0; gap: 8px; }
.cd-ev .facts dd { font-size: 16px; }

.steps { margin: 0; padding-left: 1.4em; display: grid; gap: 14px; max-width: 64ch; }
.steps li::marker { font-family: var(--serif); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: currentColor; }
.ticks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; font-size: 18px; }

/* 수업 */
.date-list { list-style: none; padding: 0; margin: 0 0 32px; }
.date-list li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.date-list a { font-weight: 650; }
.weeks { list-style: none; padding: 0; margin: 0; counter-reset: wk; display: grid; gap: 0; }
.weeks li { counter-increment: wk; display: grid; grid-template-columns: 64px 1fr; gap: 4px 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.weeks li::before { content: counter(wk); grid-row: span 2; font: 400 40px/1 var(--serif); color: var(--clay); }
.field-celadon .weeks li { border-top-color: #7E9686; }
.field-celadon .weeks li::before { color: var(--ink); }
.weeks p { margin: 0; max-width: 58ch; }

/* 예약 폼 */
.book { display: grid; gap: 22px; max-width: 640px; }
.dates { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.dates legend, .field label, .seats-field > label { font-weight: 650; margin-bottom: 8px; padding: 0; display: block; }
.date-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 8px; cursor: pointer; background: var(--white); }
.date-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--bisque); }
.date-opt input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.d-when { font-weight: 600; }
.d-seats { color: var(--muted); font-size: 15px; }
.d-seats.full { color: var(--iron); font-weight: 600; }
.d-note { grid-column: 2 / -1; font-size: 15px; color: var(--muted); }
.field { display: grid; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .stepper input, .batch input {
  font: 400 17px/1.3 var(--sans); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--iron); border-width: 2px; }
.opt { font-weight: 400; color: var(--muted); }
.stepper { display: flex; gap: 8px; align-items: center; }
.stepper input { width: 88px; text-align: center; }
.stepper .btn-line { width: 48px; padding: 0; font-size: 22px; }
.seat-msg { margin: 10px 0 0; font-size: 16px; }
.seat-msg.warn { color: var(--iron); font-weight: 600; }
.check label { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.err { color: var(--iron); font-weight: 600; font-size: 15px; margin: 8px 0 0; }
.err-sum { border: 2px solid var(--iron); padding: 18px 20px; background: var(--white); }
.err-sum h3 { color: var(--iron); margin-bottom: 8px; }
.err-sum ul { margin: 0; padding-left: 1.2em; }
.err-sum a { color: var(--iron); font-weight: 600; }
.done { border: 2px solid var(--ink); padding: 20px; background: var(--bisque); }
.done h3 { font: 400 26px/1.25 var(--serif); margin-bottom: 10px; }
.done p:last-child { margin: 0; }

/* 상점 */
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; }
.prod-art { padding: 24px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.prod-art .art { width: 72%; }
.prod-art .art-tiles { display: flex; gap: 6%; width: 64%; }
.prod-art .art-tiles .tile-svg { width: 30%; flex: 1; }
.prod-info { padding-top: 20px; }
.prod-info h2 { font-size: clamp(28px, 2.4vw, 36px); margin-bottom: 4px; }
.prod-meta { color: var(--muted); }
.price { color: var(--ink); font-weight: 650; }
.g-opts { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.g-opts legend { font-weight: 650; margin-bottom: 8px; padding: 0; }
.g-opt { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 600; background: var(--white); min-height: 44px; }
.g-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.g-opt:has(input:focus-visible) { outline: 3px solid var(--iron); outline-offset: 2px; }
.g-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-tile { width: 18px; height: 24px; border: 1px solid rgba(0, 0, 0, .3); }

/* 장바구니 서랍 */
.drawer { margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(460px, 100vw); max-width: 100vw; border: 0; padding: 0; background: var(--white); color: var(--ink); }
.drawer::backdrop { background: rgba(30, 26, 23, .55); }
.drawer-in { padding: 28px; display: flex; flex-direction: column; gap: 20px; min-height: 100%; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { font-size: 36px; }
.drawer-list { list-style: none; padding: 0; margin: 0; }
.drawer-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 14px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.drawer-list .sw-tile { margin-top: 3px; }
.dl-name { font-weight: 650; }
.dl-sub { color: var(--muted); font-size: 15px; }
.dl-price { font-weight: 650; }
.dl-ctl { grid-column: 2 / -1; display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.dl-ctl button { font: 600 15px/1 var(--sans); background: var(--white); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 999px; min-width: 40px; min-height: 40px; padding: 0 12px; cursor: pointer; }
.dl-ctl output { min-width: 2ch; text-align: center; font-weight: 650; }
.ship { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.ship legend { font-weight: 650; margin-bottom: 8px; padding: 0; }
.ship label { display: flex; gap: 10px; align-items: center; }
.ship span { margin-left: auto; }
.ship input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.total-line { display: flex; justify-content: space-between; font: 400 26px/1.2 var(--serif); border-top: 2px solid var(--ink); padding-top: 16px; margin: 0; }
.drawer-foot { display: grid; gap: 18px; margin-top: auto; }

/* 사진 */
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* 소개 */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline .yr { font: 400 34px/1 var(--serif); color: var(--clay); }
.timeline p { margin: 0; max-width: 56ch; }
.about-tile { width: 160px; margin-top: 28px; }
.about-tile p { margin-top: 12px; }
.credits { margin: 0; padding-left: 1.4em; columns: 2 260px; column-gap: 40px; }
.credits li { padding: 6px 0; break-inside: avoid; }
.credits span { color: var(--muted); margin-right: 8px; }

/* 꼬리 */
.foot-grid { display: grid; grid-template-columns: 3fr 2fr 5fr; gap: 48px; }
.foot-mark { font: 400 30px/1.1 var(--serif); }
.foot-nav { display: grid; align-content: start; gap: 2px; }
.foot-nav a { text-decoration: none; padding: 6px 0; font-weight: 600; }
.foot-nav a:hover { text-decoration: underline; }
.foot-note { color: var(--on-tenmoku-muted); font-size: 15px; max-width: 60ch; }
.foot-note a { color: var(--on-tenmoku); }

/* 반응형 */
@media (max-width: 1180px) {
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cal-wrap { grid-template-columns: 1fr; }
  .cal-detail { position: static; }
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: fixed; inset: var(--top-h, 66px) 0 0 0; background: var(--bisque);
    flex-direction: column; gap: 0; padding: 16px var(--gut); overflow-y: auto; z-index: 30;
  }
  .nav.open { display: flex; }
  .nav a { font: 400 32px/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mark-sub { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text h1 { max-width: none; }
  .split, .split-photo, .gd-head { grid-template-columns: 1fr; }
  .split-photo.flip > figure { order: 0; }
  .row-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .wk-list { grid-template-columns: 1fr; gap: 28px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :last-child { grid-column: 1 / -1; }
  .photo-tall img { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .wall-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr; gap: 22px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-2 { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .read-list div { grid-template-columns: 1fr; gap: 4px; }
  .timeline li { grid-template-columns: 72px 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .ticks-2 { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row figure:last-child { display: none; }
  .result-bar { flex-wrap: wrap; }
  .bar-cell { display: none; }
  .pager a { font-size: 19px; }
  /* 달력 → 목록 */
  .dow { display: none; }
  .grid { grid-template-columns: 1fr; border-left: 0; }
  .day:nth-child(7n + 1) { border-left: 0; }
  .day { padding: 8px; min-height: 0; border-right: 0; flex-direction: row; align-items: flex-start; }
  .day.empty:not(.today), .day.pad { display: none; }
  .day-btn { width: 112px; flex: none; padding: 14px 0; }
  .dname { display: inline; }
  .evs { padding: 14px 0; flex: 1; font-size: 15px; }
  .tag-today { position: absolute; right: 0; top: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .cart-btn, .menu-btn { padding: 10px 14px; }
  .mark-name { font-size: 24px; }
  .date-opt { grid-template-columns: auto 1fr; }
  .d-seats { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .spin-strip, .wheel-ticks { animation: none; }
  .tile .tile-svg, .btn, .btn-line, .chip { transition: none; }
  .tile:hover .tile-svg { transform: none; }
}
@media (max-width: 760px) {
  .wall-home .tile:nth-child(n + 9) { display: none; }
}
