/* ==============================================================
   SANLEE ART — 서브페이지 공통 디자인 (crystal)
   기준: 메인페이지.jpg와 산리 님 기획서
   - 스모키 브라운 → 샴페인 실버, 젖은 유리, 유리 뒤 보케
   - 절제된 반짝임, 글리터 테이프, 핑크는 예약 요소에만
   - 메인과 같은 가로 724px 기둥(column) 위에 구성
   ============================================================== */
:root {
  --ink: #2b221e;
  --ink-soft: #5a4b44;
  --cream: #f1e8de;
  --cream-soft: rgba(241, 232, 222, .82);
  --neon: #ff6dbd;
  --en: "Cormorant Garamond", "Baskervville", Georgia, serif;
  --en-title: "Baskervville", "Cormorant Garamond", Georgia, serif;
  --ko-serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --ko-sans: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: radial-gradient(ellipse at 50% 8%, #49312b, #291b16 64%) fixed, #291b16;
  color: var(--ink);
  font-family: var(--ko-sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #fff5e9; outline-offset: 3px; border-radius: 4px; }

/* ---------- 페이지 기둥 ---------- */
.page {
  position: relative; isolation: isolate;
  container-type: inline-size;
  width: min(100%, 724px); margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 0, 0, .5);
  background:
    radial-gradient(60% 9% at 82% 30%, rgba(255, 244, 230, .32), transparent 70%),
    radial-gradient(55% 8% at 14% 52%, rgba(255, 240, 224, .26), transparent 70%),
    radial-gradient(60% 8% at 80% 72%, rgba(255, 240, 224, .22), transparent 70%),
    linear-gradient(180deg, #d0b3a2 0%, #d8c1b2 30%, #d6c0b1 62%, #c9ab9f 82%, #a0787b 100%);
  --u: calc(100cqw / 724);
}

/* 금빛 물방울 줄기 (양옆) — 이미지 대신 가는 선과 방울 */
.drip-line {
  position: absolute; z-index: 1; pointer-events: none; width: calc(10 * var(--u));
  background: linear-gradient(180deg, transparent, rgba(214, 176, 140, .55) 12%, rgba(214, 176, 140, .2) 70%, transparent) center / 1px 100% no-repeat;
}
.drip-line i {
  position: absolute; left: 50%; width: calc(6 * var(--u)); height: calc(10 * var(--u)); transform: translateX(-50%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 30%, #fff8ec 0 12%, #e2bf93 35%, #a87c55 80%);
  box-shadow: 0 0 calc(4 * var(--u)) rgba(255, 220, 170, .5);
  opacity: .85;
}

/* 유리 뒤 보케 */
.bokeh { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bokeh i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 238, 214, .16) 0 52%, rgba(255, 242, 224, .32) 66%, rgba(255, 238, 214, 0) 72%);
  filter: blur(1.4px);
  animation: breathe var(--dur, 12s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes breathe {
  0%, 100% { opacity: var(--o, .5); transform: scale(1); }
  50% { opacity: calc(var(--o, .5) * .45); transform: scale(1.06); }
}

/* ---------- 상단 (메인과 동일) ---------- */
.site-header {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(16 * var(--u)) calc(28 * var(--u)) 0 calc(77 * var(--u));
  color: var(--cream);
}
.wordmark { font-family: var(--en); font-weight: 500; font-size: max(15px, calc(22.7 * var(--u))); letter-spacing: .14em; line-height: 1.4; }
.wordmark .small-caps { font-size: .6em; letter-spacing: .2em; margin-left: .35em; }
.header-right { display: flex; align-items: center; gap: calc(22 * var(--u)); }
.top-nav { display: flex; align-items: center; font-family: var(--en); font-weight: 500; font-size: max(10.5px, calc(12.2 * var(--u))); letter-spacing: .22em; }
.top-nav a { padding: .5em 0; transition: color .3s, text-shadow .3s; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: #fff; text-shadow: 0 0 calc(10 * var(--u)) rgba(255, 214, 170, .8); }
.top-nav a[aria-current="page"] { border-bottom: 1px solid rgba(255, 236, 214, .7); padding-bottom: .15em; }
.top-nav .sep { width: 1px; height: 1em; background: currentColor; opacity: .7; margin: 0 calc(17 * var(--u)); }
.menu { position: relative; }
.menu > summary {
  list-style: none; cursor: pointer;
  width: max(28px, calc(40 * var(--u))); height: max(24px, calc(30 * var(--u)));
  display: flex; flex-direction: column; justify-content: center; gap: max(4px, calc(5 * var(--u)));
  padding: 0 max(5px, calc(8 * var(--u)));
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span { display: block; height: 1.5px; background: var(--cream); border-radius: 1px; transition: transform .25s, opacity .25s; }
.menu[open] > summary span:nth-child(1) { transform: translateY(max(5.5px, calc(6.6 * var(--u)))) rotate(45deg); }
.menu[open] > summary span:nth-child(2) { opacity: 0; }
.menu[open] > summary span:nth-child(3) { transform: translateY(min(-5.5px, calc(-6.6 * var(--u)))) rotate(-45deg); }
.menu-panel {
  position: absolute; z-index: 30; top: calc(100% + 12px); right: 0;
  width: min(74vw, 240px); padding: 8px;
  background: rgba(42, 26, 22, .94); backdrop-filter: blur(10px);
  border: 1px solid rgba(173, 132, 116, .6); border-radius: 12px;
  display: grid; gap: 2px;
  font-family: var(--en); font-size: 15px; letter-spacing: .12em; color: var(--cream);
}
.menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: #49312a; }
.menu-panel .lang { display: flex; gap: 12px; padding: 10px 14px 6px; border-top: 1px solid rgba(173, 132, 116, .35); font-size: 13px; }
.menu-panel .lang a { min-height: 0; padding: 0; opacity: .75; background: none; }
.menu-panel .lang a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 첫 화면: 젖은 유리 ---------- */
.hero {
  position: relative; z-index: 2;
  min-height: calc(470 * var(--u));
  padding: max(96px, calc(118 * var(--u))) calc(56 * var(--u)) calc(96 * var(--u));
  color: var(--cream);
  background: #2c211c url("/assets/brow/hero-bg.jpg") center / cover no-repeat;
}
/* 메인 첫 화면의 유리 가장자리·크리스탈 리본만 또렷하게 (로고는 가림) */
.hero-glass {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("/assets/main-bg.jpg") 0 0 / 100% auto no-repeat;
  -webkit-mask: radial-gradient(26% 30% at 3% 5%, #000 30%, transparent 76%), radial-gradient(34% 30% at 92% 74%, #000 30%, transparent 76%);
          mask: radial-gradient(26% 30% at 3% 5%, #000 30%, transparent 76%), radial-gradient(34% 30% at 92% 74%, #000 30%, transparent 76%);
  opacity: .95;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 34%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(140, 112, 98, .55) 55%, #d0b3a2);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-inner { position: relative; z-index: 3; }
.kicker { font-family: var(--en); font-weight: 500; font-size: max(11px, calc(13 * var(--u))); letter-spacing: .32em; text-transform: uppercase; }
.hero .kicker { color: rgba(241, 232, 222, .85); text-shadow: 0 1px 10px rgba(20, 12, 8, .8), 0 0 2px rgba(20, 12, 8, .6); }
.hero .lede { text-shadow: 0 1px 12px rgba(20, 12, 8, .55); }
.hero h1 {
  margin-top: calc(18 * var(--u));
  font-family: var(--ko-serif); font-weight: 600; letter-spacing: -.01em;
  font-size: max(28px, calc(46 * var(--u))); line-height: 1.32;
  text-shadow: 0 2px 18px rgba(20, 12, 8, .45);
}
.hero .lede {
  margin-top: calc(18 * var(--u)); max-width: 30em;
  font-size: max(13.5px, calc(16 * var(--u))); line-height: 1.75; color: var(--cream-soft); word-break: keep-all;
}
.hero .actions { margin-top: calc(30 * var(--u)); display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

/* 버튼: 예약은 가는 핑크 네온 유리관, 나머지는 유리 */
.btn {
  display: inline-flex; align-items: center; gap: .7em; min-height: 46px; padding: 0 1.4em;
  font-family: var(--ko-sans); font-size: max(13.5px, calc(15 * var(--u))); letter-spacing: .02em;
  border-radius: 999px; transition: box-shadow .35s, background .35s, transform .35s;
}
.btn-neon {
  color: #fff4fa;
  border: 1px solid rgba(255, 186, 222, .85);
  background: rgba(255, 109, 189, .08);
  box-shadow: 0 0 0 1px rgba(255, 109, 189, .25) inset, 0 0 12px rgba(255, 109, 189, .45), 0 0 26px rgba(255, 109, 189, .2);
  text-shadow: 0 0 8px rgba(255, 140, 200, .7);
}
.btn-neon:hover { box-shadow: 0 0 0 1px rgba(255, 109, 189, .35) inset, 0 0 16px rgba(255, 109, 189, .7), 0 0 40px rgba(255, 109, 189, .35); transform: translateY(-1px); }
.btn-glass {
  color: inherit; border: 1px solid rgba(255, 250, 242, .45);
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 14px rgba(255, 250, 240, .14);
}
.btn-glass:hover { background: rgba(255, 255, 255, .18); }

/* ---------- 메인 포스터 조각 위에 글자 얹기 ---------- */
.plate { position: relative; z-index: 2; container-type: inline-size; }
.plate > img { width: 100%; height: auto; }
.plate .tx {
  position: absolute; white-space: nowrap;
  left: calc(var(--x) * 100cqw / 724); top: calc(var(--y) * 100cqw / 724);
  font-size: calc(var(--fs) * 100cqw / 724); line-height: var(--lh, 1.2);
}
.plate .ital { font-family: var(--en-title); font-style: italic; font-weight: 400; color: var(--ink); }
.plate .lead { font-family: var(--ko-sans); font-weight: 500; color: var(--ink); }
.plate .sub { font-family: var(--ko-sans); font-weight: 400; color: var(--ink-soft); }
.plate .kick { font-family: var(--en); font-weight: 500; letter-spacing: .3em; color: var(--ink-soft); }

/* ---------- 본문 공통 ---------- */
.section { position: relative; z-index: 2; padding: calc(70 * var(--u)) calc(56 * var(--u)); }
.section-head .kicker { color: var(--ink-soft); }
.section-head h2 {
  margin-top: calc(12 * var(--u));
  font-family: var(--ko-serif); font-weight: 600; color: var(--ink);
  font-size: max(24px, calc(36 * var(--u))); line-height: 1.3; letter-spacing: -.01em; word-break: keep-all;
}
.section-head h2 em { font-family: var(--en-title); font-weight: 400; font-style: italic; }
.section-head .desc { margin-top: calc(16 * var(--u)); max-width: 34em; font-size: max(13.5px, calc(15 * var(--u))); line-height: 1.8; color: var(--ink-soft); word-break: keep-all; }
.note { margin-top: 10px; font-size: max(11.5px, calc(12.5 * var(--u))); line-height: 1.7; color: rgba(90, 75, 68, .85); word-break: keep-all; }
.rule { display: block; width: calc(44 * var(--u)); min-width: 28px; height: 1px; background: currentColor; opacity: .45; margin: calc(20 * var(--u)) 0; }
.body-copy { font-size: max(13.5px, calc(15.5 * var(--u))); line-height: 1.9; color: var(--ink); word-break: keep-all; }

/* 유리 패널 공통 */
.glass {
  position: relative;
  border: 1px solid rgba(255, 250, 242, .55);
  background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, .1));
  box-shadow: inset 0 0 calc(22 * var(--u)) rgba(255, 250, 240, .22), inset 0 calc(-10 * var(--u)) calc(20 * var(--u)) rgba(255, 246, 232, .12), 0 0 calc(14 * var(--u)) rgba(255, 240, 222, .3), 0 calc(14 * var(--u)) calc(28 * var(--u)) rgba(70, 45, 35, .16);
}
.glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 3;
  background:
    radial-gradient(circle at 14% 7%, rgba(255, 252, 246, .85) 0 1px, rgba(255, 246, 232, .25) 2px, transparent 6px),
    radial-gradient(circle at 90% 86%, rgba(255, 252, 246, .65) 0 1px, rgba(255, 246, 232, .2) 2px, transparent 5px);
}

/* 글리터 테이프 */
.tape {
  display: inline-block; position: relative;
  padding: .32em 1.5em .3em 1.2em;
  font-family: var(--en); font-weight: 500; letter-spacing: .22em; color: #4a3e38;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .95) 0 .6px, transparent 1.3px) 0 0 / 7px 5px,
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .7) 0 .6px, transparent 1.3px) 2px 1px / 9px 6px,
    linear-gradient(180deg, rgba(244, 238, 235, .95), rgba(214, 207, 204, .92) 45%, rgba(240, 234, 231, .95) 55%, rgba(206, 199, 196, .92));
  clip-path: polygon(0 0, 100% 0, 97% 50%, 100% 100%, 0 100%, 2.5% 50%);
  box-shadow: 0 0 6px rgba(255, 255, 255, .4);
}
.tape.quote { font-family: var(--ko-serif); font-weight: 500; letter-spacing: .12em; }

/* ---------- 아코디언(FAQ) ---------- */
.faq-group + .faq-group { margin-top: calc(34 * var(--u)); }
.faq-group > h3 { font-family: var(--en); font-weight: 500; font-size: max(12px, calc(13 * var(--u))); letter-spacing: .3em; color: var(--ink-soft); margin-bottom: 12px; }
.faq-item { border-radius: 26px 32px 28px 34px; margin-top: 12px; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-family: var(--ko-serif); font-weight: 500; font-size: max(14.5px, calc(16.5 * var(--u))); line-height: 1.5; color: var(--ink); word-break: keep-all;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; position: relative; width: 14px; height: 14px; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: currentColor; transition: transform .3s; }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item p { padding: 0 22px 20px; font-size: max(13.5px, calc(15 * var(--u))); line-height: 1.85; color: var(--ink-soft); word-break: keep-all; }

/* ---------- 마지막: 메인 포스터의 예약 장면 ---------- */
.ending { position: relative; z-index: 2; }
.ending .plate > img:not(.book-neon) { -webkit-mask: linear-gradient(transparent, #000 10%); mask: linear-gradient(transparent, #000 10%); }
.ending .plate .tx { font-family: var(--ko-serif); }
.ending .plate a.tx:hover { text-shadow: 0 0 calc(12 * 100cqw / 724) rgba(255, 248, 236, .95); }
.neon-spot { position: absolute; left: calc(288 * 100cqw / 724); top: calc(34 * 100cqw / 724); width: calc(400 * 100cqw / 724); height: calc(190 * 100cqw / 724); border-radius: 30%; z-index: 5; }
.neon-glow {
  position: absolute; z-index: 3; pointer-events: none;
  left: calc(300 * 100cqw / 724); top: calc(34 * 100cqw / 724); width: calc(380 * 100cqw / 724); height: calc(190 * 100cqw / 724);
  background: radial-gradient(closest-side, rgba(255, 110, 185, .22), rgba(255, 110, 185, .06) 60%, transparent);
  mix-blend-mode: screen; animation: neon-breathe 5s ease-in-out infinite;
}
.neon-spot:hover + .neon-glow { animation: none; opacity: 1; filter: brightness(1.3); }
@keyframes neon-breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
/* Book Now 네온 (예약 페이지와 같은 이미지) — 하단 그림(포스터 y 1886부터)의 예전 BOOKING NOW 자리 */
.ending .book-neon {
  position: absolute; z-index: 3; pointer-events: none;
  left: calc(268 * 100cqw / 724); top: calc(52 * 100cqw / 724); width: calc(446 * 100cqw / 724); height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(1px 2px 3px rgba(80, 42, 46, .14)) saturate(.92);   /* GPT 검토: 바깥 분홍 번짐 줄이고 벽과의 얕은 그림자 */
  animation: book-flicker 9s infinite;
}
@keyframes book-flicker { 0%, 86%, 100% { opacity: 1; } 87% { opacity: .7; } 87.6% { opacity: 1; } 89% { opacity: .84; } 89.5% { opacity: 1; } }

/* ---------- 포스터 아래 방문 안내 ---------- */
.visit { width: min(100%, 724px); margin: 0 auto; padding: 48px 24px 64px; color: #e6dbcf; text-align: center; font-family: var(--ko-serif); }
.visit h2 { font-size: clamp(18px, 4vw, 24px); font-weight: 500; letter-spacing: .02em; }
.visit p { margin-top: 12px; font-family: var(--ko-sans); font-size: 14px; line-height: 1.7; opacity: .85; word-break: keep-all; }
.visit address { margin-top: 10px; font-style: normal; font-family: var(--ko-sans); font-size: 13px; opacity: .7; }
.visit .actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; font-family: var(--ko-sans); }
.visit .actions a { padding: 11px 18px; border: 1px solid rgba(230, 219, 207, .3); border-radius: 999px; font-size: 13px; transition: background .2s; }
.visit .actions a:hover { background: rgba(230, 219, 207, .1); }
.visit .contact-line { margin-top: 20px; font-size: 13px; opacity: .8; }
.visit .contact-line a { border-bottom: 1px solid rgba(230, 219, 207, .3); }
.visit .contact-line.small { margin-top: 8px; font-size: 12px; opacity: .6; }

@media (max-width: 520px) {
  .top-nav { display: none; }
  .site-header { padding: 16px 16px 0 20px; }
  .hero { padding: 92px 22px 80px; }
  .section { padding: 52px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bokeh i, .neon-glow, .ending .book-neon { animation: none; }
  * { transition: none !important; }
}
