/* 다올다이닝 매장 홈페이지 공통 스타일
   레퍼런스(보문갈비) 측정값: 제목 Pretendard, 본문 Noto Sans KR 15px/24px #2A2A2A,
   영문 라벨 Poppins 500 12px 자간 0.72px. 매장별 포인트색(--accent)과 폰트(--f-head/body/en)는
   stores/<ID>.yaml 의 site.accent / site.fonts 로 바꾼다 (기본값은 아래).
   주의: 텍스트 복사를 막는 user-select:none / 우클릭 차단을 절대 쓰지 않는다 (AI 인용 목적). */
:root {
  --accent: #A35F26;
  --ink: #2A2A2A;
  --ink-soft: #5B5752;
  --line: #E6E1DA;
  --bg: #FFFFFF;
  --bg-soft: #F7F4EF;
  --dark: #1E1A17;
  --dark-2: #2B2622;
  --wrap: 1200px;
  --f-head: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-en: Poppins, "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 15px; line-height: 24px;
  word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; word-break: keep-all; }
h1 { font-size: 38px; line-height: 1.25; font-weight: 700; letter-spacing: -.5px; }
h2 { font-size: 30px; line-height: 1.4; font-weight: 700; letter-spacing: -.3px; }
h2 strong { font-weight: 700; color: var(--accent); }
h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* 상단 공지띠 */
.notice { background: var(--dark); color: #fff; text-align: center; font-size: 13px; line-height: 20px; padding: 8px 16px; }

/* 헤더 */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.logo b { font-family: var(--f-head); font-size: 25px; font-weight: 900; letter-spacing: -.5px; }
.logo small { font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--accent); }
.gnb { display: flex; gap: 28px; align-items: center; }
.gnb a { text-decoration: none; font-size: 15px; font-weight: 500; }
.gnb a:hover, .gnb a[aria-current="page"] { color: var(--accent); }
.gnb .call { font-family: var(--f-en); font-size: 12px; letter-spacing: .72px; border: 1px solid var(--ink); border-radius: 999px; padding: 6px 14px; }
.mnav { display: none; }
@media (max-width: 900px) {
  .gnb { display: none; }
  .mnav { display: block; }
  .mnav summary { list-style: none; cursor: pointer; font-family: var(--f-en); font-weight: 500; font-size: 12px; letter-spacing: .72px; padding: 8px 0; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--dark-2); padding: 8px 0 16px; }
  .mnav nav a { display: block; color: #fff; text-decoration: none; font-size: 18px; padding: 12px 24px; }
}

