:root {
  --ink: #0f0b0a;
  --ink-2: #171110;
  --ink-3: #221a16;
  --paper: #efe6d6;
  --on-paper: #211815;
  --on-paper-2: #5a4d40;
  --brass: #cfa86a;
  --brass-hi: #f0d6a0;
  --brass-deep: #76561f;
  --serif: 'Noto Serif KR', 'Apple SD Gothic Neo', 'Batang', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --gutter: clamp(16px, 5vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* 어두운 구간과 종이 구간이 함께 쓰는 값 */
  --fg: #efe6d6;
  --fg-muted: #bcb09d;
  --rule: rgba(239, 230, 214, 0.15);
  --accent: var(--brass);
  --accent-text: var(--brass-hi);
  --panel: var(--ink-2);
  color-scheme: dark;
}

.paper {
  --fg: var(--on-paper);
  --fg-muted: var(--on-paper-2);
  --rule: rgba(33, 24, 21, 0.2);
  --accent: var(--brass-deep);
  --accent-text: var(--brass-deep);
  --panel: #f6efe2;
  position: relative;
  z-index: 41;
  background: var(--paper);
  color: var(--fg);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

.container { width: min(100%, 1200px); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }
.nb { white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--paper); color: var(--on-paper);
}
.skip-link:focus { top: 12px; }

/* 맨 위 배너 */
.topbar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px;
  padding: 8px var(--gutter);
  background: var(--brass); color: #1c130b;
  font-size: 14px; line-height: 1.5; text-align: center; text-decoration: none;
}
.topbar strong { font-weight: 700; }
.topbar:hover strong { text-decoration: underline; }

/* 머리글 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 11, 10, 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}
.site-header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: baseline; gap: 10px; margin-right: auto; text-decoration: none; }
.logo-mark { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--brass); line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { position: relative; font-size: 15px; color: var(--fg-muted); text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.site-nav a:hover, .site-nav a.is-current { color: var(--fg); }
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brass-hi); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.nav-toggle { display: none; padding: 8px; background: none; border: 0; color: var(--fg); cursor: pointer; }
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* 버튼 */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  background: none; border: 1px solid transparent; cursor: pointer;
  font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-primary { background: var(--brass); color: #1c130b; }
.btn-primary:hover { background: var(--brass-hi); }
.btn-primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease); pointer-events: none;
}
.btn-primary:hover::after { left: 120%; }
.btn-ghost { border-color: var(--brass); color: var(--brass-hi); }
.btn-ghost:hover { background: rgba(207, 168, 106, 0.14); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 첫 화면: 전등이 ‘.5’의 점이 됩니다 */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--rule); }
.hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--brass) 62%, transparent);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px;
  min-height: min(80vh, 680px);
}
.hero-copy { order: 1; align-self: center; padding-block: clamp(48px, 7vw, 96px); }
.hero-art { order: 2; position: relative; display: flex; align-items: flex-end; justify-content: center; min-width: 0; }
.slogan { min-height: 1.7em; margin-bottom: 16px; color: var(--brass-hi); font-size: 17px; font-weight: 600; line-height: 1.7; }
.slogan span { display: inline-block; transition: opacity 0.38s, transform 0.38s var(--ease); }
.slogan span.out { opacity: 0; transform: translateY(-8px); }
.hero h1 {
  font-family: var(--serif); font-size: clamp(46px, 7.4vw, 96px); font-weight: 500;
  line-height: 1.12; letter-spacing: -0.03em;
}
.lede { margin-top: 24px; max-width: 34em; color: var(--fg-muted); font-size: clamp(17px, 1.6vw, 19px); }
.hero .cta-row { margin-top: 32px; }

