/* ═══════════════════════════════════════════════════════════════════
   색·글꼴·간격 토큰 — 1965원조제일돌곱창 상무점 · 디자인 '흰 간판' (2026-09-30)

   컨셉: 가게 간판처럼 깨끗한 흰 바탕에 먹색 글자, 붉은색은 간판 '원조'만큼만.
   장식 상자·두꺼운 테두리·큰 붉은 면을 쓰지 않는다(광고 전단처럼 보이지 않게). 사진과 여백, 가는 선으로 짠다.
   색은 모두 가게 공간·간판 사진에서 잰 값(research/PALETTE.md, research/palette-measured.json)이다.
   대비는 python tools/contrast.py 로 확인한다.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ── 바탕: 흰 외벽·흰 간판 ── */
  --paper:    #FFFFFF; /* 페이지 바탕 — 순백 간판 */
  --paper-2:  #F5F5F3; /* 번갈아 쓰는 띠 — 흰 판벽의 그늘 */
  --paper-3:  #E4E2DD; /* 가는 선 */
  --sign:     #FFFFFF; /* 정보 판 바탕 */

  /* ── 먹색: 간판 붓글씨 sign-ink #1b2031 · 노출 천장 #29272b ── */
  --ink:      #17191F; /* 본문·제목 */
  --ink-2:    #4A4C54; /* 보조 글자 */
  --night-0:  #16171B; /* 바닥글 바탕 */
  --night:    #16171B;
  --night-3:  #2E3037; /* 먹색 바탕 위 선 */
  --lamp:     #EEEBE5; /* 먹색 바탕 위 글자 */
  --lamp-2:   #B8B4AD; /* 먹색 바탕 위 보조 글자 */

  /* ── 원조: 간판 '원조' #ab222b ── */
  --wonjo:    #B3232C; /* 흰 바탕 위 붉은 글자·로고 '원조' */
  --wonjo-hi: #EE5B62; /* 먹색 바탕 위 붉은 글자 */
  --frame:    #C41D2F; /* 붉은 문틀 — 아주 가는 선에만 */

  /* ── 재질 ── */
  --pine:     #D3A983; /* 소나무 식탁 — 먹색 바탕 위 이름표 */
  --floor:    #7A4A37; /* 적갈색 바닥 — 흰 바탕 위 이름표 */
  --steel:    #8A8B8D; /* 스테인리스 배기 덕트 — 가는 선 */
  --open:     #2F7D4F; /* '지금 영업 중' 점 */

  /* 로고(간판 글씨 SVG)가 부르는 이름 — 먹색 --ink 와 붉은 '원조' --seal */
  --seal: var(--wonjo);

  /* ── 구역 색: 기본은 흰 바탕. .zone-alt(연회색 띠) · .zone-night(먹색 띠) ── */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --line: var(--paper-3);
  --accent-text: var(--wonjo);
  --label: var(--floor);
  --link-hover: var(--wonjo);
  --focus: var(--wonjo);

  /* ── 글꼴: 한 가족(IBM Plex Sans KR)으로 — 제목은 굵기와 크기로만 구분한다 ── */
  --font-display: 'Plex KR', 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-body: 'Plex KR', 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  /* 글자 크기 — 한 단계에 ×1.25 */
  --t-xs: 0.8rem;
  --t-sm: 0.9rem;
  --t-base: 1.0625rem;   /* 17px — 한글 본문은 16px보다 한 치 크게 */
  --t-lg: 1.25rem;
  --t-xl: 1.563rem;
  --t-2xl: 1.953rem;
  --t-3xl: 2.441rem;
  --t-4xl: 3.052rem;

  /* 간격 — 4px 단위 */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-6: 1.5rem; --s-8: 2rem;
  --s-12: 3rem; --s-16: 4rem; --s-24: 6rem; --s-32: 8rem;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: 'Plex KR';
  src: url('/assets/fonts/plex-jeil-400.woff2?v=eb2057f006') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex KR';
  src: url('/assets/fonts/plex-jeil-600.woff2?v=eb2057f006') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════════
   1965원조제일돌곱창 상무점 — 사이트 스타일 · 디자인 '흰 간판'
   - 가게 간판처럼 깨끗한 흰 바탕에 먹색 글자. 붉은색은 로고의 '원조'와 아주 작은 표시에만.
   - 첫 화면: 흰 여백 한가운데 간판 붓글씨 로고(H1) → 아래로 넓게 깐 한 판 사진. 영상은 쓰지 않는다.
   - 상자·두꺼운 테두리·붉은 면·굵은 광고 글씨를 쓰지 않는다. 사진, 여백, 가는 선, 글자 크기로만 위계를 만든다.
   - 글꼴은 IBM Plex Sans KR 한 가족(400·600). 제목은 크기와 자간으로 구분한다.
   ═══════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); color-scheme: light; background: var(--paper); }
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.8;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;          /* 한글이 낱자로 끊기지 않게 */
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.24em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
@media (min-width: 600px) { .keep-wide { white-space: nowrap; } }   /* 넓은 화면에서만 한 덩어리 */
.d-font { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
/* 줄 끝에 한두 글자만 남지 않게(지원하는 브라우저에서) */
p, li, dd, figcaption, blockquote, td { text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 820px); }

/* ── 구역 색 — 흰 바탕(기본) · 연회색 띠 · 흰 판 · 먹색 띠. 안쪽 요소는 --fg·--line 같은 이름만 쓴다 ── */
.zone-alt { --bg: var(--paper-2); background: var(--bg); }
.zone-sign, .board {
  --bg: var(--sign); --fg: var(--ink); --fg-2: var(--ink-2); --line: var(--paper-3);
  --accent-text: var(--wonjo); --label: var(--floor); --link-hover: var(--wonjo); --focus: var(--wonjo);
  background: var(--bg); color: var(--fg);
}
.zone-night, .site-footer {
  --bg: var(--night); --fg: var(--lamp); --fg-2: var(--lamp-2); --line: var(--night-3);
  --accent-text: var(--wonjo-hi); --label: var(--pine); --link-hover: var(--pine); --focus: var(--pine);
  background: var(--bg); color: var(--fg);
}
/* 판 — 흰 바탕에 가는 선 한 줄. 연회색 띠 위에서는 흰 종이처럼 뜬다 */
.board { --board-pad: clamp(1.4rem, 1rem + 2.2vw, 2.75rem); position: relative; padding: var(--board-pad); border: 1px solid var(--paper-3); }

