:root {
  --ivory: #f7f3ee;
  --paper: #fffdfa;
  --sand: #ece3d8;
  --line: #e2d7ca;
  --ink: #2b2623;
  --muted: #7a6f67;
  --taupe: #8c7462;
  --accent: #6b5444;
  --naver: #03c75a;
  --radius: 18px;
  --serif-en: 'Cormorant Garamond', 'Noto Serif KR', serif;
  --serif-ko: 'Noto Serif KR', serif;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  padding-bottom: 72px;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
[hidden] { display: none !important; }

.serif-en, .brand-en { font-family: var(--serif-en); letter-spacing: .18em; }
.eyebrow { margin: 0 0 8px; font: 500 13px/1 var(--serif-en); letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }

/* ── top bar ───────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(247, 243, 238, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.scrolled { border-color: var(--line); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-en { font-size: 22px; font-weight: 600; }
.brand-ko { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* ── buttons ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); transition: transform .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }

/* ── hero ─────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px);
  max-width: var(--max); margin: 0 auto; padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 40px);
}
.hero-media { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-title { font-family: var(--serif-ko); font-size: clamp(34px, 5vw, 52px); line-height: 1.2; margin-bottom: 20px; }
.hero-title .serif-en { font-size: .7em; color: var(--taupe); }
.hero-lead { font-family: var(--serif-ko); font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 0 20px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.status, .rating { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--naver); }
.status.closed::before { background: #c0392b; }
.rating b { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── sections ─────────────────────── */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px); }
.section-soft { max-width: none; background: var(--paper); }
.section-soft > * { max-width: calc(var(--max) - 2 * clamp(16px, 4vw, 40px)); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-family: var(--serif-ko); font-size: clamp(26px, 3.4vw, 34px); }
.section-note { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.center { text-align: center; margin-top: 32px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); font-size: 14px; }
.chips li span { color: var(--taupe); margin-left: 4px; font-size: 12px; }
.chips.small li { padding: 4px 10px; font-size: 13px; }

/* ── news ─────────────────────────── */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); cursor: pointer; font: inherit; color: inherit; }
.news-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }
.news-card div { padding: 16px 18px 20px; }
.news-card .tag { font-size: 12px; color: var(--taupe); }
.news-card h3 { font-size: 16px; margin: 4px 0 6px; line-height: 1.45; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── about ────────────────────────── */
.about { text-align: center; }
.about-text { font-family: var(--serif-ko); font-size: clamp(16px, 2vw, 19px); line-height: 2; white-space: pre-line; margin: 16px auto 28px; max-width: 640px; }
.about .chips { justify-content: center; }

/* ── designers ────────────────────── */
.director { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 48px; }
.director:empty { display: none; }
.director-photo { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.director-photo img { width: 100%; height: 100%; object-fit: cover; }
.director .role { font-family: var(--serif-en); letter-spacing: .2em; color: var(--taupe); font-size: 14px; margin: 0 0 6px; }
.director h3 { font-family: var(--serif-ko); font-size: 30px; margin-bottom: 16px; }
.director .bio { white-space: pre-line; color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.designer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.designer { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.designer img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sand); }
.designer div { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.designer h3 { font-size: 17px; }
.designer p { margin: 0; color: var(--muted); font-size: 14px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.designer .btn { margin-top: auto; }
.designer.event { background: var(--sand); }

/* ── menu ─────────────────────────── */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
.tabs button { flex: none; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--ivory); font: 500 14px var(--sans); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu-list { border-top: 1px solid var(--line); }
.menu-item { display: flex; align-items: baseline; gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.menu-item .name { flex: 1; }
.menu-item .badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 11px; vertical-align: 2px; }
.menu-item .price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.popular { margin-top: 40px; }
.popular h3 { font-size: 15px; margin-bottom: 12px; color: var(--muted); font-weight: 500; }

/* ── gallery ──────────────────────── */
.gallery { columns: 3 220px; column-gap: 14px; }
.gallery button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--sand); break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.03); }

/* ── reviews ──────────────────────── */
.review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin-bottom: 32px; }
.score { font-family: var(--serif-en); font-size: 56px; line-height: 1; }
.score small { font-family: var(--sans); font-size: 14px; color: var(--muted); display: block; margin-top: 8px; }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.review { padding: 20px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.review header { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.review header b { color: var(--ink); }
.review p { margin: 0; font-size: 15px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review .thumbs { display: flex; gap: 6px; }
.review .thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.review .kw { font-size: 12px; color: var(--taupe); }
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.blog { display: flex; gap: 14px; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; background: var(--paper); }
.blog img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; flex: none; background: var(--sand); }
.blog b { display: block; font-size: 15px; line-height: 1.45; margin-bottom: 4px; }
.blog small { color: var(--muted); }

/* ── visit ────────────────────────── */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.map-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.visit-actions { display: flex; gap: 10px; margin-top: 14px; }
.visit-actions .btn { flex: 1; }
.info { display: grid; grid-template-columns: 76px 1fr; gap: 18px 16px; margin: 0; }
.info dt { color: var(--taupe); font-size: 14px; padding-top: 2px; }
.info dd { margin: 0; }
.info small { display: block; color: var(--muted); white-space: pre-line; margin-top: 4px; font-size: 13px; }
.copy { margin-left: 8px; padding: 2px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); font-size: 12px; cursor: pointer; }
.subway-line { display: inline-block; padding: 1px 8px; border-radius: 999px; color: #fff; font-size: 12px; margin-right: 6px; }
.hours { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 2px 16px 2px 0; }
.hours tr.today td { font-weight: 700; }

/* ── footer & dock ─────────────────── */
.footer { text-align: center; padding: 48px 16px 32px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.footer .brand-en { font-size: 20px; color: var(--ink); margin: 0 0 8px; }
.footer p { margin: 4px 0; }
.footer-links { display: flex; justify-content: center; gap: 16px; }
.updated { font-size: 12px; opacity: .8; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: none; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 250, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.dock a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; }
.dock .dock-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── sheet (dialog) ─────────────────── */
.sheet { width: min(640px, 100vw - 24px); max-height: 86vh; padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); }
.sheet::backdrop { background: rgba(43, 38, 35, .55); }
.sheet-close { position: sticky; top: 8px; float: right; margin: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ivory); font-size: 22px; cursor: pointer; z-index: 1; }
.sheet-body { padding: 24px; }
.sheet-body img { width: 100%; border-radius: 12px; margin-bottom: 16px; }
.sheet-body h3 { font-size: 20px; margin-bottom: 8px; }
.sheet-body p { white-space: pre-line; color: var(--muted); }
.sheet.photo .sheet-body { padding: 8px; }
.sheet.photo .sheet-body img { margin: 0; }

/* ── responsive ───────────────────── */
@media (max-width: 860px) {
  .nav { display: none; }
  .topbar .btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 4.4; border-radius: 160px 160px var(--radius) var(--radius); }
  .director { grid-template-columns: 1fr; }
  .director-photo { max-width: 360px; }
  .visit { grid-template-columns: 1fr; }
  .dock { display: grid; }
  .topbar .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