.point5 {
  position: relative; display: flex; align-items: flex-end; gap: 0.05em;
  font-family: var(--serif); font-size: clamp(220px, 30vw, 430px); line-height: 1;
  margin-bottom: -0.04em; user-select: none;
}
.lamp-rig {
  position: relative; flex: none; width: 0.15em; height: 0.15em; margin-bottom: 0.13em;
  transform: rotate(var(--swing, 0deg));
  transform-origin: 50% calc(-1 * var(--cord, 480px));
  cursor: grab;
}
.lamp {
  display: block; position: relative; width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, #fff6dc, #f5cb7e 55%, #b97f2e);
  box-shadow: 0 0 0.08em rgba(255, 210, 140, 0.95), 0 0 0.34em rgba(255, 180, 90, 0.5);
  animation: lamp-drop 1.3s cubic-bezier(0.22, 1.25, 0.36, 1) both;
}
.lamp::before {
  content: ''; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 200vh; margin-left: -0.5px;
  background: rgba(207, 168, 106, 0.55);
}
.lamp::after {
  content: ''; position: absolute; left: 50%; top: 50%; z-index: -1; width: 5em; height: 5em;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 190, 110, 0.24), rgba(255, 170, 90, 0.08) 46%, transparent 72%);
  pointer-events: none;
  animation: lamp-on 1.3s 0.75s both, breathe 7s 2.1s ease-in-out infinite;
}
.five {
  font-weight: 300;
  color: transparent;
  background: radial-gradient(circle at var(--lx, 0%) 88%, #ffe9bd 0, #dcb172 26%, #80603a 54%, #33261e 82%);
  -webkit-background-clip: text; background-clip: text;
  animation: five-light 1.4s 0.8s both;
}
/* 대표 이미지: 이미지 안의 문구가 잘리지 않도록 전체를 보여 줍니다 */
.hero-art:has(.hero-figure) { align-items: center; }
.hero-figure {
  position: relative; overflow: hidden; width: 100%; max-width: 560px; margin-block: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(207, 168, 106, 0.45);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(255, 180, 90, 0.1);
  animation: photo-in 1.1s var(--ease) both;
}
.hero-photo { display: block; width: 100%; height: auto; }
.hero-figure::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 233, 189, 0.16), transparent);
  transform: skewX(-16deg); pointer-events: none;
  animation: photo-sheen 8s 1.6s ease-in-out infinite;
}
.hero-lamp {
  position: absolute; left: calc(50% - min(50%, 280px) - 34px); bottom: 26%; z-index: 2;
  margin: 0; font-family: var(--serif); font-size: 260px; line-height: 1;
}
.hero-lamp .lamp::after { width: 2.4em; height: 2.4em; }
@keyframes photo-in { from { opacity: 0.35; transform: scale(0.975); } to { opacity: 1; transform: none; } }
@keyframes photo-sheen { 0%, 62% { left: -60%; } 100% { left: 130%; } }
@keyframes lamp-drop { from { transform: translateY(-110vh); } to { transform: none; } }
@keyframes lamp-on { 0% { opacity: 0; } 18% { opacity: 0.8; } 26% { opacity: 0.15; } 44% { opacity: 1; } 52% { opacity: 0.5; } 100% { opacity: 0.9; } }
@keyframes five-light { from { opacity: 0.18; } to { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }

/* 흐르는 띠 */
.ticker { overflow: hidden; background: var(--ink-2); border-bottom: 1px solid var(--rule); }
.ticker-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 44px; padding: 13px var(--gutter); }
.ticker-track li { position: relative; color: var(--brass-hi); font-size: 15px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.ticker-move { display: flex; width: max-content; animation: ticker var(--t, 30s) linear infinite; }
.ticker-move .ticker-track { flex-wrap: nowrap; justify-content: flex-start; padding: 13px 22px; flex: none; }
.ticker-move .ticker-track li::after {
  content: ''; position: absolute; right: -24px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: var(--brass);
}
.ticker:hover .ticker-move { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(calc(-1 * var(--w))); } }

/* 제목 */
.paper h2, .sec h2 {
  font-family: var(--serif); font-size: clamp(29px, 3.6vw, 44px); font-weight: 600;
  line-height: 1.3; letter-spacing: -0.02em;
}
.points h3, .plate h3, .steps h3, .block h3, .faq-item h3, .prose h3, .composer-col h3 { font-size: 19px; font-weight: 700; line-height: 1.5; }

/* 종이 구간 */
.paper a { color: var(--brass-deep); }
.paper-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px);
  padding-block: clamp(56px, 8vw, 104px);
}
.paper-grid p { color: var(--fg-muted); }
.paper-grid p + p { margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-underline-offset: 4px; }
.text-link .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(5px); }