/* ── 건너뛰기 링크 ── */
.skip-link { position: fixed; left: 50%; top: -100px; transform: translateX(-50%); z-index: 1000; padding: 0.7rem 1.2rem; background: var(--ink); color: #fff; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 0; color: #fff; }

/* ═══════════════════ 머리말 ═══════════════════ */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--paper-3); }
.header-inner { display: flex; align-items: center; gap: var(--s-8); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-flex; align-items: center; }
.brand-mark .logo { height: 26px; width: auto; }
.brand-branch { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.18em; color: var(--ink-2); }
.bm-wonjo { color: var(--wonjo); font-weight: 600; margin-right: 0.2em; }
.bm-name { font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: var(--s-6); list-style: none; }
.site-nav a { display: block; text-decoration: none; font-size: var(--t-sm); font-weight: 600; padding: 0.55rem 0; color: var(--ink-2); background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 0 1.5px; transition: color 0.2s, background-size 0.2s; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background-size: 100% 1.5px; }
.header-call { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 42px; padding: 0.5rem 0.95rem; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: var(--t-sm); font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.header-call:hover { background: var(--ink); color: #fff; }
.hc-label { font-weight: 400; color: inherit; opacity: 0.8; }
@media (max-width: 1180px) { .site-nav ul { gap: var(--s-4); } .hc-label { display: none; } }
/* 폰·태블릿: 머리말은 따라오지 않는다(아래 고정 막대가 전화·길찾기·메뉴를 맡는다). 메뉴는 옆으로 밀리는 한 줄 */
@media (max-width: 900px) {
  html { scroll-padding-top: 64px; }
  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; gap: 0 var(--s-3); min-height: 0; padding-top: 12px; }
  .brand-mark .logo { height: 22px; }
  .header-call { margin-left: auto; min-height: 38px; padding: 0.4rem 0.8rem; }
  .hc-label { display: inline; opacity: 1; }
  .hc-num { display: none; }
  .site-nav { order: 3; width: 100%; margin-top: 6px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { gap: 1.2rem; padding-right: 2rem; }
  .site-nav a { white-space: nowrap; padding: 0.6rem 0; }
}

/* ═══════════════════ 공통 글·버튼 ═══════════════════ */
/* 이름표 — 앞에 짧은 가는 선 하나 */
.kicker { display: flex; align-items: center; gap: 0.7rem; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; line-height: 1.4; color: var(--label); margin-bottom: var(--s-4); }
.kicker::before { content: ""; width: 1.6rem; height: 0; border-top: 1px solid currentColor; flex-shrink: 0; }
.block-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 1.25rem + 2.1vw, 2.8rem); line-height: 1.3; letter-spacing: -0.025em; margin-bottom: var(--s-6); text-wrap: balance; color: var(--fg); }
.block-body { color: var(--fg-2); max-width: 38em; margin-bottom: var(--s-4); }   /* 한글 한 줄 38자 안팎 */
.block-body--balance { text-wrap: balance; }
.block-body.small, .small { font-size: var(--t-sm); }
.mini-title { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; color: var(--label); margin-bottom: var(--s-3); }
.sub-title { font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; margin: var(--s-8) 0 var(--s-3); }
.sub-title--first { margin-top: 0; }
.text-link { display: inline-flex; gap: 0.45rem; align-items: baseline; font-weight: 600; font-size: var(--t-sm); text-decoration: none; color: var(--fg); padding-bottom: 3px; border-bottom: 1px solid currentColor; transition: color 0.2s, gap 0.25s var(--ease-out); }
.text-link:hover { color: var(--accent-text); gap: 0.7rem; }
.summary-main .text-link { display: inline; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.info-head .btn-row, .tonight .btn-row, .btn-row--pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.info-head .btn-row, .tonight .btn-row, .btn-row--pair { width: min(100%, 26rem); }
.info-head .btn-row .btn--seal { grid-column: 1 / -1; }
/* 지도 버튼이 홀수로 남으면 마지막 하나는 한 줄 전체로(2+1 로 비지 않게) */
.info-head .btn-row > .btn:last-child:nth-child(even), .btn-row--pair > .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.35rem; font-weight: 600; font-size: var(--t-sm); letter-spacing: 0.01em; text-decoration: none; border: 1px solid transparent; transition: background-color 0.2s var(--ease-out), color 0.2s, border-color 0.2s; }
.btn--seal, .btn--ink { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--seal:hover, .btn--ink:hover { background: transparent; color: var(--fg); }
.btn--ghost, .btn--light { border-color: var(--fg); color: var(--fg); background: transparent; }
.btn--ghost:hover, .btn--light:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--lg { min-height: 54px; padding: 0.85rem 1.6rem; font-size: var(--t-base); }
.btn-sub { font-weight: 400; opacity: 0.85; font-variant-numeric: tabular-nums; }
.ico { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.menuboard .block-title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); margin-bottom: var(--s-4); }

/* ── 지금 영업 중 ── */
.open-now { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--t-sm); font-weight: 600; margin: var(--s-2) 0; }
.on-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--steel); flex-shrink: 0; }
.open-now.is-open .on-dot { background: var(--open); box-shadow: 0 0 0 4px color-mix(in srgb, var(--open) 16%, transparent); }
.open-now.is-closed .on-dot { background: var(--accent-text); }

