/* ==========================================================================
   ONDO — 레스토랑 홈페이지 샘플
   테마: [data-theme] = noir | hanji | trattoria | omakase | neon | garden
   ========================================================================== */

/* ---------- 테마 토큰 ---------- */
:root,
[data-theme='noir'] {
  --bg: #0d0b09; --bg-2: #15110d; --surface: #1b1612; --surface-2: #241d17;
  --text: #f3ebe0; --muted: #a99c8b; --line: rgba(243, 235, 224, .12);
  --accent: #d9a15b; --accent-2: #e2552f; --on-accent: #1a1109;
  --ember: 255,150,60;
  --font-display: 'Cormorant Garamond', 'Noto Serif KR', serif;
  --font-body: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --display-weight: 500; --display-tracking: -.01em; --display-style: normal;
  --radius: 4px; --radius-lg: 6px;
  --shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  --map-filter: invert(.92) hue-rotate(180deg) saturate(.4) brightness(.9);
  --glow: none;
  color-scheme: dark;
}
[data-theme='hanji'] {
  --bg: #f1e9db; --bg-2: #e8ddc9; --surface: #faf5ec; --surface-2: #f3ebdd;
  --text: #1f1b17; --muted: #6b6155; --line: rgba(31, 27, 23, .16);
  --accent: #b3261e; --accent-2: #1f3b5a; --on-accent: #fff;
  --ember: 255,120,70;
  --font-display: 'Nanum Myeongjo', serif;
  --font-body: 'Gowun Batang', 'Nanum Myeongjo', serif;
  --display-weight: 800; --display-tracking: -.02em;
  --radius: 0; --radius-lg: 0;
  --shadow: 0 20px 40px -24px rgba(60,40,20,.35);
  --map-filter: sepia(.35) saturate(.8);
  color-scheme: light;
}
[data-theme='trattoria'] {
  --bg: #f6eee2; --bg-2: #efe1cd; --surface: #fffaf3; --surface-2: #f8efe2;
  --text: #2b1d14; --muted: #7a6455; --line: rgba(43, 29, 20, .14);
  --accent: #c4532d; --accent-2: #5f6b2f; --on-accent: #fff;
  --ember: 255,170,80;
  --font-display: 'Playfair Display', 'Noto Serif KR', serif;
  --display-weight: 700; --display-tracking: -.015em; --display-style: normal;
  --radius: 16px; --radius-lg: 26px;
  --shadow: 0 24px 50px -28px rgba(120,60,20,.45);
  --map-filter: sepia(.2) saturate(1.1);
  color-scheme: light;
}
[data-theme='omakase'] {
  --bg: #14120f; --bg-2: #1b1814; --surface: #221e19; --surface-2: #2a251f;
  --text: #ece4d6; --muted: #9b907f; --line: rgba(236, 228, 214, .1);
  --accent: #c9a779; --accent-2: #8c2f26; --on-accent: #14120f;
  --ember: 255,210,160;
  --font-display: 'Noto Serif KR', serif;
  --display-weight: 300; --display-tracking: .06em;
  --radius: 2px; --radius-lg: 2px;
  --shadow: 0 30px 60px -30px rgba(0,0,0,.85);
  --map-filter: invert(.9) hue-rotate(180deg) saturate(.2) sepia(.3);
  color-scheme: dark;
}
[data-theme='neon'] {
  --bg: #0a0b1d; --bg-2: #0f1029; --surface: #15173a; --surface-2: #1c1f4a;
  --text: #f4f2ff; --muted: #a6a6cf; --line: rgba(160, 160, 255, .18);
  --accent: #ff3d8b; --accent-2: #22e4ff; --on-accent: #0a0b1d;
  --ember: 255,61,139;
  --font-display: 'Black Han Sans', sans-serif;
  --display-weight: 400; --display-tracking: 0;
  --radius: 14px; --radius-lg: 22px;
  --shadow: 0 0 0 1px rgba(255,61,139,.25), 0 30px 60px -30px rgba(255,61,139,.45);
  --map-filter: invert(.92) hue-rotate(200deg) saturate(1.6) brightness(.85);
  --glow: 0 0 12px rgba(255,61,139,.7), 0 0 40px rgba(255,61,139,.35);
  color-scheme: dark;
}
[data-theme='garden'] {
  --bg: #f3f5ee; --bg-2: #e6ecdd; --surface: #ffffff; --surface-2: #f6f8f2;
  --text: #1f2a1f; --muted: #5d6b5b; --line: rgba(31, 42, 31, .12);
  --accent: #4b7a47; --accent-2: #e0a43c; --on-accent: #fff;
  --ember: 255,236,170;
  --font-display: 'DM Serif Display', 'Gowun Batang', serif;
  --display-weight: 400; --display-tracking: -.01em;
  --radius: 22px; --radius-lg: 32px;
  --shadow: 0 24px 50px -30px rgba(40,70,40,.35);
  --map-filter: saturate(.7) hue-rotate(-10deg);
  color-scheme: light;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
  transition: background-color .5s, color .5s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--accent); color: var(--on-accent); padding: 8px 14px; }