/* 번호 구간 */
.sec { padding-block: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--rule); }
.sec-grid { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 0 24px; }
.sec-main { min-width: 0; }
.mark { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); font-weight: 300; line-height: 1; color: var(--brass); }
.sec-intro { margin-top: 20px; max-width: 42em; color: var(--fg-muted); font-size: clamp(17px, 1.5vw, 18px); }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 48px; border-top: 1px solid var(--rule); }
.points > div { padding-top: 24px; }
.points p { margin-top: 10px; color: var(--fg-muted); font-size: 16px; }

/* 담당 매니저 */
.manager {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 72px); align-items: center;
  margin-top: 44px; padding: clamp(24px, 4vw, 48px);
  background: var(--panel); border: 1px solid var(--rule);
}
.manager::before {
  content: ''; position: absolute; left: -120px; bottom: -220px; z-index: -1; width: 560px; height: 560px;
  background: radial-gradient(closest-side, rgba(255, 190, 110, 0.2), transparent 72%);
}
.manager-years { display: flex; align-items: flex-end; gap: 6px; font-family: var(--serif); line-height: 0.92; }
.count {
  min-width: 0.62em; font-size: clamp(110px, 13vw, 176px); font-weight: 300; text-align: center;
  color: transparent;
  background: radial-gradient(circle at 12% 88%, #ffe9bd 0, #dcb172 34%, #80603a 80%);
  -webkit-background-clip: text; background-clip: text;
}
.manager-years small { margin-bottom: 0.5em; color: var(--brass-hi); font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; }
.manager-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.3; }
.manager-name small { color: var(--accent-text); font-family: var(--sans); font-size: 15px; font-weight: 600; }
.manager-body > p:not(.manager-name) { margin-top: 12px; color: var(--fg-muted); }
.manager-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.manager-stats li { padding: 5px 12px; border: 1px solid var(--brass); color: var(--brass-hi); font-size: 14px; font-weight: 600; line-height: 1.5; }

/* 소제목 묶음 */
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(32px, 5vw, 64px); margin-top: 56px; }
.block { min-width: 0; }
.block-wide { grid-column: 1 / -1; }
.block > p { margin-top: 10px; color: var(--fg-muted); }
.block > .checks + p { margin-top: 16px; }
.flow-cta { margin-top: 40px; }