/* ═══════════════════ 첫 화면 — 흰 여백 한가운데 간판 글씨, 아래로 한 판 ═══════════════════ */
.hero { padding-top: clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero-inner { display: grid; justify-items: center; text-align: center; }
.hero-sign { display: grid; justify-items: center; gap: clamp(0.9rem, 1.6vw, 1.3rem); width: 100%; margin: 0; font: inherit; }
.hero-kicker { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.26em; color: var(--label); margin-bottom: clamp(0.9rem, 1.6vw, 1.3rem); }
.hero-logo { width: min(100%, 680px); height: auto; }
.hero-branch { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.5em; margin-right: -0.5em; color: var(--ink-2); }
.hero-lead { margin-top: clamp(1.4rem, 2.6vw, 2.2rem); font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.2rem); line-height: 1.8; color: var(--ink-2); max-width: 30em; }
.hero-cta { justify-content: center; margin-top: clamp(1.4rem, 2.4vw, 2rem); }
.hero-cta .btn { min-width: 15rem; }
/* 버튼 아래 한 줄 — 지금 영업 중인지와 주소(첫 화면에서 바로 보이게) */
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 1.1rem; row-gap: 0.15rem; margin-top: var(--s-4); font-size: var(--t-sm); color: var(--fg-2); }
.hero-meta .open-now { margin: 0; }
.hero-where { margin: 0; }
.hero-photo { margin: clamp(2.8rem, 2rem + 4vw, 5rem) 0 0; overflow: hidden; background: var(--paper-2); }
.hero-photo picture, .hero-photo img { display: block; width: 100%; }
.hero-photo img { aspect-ratio: 2.35 / 1; max-height: 78vh; object-fit: cover; }
@media (max-width: 700px) { .hero-photo img { aspect-ratio: 4 / 3; max-height: none; } }
/* 폰: 첫 화면 버튼 둘은 같은 폭으로 위아래 */
@media (max-width: 600px) { .hero-cta { flex-direction: column; width: min(100%, 20rem); } .hero-cta .btn { width: 100%; } }
/* 첫 화면이 열릴 때 — 로고가 먼저, 글과 사진이 잇따라 조용히. 처음부터 보이는 상태에서 위치·크기만 움직인다
   (투명에서 시작하면 첫 화면 글자·사진이 늦게 보이고, 가장 큰 그림(LCP)도 사진이 아닌 다른 것으로 잡힌다) */
.js .hero-kicker, .js .hero-sign > *, .js .hero-lead, .js .hero-cta, .js .hero-meta { animation: rise 0.9s var(--ease-out) both; }
.js .hero-logo { animation-delay: 0.08s; }
.js .hero-branch { animation-delay: 0.16s; }
.js .hero-lead { animation-delay: 0.24s; }
.js .hero-cta, .js .hero-meta { animation-delay: 0.32s; }
.js .hero-photo img { animation: settle 1.2s var(--ease-out) both; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes settle { from { transform: scale(1.02); } to { transform: none; } }

/* ── 첫 화면 아래 안내 줄 — 오늘 영업 / 차림표 / 찾아오는 길 ── */
.counter { padding: clamp(2rem, 3.5vw, 3rem) 0; border-bottom: 1px solid var(--line); }
.counter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: stretch; }
.counter-grid > * + * { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.counter-label { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.16em; color: var(--label); margin-bottom: var(--s-2); }
.counter-label small { font-size: 1em; font-weight: 400; letter-spacing: 0.04em; }
.counter .open-now { margin-top: 0; }
.counter-hours { font-size: var(--t-sm); color: var(--fg-2); }
.counter-price { font-size: var(--t-sm); color: var(--fg-2); }
.counter-price strong { color: var(--fg); font-weight: 600; }
.hero-addr { font-size: var(--t-sm); color: var(--fg-2); }
.counter .text-link { margin-top: var(--s-2); }
@media (max-width: 860px) {
  .counter-grid { grid-template-columns: 1fr; }
  .counter-grid > * + * { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: var(--s-6); }
}

/* ═══════════════════ 본문 구역 ═══════════════════ */
.block { padding: clamp(4rem, 3rem + 5vw, 8rem) 0; }
.block--cta { padding-top: var(--s-8); }
.block:not(.zone-alt) + .block:not(.zone-alt, .block--cta, .block--tonight) { padding-top: 0; }
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--reverse .split-media { order: 2; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 860px) {
  .split, .two-col { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
}
.photo { margin: 0; }
.photo img { width: 100%; }
.photo-place { margin-top: var(--s-2); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; color: var(--label); }
.info-photo { margin-top: var(--s-6); width: min(100%, 26rem); }

/* ── 한눈에 보기: 답을 먼저 — 검색·AI 답변이 문단째 인용하기 좋게 ── */
.summary-board { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(2rem, 5vw, 5rem); }
.answer-summary { font-size: clamp(1.04rem, 1rem + 0.25vw, 1.15rem); line-height: 1.9; color: var(--fg); max-width: 40em; margin-bottom: var(--s-4); }
.summary-proof { font-size: var(--t-sm); color: var(--fg-2); max-width: 46em; }
.summary-proof strong { color: var(--fg); }
.summary-main .link-row { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.summary-facts { display: grid; align-content: start; border-top: 1px solid var(--fg); }
.summary-facts > div { display: grid; grid-template-columns: 4.2em 1fr; gap: var(--s-3); padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.summary-facts dt { font-size: var(--t-sm); font-weight: 600; color: var(--label); line-height: 1.6; }
.summary-facts dd { font-size: var(--t-sm); line-height: 1.65; }
@media (max-width: 900px) { .summary-board { grid-template-columns: 1fr; } }

/* ── 차림표: 가는 선과 점선, 값은 먹색 ── */
.menuboard-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.menuboard { --board-pad: clamp(1.6rem, 1rem + 2.4vw, 3rem); }
.menuboard-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); flex-wrap: wrap; padding-bottom: var(--s-3); margin-bottom: var(--s-6); border-bottom: 1px solid var(--fg); }
.menuboard-tag { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.2em; color: var(--label); }
.menuboard-date { font-size: var(--t-xs); color: var(--fg-2); }
.menuboard-photo { margin: 0; order: -1; }
.menuboard-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) {
  .menuboard-grid { grid-template-columns: 1fr; }
  .menuboard-photo img { aspect-ratio: 4 / 3; }
}
.price-list { list-style: none; margin: var(--s-2) 0 var(--s-6); }
.price-list li { display: flex; align-items: baseline; gap: 0.7rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.pl-name { font-weight: 600; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); letter-spacing: -0.01em; }
.pl-name small { font-size: var(--t-xs); font-weight: 400; color: var(--fg-2); margin-left: 0.35rem; }
.pl-dots { flex: 1; min-width: 1rem; border-bottom: 1px dotted color-mix(in srgb, var(--fg) 35%, transparent); transform: translateY(-5px); }
.pl-price { font-weight: 600; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); white-space: nowrap; }

