/* ============================================================
   목멱산방 — 전역 스타일
   한옥/자연에서 영감을 받은 따뜻한 톤 (먹색 · 소나무 · 한지)
   ============================================================ */

:root {
  --ink: #1c1a17;          /* 먹색 */
  --ink-soft: #3a352e;
  --paper: #f7f3ea;        /* 한지 */
  --paper-2: #efe8da;
  --pine: #4b5d43;         /* 소나무 초록 */
  --pine-deep: #33422d;
  --clay: #a5603c;         /* 흙/기와 */
  --gold: #b48a3c;         /* 유기 그릇 금색 */
  --line: #d9cfbd;
  --muted: #7c7264;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(28, 26, 23, 0.12);
  --serif: 'Noto Serif KR', serif;
  --sans: 'Noto Sans KR', sans-serif;
  --display: 'Cormorant Garamond', 'Noto Serif KR', serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow {
  font-family: var(--display);
  font-size: 1.05rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--clay); display: block; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--ink); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }
.divider-leaf { width: 46px; height: 2px; background: var(--pine); margin: 18px auto 0; position: relative; }
.divider-leaf::before { content: '\f06c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--pine); position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 0.8rem; background: var(--paper); padding: 0 6px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 2px; font-family: var(--sans);
  font-weight: 500; font-size: 0.98rem; letter-spacing: 0.02em;
  transition: all 0.25s ease; cursor: pointer; border: 1.5px solid transparent;
}
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { border-color: rgba(255,255,255,0.8); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }

/* ============================================================
   헤더 / 내비게이션
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 243, 234, 0.0);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 8px 0;
}
.site-header.scrolled { background: rgba(247, 243, 234, 0.97); box-shadow: 0 2px 20px rgba(28,26,23,0.08); backdrop-filter: blur(6px); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-logo { height: 46px; width: auto; transition: filter 0.35s ease; }
/* 초기(투명 헤더/히어로 위) 로고를 흰색으로 */
.site-header:not(.scrolled) .brand-logo { filter: brightness(0) invert(1); }

.main-nav ul { display: flex; gap: 34px; }
.main-nav a { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 0.92rem; color: var(--ink); transition: color 0.25s; position: relative; padding: 6px 0; }
.site-header:not(.scrolled) .main-nav a { color: #fff; }
.main-nav .nav-en { font-family: var(--display); font-size: 1.02rem; letter-spacing: 0.08em; }
.main-nav .nav-ko { font-size: 0.72rem; opacity: 0.8; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 1.5px; background: var(--clay); transition: width 0.28s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.nav-actions { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.nav-reserve-btn,
.nav-instagram-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; background: var(--clay); color: #fff !important;
  border-radius: 2px; font-size: 0.88rem; font-weight: 500; transition: all 0.25s;
}
.nav-instagram-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.42);
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
}

.nav-instagram-btn img {
  width: 21px;
  height: 21px;
  display: block;
  object-fit: contain;
}
.mobile-nav .mobile-instagram img {
  width: 20px;
  height: 20px;
  display: inline-block;
  object-fit: contain;
  vertical-align: -4px;
  margin-right: 6px;
}