/* 히어로: 사진 + 어두운 덮개 + 흰 제목 (레퍼런스 동일) */
.hero { position: relative; color: #fff; background: var(--dark) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.hero .wrap { position: relative; padding: 110px 20px; text-align: center; }
.hero.big .wrap { padding: 170px 20px; }
.hero .tag { font-family: var(--f-head); font-size: 17px; font-weight: 500; letter-spacing: 1px; margin-bottom: 14px; opacity: .92; }
.hero p.sub { margin: 14px auto 0; max-width: 640px; font-size: 16px; line-height: 26px; }
.hero .cta { margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 24px; border-radius: 4px; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { border-color: currentColor; }
.btn.dark { background: var(--dark); color: #fff; }

/* 섹션 공통: 영문 eyebrow + 한글 h2 */
.sec { padding: 96px 0; }
.sec.soft { background: var(--bg-soft); }
.sec.dark { background: var(--dark); color: #EDE8E1; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.eyebrow { display: block; font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: 3.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head p { color: var(--ink-soft); margin-top: 14px; }
.sec.dark .sec-head p { color: #CFC8BF; }
.answer { font-size: 17px; line-height: 28px; max-width: 820px; margin: 0 auto 20px; }
.lead { font-size: 16px; line-height: 27px; }

/* 카드 그리드 */
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .sec { padding: 64px 0; } h1 { font-size: 30px; } h2 { font-size: 24px; } }
.card h3 { margin: 16px 0 8px; }
.card .eyebrow { margin: 16px 0 0; }
.card p { color: var(--ink-soft); }
.sec.dark .card p { color: #CFC8BF; }

/* 사진 / 자리표시 */
.ph { aspect-ratio: 4/3; background: #DAD4CB; color: #6E665D; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; padding: 16px; border-radius: 2px; }
.photo { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 2px; }

/* 두 칸 (사진 + 글) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* 메뉴 */
.badge { display: inline-block; font-size: 12px; line-height: 18px; padding: 2px 8px; border-radius: 2px; background: var(--accent); color: #fff; font-weight: 500; }
.price { font-family: var(--f-en); font-weight: 700; font-size: 21px; color: var(--ink); font-variant-numeric: oldstyle-nums; }
.menu-cat { margin-bottom: 44px; }
.menu-cat h3 { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; letter-spacing: 4px; color: var(--accent); margin-bottom: 4px; }
.menu-cat h3::after { content: ""; flex: 1; height: 1px; background: #CFC6BA; }
.menu-cat .note { color: var(--ink-soft); font-size: 13px; margin: 8px 0 0; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-list .nm { font-family: var(--f-head); font-weight: 700; font-size: 17px; }
.menu-list .spec { display: block; color: var(--ink-soft); font-size: 13px; line-height: 20px; margin-top: 2px; }
.menu-list .price { font-size: 20px; white-space: nowrap; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
@media (max-width: 900px) { .menu-cols { grid-template-columns: 1fr; } }

/* 정보 표 */
.info { width: 100%; border-collapse: collapse; }
.info th, .info td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info th { width: 120px; font-weight: 500; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 22px 12px; text-align: center; }
.stats dt { font-size: 13px; color: var(--ink-soft); }
.stats dd { margin: 4px 0 0; font-family: var(--f-en); font-weight: 700; font-size: 22px; font-variant-numeric: oldstyle-nums; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq-group { margin-bottom: 56px; }
.faq-group > h2 { font-size: 24px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px dashed var(--ink-soft); }
.qa { padding: 20px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.qa h3::before { content: "Q. "; color: var(--accent); font-family: var(--f-en); font-size: 20px; }
.qa p { margin: 0; }

/* 목록 */
.list { margin: 0; padding-left: 20px; }
.list li { margin: 6px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding: 16px 0 16px 52px; position: relative; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-family: var(--f-en); font-style: italic; color: var(--accent); font-size: 24px; font-weight: 600; }
.steps b { display: block; font-family: var(--f-head); font-size: 17px; margin-bottom: 4px; }

/* 스토리 */
.posts a { text-decoration: none; display: block; padding: 24px 0; border-bottom: 1px solid var(--line); }
.posts a:hover h3, .posts a:hover .post-title { color: var(--accent); }
.posts .post-title { font-size: 21px; font-weight: 700; margin: 6px 0 8px; }
.posts .meta { font-size: 13px; color: var(--ink-soft); }
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.article .answer { margin: 0 0 8px; padding: 20px 24px; background: var(--bg-soft); border-left: 3px solid var(--accent); }

/* CTA 박스 */
.cta-box { text-align: center; padding: 56px 20px; background: var(--bg-soft); }
.cta-box .btns { margin-top: 20px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 푸터 */
.ft { background: var(--dark-2); color: #B9B1A7; font-size: 13px; line-height: 22px; padding: 56px 0 40px; }
.ft b { color: #fff; }
.ft .ft-logo { font-family: var(--f-head); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.ft .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .ft .cols { grid-template-columns: 1fr; } }
.ft a { color: #E2DBD2; }
.ft ul { list-style: none; padding: 0; margin: 0; }
.ft .copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid #3D3732; font-size: 12px; }
.todo { background: #FFF1C2; color: #6B4E00; padding: 0 4px; }

/* 갤러리 (사진 설명을 글자로 함께 보여줌) */
.gallery figure { margin: 0; }
.gallery .photo { aspect-ratio: 1/1; }
.gallery figcaption { font-size: 13px; line-height: 20px; color: var(--ink-soft); margin-top: 8px; }

@media (max-width: 440px) { .logo small { display: none; } }

/* 로고 이미지 (붓글씨) */
.logo { align-items: center; }
.logo-img { height: 38px; width: auto; display: block; }
.ft .ft-logo { display: flex; align-items: center; gap: 12px; }
.ft .ft-logo .logo-img { height: 34px; }
@media (max-width: 600px) { .logo-img { height: 32px; } }

/* 페어링 (리플렛 '주인장이 권하는 베스트 조합') */
.pairs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.pair { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid #DDD5CA; }
.pair .photo, .pair .ph { aspect-ratio: 1/1; }
.pair h3 { font-size: 26px; margin: 2px 0 8px; }
.pair h3 .price { font-size: 26px; margin-left: 6px; }
.pair p { margin: 0; color: var(--ink-soft); }
.pair .pair-food { font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: 17px; }
.pair .pair-food em { font-family: var(--f-en); font-style: italic; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.pair .num { font-family: var(--f-en); color: var(--accent); font-weight: 700; margin-right: 10px; }
@media (max-width: 600px) { .pair { grid-template-columns: 96px 1fr; gap: 16px; } .pair h3, .pair h3 .price { font-size: 21px; } }

.closing { font-family: var(--f-head); font-weight: 700; font-size: 19px; color: var(--accent); margin-top: 18px; }

/* 홈: 우리 술 · 페어링 미리보기 */
.liquor { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--ink); }
.liquor li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.liquor .nm { font-family: var(--f-head); font-weight: 700; font-size: 19px; }
.liquor .spec { color: var(--ink-soft); font-size: 13px; }
.liquor .price { font-size: 20px; }
.pair-mini { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: pm; }
.pair-mini li { counter-increment: pm; padding: 14px 0 14px 44px; position: relative; border-bottom: 1px solid var(--line); font-size: 16px; }
.pair-mini li::before { content: counter(pm, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: var(--f-en); font-weight: 700; color: var(--accent); font-size: 20px; }
.pair-mini b { font-family: var(--f-head); }
.pair-mini em { font-family: var(--f-en); font-style: italic; color: var(--ink-soft); margin: 0 4px; }

/* 링크로 이동했을 때 고정 헤더에 가리지 않게 */
section[id], [id] { scroll-margin-top: 96px; }