.facts-row { display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-12); margin: var(--s-4) 0 var(--s-6); }
.stat dt { font-size: var(--t-xs); letter-spacing: 0.12em; color: var(--fg-2); font-weight: 600; }
.stat dd { font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; }
.stat small { font-size: 0.5em; margin-left: 0.15em; font-weight: 400; color: var(--fg-2); }

/* ── 한 판 먹는 법: 네 장면 ── */
.meal { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.2rem); margin-top: var(--s-8); }
.meal-step { display: flex; flex-direction: column; }
.meal-photo { margin: 0 0 var(--s-4); aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.meal-photo picture, .meal-photo img { display: block; width: 100%; height: 100%; }
.meal-photo img { object-fit: cover; transition: transform 1s var(--ease-out); }
.meal-step:hover .meal-photo img { transform: scale(1.03); }
.meal-step .meal-no { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; color: var(--label); }
.meal-step h3 { font-weight: 600; font-size: var(--t-lg); line-height: 1.4; letter-spacing: -0.015em; margin: var(--s-2) 0; text-wrap: balance; }
.meal-step p { color: var(--fg-2); font-size: var(--t-sm); line-height: 1.75; }
@media (max-width: 980px) { .meal { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-12); } }
@media (max-width: 560px) {
  .meal { grid-template-columns: 1fr; row-gap: var(--s-8); }
  .meal-step { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: var(--s-4); }
  .meal-photo { grid-row: 1 / span 3; margin: 0; aspect-ratio: 3 / 4; }
}

/* ── 숫자로 보는 제일돌곱창: 가는 선 위 숫자 네 개(보일 때 세어 올라간다 — 글자는 DOM에 그대로) ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-8) clamp(1.5rem, 3vw, 3rem); }
.stats-grid .stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s-2); border-top: 1px solid var(--fg); padding-top: var(--s-4); }
.stats-grid .stat dd { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.8rem); line-height: 1.05; letter-spacing: -0.03em; }
.stats-grid .stat dt { font-size: var(--t-sm); letter-spacing: 0; color: var(--fg-2); font-weight: 400; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }
.count { --n: var(--to); counter-reset: n var(--n); }
.count::after { content: counter(n); content: counter(n) / ""; }
.count-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js [data-reveal] .count { --n: var(--from, 0); transition: --n 1.8s var(--ease-out); }
.js [data-reveal].is-in .count { --n: var(--to); }

/* ── 영업시간과 찾아오는 길 ── */
.info-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 1000px) { .info-grid { grid-template-columns: 1fr 1fr; } .info-head { grid-column: 1 / -1; } }
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }
.hours th, .hours td { padding: 0.5rem 0.25rem; border-bottom: 1px solid var(--line); text-align: left; font-size: var(--t-sm); }
.hours th { font-weight: 600; width: 5.5em; padding-left: 0; }
.hours td { font-variant-numeric: tabular-nums; padding-right: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent-text); font-weight: 600; }
.hours-note { margin-top: var(--s-3); font-size: var(--t-xs); color: var(--fg-2); line-height: 1.7; }
.hours-note-tip { display: block; }
.hours-note [data-next-closed] { white-space: nowrap; }
.info-list { display: grid; gap: var(--s-4); }
.info-list > div { display: grid; grid-template-columns: 4.6em 1fr; gap: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.info-list dt { font-size: var(--t-sm); font-weight: 600; color: var(--label); }
.info-list dd { font-size: var(--t-sm); }
.info-list--compact { margin-bottom: var(--s-4); }
.dd-sub { display: block; color: var(--fg-2); font-size: var(--t-xs); margin-top: 0.2rem; }

/* ── 단체룸: 홀 사진을 넓게, 글은 사진 아래 흰 판에 ── */
.block--room { padding-top: 0; }
.room-photo { margin: 0; height: clamp(280px, 46vw, 600px); overflow: hidden; }
.room-photo picture, .room-photo img { display: block; width: 100%; height: 100%; }
.room-photo img { object-fit: cover; object-position: 50% 92%; }   /* 창밖 거리(다른 가게 간판)는 빼고 식탁 줄이 보이게 */
.room-board { max-width: 620px; margin-top: calc(-1 * clamp(3rem, 7vw, 7rem)); border: 0; }
@media (max-width: 640px) { .room-board { margin-top: -2.5rem; } .room-photo { height: 250px; } }

/* ── 1965 이야기 ── */
.story-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story-year { position: absolute; right: 0; top: -0.5em; z-index: 0; font-size: clamp(5rem, 3rem + 10vw, 12rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 14%, transparent); pointer-events: none; user-select: none; }
.story-grid > :not(.story-year) { position: relative; z-index: 1; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: var(--s-6); } .story-year { position: relative; order: -1; right: auto; top: auto; font-size: clamp(4.5rem, 24vw, 8rem); margin: 0 0 -0.45em; text-align: right; } }

