/* ==========================================================================
   무쇠뚜껑 — 다국어 정적 사이트
   무쇠 질감 차콜/철흑 + 숙성김치 딥레드 1포인트. 타이포그래피 중심. 모바일 우선.
   외부 CDN·웹폰트 없음(시스템 폰트 스택), JS 없음.
   ========================================================================== */

:root {
  --bg: #161514;          /* 철흑 */
  --bg-raised: #1e1c1a;   /* 무쇠 표면 */
  --bg-deep: #100f0e;
  --line: #2e2b28;        /* 헤어라인 */
  --line-soft: #26231f;
  --ink: #ece7e0;         /* 웜 오프화이트 */
  --ink-dim: #a89f95;
  --ink-faint: #6f675f;
  --red: #b23a30;         /* 숙성김치 딥레드 */
  --red-deep: #7f261f;
  --red-ink: #e3675c;     /* 어두운 배경 위 텍스트용 레드 */
  --radius: 6px;
  --shell: 1100px;
  --narrow: 720px;
  --cta-h: 60px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "PingFang TC", "Microsoft JhengHei",
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(178, 58, 48, 0.06), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px)); /* 모바일 고정 CTA 공간 */
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--red-ink);
  outline-offset: 3px;
}

/* ---------- 레이아웃 셸 ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}

.shell.narrow { max-width: var(--narrow); }

.section {
  padding-top: clamp(56px, 10vw, 104px);
  padding-bottom: clamp(56px, 10vw, 104px);
  border-top: 1px solid var(--line-soft);
}

/* ---------- 타이포그래피 ---------- */

h1 {
  margin: 0 0 0.4em;
  font-size: clamp(2.3rem, 7.5vw, 4.2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 0.9em;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.kicker {
  margin: 0 0 1.1em;
  color: var(--red-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

.intro, .map-body { color: var(--ink-dim); max-width: 60ch; }

.star { color: var(--red-ink); }

/* ---------- 헤더 ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(22, 21, 20, 0.92);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover { color: var(--ink); }

.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.lang-switcher {
  margin-left: auto;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.lang-switcher a {
  text-decoration: none;
  color: var(--ink-faint);
  font-size: 0.78rem;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.lang-switcher a:hover { color: var(--ink); }

.lang-switcher a[aria-current="true"] {
  color: var(--ink);
  border-color: var(--line);
  background: var(--bg-raised);
}

/* ---------- 히어로 ---------- */

.hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
  background:
    linear-gradient(180deg, rgba(127, 38, 31, 0.10), transparent 45%),
    var(--bg-deep);
}

.hero-grid {
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.hero-sub {
  color: var(--ink-dim);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.6em;
}

.hero-photo {
  margin: 0;
  position: relative;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 72vh;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* 무쇠 프레임 느낌의 오프셋 라인 */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--red-deep);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* ---------- 버튼 ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-solid {
  background: var(--red);
  color: #fff;
}

.btn-solid:hover { background: var(--red-deep); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--ink-faint); }

.section-action { margin-top: 2em; }

/* ---------- 스플릿 섹션 ---------- */

.split {
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
}

.split-copy h2 { margin-top: 0; }
.split-copy h2:not(:first-child) { margin-top: 1.8em; }
.split-copy p { color: var(--ink-dim); }

/* ---------- 사진 플레이스홀더 (data-slot) ---------- */

.photo-slot {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  aspect-ratio: 4 / 3;
  padding: 24px;
  border: 1px dashed #3d3833;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, 0.012) 0 10px,
      transparent 10px 20px),
    var(--bg-raised);
  color: var(--ink-faint);
}

.photo-slot-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-ink);
  border: 1px solid var(--red-deep);
  border-radius: 999px;
  padding: 3px 10px;
}

.photo-slot-label {
  font-size: 0.92rem;
  color: var(--ink-dim);
  max-width: 30ch;
}

.slot-row {
  display: grid;
  gap: 20px;
  margin-top: clamp(28px, 5vw, 44px);
}

@media (min-width: 640px) {
  .slot-row { grid-template-columns: 1fr 1fr; }
}

.slot-col {
  display: grid;
  gap: 20px;
}

/* ---------- 홈: 인포 ---------- */

.chips {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.9rem;
  color: var(--ink-dim);
}

.rating-line {
  color: var(--ink-dim);
  font-size: 1rem;
}

.rating-line strong {
  color: var(--ink);
  font-size: 1.15rem;
}

/* ---------- 지도 ---------- */

.map-embed {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raised);
  margin-top: 1.6em;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(0.25) contrast(1.02);
}

.map-tall iframe { height: 440px; }

/* ---------- 메뉴 ---------- */

.page-head {
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(180deg, rgba(127, 38, 31, 0.08), transparent 60%),
    var(--bg-deep);
}

.menu-list .photo-slot { margin-bottom: clamp(32px, 6vw, 48px); }

.menu-section { margin-bottom: clamp(40px, 7vw, 64px); }
.menu-section:last-of-type { margin-bottom: 0; }

.menu-section > h2 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 0;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.menu-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.menu-item h3 { flex: 1 1 auto; }

.menu-price {
  flex: 0 0 auto;
  color: var(--red-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.menu-item p {
  margin: 0.45em 0 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
  max-width: 62ch;
}

.menu-note {
  margin-top: clamp(28px, 5vw, 40px);
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* ---------- 위치 ---------- */

.addr-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: clamp(24px, 4vw, 36px);
}

.addr-card .hero-actions { margin-top: 1.4em; }

/* ---------- NAP (푸터·주소 카드 공용) ---------- */

.nap {
  margin: 0;
}

.nap-row {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  align-items: baseline;
}

.nap-row dt {
  flex: 0 0 5.5em;
  color: var(--ink-faint);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.nap-row dd {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.nap-row dd a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--red-deep);
}

/* ---------- 푸터 ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding-top: clamp(40px, 7vw, 64px);
  padding-bottom: clamp(40px, 7vw, 64px);
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.2em;
}

.footer-descriptor {
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin: 0 0 1.4em;
}

.footer-rating {
  margin-top: 1.4em;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

/* ---------- 모바일 하단 고정 CTA ---------- */

.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  height: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--line);
}

.cta {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.cta-directions {
  background: var(--red);
  color: #fff;
}

.cta-call {
  background: var(--bg-raised);
  color: var(--ink);
}

@media (min-width: 861px) {
  .cta-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 인쇄 ---------- */

@media print {
  .cta-bar, .lang-switcher, .map-embed { display: none; }
  body { background: #fff; color: #111; }
}

/* ---------- 실사진 (photo_slot 렌더) ---------- */

.photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raised);
}

.photo img {
  width: 100%;
  height: auto;
  display: block;
}
