/* 색은 site.config.mjs의 colors에서 :root 변수로 들어옵니다. 여기서는 바꾸지 않습니다. */
:root {
  --line: color-mix(in srgb, var(--ink) 13%, white);
  --footer: color-mix(in srgb, var(--ink) 75%, black);
  --on-dark: color-mix(in srgb, #fff 70%, var(--ink));
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; word-break: keep-all; overflow-wrap: break-word; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* 가상 예시 띠 */
.notice { background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-align: center; padding: 10px var(--gutter); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: filter .15s, background .15s; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { filter: brightness(1.1); }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 머리말 */
.header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 40px; font-size: 16px; font-weight: 600; }
.nav > a:not(.btn):hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin: -8px; color: var(--ink); cursor: pointer; }

/* 글자 */
.eyebrow { color: var(--point); font-size: 15px; font-weight: 600; }
h1 { font-size: 60px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 40px; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.heading { display: grid; gap: 12px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.65; }
.body { color: var(--muted); font-size: 18px; line-height: 1.7; }

/* 그림 */
.art img { width: 100%; height: 100%; object-fit: cover; }
.art { display: block; overflow: hidden; background: var(--tint); }

/* 첫 화면 */
.hero { display: grid; grid-template-columns: 1fr 560px; gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 120px; }
.hero__copy { display: grid; gap: 24px; }
.hero__copy .actions { padding-top: 8px; }
.art--hero { aspect-ratio: 560 / 520; border-radius: 32px; }

/* 섹션 */
.section { padding: 120px 0; }
.section--tint { background: var(--tint); }
.section--white { background: #fff; }
.section--dark { background: var(--ink); color: var(--bg); }
.section .wrap > .heading { margin-bottom: 48px; }

/* 소개 */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__text { display: grid; gap: 24px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats li { background: var(--bg); border-radius: 20px; padding: 32px 24px; display: grid; gap: 8px; }
.stats strong { color: var(--point); font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 16px; }

/* 메뉴 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.card__img { width: 100%; aspect-ratio: 360 / 260; object-fit: cover; background: var(--tint); }
.card__body { display: grid; gap: 8px; padding: 20px 24px 24px; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.card strong { color: var(--point); font-size: 17px; font-weight: 600; }

/* 영업 안내 + 오시는 길 */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.info .heading { margin-bottom: 32px; }
.table > div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.table dt { font-weight: 600; }
.table dd { color: var(--muted); }
.location { display: grid; gap: 12px; }
.art--map { aspect-ratio: 560 / 340; border-radius: 24px; margin-bottom: 8px; }
.art--map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-kakao .root_daum_roughmap { width: 100% !important; }
.map-kakao .root_daum_roughmap .wrap_map { height: 100% !important; }
.address { font-size: 18px; font-weight: 600; }
.location .body { font-size: 16px; }
.location .actions { padding-top: 8px; }

/* 문의 */
.contact { text-align: center; padding: 96px 0; }
.contact .wrap { display: grid; justify-items: center; gap: 24px; }
.contact h2 { font-size: 36px; }
.contact p { color: var(--on-dark); font-size: 18px; }
.contact .btn--primary { background: #fff; color: var(--ink); }

/* 바닥글 */
.footer { background: var(--footer); color: color-mix(in srgb, #fff 55%, var(--ink)); font-size: 14px; }
.footer__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 40px; padding-bottom: 40px; }
.footer a:hover { text-decoration: underline; }

/* 태블릿 */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about, .info { gap: 48px; }
  .nav { gap: 24px; }
}

/* 모바일 */
@media (max-width: 767px) {
  .notice { font-size: 12px; }
  .header__in { padding-top: 14px; padding-bottom: 14px; }
  .logo { font-size: 22px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .eyebrow { font-size: 14px; }
  .lead, .body { font-size: 16px; }

  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; padding-bottom: 40px; }
  .art--hero { order: -1; aspect-ratio: 342 / 280; border-radius: 24px; }
  .hero__copy { gap: 16px; }
  .actions .btn { flex: 1; }

  .section { padding: 64px 0; }
  .section .wrap > .heading { margin-bottom: 28px; }
  .heading { gap: 8px; }

  .about { grid-template-columns: 1fr; gap: 28px; }
  .stats { gap: 8px; }
  .stats li { padding: 18px 14px; border-radius: 16px; gap: 4px; }
  .stats strong { font-size: 26px; }
  .stats span { font-size: 13px; }

  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card__img { aspect-ratio: 342 / 200; }

  .info { grid-template-columns: 1fr; gap: 40px; }
  .info .heading { margin-bottom: 20px; }
  .table > div { grid-template-columns: 84px 1fr; gap: 16px; padding: 14px 0; font-size: 15px; }
  .art--map { aspect-ratio: 342 / 220; border-radius: 20px; }
  .address { font-size: 16px; }
  .location .body { font-size: 14px; }

  .contact { padding: 56px 0; }
  .contact .wrap { gap: 16px; }
  .contact h2 { font-size: 24px; }
  .contact p { font-size: 15px; }
  .contact .btn { width: 100%; }

  .footer { font-size: 13px; }
  .footer__in { flex-direction: column; gap: 6px; padding-top: 28px; padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