/* ── 오늘 저녁: 전화번호 ── */
.block--tonight { border-top: 1px solid var(--line); }
.tonight { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.tonight .note { margin-top: var(--s-4); }
@media (max-width: 860px) { .tonight { grid-template-columns: 1fr; align-items: start; } }
.phone-big { margin: var(--s-3) 0; }
.phone-sign { display: inline-flex; align-items: baseline; gap: 0.35em; font-weight: 600; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--fg); text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--fg); padding-bottom: 0.1em; transition: color 0.2s; }
.phone-sign:hover { color: var(--accent-text); }
.phone-sign .ico { width: 0.62em; height: 0.62em; align-self: center; color: var(--fg-2); }

/* ── 페이지 머리: 연회색 띠에 큰 제목 ── */
.page-head { position: relative; padding: clamp(2.6rem, 2rem + 4vw, 5.5rem) 0 clamp(2.6rem, 2rem + 3.5vw, 5rem); background: var(--paper-2); }
.page-title { margin: var(--s-2) 0 var(--s-6); font-weight: 600; font-size: clamp(2.2rem, 1.4rem + 3.8vw, 4.4rem); line-height: 1.15; letter-spacing: -0.035em; text-wrap: balance; }
.page-title .plate { display: inline; }
.page-lead { max-width: 46em; font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.15rem); line-height: 1.85; color: var(--fg-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--t-xs); color: var(--fg-2); margin-bottom: var(--s-6); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--steel); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ═══════════════════ 메뉴 ═══════════════════ */
.menu-jump { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.menu-jump ul { display: flex; gap: var(--s-6); list-style: none; overflow-x: auto; padding: 0.85rem 0; scrollbar-width: none; }
.menu-jump ul::-webkit-scrollbar { display: none; }
.menu-jump a { white-space: nowrap; text-decoration: none; font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }
.menu-jump a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 900px) { .menu-jump { top: 0; } .menu-jump ul { gap: 1.2rem; padding-right: 2rem; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }
.menu-sec { padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0; }
.menu-sec--alt { background: var(--paper-2); }
.menu-sec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.menu-sec-grid--solo { grid-template-columns: minmax(0, 820px); }
.menu-sec-text.board { border: 0; padding: 0; background: transparent; }
.menu-sec-media { display: grid; gap: var(--s-4); }
.menu-sec-media.is-pair { grid-template-columns: 1fr 1fr; }
.menu-sec-media.is-pair .photo img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .menu-sec-grid { grid-template-columns: 1fr; } }
.menu-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .menu-duo { grid-template-columns: 1fr; } }
.menu-table { border-top: 1px solid var(--fg); }
.menu-table th, .menu-table td { padding: 0.95rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; text-align: left; }
.menu-table td { text-align: right; white-space: nowrap; padding-left: var(--s-4); font-weight: 600; }
.m-name { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.01em; }
.m-weight { font-size: var(--t-xs); color: var(--fg-2); font-weight: 400; margin-left: 0.35rem; }
.m-desc { display: block; font-size: var(--t-sm); font-weight: 400; color: var(--fg-2); margin-top: 0.25rem; }
.m-badge { display: inline-block; margin-left: 0.15rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.4; color: var(--wonjo); border: 1px solid currentColor; padding: 0.05rem 0.38rem; vertical-align: 0.3em; }
.menu-note { margin-top: var(--s-4); font-size: var(--t-sm); color: var(--fg-2); max-width: 40em; }
.dot-list { list-style: none; margin: var(--s-2) 0 var(--s-4); }
.dot-list li { position: relative; padding: 0.35rem 0 0.35rem 1.2rem; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 0.5rem; height: 0; border-top: 1px solid var(--fg); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: var(--s-6); }
.steps li { border-top: 1px solid var(--fg); padding-top: var(--s-4); }
.step-no { display: block; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; color: var(--label); margin-bottom: var(--s-2); }
.steps h3 { font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.015em; margin-bottom: var(--s-2); }
.steps p { color: var(--fg-2); font-size: var(--t-sm); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); margin: var(--s-6) 0 var(--s-4); }
.steps-photos .photo img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 640px) { .steps-photos { grid-template-columns: 1fr; } }

/* ═══════════════════ 이야기 ═══════════════════ */
.listen { margin-top: clamp(2rem, 4vw, 3.5rem); }
.listen-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; padding: clamp(1.2rem, 3vw, 2rem) 0; border-top: 1px solid var(--line); }
.listen + .timeline-sec .timeline { margin-top: 0; }
.listen-btn { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.7rem 1.3rem; border: 1px solid var(--ink); color: var(--ink); font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.listen-btn:hover, .listen-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.listen-icon { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.listen-btn[aria-pressed="true"] .listen-icon { width: 10px; height: 12px; border: 0; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px, currentColor 7px); }
.listen-time { font-size: var(--t-xs); opacity: 0.75; font-variant-numeric: tabular-nums; }
.listen-script { font-size: var(--t-lg); line-height: 1.8; color: var(--fg); }
@media (max-width: 640px) { .listen-card { grid-template-columns: 1fr; } .listen-btn { justify-content: center; } }
.timeline { list-style: none; margin: clamp(2.5rem, 5vw, 5rem) 0; }
.timeline li { display: grid; grid-template-columns: minmax(7rem, 12rem) 1fr; gap: var(--s-8); padding: clamp(1.4rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.tl-year { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1.05; color: var(--fg); }
.timeline h3 { font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.015em; margin-bottom: var(--s-2); }
.timeline p { color: var(--fg-2); max-width: 36em; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: var(--s-2); } }
.owner-quote { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); line-height: 1.75; letter-spacing: -0.01em; padding-left: var(--s-6); border-left: 1px solid var(--fg); }
.owner-quote p + p { margin-top: var(--s-4); }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) clamp(2rem, 5vw, 4rem); margin-top: var(--s-6); }
@media (max-width: 760px) { .fact-grid { grid-template-columns: 1fr; } }
.fact { margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--fg); display: flex; flex-direction: column; }
.fact blockquote p { font-size: var(--t-lg); line-height: 1.7; letter-spacing: -0.01em; }
.fact .fact-more { font-size: var(--t-sm); color: var(--fg-2); margin-top: var(--s-2); }
.fact figcaption { margin-top: auto; padding-top: var(--s-3); }
.src { font-size: var(--t-xs); color: var(--label); }