/* 룸 사진 */
.gallery-title { margin-top: 44px; font-size: 19px; font-weight: 700; line-height: 1.5; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--rule); text-decoration: none; transition: border-color 0.35s, box-shadow 0.35s; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.5s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover, .gallery-item.is-lit { border-color: var(--brass); box-shadow: 0 0 34px rgba(255, 190, 110, 0.2); }
.gallery-item.is-lit img { filter: brightness(1.12); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px;
  background: linear-gradient(transparent, rgba(8, 6, 5, 0.88));
  color: var(--fg); font-size: 14px; font-weight: 600; line-height: 1.4;
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap, .gallery-item.is-lit .gallery-cap { opacity: 1; transform: none; }
@media (hover: none) { .gallery-cap { opacity: 1; transform: none; } }

/* 룸 사진 크게 보기 */
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; overflow: hidden; background: none; border: 0; color: var(--fg); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lb-in 0.25s ease; }
.lightbox::backdrop { background: rgba(8, 6, 5, 0.94); }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; }
.lb-figure img { display: block; width: auto; height: auto; max-width: min(92vw, 860px); max-height: 82vh; border: 1px solid rgba(207, 168, 106, 0.45); }
.lb-figure figcaption { color: var(--fg-muted); font-size: 15px; line-height: 1.5; text-align: center; }
.lb-btn { position: absolute; width: 50px; height: 50px; background: rgba(15, 11, 10, 0.75); border: 1px solid var(--brass); color: var(--brass-hi); font-size: 26px; line-height: 1; cursor: pointer; transition: background-color 0.2s; }
.lb-btn:hover { background: rgba(207, 168, 106, 0.25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev, .lb-next { top: 50%; margin-top: -25px; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* 인원 선택 */
.picker { margin-top: 40px; padding: 22px 24px 20px; background: var(--panel); border: 1px solid var(--rule); }
.picker-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.picker-head label { font-size: 19px; font-weight: 700; line-height: 1.5; }
.picker-count { color: var(--brass-hi); font-family: var(--serif); font-size: 20px; line-height: 1.2; white-space: nowrap; }
.picker-count b { font-size: 44px; font-weight: 500; }
.picker-range {
  --fill: 21%;
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 34px; margin: 10px 0 8px; background: none; cursor: pointer;
}
.picker-range::-webkit-slider-runnable-track {
  height: 2px; background: linear-gradient(90deg, var(--brass) var(--fill), var(--rule) var(--fill));
}
.picker-range::-moz-range-track { height: 2px; background: var(--rule); }
.picker-range::-moz-range-progress { height: 2px; background: var(--brass); }
.picker-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, #fff6dc, #f5cb7e 55%, #b97f2e);
  box-shadow: 0 0 14px rgba(255, 190, 110, 0.75);
}
.picker-range::-moz-range-thumb {
  width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, #fff6dc, #f5cb7e 55%, #b97f2e);
  box-shadow: 0 0 14px rgba(255, 190, 110, 0.75);
}
.picker-result { color: var(--fg-muted); font-size: 16px; }
.picker-result strong { color: var(--fg); }
.picker-result .text-link { margin-left: 8px; color: var(--brass-hi); }

/* 룸 평면 */
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.plate { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--rule); transition: border-color 0.35s, box-shadow 0.35s, opacity 0.35s, translate 0.35s var(--ease); }
.plate img, .plan { display: block; width: 100%; height: auto; }
.plate-body { padding: 20px 22px 24px; border-top: 1px solid var(--rule); }
.plate-cap { margin-top: 2px; color: var(--accent-text); font-size: 15px; font-weight: 600; }
.plate-body p:last-child { margin-top: 10px; color: var(--fg-muted); font-size: 16px; }
.note { margin-top: 16px; color: var(--fg-muted); font-size: 14px; }
.seat { fill: #f0d6a0; }
.js .seat { opacity: 0.22; transition: opacity 0.3s calc(var(--n, 0) * 28ms); }
.js .seat.on { opacity: 1; }
.js .plate.is-active { border-color: var(--brass); box-shadow: 0 0 44px rgba(255, 190, 110, 0.16); translate: 0 -4px; }
.js .plate.is-dim { opacity: 0.62; }
.js .plate.is-dim:hover { opacity: 1; }

/* 주류 목록 */
.liquor-block { min-width: 0; margin-top: 56px; }
.liquor-block h3 { font-size: 19px; font-weight: 700; line-height: 1.5; }
.liquor-lead { margin-top: 8px; color: var(--fg-muted); font-size: 16px; }
.liquor-list { margin-top: 18px; border-top: 1px solid var(--rule); }
.liquor-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 20px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.liquor-row h4 { color: var(--accent-text); font-size: 15px; font-weight: 700; line-height: 1.5; }
.liquor-row ul { display: flex; flex-wrap: wrap; gap: 8px; }
.liquor {
  padding: 7px 13px; background: none; border: 1px solid var(--rule); cursor: pointer;
  font-size: 15px; font-weight: 500; line-height: 1.4;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.liquor:hover { border-color: var(--brass); transform: translateY(-2px); }
.liquor[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: #1c130b; font-weight: 600; }
.liquor-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 14px; color: var(--fg-muted); font-size: 15px; }
.liquor-status .text-link { color: var(--brass-hi); }

/* 문자 견적과 영수증 */
.cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px clamp(32px, 6vw, 80px); align-items: start; margin-top: 56px; }
.composer-col { min-width: 0; }
.composer-lead { margin-top: 8px; color: var(--fg-muted); font-size: 16px; }
.composer { display: grid; gap: 18px; margin-top: 22px; }
.composer legend, .field > span { display: block; margin-bottom: 8px; color: var(--fg-muted); font-size: 14px; font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: block; padding: 9px 16px; border: 1px solid var(--rule); font-size: 15px; font-weight: 600; line-height: 1.4; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover span { border-color: var(--brass); }
.chip input:checked + span { background: var(--brass); border-color: var(--brass); color: #1c130b; }
.chip input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.composer-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field select {
  width: 100%; height: 46px; padding: 0 12px; background: var(--ink-2); border: 1px solid var(--rule); font-size: 15px; font-weight: 600; cursor: pointer;
}
.stepper { display: flex; align-items: stretch; height: 46px; border: 1px solid var(--rule); }
.stepper button { flex: none; width: 46px; background: none; border: 0; color: var(--brass-hi); font-size: 22px; line-height: 1; cursor: pointer; transition: background-color 0.2s; }
.stepper button:hover { background: rgba(207, 168, 106, 0.14); }
.stepper output { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2px; border-inline: 1px solid var(--rule); font-size: 15px; font-weight: 600; }
.stepper output b { font-size: 18px; }
.script { margin-top: 18px; padding: 18px 20px; background: var(--panel); border-left: 3px solid var(--accent); font-size: 16px; line-height: 1.7; }
.composer-col .cta-row { margin-top: 14px; }

.printer { position: relative; padding-top: 12px; overflow: hidden; min-width: 0; }
.printer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 12px;
  background: linear-gradient(#3a2c22, #1c1512); border: 1px solid rgba(207, 168, 106, 0.4);
}
.receipt {
  --zig: 9px;
  padding: 26px 26px calc(26px + var(--zig));
  background: var(--paper); color: var(--on-paper);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / calc(2 * var(--zig)) 100% repeat-x;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / calc(2 * var(--zig)) 100% repeat-x;
  transition: transform 1.5s steps(22);
}
.receipt figcaption { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.receipt-head { margin-top: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--on-paper); color: var(--on-paper-2); font-size: 14px; font-weight: 600; line-height: 1.5; }
.receipt-head.bump { animation: bump 0.55s var(--ease); }
@keyframes bump { 0% { color: #8a5a10; transform: translateX(-3px); } 100% { transform: none; } }
.receipt th, .receipt td { padding: 11px 0; border-bottom: 1px dotted rgba(33, 24, 21, 0.3); font-size: 15px; line-height: 1.45; vertical-align: top; }
.receipt th { width: 96px; font-weight: 700; text-align: left; white-space: nowrap; }
.receipt th small { display: block; margin-top: 2px; color: var(--on-paper-2); font-size: 13px; font-weight: 400; white-space: normal; }
.receipt td { color: var(--on-paper-2); text-align: right; }
.receipt tfoot th, .receipt tfoot td { padding-top: 16px; border-top: 1px solid var(--on-paper); border-bottom: 0; color: var(--on-paper); font-size: 16px; font-weight: 700; }

.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; }
.formula span { padding: 8px 14px; background: var(--panel); border: 1px solid var(--rule); font-weight: 600; line-height: 1.4; }
.formula b { color: var(--accent-text); font-family: var(--serif); font-size: 20px; font-weight: 500; }
.formula .formula-total { background: var(--brass); border-color: var(--brass); color: #1c130b; }

.checks { margin-top: 16px; border-top: 1px solid var(--rule); counter-reset: check; }
.checks li { padding: 13px 0; border-bottom: 1px solid var(--rule); color: var(--fg-muted); }
.checks strong { color: var(--fg); }
ol.checks li { position: relative; padding-left: 40px; counter-increment: check; }
ol.checks li::before { content: counter(check); position: absolute; left: 4px; top: 13px; font-family: var(--serif); font-weight: 600; color: var(--accent-text); }

.terms { margin-top: 16px; border-top: 1px solid var(--rule); }
.terms > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--rule); }
.terms dt { font-weight: 700; }
.terms dd { color: var(--fg-muted); }

/* 이용 순서 */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 44px; counter-reset: step; }
.steps li { position: relative; padding-top: 52px; border-top: 1px solid var(--rule); counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 12px; left: 0;
  font-family: var(--serif); font-size: 26px; font-weight: 300; line-height: 1; color: var(--brass);
}
.steps li::after {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease) calc(var(--i, 0) * 150ms);
}
.steps li.in::after { transform: scaleX(1); }
.steps p { margin-top: 8px; color: var(--fg-muted); font-size: 15px; line-height: 1.7; }

/* 위치 */
.info { margin-top: 32px; border-top: 1px solid var(--rule); }
.info > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.info dt { color: var(--accent-text); font-weight: 600; }
.map-link { margin-top: 20px; }

/* 긴 설명 */
.paper-long { padding-block: clamp(64px, 9vw, 120px); }
.prose { max-width: 860px; min-width: 0; }
.prose section + section { margin-top: clamp(56px, 7vw, 88px); }
.prose h3 { margin-top: 30px; }
.prose h2 + p { margin-top: 18px; }
.prose h3 + p { margin-top: 6px; }
.prose p { color: var(--fg-muted); }
.prose .checks + p { margin-top: 16px; }

.table-wrap { margin-top: 22px; overflow-x: auto; background: var(--panel); border: 1px solid var(--rule); }
.table-wrap table { min-width: 560px; font-size: 15px; line-height: 1.6; }
.table-wrap th, .table-wrap td { padding: 13px 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.table-wrap thead th { background: var(--on-paper); color: var(--paper); font-weight: 600; white-space: nowrap; }
.table-wrap tbody th { font-weight: 700; white-space: nowrap; }
.table-wrap tbody tr { transition: background-color 0.2s; }
.table-wrap tbody tr:hover { background: rgba(207, 168, 106, 0.18); }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap td { color: var(--fg-muted); }

/* 질문과 답변 */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); margin-top: 32px; }
.faq-item { padding-block: 22px; border-top: 1px solid var(--rule); }
.faq-item p { margin-top: 8px; color: var(--fg-muted); font-size: 16px; }
.faq-cta { margin-top: 24px; }
.sec-faq { border-bottom: 0; }

/* 없는 페이지 */
.notfound { padding-block: clamp(64px, 12vw, 160px); }
.notfound h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.notfound .cta-row { margin-top: 32px; }

/* 바닥글 */
.site-footer { padding-block: 56px; background: var(--ink-2); color: var(--fg-muted); font-size: 15px; line-height: 1.7; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 32px clamp(32px, 5vw, 64px); }
.footer-name { margin-bottom: 8px; color: var(--fg); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.footer-biz { margin-top: 8px; font-size: 14px; }
.footer-links li + li { margin-top: 4px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--fg); text-decoration: underline; }
.footer-notice p + p { margin-top: 8px; }
.footer-notice strong { color: var(--fg); }

/* 스크롤 움직임. JS가 .reveal을 붙인 요소만 해당하며, JS가 없으면 모두 그대로 보입니다. */
.reveal { transition: opacity 0.75s var(--ease) calc(var(--i, 0) * 70ms), transform 0.75s var(--ease) calc(var(--i, 0) * 70ms); }
.reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.plate.reveal { transition: opacity 0.75s var(--ease) calc(var(--i, 0) * 70ms), transform 0.75s var(--ease) calc(var(--i, 0) * 70ms), border-color 0.35s, box-shadow 0.35s, translate 0.35s var(--ease); }
.gallery-item.reveal { transition: opacity 0.75s var(--ease) calc(var(--i, 0) * 70ms), transform 0.75s var(--ease) calc(var(--i, 0) * 70ms), border-color 0.35s, box-shadow 0.35s; }
.js .mark { opacity: 0.2; transition: opacity 0.3s; }
.js .mark.lit { opacity: 1; animation: flicker 1.2s linear; text-shadow: 0 0 26px rgba(255, 190, 110, 0.5); }
@keyframes flicker { 0% { opacity: 0.2; } 12% { opacity: 1; } 18% { opacity: 0.35; } 30% { opacity: 1; } 36% { opacity: 0.6; } 48%, 100% { opacity: 1; } }
.js [data-print]:not(.in) .receipt { transform: translateY(-101%); }

/* 오른쪽 전등 줄 */
.rail {
  position: fixed; right: 18px; top: 50%; z-index: 45; transform: translateY(-50%);
  display: flex; flex-direction: column; justify-content: space-between; height: min(46vh, 360px); padding: 2px 0;
}
.rail-cord { position: absolute; top: 0; bottom: 0; right: 8px; width: 1px; background: rgba(207, 168, 106, 0.55); }
.rail-lamp {
  position: absolute; left: 50%; top: 0; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, #fff6dc, #f5cb7e 55%, #b97f2e);
  box-shadow: 0 0 14px rgba(255, 190, 110, 0.85);
}
.rail a { position: relative; display: block; width: 17px; height: 17px; }
.rail a::before {
  content: ''; position: absolute; right: 6px; top: 6px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass); transition: transform 0.2s;
}
.rail a:hover::before, .rail a.is-current::before { transform: scale(1.7); }
.rail a span {
  position: absolute; right: 26px; top: 50%; padding: 3px 10px; transform: translate(6px, -50%);
  background: var(--ink); border: 1px solid var(--brass); color: var(--brass-hi);
  font-size: 13px; font-weight: 600; line-height: 1.5; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }

/* 커서 불빛 */
.spot {
  position: fixed; left: 0; top: 0; z-index: 40; width: 720px; height: 720px; margin: -360px 0 0 -360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 190, 110, 0.13), rgba(255, 170, 90, 0.04) 50%, transparent 72%);
  pointer-events: none; opacity: 0; transition: opacity 0.4s;
}
.spot.on { opacity: 1; }

/* 모바일 하단 빠른 연결 */
.quick-bar { display: none; }

@media (max-width: 1359px) {
  .rail { display: none; }
}

@media (max-width: 1080px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 14px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-call { display: none; }
  .site-header-inner { gap: 8px; min-height: 58px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--ink-2); border-bottom: 1px solid var(--rule);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 0; font-size: 16px; color: var(--fg); }
  .site-nav a::after { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .hero-art { order: 0; height: 210px; justify-content: flex-start; padding-left: 8%; }
  .hero-art:has(.hero-figure) { height: auto; padding-left: 0; justify-content: center; }
  .hero-figure { max-width: 640px; margin-block: 16px 0; }
  .hero-lamp { display: none; }
  .hero-copy { order: 1; padding-block: 24px 56px; }
  .point5 { font-size: 200px; }
  .paper-grid, .cost-grid, .faq, .blocks { grid-template-columns: minmax(0, 1fr); }
  .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .mark { margin-bottom: 14px; }
  .points { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .points > div { padding-block: 22px; border-bottom: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); font-size: 16px; }
  .plates, .steps { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-item:first-child { grid-row: auto; }
  .gallery-cap { padding: 24px 10px 8px; font-size: 13px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; }
  .lb-figure img { max-height: 70vh; }
  .steps { gap: 0; }
  .steps li { padding: 18px 0 18px 44px; }
  .steps li::before { top: 18px; }
  .cta-row .btn { flex: 1 1 100%; }
  .blocks { gap: 44px; margin-top: 44px; }
  .cost-grid { margin-top: 44px; }
  .liquor-block { margin-top: 44px; }
  .liquor-row { grid-template-columns: minmax(0, 1fr); }
  .manager { grid-template-columns: minmax(0, 1fr); }
  .count { text-align: left; }
  .picker { padding: 18px 16px 16px; }
  .picker-result .text-link { display: flex; margin: 4px 0 0; }
  .js .plate.is-active { translate: none; }
  .quick-bar {
    display: grid; grid-template-columns: 1.2fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink-3); border-top: 1px solid var(--brass);
  }
  .quick-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 60px; color: var(--brass-hi); font-size: 16px; font-weight: 700; text-decoration: none;
  }
  .quick-bar.has-telegram { grid-template-columns: 1.4fr 1fr 1fr; }
  .quick-bar.has-telegram a { gap: 5px; font-size: 14px; }
  .quick-bar a + a + a { border-left: 1px solid var(--rule); }
  .quick-bar .quick-call { background: var(--brass); color: #1c130b; }
  .quick-bar .quick-call .icon { animation: ring 5s ease-in-out infinite; }
  .info > div, .terms > div { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
}
@keyframes ring { 0%, 86%, 100% { transform: none; } 88% { transform: rotate(-14deg); } 91% { transform: rotate(12deg); } 94% { transform: rotate(-8deg); } 97% { transform: rotate(5deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lamp, .lamp::after, .five, .hero-figure, .hero-figure::after, .quick-bar .quick-call .icon { animation: none; }
  .hero-figure::after { display: none; }
  .btn, .plate, .slogan span, .seat, .liquor, .gallery-item, .gallery-item img, .gallery-cap { transition: none; }
  .gallery-item:hover img, .gallery-item:focus-visible img { transform: none; }
  .lightbox[open] { animation: none; }
  .btn:hover, .liquor:hover { transform: none; }
  .js .mark { opacity: 1; }
  .js [data-print]:not(.in) .receipt { transform: none; }
}