.skip:focus { left: 8px; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.eyebrow {
  margin: 0 0 14px; font-size: 12px; letter-spacing: .32em; font-weight: 600; color: var(--accent);
  display: flex; align-items: center; gap: 12px; font-family: var(--font-body);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.h2, .h3, .hero__title {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking);
  line-height: 1.12; margin: 0; text-wrap: balance; word-break: keep-all;
}
.h2 { font-size: clamp(32px, 5vw, 60px); }
.h3 { font-size: clamp(24px, 3vw, 34px); }
.lead { color: var(--muted); font-size: 17px; word-break: keep-all; }

/* ---------- 버튼 ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 24px; border-radius: max(var(--radius), 2px);
  font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
  border: 1px solid transparent; font-family: var(--font-body);
}
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: var(--glow); }
.btn--accent:hover:not(:disabled) { filter: brightness(1.08); }
.btn--accent:disabled { opacity: .4; box-shadow: none; }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: #fff; color: #111; }
.btn--line { border-color: var(--line); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }
.btn--danger { border-color: #d94b3c; color: #d94b3c; }
.btn--danger:hover { background: #d94b3c; color: #fff; }
[data-theme='garden'] .btn, [data-theme='trattoria'] .btn { border-radius: 999px; }

/* ---------- 인트로 ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000; background: #0b0907; color: #f3ebe0;
  display: grid; place-items: center; transition: clip-path 1s cubic-bezier(.8,0,.2,1);
  clip-path: inset(0 0 0 0);
}
.intro.is-done { clip-path: inset(0 0 100% 0); }
.intro__inner { text-align: center; }
.intro__logo { width: 84px; margin: 0 auto 18px; fill: none; stroke: #e7a35a; stroke-width: 2.5; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s ease forwards; }
.intro__temp { font: 500 clamp(64px, 12vw, 120px)/1 'Cormorant Garamond', serif; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #ffd29a, #e2552f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro__bar { width: 220px; height: 2px; background: rgba(255,255,255,.12); margin: 20px auto 14px; overflow: hidden; }
.intro__bar i { display: block; height: 100%; background: linear-gradient(90deg, #e2552f, #ffd29a); transform: scaleX(0); transform-origin: left; }
.intro__msg { font-size: 13px; letter-spacing: .3em; color: #a99c8b; margin: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 커서 ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor::before {
  content: ''; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .3s; mix-blend-mode: difference;
}
.cursor.is-link::before { transform: scale(3.2); opacity: .35; }
.cursor span {
  position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 700; letter-spacing: .2em; transform: scale(0); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.cursor.is-label span { transform: scale(1); }
.cursor.is-label::before { opacity: 0; }

/* ---------- 헤더 ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .35s, box-shadow .35s, transform .35s; color: #fff; }
.header__inner { height: 76px; display: flex; align-items: center; gap: 28px; width: min(1360px, 100% - 40px); margin: auto; }
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); color: var(--text); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .header__inner { height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 5; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-family: var(--font-display); font-size: 22px; letter-spacing: .18em; font-weight: 600; }
.logo__text small { font-size: 10px; letter-spacing: .5em; opacity: .7; margin-top: 4px; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { position: relative; opacity: .85; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__tools { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; font-size: 13px; font-weight: 600; opacity: .9; }
.lang__btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; padding: 6px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid;
}
.lang__menu[hidden] { display: none; }
.lang__menu button { text-align: left; padding: 9px 12px; border-radius: var(--radius); font-size: 14px; }
.lang__menu button:hover, .lang__menu button.is-on { background: var(--surface-2); color: var(--accent); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.nav-open .burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #000; }
.hero__slides { position: absolute; inset: -6% 0 0; will-change: transform; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.14); transition: opacity 1.6s ease, transform 8s linear;
}
.hero__slide.is-on { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45), transparent 60%), linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.85) 100%); }
[data-theme='hanji'] .hero__shade { background: linear-gradient(180deg, rgba(20,12,6,.6), rgba(20,12,6,.2) 40%, rgba(20,12,6,.85)); }
[data-theme='neon'] .hero__shade { background: linear-gradient(180deg, rgba(10,11,29,.7), rgba(40,0,60,.3) 45%, rgba(10,11,29,.95)); }
[data-theme='garden'] .hero__shade { background: linear-gradient(180deg, rgba(20,35,20,.5), rgba(20,35,20,.1) 40%, rgba(20,35,20,.75)); }
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(90px, 14vh, 150px); padding-top: 120px; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 26px; opacity: 0; transform: translateY(14px); transition: all 1s .2s; }
.hero__eyebrow .line { width: 44px; height: 1px; background: var(--accent); }
.hero__title { font-size: clamp(52px, 10vw, 140px); line-height: 1.02; margin-bottom: 28px; text-shadow: var(--glow); }
.hero__title .ln { display: block; overflow: hidden; padding: .04em 0 .1em; }
.hero__title .ch { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; }
.is-ready .hero__title .ch { animation: rise 1s cubic-bezier(.2,.75,.15,1) calc(var(--i) * 40ms + .15s) forwards; }
@keyframes rise { to { transform: none; opacity: 1; } }
[data-theme='omakase'] .hero__title { font-size: clamp(44px, 8vw, 112px); }
.hero__sub { max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); opacity: 0; color: rgba(255,255,255,.85); margin: 0 0 36px; transition: opacity 1s .9s, transform 1s .9s; transform: translateY(14px); word-break: keep-all; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(14px); transition: all 1s 1.1s; }
.is-ready .hero__eyebrow, .is-ready .hero__sub, .is-ready .hero__cta, .is-ready .status { opacity: 1; transform: none; }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 10px 16px; border-radius: 999px;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); font-size: 14px;
  opacity: 0; transform: translateY(14px); transition: all 1s 1.3s;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa0a6; position: relative; }
.status[data-state='open'] .status__dot { background: #3ddc84; }
.status[data-state='open'] .status__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ddc84; animation: ping 1.6s infinite; }
.status[data-state='break'] .status__dot, .status[data-state='soon'] .status__dot { background: #ffb547; }
.status[data-state='closed'] .status__dot { background: #ff5d5d; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.sizzle {
  position: absolute; z-index: 3; right: clamp(20px, 4vw, 48px); bottom: clamp(90px, 14vh, 150px);
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; color: #fff; font-size: 13px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.35); backdrop-filter: blur(8px); transition: background .3s;
}
.sizzle:hover { background: rgba(0,0,0,.55); }
.sizzle__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.sizzle__bars i { width: 3px; height: 4px; background: var(--accent); border-radius: 2px; }
.sizzle[aria-pressed='true'] .sizzle__bars i { animation: eq .5s ease-in-out infinite alternate; }
.sizzle__bars i:nth-child(2) { animation-delay: .15s !important; } .sizzle__bars i:nth-child(3) { animation-delay: .3s !important; } .sizzle__bars i:nth-child(4) { animation-delay: .05s !important; }
@keyframes eq { to { height: 14px; } }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots i { width: 22px; height: 2px; background: rgba(255,255,255,.3); transition: background .4s, width .4s; }
.hero__dots i.is-on { background: var(--accent); width: 44px; }
.hero__scroll { position: absolute; z-index: 3; left: clamp(20px, 4vw, 48px); bottom: 30px; font-size: 10px; letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 10px; writing-mode: vertical-rl; opacity: .75; }
.hero__scroll i { width: 1px; height: 50px; background: linear-gradient(var(--accent), transparent); animation: drip 2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 마키 ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.marquee span { font-family: var(--font-display); font-size: clamp(36px, 6vw, 80px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--muted); text-transform: uppercase; font-weight: var(--display-weight); }
.marquee span:nth-of-type(3n+1) { color: var(--accent); -webkit-text-stroke: 0; }
.marquee b { color: var(--accent); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 스토리 ---------- */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__media { margin: 0; position: relative; }
.story__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story__media::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--accent); border-radius: var(--radius-lg); z-index: -1; opacity: .5; }
.story__media figcaption { position: absolute; left: -1px; bottom: 28px; background: var(--surface); padding: 16px 22px; border-radius: 0 var(--radius) var(--radius) 0; display: flex; flex-direction: column; box-shadow: var(--shadow); max-width: 80%; }
.story__media figcaption b { font-family: var(--font-display); font-size: 19px; font-weight: var(--display-weight); }
.story__media figcaption small { color: var(--muted); font-size: 12px; }
.story__body { color: var(--muted); font-size: 17px; margin: 28px 0 40px; word-break: keep-all; }
.story__body p { margin: 0 0 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.stat { padding: 22px 0 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
.stat dt { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; text-shadow: var(--glow); }
.stat dd { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- 메뉴 ---------- */
.menu { background: var(--bg-2); }
.weather {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin-bottom: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); max-width: 640px;
}
.weather[hidden] { display: none; }
.weather__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-size: 22px; background: var(--accent); color: var(--on-accent); border-radius: 50%; }
.weather__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.weather__text small { color: var(--muted); font-size: 12px; }
.weather__text b { font-weight: 600; word-break: keep-all; }
.menu__bar { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs button { padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: all .25s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected='true'] { background: var(--text); color: var(--bg); }
.menu__tools { display: flex; gap: 10px; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.search svg { width: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search input { border: 0; background: none; outline: none; width: 140px; font-size: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); transition: all .2s; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.menu__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.menu__note { font-size: 12px; color: var(--muted); margin-top: 34px; }
.dish {
  position: relative; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s;
  display: flex; flex-direction: column; transform-style: preserve-3d;
}
.dish:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.dish::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.12), transparent 40%); opacity: 0; transition: opacity .3s; }
.dish:hover::after { opacity: 1; }
.dish__img { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.dish:hover .dish__img img { transform: scale(1.07); }
.dish__tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.dm__body .dish__tags { position: static; margin-bottom: 12px; }
.tag { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(4px); letter-spacing: .02em; }
.tag--signature { background: var(--accent); color: var(--on-accent); }
.tag--spicy { background: #d33b2c; }
.tag--veg { background: #3f8a4a; }
.tag--new { background: var(--accent-2); color: #fff; }
.dish__body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.dish__body h3 { margin: 0 0 6px; font-size: 18px; font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.35; word-break: keep-all; }
[data-theme='omakase'] .dish__body h3, [data-theme='noir'] .dish__body h3 { font-family: 'Noto Serif KR', serif; font-weight: 500; letter-spacing: 0; }
.dish__spicy { font-size: 12px; }
.dish__body p { margin: 0 0 18px; font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; word-break: keep-all; }
.dish__foot { display: flex; justify-content: space-between; align-items: center; }
.dish__foot b { font-size: 17px; font-variant-numeric: tabular-nums; }
.add { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: all .2s; }
.add:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.fly { position: fixed; z-index: 999; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.4); }

/* ---------- 모달 ---------- */
dialog { border: 0; padding: 0; color: var(--text); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s cubic-bezier(.2,.8,.2,1.1); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__inner { position: relative; width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; background: var(--surface); border-radius: var(--radius-lg); box-shadow: 0 40px 80px rgba(0,0,0,.5); display: grid; grid-template-columns: 1.1fr 1fr; }
.x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 80%, transparent); font-size: 24px; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(6px); }
.x:hover { background: var(--accent); color: var(--on-accent); }
.dm__img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.dm__body { padding: 36px 32px 28px; display: flex; flex-direction: column; }
.dm__ko { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.dm__desc { color: var(--muted); margin: 16px 0 22px; word-break: keep-all; }
.dm__facts { margin: 0 0 24px; display: grid; gap: 10px; font-size: 14px; }
.dm__facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.dm__facts dt { color: var(--muted); } .dm__facts dd { margin: 0; text-align: right; }
.spice { display: inline-flex; gap: 4px; }
.spice i { width: 18px; height: 6px; border-radius: 3px; background: var(--line); }
.spice[style*='--n:1'] i:nth-child(-n+1), .spice[style*='--n:2'] i:nth-child(-n+2), .spice[style*='--n:3'] i:nth-child(-n+3) { background: #e2452f; }
.dm__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dm__foot b { font-size: 24px; }

.modal--roulette .modal__inner, .modal--qr .modal__inner { display: block; width: min(460px, calc(100vw - 32px)); padding: 40px 32px 32px; text-align: center; }
.modal--roulette .eyebrow, .modal--qr .eyebrow { justify-content: center; }
.modal--roulette .eyebrow::before, .modal--qr .eyebrow::before { display: none; }
.slot { --ih: 150px; height: var(--ih); overflow: hidden; margin: 26px 0 14px; border-radius: var(--radius-lg); border: 1px solid var(--line); position: relative; background: var(--bg-2); }
.slot::before, .slot::after { content: ''; position: absolute; left: 0; right: 0; height: 30px; z-index: 2; pointer-events: none; }
.slot::before { top: 0; background: linear-gradient(var(--surface), transparent); }
.slot::after { bottom: 0; background: linear-gradient(transparent, var(--surface)); }
.slot__reel { will-change: transform; }
.slot__item { height: var(--ih); display: flex; align-items: center; gap: 16px; padding: 0 18px; text-align: left; }
.slot__item img { width: 110px; height: 110px; border-radius: var(--radius); object-fit: cover; flex: none; }
.slot__item span { font-family: var(--font-display); font-size: 20px; font-weight: var(--display-weight); line-height: 1.3; word-break: keep-all; }
.roulette__res { min-height: 28px; font-weight: 700; color: var(--accent); margin: 0 0 18px; }
.roulette__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.modal--roulette { overflow: visible; }

.qr { width: 240px; margin: 24px auto 16px; padding: 14px; background: #fff; border-radius: var(--radius-lg); position: relative; }
.qr svg { width: 100%; height: auto; display: block; }
.qr__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #111; color: #fff; font: 700 11px/1 var(--font-body); letter-spacing: .15em; padding: 6px 8px; border-radius: 4px; }
.qr__hint { color: var(--muted); font-size: 14px; margin: 0 0 20px; word-break: keep-all; }

/* 라이트박스 */
.lightbox { width: 100vw; height: 100vh; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .4s, transform .5s; }
.lightbox img.is-in { opacity: 1; transform: none; }
.lightbox .x { color: #fff; background: rgba(255,255,255,.12); right: 20px; top: 20px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 30px; }
.lb__nav:hover { background: var(--accent); color: var(--on-accent); }
.lb__prev { left: 20px; } .lb__next { right: 20px; }
.lb__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .2em; }

/* ---------- 코스 ---------- */
.course { position: relative; background: var(--bg); padding: clamp(80px, 10vw, 120px) 0; }
.course.is-pinned { padding: 0; }
.course__sticky { overflow: hidden; }
.course.is-pinned .course__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 2vh; padding-top: 64px; }
.course.is-pinned .cc__img { aspect-ratio: auto; height: min(46vh, 500px); }
.course.is-pinned .cc { width: clamp(260px, 26vw, 380px); }
.course__head { display: grid; gap: 4px; }
.course__price { color: var(--muted); margin: 10px 0 0; }
.course__price b { color: var(--accent); font-size: 22px; font-family: var(--font-display); }
.course__track { display: flex; gap: 28px; padding: 30px max(20px, (100vw - 1240px) / 2) 10px; will-change: transform; }
.course:not(.is-pinned) .course__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.course:not(.is-pinned) .course__track::-webkit-scrollbar { display: none; }
.cc { flex: none; width: clamp(260px, 30vw, 400px); scroll-snap-align: start; position: relative; }
.cc__img { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius-lg); margin-bottom: 18px; }
.cc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.cc:hover .cc__img img { transform: scale(1.06); }
.cc__no { position: absolute; top: -30px; left: 8px; font-family: var(--font-display); font-size: 72px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.cc h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 24px; }
.cc p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.course__progress { width: min(1240px, 100% - 40px); margin: 0 auto; height: 2px; background: var(--line); }
.course__progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- 갤러리 ---------- */
.gallery { background: var(--bg-2); }
.masonry { columns: 3; column-gap: 18px; }
.mz { display: block; width: 100%; margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.mz img { width: 100%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.mz:hover img { transform: scale(1.05); filter: brightness(1.08); }
.mz:nth-child(3n+2) img { aspect-ratio: 3/4; object-fit: cover; }
.mz:nth-child(4n) img { aspect-ratio: 1; object-fit: cover; }

/* ---------- 리뷰 ---------- */
.reviews { overflow: hidden; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.score { display: flex; align-items: center; gap: 16px; }
.score > b { font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--accent); text-shadow: var(--glow); }
.score div { display: flex; flex-direction: column; }
.stars { color: #f5b93a; letter-spacing: 3px; font-size: 18px; }
.score small { color: var(--muted); }
.reviews__rail { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv__track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; padding: 10px 0; }
.reviews__rail:hover .rv__track { animation-play-state: paused; }
.rv { margin: 0; width: 360px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 14px; }
.rv__stars { color: #f5b93a; letter-spacing: 2px; }
.rv blockquote { margin: 0; flex: 1; font-size: 15px; line-height: 1.7; word-break: keep-all; }
.rv figcaption { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.rv figcaption b { color: var(--text); }

/* ---------- 예약 ---------- */
.reserve { background: var(--bg-2); }
.reserve__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.reserve__intro { position: sticky; top: 110px; }
.reserve__intro .lead { margin: 22px 0 26px; }
.reserve__perks { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 10px; }
.reserve__perks li { padding: 12px 16px; background: var(--surface); border-radius: var(--radius); border-left: 2px solid var(--accent); font-size: 15px; }
.reserve__switch { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.reserve__switch button { padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: all .25s; }
.reserve__switch button.is-on { background: var(--accent); color: var(--on-accent); }
.reserve__card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); min-height: 520px; overflow: hidden; }
.steps { display: flex; gap: 6px; margin-bottom: 26px; }
.steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); transition: background .4s; }
.steps i.is-on { background: var(--accent); }
.rstep { border: 0; padding: 0; margin: 0; display: none; min-width: 0; }
.rstep.is-on { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.rstep legend { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; margin-bottom: 18px; padding: 0; }
.rsum { margin: -8px 0 18px; color: var(--accent); font-weight: 600; font-size: 14px; }
.cal { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 18px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal__nav { width: 36px; height: 36px; border-radius: 50%; font-size: 22px; }
.cal__nav:hover:not(:disabled) { background: var(--surface-2); }
.cal__nav:disabled { opacity: .25; }
.cal__week, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__week span { font-size: 12px; color: var(--muted); padding: 6px 0; }
.cal__week .sun { color: #e0574a; } .cal__week .sat { color: #4a8be0; }
.cal__days button { aspect-ratio: 1; border-radius: 50%; font-size: 14px; font-variant-numeric: tabular-nums; transition: all .2s; position: relative; max-height: 46px; margin: auto; width: 100%; max-width: 46px; }
.cal__days button:hover:not(:disabled) { background: var(--surface-2); }
.cal__days button:disabled { opacity: .25; }
.cal__days button.is-closed { text-decoration: line-through; }
.cal__days button.is-today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal__days button.is-sel { background: var(--accent); color: var(--on-accent); box-shadow: var(--glow); }
.party { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 22px; font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; font-size: 20px; }
.stepper button:hover:not(:disabled) { background: var(--accent); color: var(--on-accent); }
.stepper button:disabled { opacity: .25; }
.stepper output { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.slots { min-height: 120px; }
.slots__group { margin-bottom: 16px; }
.slots__group > small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; margin-bottom: 8px; }
.slots__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots__row button { display: flex; flex-direction: column; align-items: center; padding: 10px 4px 8px; border: 1px solid var(--line); border-radius: var(--radius); transition: all .2s; }
.slots__row button b { font-variant-numeric: tabular-nums; font-size: 15px; }
.slots__row button small { font-size: 10.5px; color: #e0574a; line-height: 1.2; min-height: 13px; }
.slots__row button:hover:not(:disabled) { border-color: var(--accent); }
.slots__row button.is-sel { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.slots__row button.is-sel small { color: inherit; }
.slots__row button:disabled { opacity: .35; text-decoration: line-through; }
.seats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 24px; padding-top: 16px; border-top: 1px dashed var(--line); }
.seats button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.seats button[aria-pressed='true'] { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.rstep__nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 18px; }
.rstep__nav .btn { flex: 1; }
.field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  outline: none; transition: border-color .2s, box-shadow .2s; font-size: 15px; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }
.check a { color: var(--accent); text-decoration: underline; }
.rerr { min-height: 22px; color: #e0574a; font-size: 14px; margin: 6px 0 0; }
.rfind__lead { color: var(--muted); margin: 0 0 20px; }
#fResult { margin-top: 16px; }

/* 예약 티켓 */
.ticket { animation: fadeUp .6s ease; position: relative; }
.ticket__top { text-align: center; padding-bottom: 20px; }
.ticket__check { width: 64px; margin: 0 auto 14px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s .2s ease forwards; }
.ticket__top p { margin: 4px 0 0; letter-spacing: .2em; font-size: 12px; }
.ticket__info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; padding: 22px 0; border-block: 2px dashed var(--line); position: relative; }
.ticket__info::before, .ticket__info::after { content: ''; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); }
.ticket__info::before { left: calc(-1 * clamp(24px, 3.5vw, 40px) - 13px); }
.ticket__info::after { right: calc(-1 * clamp(24px, 3.5vw, 40px) - 13px); }
.ticket__info dt { font-size: 10px; letter-spacing: .25em; color: var(--muted); }
.ticket__info dd { margin: 2px 0 0; font-weight: 600; }
.ticket__code { text-align: center; padding: 22px 0 8px; }
.ticket__code small { color: var(--muted); font-size: 12px; letter-spacing: .2em; }
.ticket__code b { display: block; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 40px; letter-spacing: .25em; color: var(--accent); margin: 4px 0 12px; text-shadow: var(--glow); }
.ticket__bars { display: flex; justify-content: center; gap: 2px; height: 44px; }
.ticket__bars i { width: calc(var(--w) * 2px); background: var(--text); opacity: .85; }
.ticket__note { text-align: center; font-size: 13px; color: var(--muted); margin: 12px 0 20px; }
.ticket__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ticket__btns .btn--accent { grid-column: 1 / -1; }
.ticket__btns .btn--danger { grid-column: 1 / -1; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; background: var(--surface-2); }
.pill--pending { background: #ffb54733; color: #d18a1a; }
.pill--confirmed { background: #3ddc8433; color: #22a35e; }
.pill--cancelled, .pill--noshow { background: #ff5d5d22; color: #e0574a; }
.pill--seated { background: #4a8be033; color: #4a8be0; }

/* ---------- 오시는 길 ---------- */
.visit__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); }
.visit__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; border: 1px solid var(--line); background: var(--surface); }
.visit__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: var(--map-filter); display: block; }
.visit__info { display: flex; flex-direction: column; gap: 30px; }
.vblock h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: .25em; color: var(--accent); font-weight: 600; font-family: var(--font-body); text-transform: uppercase; }
.vaddr { font-size: 19px; margin: 0 0 10px; font-weight: 500; word-break: keep-all; }
.copy { font-size: 12px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.vmeta { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.navs { display: flex; gap: 8px; flex-wrap: wrap; }
.navbtn { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px 0 40px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: border-color .2s; }
.navbtn:hover { border-color: var(--accent); }
.navbtn::after { position: absolute; left: 6px; top: 50%; margin-top: -14px; width: 28px; height: 28px; border-radius: 50%; font: 800 13px/28px var(--font-body); text-align: center; color: #fff; }
.navbtn--naver::after { content: 'N'; background: #03c75a; }
.navbtn--kakao::after { content: 'K'; background: #fee500; color: #191600; }
.navbtn--google::after { content: 'G'; background: #4285f4; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-variant-numeric: tabular-nums; }
.hours th { width: 90px; font-weight: 500; }
.hours td small { display: block; color: var(--muted); font-size: 12px; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 700; }
.hours em { font-style: normal; font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--accent); color: var(--on-accent); margin-left: 4px; vertical-align: 2px; }
.hours .off { color: #e0574a; }
.vblock--row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 푸터 ---------- */
.footer { padding: 70px 0 120px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.logo--foot { color: var(--text); margin-bottom: 10px; }
.footer__tag { margin: 0; font-family: var(--font-display); font-size: 18px; color: var(--text); }
.footer__info p { margin: 0 0 4px; }
.footer__info a:hover { color: var(--accent); }
.footer__copy { margin-top: 12px !important; font-size: 12px; }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 22px; border: 1px dashed var(--line); border-radius: var(--radius-lg); font-size: 13px; }
.promo p { margin: 0; }
.promo b { color: var(--text); }
.promo__cta { color: var(--accent); font-weight: 700; white-space: nowrap; }
.promo__cta:hover { text-decoration: underline; }

/* ---------- 플로팅 ---------- */
.themer { position: fixed; right: 20px; bottom: 20px; z-index: 120; }
.themer__toggle {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-size: 12px; font-weight: 800; letter-spacing: .15em; box-shadow: 0 12px 30px rgba(0,0,0,.3);
  transition: transform .3s;
}
.themer__toggle:hover { transform: translateY(-2px); }
.themer__toggle svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.themer__panel { position: absolute; right: 0; bottom: 58px; width: 320px; max-height: 70vh; overflow: auto; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.4); animation: pop .3s; }
.themer__title { margin: 0 0 10px; font-size: 11px; letter-spacing: .2em; font-weight: 800; color: var(--muted); font-family: var(--font-body); }
.themer__title small { letter-spacing: 0; font-weight: 500; }
.themer__list { display: grid; gap: 4px; }
.themer__opt { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-align: left; transition: background .2s; border: 1px solid transparent; font-family: 'Pretendard Variable', Pretendard, sans-serif; }
.themer__opt:hover { background: var(--surface-2); }
.themer__opt[aria-pressed='true'] { border-color: var(--accent); background: var(--surface-2); }
.themer__opt b { display: block; font-size: 14px; }
.themer__opt small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.themer__sw { width: 42px; height: 42px; border-radius: 10px; flex: none; box-shadow: inset 0 0 0 1px rgba(127,127,127,.25); }
.themer__sw--noir { background: linear-gradient(135deg, #0d0b09 50%, #d9a15b 50%); }
.themer__sw--hanji { background: linear-gradient(135deg, #f1e9db 50%, #b3261e 50%); }
.themer__sw--trattoria { background: repeating-conic-gradient(#c4532d 0 25%, #fffaf3 0 50%) 0 0 / 14px 14px; }
.themer__sw--omakase { background: repeating-linear-gradient(90deg, #c9a779 0 3px, #b08c5c 3px 5px, #14120f 5px 12px); }
.themer__sw--neon { background: radial-gradient(circle at 30% 30%, #ff3d8b, transparent 50%), radial-gradient(circle at 70% 70%, #22e4ff, transparent 50%), #0a0b1d; }
.themer__sw--garden { background: linear-gradient(135deg, #f3f5ee 50%, #4b7a47 50%); }

.cartpill {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 110;
  height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.35), var(--glow); animation: pop .4s;
}
.cartpill[hidden] { display: none; }
.cartpill b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--on-accent); color: var(--accent); font-size: 12px; margin: 0 2px; }
.sheet { position: fixed; inset: 0; z-index: 300; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.sheet__panel { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(520px, 100%); max-height: 85vh; overflow: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 24px 22px calc(22px + env(safe-area-inset-bottom)); animation: up .4s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { transform: translate(-50%, 100%); } }
.sheet__head { display: flex; justify-content: space-between; align-items: center; }
.sheet__head h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; }
.sheet__head .x { position: static; }
.sheet__hint { color: var(--muted); font-size: 13px; margin: 4px 0 16px; }
.cart { list-style: none; margin: 0; padding: 0; }
.cart li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart li img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.cart li > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.cart li small { color: var(--muted); }
.cart__empty { justify-content: center; color: var(--muted); padding: 30px 0 !important; }
.qty { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; font-size: 16px; }
.qty button:hover { background: var(--accent); color: var(--on-accent); }
.qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.cart__total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 600; }
.cart__total b { font-size: 22px; color: var(--accent); }
.sheet__actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.staff { position: fixed; inset: 0; z-index: 2000; background: #fff; color: #111; display: grid; place-items: center; padding: 24px; overflow: auto; }
.staff__inner { width: min(640px, 100%); text-align: center; }
.staff__hi { font-size: 28px; font-weight: 800; margin: 0 0 24px; font-family: 'Pretendard Variable', sans-serif; }
.staff__hi small { display: block; font-size: 15px; color: #777; font-weight: 500; }
.staff ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.staff li { display: flex; justify-content: space-between; font-size: clamp(22px, 5vw, 34px); font-weight: 700; padding: 12px 0; border-bottom: 2px solid #eee; font-family: 'Pretendard Variable', sans-serif; }
.staff__sum { font-size: 26px; font-weight: 800; margin: 10px 0 30px; text-align: right; }
.toast { position: fixed; left: 50%; top: 90px; z-index: 2100; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 14px 30px rgba(0,0,0,.3); transition: all .35s cubic-bezier(.2,.8,.2,1); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.dock { display: none; }

/* ---------- 스크롤 등장 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.dish.reveal.is-in { transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s, opacity .9s var(--d, 0ms); }

/* ---------- 테마별 장식 ---------- */
/* 한지: 종이 질감 + 낙관 */
[data-theme='hanji'] body {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme='hanji'] .menu, [data-theme='hanji'] .gallery, [data-theme='hanji'] .reserve { background-color: rgba(120, 90, 50, .06); }
[data-theme='hanji'] .logo__mark { stroke: none; fill: var(--accent); }
[data-theme='hanji'] .logo__mark circle { fill: var(--accent); }
[data-theme='hanji'] .logo__mark path { fill: #faf5ec; }
[data-theme='hanji'] .eyebrow::before { width: 10px; height: 10px; background: var(--accent); }
[data-theme='hanji'] .dish, [data-theme='hanji'] .rv, [data-theme='hanji'] .reserve__card { border: 1px solid var(--line); box-shadow: 4px 4px 0 var(--line); }
[data-theme='hanji'] .section__head .h2::after { content: ''; display: block; width: 46px; height: 46px; margin-top: 18px; background: var(--accent); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='2' y='2' width='36' height='36' rx='3' fill='none' stroke='%23000' stroke-width='3'/%3E%3Ctext x='20' y='27' font-size='17' text-anchor='middle' font-family='serif' font-weight='bold'%3E溫%3C/text%3E%3C/svg%3E") center/contain no-repeat; transform: rotate(-6deg); opacity: .9; }
[data-theme='hanji'] .marquee span { -webkit-text-stroke-color: var(--text); }
/* 트라토리아: 깅엄 체크 */
[data-theme='trattoria'] .marquee { background: repeating-conic-gradient(rgba(196,83,45,.12) 0 25%, transparent 0 50%) 0 0 / 28px 28px; }
[data-theme='trattoria'] .eyebrow { font-family: 'Playfair Display', serif; font-style: italic; letter-spacing: .08em; font-size: 16px; text-transform: none; }
[data-theme='trattoria'] .dish { border: 2px dashed color-mix(in srgb, var(--accent) 30%, transparent); }
[data-theme='trattoria'] .hero__title { font-style: italic; }
/* 오마카세: 히노키 결 */
[data-theme='omakase'] .menu, [data-theme='omakase'] .reserve { background-image: repeating-linear-gradient(90deg, rgba(201,167,121,.025) 0 2px, transparent 2px 9px, rgba(201,167,121,.03) 9px 10px, transparent 10px 23px); }
[data-theme='omakase'] .h2 { font-size: clamp(28px, 4vw, 48px); }
[data-theme='omakase'] .eyebrow { letter-spacing: .5em; }
[data-theme='omakase'] .dish { border-color: transparent; border-bottom: 1px solid var(--accent); }
[data-theme='omakase'] .tabs button[aria-selected='true'] { background: transparent; color: var(--accent); box-shadow: inset 0 -1px 0 var(--accent); border-radius: 0; }
/* 네온: 글로우 + 격자 */
[data-theme='neon'] body { background-image: linear-gradient(rgba(120,120,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(120,120,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
[data-theme='neon'] .h2 { text-shadow: 0 0 18px rgba(34,228,255,.35); }
[data-theme='neon'] .eyebrow { color: var(--accent-2); text-shadow: 0 0 10px rgba(34,228,255,.8); }
[data-theme='neon'] .marquee span { -webkit-text-stroke-color: var(--accent-2); filter: drop-shadow(0 0 6px rgba(34,228,255,.6)); }
[data-theme='neon'] .marquee span:nth-of-type(3n+1) { color: var(--accent); text-shadow: var(--glow); }
[data-theme='neon'] .dish:hover { box-shadow: 0 0 0 1px var(--accent), 0 0 30px rgba(255,61,139,.45); }
[data-theme='neon'] .hero__title .ch { animation-name: rise, flicker; }
[data-theme='neon'] .is-ready .hero__title .ch { animation: rise 1s cubic-bezier(.2,.75,.15,1) calc(var(--i) * 40ms + .15s) forwards, flicker 4s calc(var(--i) * 300ms + 2s) infinite; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .4; } 94% { opacity: 1; } 96% { opacity: .6; } }
/* 가든: 부드러운 잎사귀 */
[data-theme='garden'] .menu::before, [data-theme='garden'] .reserve::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: 40px; border-radius: 60% 40% 55% 45%; background: radial-gradient(circle, rgba(75,122,71,.12), transparent 70%); pointer-events: none; }
[data-theme='garden'] .dish { border: 0; box-shadow: 0 10px 30px -18px rgba(40,70,40,.4); }
[data-theme='garden'] .eyebrow::before { content: '❦'; width: auto; height: auto; background: none; font-size: 16px; }

/* View Transition (테마 전환) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .7s; }
::view-transition-new(root) { animation-name: wipe; }
@keyframes wipe { from { clip-path: circle(0 at calc(100% - 60px) calc(100% - 40px)); } to { clip-path: circle(150% at calc(100% - 60px) calc(100% - 40px)); } }
::view-transition-old(root) { animation: none; }

/* 커스텀 커서 사용 시 기본 커서 감춤 (링크 제외) */
.has-cursor [data-cursor] { cursor: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: var(--bg); color: var(--text); font-family: var(--font-display); font-size: 34px;
    clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .6s cubic-bezier(.7,0,.2,1); visibility: hidden;
  }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
  .nav-open .header { color: var(--text); }
  .nav-open { overflow: hidden; }
  .header__tools .btn { display: none; }
  .story__grid, .reserve__grid, .visit__grid { grid-template-columns: 1fr; }
  .reserve__intro { position: static; }
  .modal__inner { grid-template-columns: 1fr; }
  .dm__img img { min-height: 0; aspect-ratio: 16/10; }
  .masonry { columns: 2; column-gap: 12px; }
  .mz { margin-bottom: 12px; }
  .visit__map, .visit__map iframe { min-height: 320px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .header__inner { height: 64px; }
  .hero__content { padding-bottom: 124px; }
  .hero__cta .btn { flex: 1; padding: 0 16px; --h: 52px; }
  .sizzle { right: auto; left: 20px; bottom: 70px; padding: 8px 12px; font-size: 12px; }
  .hero__scroll { display: none; }
  .hero__dots { bottom: 24px; }
  .status { font-size: 12.5px; padding: 8px 14px; }
  .story__media::before { inset: 14px -10px -14px 14px; }
  .menu__bar { flex-direction: column; align-items: stretch; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; width: calc(100% + 40px); min-width: 0; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { white-space: nowrap; flex: none; }
  .menu__tools { width: 100%; }
  .search { flex: 1; } .search input { width: 100%; }
  .menu__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dish__body { padding: 12px 12px 12px; }
  .dish__body h3 { font-size: 15px; }
  .dish__body p { display: none; }
  .dish__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .dish__foot b { font-size: 15px; }
  .add { height: 32px; }
  .tag { font-size: 10px; padding: 3px 7px; }
  .rv { width: 290px; padding: 22px; }
  .score > b { font-size: 56px; }
  .ticket__code b { font-size: 30px; }
  .slot { --ih: 120px; }
  .slot__item img { width: 84px; height: 84px; }
  .slot__item span { font-size: 17px; }
  .lb__nav { width: 44px; height: 44px; bottom: 60px; top: auto; transform: none; }
  .footer { padding-bottom: 150px; }
  .dock {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 115;
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; font-size: 11px; color: var(--muted); }
  .dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
  .dock__main { color: var(--accent) !important; font-weight: 700; }
  .themer { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; }
  .themer__toggle { height: 42px; padding: 0 14px; }
  .themer__toggle span { display: none; }
  .themer__panel { width: calc(100vw - 24px); }
  .cartpill { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .toast { top: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__title .ch { transform: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .header, .dock, .themer, .cartpill, .intro, .cursor, .sizzle { display: none !important; }
}