/* ═══════════════════ 단체룸 ═══════════════════ */
.feature-list { list-style: none; display: grid; gap: var(--s-4); }
.feature-list li { display: grid; gap: 0.2rem; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.feature-list strong { font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; }
.feature-list span { color: var(--fg-2); font-size: var(--t-sm); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.gallery .photo { overflow: hidden; }
.gallery .photo img { aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery .photo:hover img { transform: scale(1.03); }

/* ═══════════════════ 오시는 길 ═══════════════════ */
.map-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } }
.nmap { margin: 0; }
.nmap-box { position: relative; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.nmap-canvas { width: 100%; aspect-ratio: 4 / 3; display: none; }
.nmap-box.is-live .nmap-canvas { display: block; }
.nmap-box.is-live .nmap-fallback { display: none; }
.nmap-fallback { display: grid; justify-items: center; align-content: center; text-align: center; gap: var(--s-3); padding: clamp(2rem, 6vw, 4rem) var(--s-6); aspect-ratio: 4 / 3; }
.nmap-still { padding: 0; display: block; position: relative; }
.nmap-still img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nmap-open { position: absolute; left: var(--s-4); bottom: var(--s-4); background: var(--ink); color: #fff; font-size: var(--t-sm); font-weight: 600; padding: 0.55rem 0.9rem; }
.nmap-still:hover .nmap-open { background: var(--wonjo); }
.nmap figcaption { font-size: var(--t-xs); color: var(--fg-2); margin-top: var(--s-3); }
.nmap-pin { display: inline-flex; align-items: center; gap: 6px; }
.nmap-pin-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--wonjo); border: 5px solid #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--wonjo) 24%, transparent), 0 2px 8px rgb(0 0 0 / 0.25); }
.nmap-pin-label { background: var(--ink); color: #fff; font: 600 13px/1.2 var(--font-body); padding: 5px 10px; white-space: nowrap; }
.nmap-poi { display: inline-block; transform: translate(-50%, -50%); background: #fff; color: var(--ink); border: 1px solid var(--paper-3); font: 600 12px/1.2 var(--font-body); padding: 3px 8px; white-space: nowrap; }
.nmap-poi--subway { border-color: var(--ink); }
.nmap-poi--parking { border-color: var(--steel); }
.addr-big { font-weight: 600; font-size: var(--t-xl); line-height: 1.5; letter-spacing: -0.02em; margin-bottom: var(--s-3); }
.map-exterior { margin-top: var(--s-8); }
.route-list { list-style: none; display: grid; gap: var(--s-3); margin: var(--s-2) 0 var(--s-4); }
.route-list li { display: grid; gap: 0.15rem; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.route-list strong { font-weight: 600; }
.route-list small { font-weight: 400; color: var(--fg-2); }
.route-list span { font-size: var(--t-sm); color: var(--fg-2); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); margin-top: var(--s-6); }
.way { border-top: 1px solid var(--fg); padding-top: var(--s-4); display: flex; flex-direction: column; }
.way-how { font-size: var(--t-xl); line-height: 1.2; margin-bottom: var(--s-2); }
.way-meta { margin-top: auto; padding-top: var(--s-2); font-size: var(--t-sm); font-weight: 600; color: var(--label); }
.addr-en { text-wrap: balance; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }
.cta-card { align-self: start; }
.cta-card .phone-big { margin: var(--s-2) 0 var(--s-3); }
.cta-card .phone-sign { font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem); }
.site-about { margin-top: var(--s-8); }
.site-about p { max-width: 44em; font-size: var(--t-sm); color: var(--fg-2); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6); padding-top: var(--s-8); border-top: 1px solid var(--fg); }
.cta-band .btn-row { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .cta-band .btn-row { grid-template-columns: 1fr; width: 100%; } }
.cta-title { font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.3; letter-spacing: -0.025em; }

/* ═══════════════════ 자주 묻는 질문 ═══════════════════ */
.faq-list { border-top: 1px solid var(--fg); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 1.2rem; gap: var(--s-3); align-items: baseline; padding: 1.15rem 0; cursor: pointer; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 12px; height: 12px; align-self: start; margin-top: calc((1.8em - 12px) / 2); background: linear-gradient(currentColor, currentColor) 50% 50% / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 12px no-repeat; transition: transform 0.3s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover .q-text { color: var(--accent-text); }
.faq-list .q { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; color: var(--label); }
.faq-list .q-text { text-wrap: balance; }
.faq-list .a { padding: 0 2.4rem 1.35rem calc(2.4rem + var(--s-3)); color: var(--fg-2); }
.faq-list .a p { max-width: 42em; }
@media (max-width: 560px) { .faq-list summary { grid-template-columns: 2rem minmax(0, 1fr) 1.2rem; } .faq-list .a { padding: 0 0 1.3rem calc(2rem + var(--s-3)); } }

/* ═══════════════════ 검색 카드 타일 6장 ═══════════════════ */
.tiles { padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0; background: var(--paper-2); }
.tiles-title { font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.3; letter-spacing: -0.025em; margin-bottom: var(--s-8); }
.tile-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.6rem); }
.tile a { display: block; text-decoration: none; color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity 0.3s; }
.tile a:hover img { opacity: 0.88; }
.tile-caption { display: inline-block; margin-top: 0.7rem; font-weight: 600; font-size: var(--t-base); letter-spacing: -0.01em; }
.tile a:hover .tile-caption { text-decoration: underline; text-underline-offset: 0.3em; }
.tile.is-current .tile-caption { color: var(--wonjo); }
@media (max-width: 760px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile-caption { font-size: var(--t-sm); } }

/* ═══════════════════ 바닥글 ═══════════════════ */
.site-footer { padding: clamp(3rem, 5vw, 5rem) 0 var(--s-8); }
.site-footer a { color: var(--lamp); }
.site-footer a:hover { color: var(--pine); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.3fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
/* 먹색 바탕 위 로고 — 붓글씨는 흰색으로, '원조'는 밝은 붉은색으로 */
.brand-mark--footer { --ink: var(--lamp); --seal: var(--wonjo-hi); }
.brand-mark--footer .logo { height: 32px; }
.footer-lede { margin-top: var(--s-6); color: var(--lamp-2); font-size: var(--t-sm); max-width: 36ch; text-wrap: balance; }
.footer-info { display: grid; gap: var(--s-3); }
.footer-info > div { display: grid; grid-template-columns: 3.5em 1fr; gap: var(--s-3); font-size: var(--t-sm); }
.footer-info dd { text-wrap: balance; }
.footer-info .fi-line { display: block; }
.footer-info dt { color: var(--pine); font-weight: 600; }
.footer-nav ul { list-style: none; display: grid; gap: 0.35rem; font-size: var(--t-sm); }
.footer-out { margin-top: var(--s-4); }
.footer-bottom { margin-top: clamp(2rem, 4vw, 3rem); padding-top: var(--s-6); border-top: 1px solid var(--night-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: var(--t-xs); color: var(--lamp-2); }
.footer-bottom a { white-space: nowrap; }

/* ═══════════════════ 숫자로 본 제일돌곱창(인사이트) ═══════════════════ */
.insight-key { counter-reset: k; list-style: none; display: grid; border-top: 1px solid var(--fg); }
.insight-key li { counter-increment: k; position: relative; padding: var(--s-4) 0 var(--s-4) 3rem; border-bottom: 1px solid var(--line); font-size: var(--t-lg); line-height: 1.75; }
.insight-key li::before { content: counter(k, decimal-leading-zero); position: absolute; left: 0; top: calc(var(--s-4) + 0.35em); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; color: var(--label); }
@media (max-width: 600px) { .insight-key li { font-size: var(--t-base); padding-left: 2.25rem; text-wrap: balance; } }
.insight-key a { white-space: nowrap; }
.kw-bars { list-style: none; display: grid; gap: 0.7rem; }
.kw-bars li { display: grid; grid-template-columns: 9.5em 1fr 6.8em; align-items: center; gap: var(--s-3); font-size: var(--t-sm); }
.kw-track { height: 0.5rem; background: var(--paper-3); overflow: hidden; }
.kw-bar { display: block; height: 100%; width: var(--w); background: var(--ink); transform-origin: 0 50%; }
.kw-bars li:first-child .kw-bar { background: var(--wonjo); }
.js [data-reveal] .kw-bar { transform: scaleX(0); transition: transform 1.1s var(--ease-out); }
.js [data-reveal].is-in .kw-bar { transform: none; }
.kw-bars li:nth-child(n+4) .kw-bar { transition-delay: 0.1s; }
.kw-bars li:nth-child(n+8) .kw-bar { transition-delay: 0.2s; }
.kw-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.kw-val small { font-weight: 400; color: var(--fg-2); margin-left: 0.3em; }
.kw-groups { width: 100%; margin: var(--s-4) 0; font-size: var(--t-sm); border-top: 1px solid var(--fg); }
.kw-groups th, .kw-groups td { text-align: left; padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.kw-groups td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kw-groups thead th { font-size: var(--t-xs); color: var(--label); font-weight: 600; }
.kw-groups thead th:not(:first-child) { text-align: right; }
.kw-groups tbody th small { display: block; font-weight: 400; color: var(--fg-2); font-size: var(--t-xs); margin-top: 0.2rem; }
.note { font-size: var(--t-xs); color: var(--fg-2); margin-top: var(--s-4); max-width: 64em; }
/* 한 끼 예산: 영수증처럼 — 흰 종이, 점선, 합계 위 두 줄 */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: var(--s-6); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--sign); color: var(--ink); padding: var(--s-6); font-size: var(--t-sm); border: 1px solid var(--paper-3); }
.plan-name { font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; margin-bottom: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px dashed var(--paper-3); }
.plan-name small { font-size: var(--t-xs); color: var(--ink-2); margin-left: 0.4em; font-weight: 400; }
.plan ul { list-style: none; display: grid; gap: 0.5rem; margin-bottom: var(--s-6); }
.plan li { display: flex; justify-content: space-between; gap: var(--s-3); }
.plan li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-top: auto; padding-top: var(--s-3); border-top: 3px double var(--ink); }
.plan-total strong { font-weight: 600; font-size: var(--t-lg); white-space: nowrap; }
.table-scroll { overflow-x: auto; margin-top: var(--s-6); }
.parts-table { width: 100%; font-size: var(--t-sm); border-top: 1px solid var(--fg); }
.parts-table th, .parts-table td { text-align: left; padding: 0.85rem 0.6rem; border-bottom: 1px solid var(--line); }
.parts-table thead th { font-size: var(--t-xs); color: var(--label); font-weight: 600; }
.parts-table tbody th { font-weight: 600; font-size: var(--t-base); }
.parts-table td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .table-scroll { overflow: visible; }
  .parts-table, .parts-table tbody { display: block; min-width: 0; }
  .parts-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .parts-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4); row-gap: 0.15rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .parts-table th, .parts-table td { padding: 0; border: 0; }
  .parts-table td:last-child { grid-column: 2; grid-row: 1; font-weight: 600; }
  .parts-table td:nth-child(n+2):not(:last-child) { grid-column: 1 / -1; color: var(--fg-2); }
}
.checklist { counter-reset: c; list-style: none; display: grid; gap: var(--s-4); }
.checklist li { counter-increment: c; position: relative; padding-left: 2.6rem; }
.checklist li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 0.3em; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; color: var(--label); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .kw-bars li { grid-template-columns: 9.6em 1fr 6.2em; } }
@media (max-width: 600px) { .kw-bars { gap: 0.85rem; } .kw-bars li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.3rem; } .kw-track { grid-column: 1 / -1; grid-row: 2; } }