.nav-instagram-btn span { display: none; }
.site-header.scrolled .nav-instagram-btn {
  background: #fff;
  color: var(--ink) !important;
  border-color: var(--line);
}
.nav-reserve-btn:hover { background: #8a4e30; transform: translateY(-1px); }
.nav-instagram-btn:hover { background: #c13584; border-color: #c13584; color: #fff !important; transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: all 0.3s; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }

.mobile-nav { display: none; }

/* ============================================================
   히어로
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.6s cubic-bezier(0.45, 0, 0.25, 1);
  animation: heroKenburns 18s ease-in-out infinite alternate;
  will-change: opacity, transform;
}
.hero-slide:nth-child(2) { animation-delay: -6s; }
.hero-slide:nth-child(3) { animation-delay: -12s; }
.hero-slide.active { opacity: 1; }
@keyframes heroKenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.13) translate3d(1.2%, -1.2%, 0); }
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0.5) 0%, rgba(20,18,15,0.35) 45%, rgba(20,18,15,0.65) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); letter-spacing: 0.16em; text-transform: none;
  font-size: 0.82rem; border: 1px solid rgba(255,255,255,0.58);
  padding: 8px 20px; border-radius: 999px; margin-bottom: 28px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: 0 14px 38px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(3px);
}
.hero-badge i { font-size: 0.95rem; opacity: 0.96; }
.hero-badge-text { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.hero-badge-ko { font-family: var(--serif); font-weight: 500; letter-spacing: 0.18em; }
.hero-badge-en { font-family: var(--display); font-size: 0.66rem; letter-spacing: 0.18em; opacity: 0.76; text-transform: uppercase; }
.hero-badge-years { font-family: var(--display); letter-spacing: 0.24em; opacity: 0.9; white-space: nowrap; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 600; margin-bottom: 8px; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.hero .hero-hanja { font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.3rem); letter-spacing: 0.5em; opacity: 0.85; margin-bottom: 22px; }
.hero .hero-tagline { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 300; margin-bottom: 12px; }
.hero .hero-sub { font-size: 0.98rem; opacity: 0.85; margin-bottom: 38px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-menu-btn {
  min-width: 190px; justify-content: center; flex-direction: column; gap: 3px;
  padding: 14px 34px 13px; line-height: 1.1;
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 12px 30px rgba(0,0,0,0.18);
}
.hero-menu-btn .btn-ko { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; letter-spacing: 0.06em; }
.hero-menu-btn .btn-en { font-family: var(--display); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.78; }
.hero-menu-btn:hover .btn-en { opacity: 0.9; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: 0.72rem; letter-spacing: 0.2em; opacity: 0.85; animation: bob 2s ease-in-out infinite; }
.hero-scroll i { display: block; margin-top: 6px; font-size: 1rem; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ============================================================
   인트로 / 스토리 발췌
   ============================================================ */
.intro { background: var(--paper); position: relative; }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.intro-text .eyebrow { font-family: var(--display); letter-spacing: 0.26em; text-transform: uppercase; color: var(--clay); font-size: 1rem; }
.intro-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 16px 0 24px; }
.intro-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.03rem; }
.intro-text .sig { font-family: var(--serif); color: var(--muted); font-style: italic; }
.intro-img { position: relative; }
.intro-img img { border-radius: 3px; box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.intro-img .stamp { position: absolute; bottom: -26px; right: -18px; width: 118px; height: 118px; background: #fff; border-radius: 50%; padding: 10px; box-shadow: var(--shadow); }

/* ---------- 미쉐린 스트립 ---------- */
.michelin-strip { background: var(--ink); color: var(--paper); padding: 44px 0; }
.michelin-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; text-align: center; }
.michelin-inner .m-icon { font-size: 2.2rem; color: var(--clay); }
.michelin-inner h3 { color: var(--paper); font-size: 1.3rem; }
.michelin-inner .m-years { display: flex; gap: 14px; }
.michelin-inner .m-years span { border: 1px solid rgba(247,243,234,0.4); padding: 6px 16px; border-radius: 40px; font-family: var(--display); letter-spacing: 0.1em; }

/* ============================================================
   시그니처 그리드
   ============================================================ */
.signatures { background: var(--paper-2); }
.sig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sig-card { position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 3/4; box-shadow: var(--shadow); }
.sig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.sig-card:hover img { transform: scale(1.08); }
.sig-card .sig-label { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(180deg, transparent 40%, rgba(20,18,15,0.75) 100%); color: #fff; }
.sig-card .sig-label strong { font-family: var(--serif); font-size: 1.1rem; }
.sig-card .sig-label span { font-family: var(--display); font-size: 0.85rem; opacity: 0.85; letter-spacing: 0.05em; }

/* ============================================================
   메뉴 미리보기 / 메뉴 페이지
   ============================================================ */
.menu-section { background: var(--paper); }
.menu-cat { margin-bottom: 64px; }
.menu-cat:last-child { margin-bottom: 0; }
.menu-cat-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 28px; }
.menu-cat-head h3 { font-size: 1.6rem; }
.menu-cat-head .cat-en { font-family: var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); font-size: 0.95rem; }
.menu-cat-head .cat-note { margin-left: auto; color: var(--muted); font-size: 0.85rem; font-style: italic; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; }
.menu-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-item-main { flex: 1; }
.menu-item .mi-name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.menu-item .mi-en { display: block; font-family: var(--display); font-size: 0.9rem; color: var(--muted); letter-spacing: 0.03em; margin-top: 1px; }
.menu-item .mi-desc { font-size: 0.86rem; color: var(--muted); margin-top: 5px; }
.menu-item .mi-price { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--clay); white-space: nowrap; }
.tag { font-size: 0.66rem; font-weight: 700; padding: 2px 8px; border-radius: 40px; letter-spacing: 0.04em; vertical-align: middle; }
.tag-vegan { background: #e5efdd; color: var(--pine-deep); }
.tag-sig { background: var(--clay); color: #fff; }

.menu-guide { background: var(--paper-2); border-radius: 4px; padding: 34px 40px; margin-top: 20px; }
.menu-guide h3 { font-size: 1.2rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.menu-guide ol { padding-left: 4px; counter-reset: g; display: grid; gap: 12px; }
.menu-guide li { list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.menu-guide li::before { counter-increment: g; content: counter(g); flex-shrink: 0; width: 26px; height: 26px; background: var(--pine); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 0.82rem; font-weight: 700; }
.menu-guide .g-en { color: var(--muted); font-size: 0.82rem; }

/* ============================================================
   공간(Space)
   ============================================================ */
.space-section { background: var(--paper); }
.space-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.space-item { position: relative; overflow: hidden; border-radius: 3px; cursor: pointer; }
.space-item.wide { grid-column: span 2; }
.space-item.tall { grid-row: span 2; }
.space-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.space-item:hover img { transform: scale(1.07); }
.space-item .cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; background: linear-gradient(180deg, transparent 50%, rgba(20,18,15,0.72) 100%); color: #fff; opacity: 0; transition: opacity 0.35s; }
.space-item:hover .cap { opacity: 1; }
.space-item .cap strong { font-family: var(--serif); font-size: 1.05rem; }
.space-item .cap span { font-size: 0.82rem; opacity: 0.9; }

/* ---------- 페이지 히어로 (서브페이지 상단) ---------- */
.page-hero { position: relative; min-height: 52vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: rgba(20,18,15,0.5); z-index: 1; }
.page-hero .ph-content { position: relative; z-index: 2; padding: 90px 24px 0; }
.page-hero .eyebrow { font-family: var(--display); letter-spacing: 0.28em; text-transform: uppercase; font-size: 0.9rem; opacity: 0.9; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 12px; text-shadow: 0 2px 24px rgba(0,0,0,0.4); }
.page-hero p { margin-top: 14px; opacity: 0.9; }

/* ---------- breadcrumb ---------- */
.breadcrumb { background: var(--paper-2); padding: 14px 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--clay); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ============================================================
   스토리 페이지
   ============================================================ */
.story-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 90px; }
.story-block:nth-child(even) .story-img { order: 2; }
.story-block:last-child { margin-bottom: 0; }
.story-img img { border-radius: 3px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.story-img img.awards-img { object-fit: contain; background: #f7f2e8; padding: 10px; }
.story-text .num { font-family: var(--display); font-size: 2.4rem; color: var(--line); line-height: 1; }
.story-text h3 { font-size: 1.6rem; margin: 6px 0 18px; }
.story-text p { color: var(--ink-soft); font-size: 1.03rem; }

/* ============================================================
   Info / 오시는 길
   ============================================================ */
.info-section { background: var(--paper); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 34px 36px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.35rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; color: var(--pine-deep); }
.info-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .lbl { flex-shrink: 0; width: 96px; font-weight: 600; color: var(--ink); }
.info-row .val { color: var(--ink-soft); }
.info-row .val a { color: var(--clay); }
.hours-branch { margin-bottom: 6px; }
.hours-branch strong { color: var(--pine-deep); }
.map-embed { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 380px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 380px; background: var(--paper-2); text-align: center; padding: 30px; }
.map-fallback i { font-size: 2.4rem; color: var(--clay); }
.map-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.map-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 158px; padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid rgba(28,26,23,0.22); background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 0.94rem; font-weight: 600; letter-spacing: 0.03em;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.map-link:hover { background: rgba(28,26,23,0.04); border-color: rgba(28,26,23,0.42); transform: translateY(-2px); }
.map-symbol {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: currentColor; font-family: var(--sans); font-size: 0.82rem; font-weight: 800; line-height: 1;
}
.map-symbol i { font-size: 0.98rem; color: currentColor; }

.reserve-cta { background: var(--pine-deep); color: #fff; text-align: center; padding: 70px 0; }
.reserve-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.reserve-cta p { opacity: 0.85; margin: 14px 0 30px; }

/* ---------- CTA 밴드 (메인 하단) ---------- */
.cta-band { position: relative; text-align: center; color: #fff; padding: 110px 0; overflow: hidden; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: rgba(20,18,15,0.6); z-index: 1; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { opacity: 0.9; margin: 16px 0 32px; font-size: 1.05rem; }

/* ============================================================
   푸터
   ============================================================ */
.site-footer { background: var(--ink); color: #cbc3b5; padding: 64px 0 0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 48px; display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 48px; }
.footer-logo { height: 90px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; margin-bottom: 16px; }
.footer-tagline { font-family: var(--serif); font-size: 1.05rem; color: var(--paper); }
.footer-michelin { margin-top: 12px; font-size: 0.86rem; color: var(--gold); }
.footer-info h3, .footer-links h3 { color: var(--paper); font-size: 1.05rem; margin-bottom: 16px; }
.footer-info p { font-size: 0.9rem; margin-bottom: 9px; }
.footer-info i { color: var(--clay); width: 18px; }
.footer-info a:hover, .footer-links a:hover { color: var(--paper); }
.footer-links li { margin-bottom: 9px; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px; text-align: center; font-size: 0.8rem; color: #8b8375; }


.mobile-floating-instagram {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 91;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 50px;
  height: 50px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.76);
  box-shadow: 0 8px 22px rgba(0,0,0,0.20);
  backdrop-filter: blur(8px);
  color: #c13584;
  font-size: 0.8rem;
  font-weight: 700;
}
.mobile-floating-instagram img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

/* ---------- 플로팅 예약 버튼 ---------- */
.floating-reserve { position: fixed; right: 22px; bottom: 22px; z-index: 90; background: var(--clay); color: #fff; display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 40px; box-shadow: 0 8px 24px rgba(165,96,60,0.45); font-weight: 500; font-size: 0.9rem; transition: all 0.25s; }
.floating-reserve:hover { background: #8a4e30; transform: translateY(-3px); }

/* ============================================================
   스크롤 애니메이션
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .intro-grid, .story-block, .story-block:nth-child(even) .story-img, .info-grid { grid-template-columns: 1fr; }
  .story-block:nth-child(even) .story-img { order: 0; }
  .story-img { max-width: 520px; margin: 0 auto; }
  .sig-grid { grid-template-columns: repeat(2, 1fr); }
  .space-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .menu-list { grid-template-columns: 1fr; gap: 0 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .site-header { background: rgba(247,243,234,0.97); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
  .site-header .brand-logo { filter: none; }
  .site-header .nav-toggle span { background: var(--ink); }
  .mobile-nav { display: block; max-height: 0; overflow: hidden; background: var(--paper); transition: max-height 0.4s ease; }
  .mobile-nav.open { max-height: 420px; border-top: 1px solid var(--line); }
  .mobile-nav ul { padding: 12px 24px; }
  .mobile-nav li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.05rem; }
  .mobile-nav li a em { font-family: var(--display); font-style: normal; color: var(--muted); font-size: 0.85rem; }
  .mobile-nav .mobile-reserve { color: var(--clay); font-weight: 600; }
  .mobile-nav .mobile-instagram { color: #c13584; font-weight: 600; }
  .mobile-nav .mobile-instagram i { font-size: 1.12rem; }
  .mobile-floating-instagram {
    display: inline-flex;
    width: 54px;
    min-width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
  }
  .mobile-floating-instagram span { display: none; }
  .mobile-floating-instagram img { width: 27px; height: 27px; }

  .hero-badge { gap: 8px; padding: 8px 14px; letter-spacing: 0.08em; max-width: calc(100vw - 42px); }
  .hero-badge-text { flex-direction: column; gap: 2px; align-items: flex-start; }
  .hero-badge-ko { letter-spacing: 0.12em; font-size: 0.76rem; }
  .hero-badge-en { letter-spacing: 0.12em; font-size: 0.55rem; }
  .hero-badge-years { letter-spacing: 0.16em; font-size: 0.72rem; }
  .hero-menu-btn { min-width: 168px; padding: 13px 28px 12px; }
  .hero-menu-btn .btn-ko { font-size: 0.98rem; }
  .hero-menu-btn .btn-en { font-size: 0.62rem; }

  .michelin-inner { gap: 20px; }
  .floating-reserve {
    width: 54px;
    min-width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.76);
    box-shadow: 0 8px 22px rgba(0,0,0,0.20);
    backdrop-filter: blur(8px);
    color: #39bf6a;
  }
  .floating-reserve i {
    font-size: 27px;
    line-height: 1;
    color: #39bf6a;
  }
  .floating-reserve span { display: none; }
  .floating-reserve:hover { background: rgba(255,255,255,0.98); color: #2fad5b; transform: translateY(-2px); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-info i { width: auto; }
  .cta-band, .page-hero { padding-left: 0; padding-right: 0; }
}