/* ── 인사이트 허브: 주제별 하위 페이지 목록 ── */
.topic-list { list-style: none; border-top: 1px solid var(--fg); }
.topic-list li { border-bottom: 1px solid var(--line); }
.topic-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-6); row-gap: 0.3rem; padding: var(--s-6) 0; text-decoration: none; color: var(--fg); }
.topic-name { font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; line-height: 1.45; text-wrap: balance; }
.topic-desc { grid-column: 1; color: var(--fg-2); font-size: var(--t-sm); }
.topic-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; transition: transform 0.25s var(--ease-out); }
.topic-list a:hover .topic-name { color: var(--accent-text); }
.topic-list a:hover .topic-go { transform: translateX(4px); }
/* 블로그 후기: 막대 이름이 문장이라 이름 칸을 넓힌다 · 관찰 표는 마지막 칸(적힌 장면)이 글이라 줄을 바꾼다 */
.blog-bars li { grid-template-columns: 16em 1fr 6.8em; }
@media (max-width: 900px) { .blog-bars li { grid-template-columns: 13em 1fr 6.2em; } }
@media (max-width: 600px) { .blog-bars li { grid-template-columns: minmax(0, 1fr) auto; } }
.obs-table td:last-child { white-space: normal; font-variant-numeric: normal; }
.obs-table th { white-space: nowrap; }
@media (max-width: 640px) { .obs-table td:last-child { grid-column: 1 / -1; grid-row: auto; font-weight: 400; } }
.minus-list strong { font-weight: 600; }
.minus-list .note-inline { color: var(--fg-2); font-size: var(--t-sm); }
/* 예산 표: 넓은 화면은 머리줄이 칸 이름, 좁은 화면(쌓인 줄)에서는 칸 이름을 글자로 */
.budget-table .cell-label, .portion-table .cell-label { display: none; }
.stats-grid + .note { margin-top: var(--s-6); }

/* ═══════════════════ 부위 가이드(긴 글) — 좁은 한 단, 구역마다 가는 선 ═══════════════════ */
.guide { padding-top: var(--s-12); }
.guide-photo { margin-bottom: var(--s-12); }
.guide-photo--wide img { aspect-ratio: 4 / 3; object-fit: cover; }
.guide-sec { scroll-margin-top: calc(var(--header-h) + 4rem); }
.guide-sec + .guide-sec { margin-top: var(--s-16); padding-top: var(--s-12); border-top: 1px solid var(--line); }
.guide-title { font-weight: 600; font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem); line-height: 1.35; letter-spacing: -0.025em; text-wrap: balance; color: var(--fg); margin-bottom: var(--s-6); }
.guide-sec > * + *, .guide-sources .wrap > * + * { margin-top: var(--s-4); }
.guide-sec > .sub-title { margin: var(--s-8) 0 0; }
.guide-sec p { color: var(--fg-2); max-width: 40em; }
.guide-sec .note { max-width: 64em; }
.guide-sec .photo { margin-top: var(--s-8); }
.guide sup, .guide-sources sup { font-size: 0.68em; line-height: 0; }
.guide .table-scroll { margin-top: var(--s-6); }
.table-cap { caption-side: top; text-align: left; font-size: var(--t-sm); font-weight: 600; color: var(--fg); padding-bottom: var(--s-3); text-wrap: pretty; }
.cmp-table { width: 100%; table-layout: fixed; font-size: var(--t-sm); border-top: 1px solid var(--fg); }
.cmp-table .cmp-name { width: 26%; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-size: var(--t-xs); color: var(--label); font-weight: 600; }
.cmp-table tbody th { font-weight: 600; }
.cmp-table td { color: var(--fg-2); }
.stomachs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
.stomachs li { padding: var(--s-3) var(--s-2) var(--s-3) 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.stomachs span { display: block; font-size: var(--t-xs); letter-spacing: 0.1em; color: var(--label); }
.guide-sec .checklist { max-width: 44em; }
.myths .myth { color: var(--fg); font-weight: 600; }
.myths li p + p { margin-top: var(--s-1); }
.source-list { font-size: var(--t-sm); color: var(--fg-2); }
.link-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-8); }
.link-row--after { margin-top: var(--s-6); }
.menu-more { margin-top: var(--s-4); }
@media (max-width: 640px) {
  .parts-table caption { display: block; }
  .parts-table { border-top: 0; }
  .parts-table tbody { border-top: 1px solid var(--fg); }
  .budget-table .cell-label, .portion-table .cell-label { display: inline; color: var(--fg-2); font-weight: 400; }
  .cmp-table .cmp-name { width: 30%; }
  .cmp-table th, .cmp-table td { padding: 0.7rem 0.35rem; }
  .stomachs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═══════════════════ 모바일 아래 고정 버튼 ═══════════════════ */
.action-bar { display: none; }
@media (max-width: 900px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--paper-3); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 54px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-sm); }
  .action-bar a:first-child { background: var(--ink); color: #fff; }
  .action-bar a + a { border-left: 1px solid var(--paper-3); }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}

/* ═══════════════════ 동작 줄이기 ═══════════════════ */
/* 인쇄·PDF 저장 — 스크롤하지 않은 구역도 모두 보이게 */
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js [data-reveal] .count { --n: var(--to); }
  .js [data-reveal] .kw-bar { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal] .count { --n: var(--to); }
  .js [data-reveal] .kw-bar { transform: none; }
}
