/* 맥적 메인 1안 「먹과 불」 */
:root {
  --ink: #1F1E1C;
  --paper: #EFE8DA;
  --dusk: #F59744;
  --fire: #D60909;
  --tone: #B4A691;               /* 산수화 종이 면 */
  --sub: rgba(239, 232, 218, .74);
  --line: rgba(239, 232, 218, .2);
  --line-ink: rgba(31, 30, 28, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
  --hd-h: 80px;
  --pad: clamp(20px, 4.4vw, 64px);
  --gap-sec: clamp(72px, 11vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--dusk); outline-offset: 3px; }
[id] { scroll-margin-top: 72px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--gap-sec) 0; position: relative; }
.sec--paper {
  background-color: var(--tone);
  background-image: linear-gradient(rgba(180, 166, 145, .62), rgba(180, 166, 145, .62)), url(../assets/art/hanji_linen_tile.jpg);
  background-size: auto, 400px 400px;
  color: var(--ink);
}

.h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.24; font-weight: 800; letter-spacing: -0.03em; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.65; font-weight: 500; letter-spacing: -0.01em; }
.body { font-size: 17px; line-height: 1.8; }
.sec:not(.sec--paper) .body { color: var(--sub); }
.cite { display: block; margin-top: 8px; font-size: 15px; opacity: .9; }
.hanja {
  font-family: var(--font);
  font-weight: 300;
  line-height: .9;
  letter-spacing: 0;
  user-select: none;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--dusk { background: var(--dusk); color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--line { border-color: var(--line); color: var(--paper); }
.sec--paper .btn--line { border-color: var(--line-ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { opacity: .86; }
}

/* ---------- 머리글 ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--ink);
  transition: transform .4s var(--ease);
}
.hd.is-hidden { transform: translateY(-100%); }
.hd::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  opacity: 0; transition: opacity .25s var(--ease);
}
.hd.is-solid, .hd.is-open { color: var(--paper); }
.hd.is-solid::before, .hd.is-open::before { opacity: 1; }
.hd__bar {
  height: var(--hd-h);
  display: flex; align-items: center; gap: 24px;
  max-width: 1440px; margin: 0 auto; padding: 0 var(--pad);
  position: relative; z-index: 2;
}
.hd__logo { position: relative; display: block; width: 96px; flex: none; }
.hd__logo img { width: 100%; transition: opacity .25s var(--ease), visibility 0s linear .25s; }
.hd__logo-paper { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.hd.is-solid .hd__logo-ink, .hd.is-open .hd__logo-ink { opacity: 0; visibility: hidden; }
.hd.is-solid .hd__logo-paper, .hd.is-open .hd__logo-paper { opacity: 1; visibility: visible; transition: opacity .25s var(--ease), visibility 0s; }

.gnb { flex: 1; display: flex; justify-content: center; align-self: stretch; }
.gnb__list { display: flex; gap: clamp(8px, 2.6vw, 44px); }
.gnb__item { position: relative; display: flex; flex-direction: column; }
.gnb__top {
  display: flex; align-items: center; height: var(--hd-h); padding: 0 10px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
.gnb__sub {
  position: absolute; top: var(--hd-h); left: 10px;
  min-width: 168px; padding: 22px 0 36px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  color: var(--paper);
}
.gnb__sub li + li { margin-top: 4px; }
.gnb__sub a { display: inline-flex; min-height: 40px; align-items: center; font-size: 16px; color: var(--sub); transition: color .2s var(--ease); }
.gnb__sub a:hover, .gnb__sub a:focus-visible { color: var(--paper); }
.gnb__soon { font-size: 13px; font-weight: 600; color: var(--dusk); margin-bottom: 2px; }
.hd.is-open .gnb__sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s; }
.gnb__item:hover .gnb__top, .gnb__item:focus-within .gnb__top { color: var(--dusk); }
.mega-bg {
  position: absolute; left: 0; right: 0; top: 100%;
  height: 236px; background: var(--ink);
  border-top: 1px solid var(--line);
  transform-origin: top; transform: scaleY(0);
  transition: transform .25s var(--ease);
  pointer-events: none; z-index: 1;
}
.hd.is-open .mega-bg { transform: scaleY(1); }

.hd__act { display: flex; align-items: center; gap: 10px; flex: none; }
.mag { display: inline-flex; will-change: transform; }
.mag-inner { display: inline-block; }
.hd__tel {
  min-height: 44px; align-items: center; padding: 0 14px;
  font-size: 15px; font-weight: 600;
}
.hd__cta {
  min-height: 44px; align-items: center; padding: 0 20px;
  background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 700;
}
.hd.is-solid .hd__cta, .hd.is-open .hd__cta { background: var(--dusk); color: var(--ink); }
.hd__burger {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; padding: 0; cursor: pointer; position: relative;
}
.hd__burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.hd__burger i:first-child { top: 19px; }
.hd__burger i:last-child { top: 28px; }
.hd__burger[aria-expanded="true"] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.hd__burger[aria-expanded="true"] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* 폰 전체 메뉴 */
.mnav {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--paper);
  padding: calc(var(--hd-h) + 8px) var(--pad) calc(96px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity .25s var(--ease);
}
.mnav.is-on { opacity: 1; }
.mnav__groups { display: grid; gap: 22px; }
.mnav__g { border-top: 1px solid var(--line); padding-top: 14px; }
.mnav__h { font-size: 22px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; min-height: 44px; }
.mnav__h small { font-size: 13px; color: var(--dusk); font-weight: 600; }
.mnav__g ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.mnav__g a.sub { display: inline-flex; align-items: center; min-height: 44px; color: var(--sub); font-size: 16px; }
.mnav__foot { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- 1. 첫 화면 ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden;
  color: var(--ink);
  background: var(--tone) url(../assets/art/menu_sansu_2000.jpg) 50% 0 / 150vw auto no-repeat;
}
.hero__art { position: absolute; inset: 0; }
.hero__img {
  position: absolute; left: 50%; bottom: 0;
  width: 100%; max-width: none; height: auto;
  transform: translateX(-50%);
}
@media (orientation: portrait) {
  .hero__img { width: 150%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 18%); }
}
.hero__ink { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.hero__ink.is-on { opacity: 1; }
.hero__copy {
  position: absolute; left: 0; right: 0; top: 0;
  padding: calc(var(--hd-h) + 12svh) var(--pad) 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__title {
  position: relative;
  font-size: clamp(40px, 8.2vw, 124px);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.035em;
  white-space: nowrap;
}
.hero__line { display: inline-block; }
.seal {
  position: absolute; left: 100%; top: .06em; margin-left: .16em;
  width: .42em; padding: .05em 0;
  background: var(--fire); color: var(--paper);
  display: flex; flex-direction: column; align-items: center;
  font-size: .5em; font-size: max(17px, .26em); line-height: 1.04; font-weight: 700;
}
.seal b { font-weight: 700; }
.hero__title .seal { width: auto; padding: .18em .16em; }
.hero__sub { margin-top: clamp(14px, 2.2vh, 26px); font-size: clamp(17px, 1.6vw, 23px); font-weight: 600; letter-spacing: -0.01em; }

/* 글자 마스크 등장(한 번) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .c { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.split.is-in .c { transform: none; }
.hero__sub, .seal { transition: opacity .8s var(--ease) .55s; }
.js-intro .hero__sub, .js-intro .seal { opacity: 0; }
.js-intro.is-ready .hero__sub, .js-intro.is-ready .seal { opacity: 1; }

/* ---------- 2. 이름의 뜻 ---------- */
.origin__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); align-items: end; }
.origin__hanja { font-size: clamp(120px, 17vw, 260px); color: var(--paper); opacity: .92; }
.origin__text .h2 { margin-bottom: 22px; }
.origin__text .lead { margin-bottom: 16px; }

.mural { margin-top: clamp(96px, 9vw, 136px); }
.mural__frame { position: relative; }
.mural__frame img { width: 100%; }
.pin {
  position: absolute; left: var(--x); top: -60px; height: calc(var(--y) + 60px);
  width: 1px; background: var(--paper);
}
.pin::after {
  content: ""; position: absolute; left: -4px; bottom: -4px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px rgba(31, 30, 28, .55);
}
.pin--fire::after { background: var(--fire); }
.pin__label {
  position: absolute; left: 12px; top: -6px; white-space: nowrap;
  font-size: 16px; font-weight: 600; color: var(--paper); line-height: 1.4;
}
.mural__cap { margin-top: 14px; font-size: 14px; color: var(--sub); }

.thennow {
  margin-top: clamp(72px, 8vw, 120px);
  display: grid; grid-template-columns: minmax(0, 4fr) 48px minmax(0, 4fr) minmax(0, 5fr);
  gap: 0 clamp(16px, 2vw, 32px); align-items: start;
}
.thennow__item img, .thennow__crop { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.thennow__crop {
  background: url(../assets/art/anak3_kitchen_commons.jpg) 41% 46% / 560% auto no-repeat;
}
.thennow__item figcaption { margin-top: 14px; font-size: 16px; color: var(--sub); }
.thennow__item figcaption b { display: block; font-size: 30px; font-weight: 800; color: var(--paper); letter-spacing: -0.02em; line-height: 1.3; }
.thennow__link { align-self: center; height: 1px; background: var(--paper); position: relative; margin-top: -40px; }
.thennow__link::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; background: var(--dusk); }
.thennow__text { padding-left: clamp(0px, 2vw, 24px); }
.sign { font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 18px; color: var(--dusk); }
.thennow__text .body + .body { margin-top: 12px; }

/* ---------- 3. 3단 마이야르 ---------- */
.grill { padding-top: 0; }
.sec__head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec__head .h2 { margin-bottom: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.step { position: relative; }
.step__ph { overflow: hidden; aspect-ratio: 4 / 5; }
.step__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.step__no { font-size: clamp(64px, 6.4vw, 104px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--dusk); margin-top: -0.55em; position: relative; padding-left: 14px; }
.step__t { font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; padding-left: 14px; }
@media (hover: hover) and (pointer: fine) { .step:hover .step__ph img { transform: scale(1.04); } }
.grill__note { margin-top: 32px; font-size: 18px; color: var(--sub); }

.master {
  margin-top: clamp(96px, 10vw, 160px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); align-items: center;
}
.master__hanja { font-size: clamp(120px, 17vw, 260px); color: var(--paper); }
.master__text .h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.quote { margin-top: 26px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; line-height: 1.55; color: var(--paper); letter-spacing: -0.015em; }

/* ---------- 4. 메뉴 ---------- */
.menu { background: #1F1E1C; border-top: 1px solid var(--line); }
.menu__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.menu__hanja { font-size: clamp(120px, 17vw, 260px); color: var(--paper); }
.menu__head .h2 { margin-bottom: 18px; }
.cuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.cut__ph { aspect-ratio: 1 / 1; overflow: hidden; background: #2a2926; }
.cut__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .cut:hover .cut__ph img { transform: scale(1.04); } }
.cut__t { margin-top: 20px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.cut__t span, .set__t span { font-size: .6em; font-weight: 500; color: var(--sub); margin-left: 4px; }
.cut__p { font-size: 19px; font-weight: 700; color: var(--dusk); margin-top: 2px; }
.cut__d { margin-top: 8px; font-size: 16px; color: var(--sub); line-height: 1.7; }

.sets { margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.set { padding: 32px 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: end; }
.set + .set { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 48px); }
.set:first-child { padding-right: clamp(20px, 3vw, 48px); }
.set__t { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.03em; grid-column: 1; }
.set__d { grid-column: 1; font-size: 16px; color: var(--sub); }
.set__p { grid-column: 2; grid-row: 1 / 3; font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.set__p small { font-size: .45em; font-weight: 600; margin-left: 3px; }

.sides { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.side { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; padding-top: 24px; }
.side img { width: 112px; height: 112px; object-fit: cover; }
.side__t { font-size: 18px; font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; }
.side__t span { display: block; font-size: 16px; color: var(--dusk); font-weight: 700; }
.side__d { margin-top: 6px; font-size: 15.5px; color: var(--sub); line-height: 1.65; }
.menu__note { margin-top: 40px; font-size: 16px; color: var(--sub); }

/* ---------- 5. 비즈니스 ---------- */
.biz .sec__head { max-width: 980px; }
.biz .lead { color: var(--ink); }
.biz__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.bz__ph { overflow: hidden; aspect-ratio: 3 / 4; }
.bz--main .bz__ph { aspect-ratio: 4 / 5; }
.bz__ph img { width: 100%; height: 100%; object-fit: cover; }
.bz__state { margin-top: 18px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.bz__t { margin-top: 6px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.bz--main .bz__t { font-size: clamp(26px, 2.6vw, 36px); }
.bz__d { margin-top: 8px; font-size: 16px; line-height: 1.7; }

/* ---------- 6. 주막 ---------- */
.jumak { padding-top: 0; }
.jumak__wide { position: relative; }
.jumak__wide img { width: 100%; height: clamp(320px, 52vw, 720px); object-fit: cover; }
.jumak__hanja {
  position: absolute; right: var(--pad); bottom: -0.32em;
  font-size: clamp(120px, 17vw, 260px); color: var(--paper);
}
.jumak__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 120px); margin-top: clamp(64px, 8vw, 128px); align-items: start; }
.jumak__text .h2 { margin-bottom: 20px; }
.jumak__text .lead { margin-bottom: 14px; }
.jumak__facts { margin-top: 28px; display: grid; gap: 6px; }
.jumak__facts li { font-size: 16px; color: var(--sub); padding-left: 18px; position: relative; }
.jumak__facts li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1.5px; background: var(--dusk); }
.jumak__ph img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- 7. 매장 ---------- */
.store { border-top: 1px solid var(--line); }
.store__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.store__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }
.store__info .h2 { margin-bottom: 18px; }
.store__addr { font-size: 19px; font-weight: 600; line-height: 1.6; }
.store__addr span { display: block; font-size: 16px; font-weight: 400; color: var(--sub); }
.hours { width: 100%; margin-top: 32px; border-collapse: collapse; font-size: 17px; }
.hours caption { text-align: left; font-size: 15px; font-weight: 700; color: var(--sub); padding-bottom: 8px; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--dusk); font-weight: 700; }
.hours tr.is-today th::after { content: "오늘"; margin-left: 10px; font-size: 13px; padding: 1px 8px; border: 1px solid var(--dusk); vertical-align: 2px; }
.store__small { margin-top: 10px; font-size: 15px; color: var(--sub); }
.store__dl { margin-top: 28px; display: grid; gap: 10px; }
.store__dl div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; font-size: 16px; }
.store__dl dt { font-weight: 700; }
.store__dl dd { margin: 0; color: var(--sub); }
.store__dl a { text-decoration: underline; text-underline-offset: 3px; }
.store__btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 8. 프랜차이즈 ---------- */
.fr__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.fr__state { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.fr__text .h2 { margin-bottom: 20px; }
.fr__list { margin-top: 36px; border-top: 1px solid var(--line-ink); }
.fr__list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-ink); font-size: 16px; }
.fr__list b { font-weight: 700; }
.fr__tel { display: inline-flex; align-items: center; min-height: 48px; margin-top: 24px; font-size: 18px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

.inq { background: var(--ink); color: var(--paper); padding: clamp(28px, 3.4vw, 48px); }
.inq .h3 { margin-bottom: 22px; }
.inq__fields { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld span { font-size: 15px; font-weight: 600; color: var(--sub); }
.fld input {
  height: 52px; padding: 0 14px; border: 1px solid var(--line); background: transparent;
  font-size: 17px; border-radius: 0;
}
.fld input::placeholder { color: rgba(239, 232, 218, .5); }
.fld input:focus { outline: none; border-color: var(--dusk); }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 15px; color: var(--sub); line-height: 1.55; cursor: pointer; min-height: 44px; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--dusk); flex: none; }
.inq__err { min-height: 22px; font-size: 15px; color: var(--dusk); margin-top: 6px; }
.inq__btn { width: 100%; margin-top: 8px; background: var(--dusk); color: var(--ink); font-weight: 700; font-size: 17px; }
.inq__done { padding: 24px 0 8px; }
.inq__done-t { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--paper); }
.inq.is-done .inq__fields, .inq.is-done .agree, .inq.is-done .inq__btn, .inq.is-done .inq__err { display: none; }

/* ---------- 9. 소식 ---------- */
.news__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.news__links { display: flex; flex-wrap: wrap; gap: 10px; }
.news__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 48px); }
.post { padding-top: 8px; }
.post__meta { display: flex; gap: 12px; font-size: 15px; color: var(--sub); }
.post__meta span { color: var(--dusk); font-weight: 700; }
.post__t { margin: 10px 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.post--main .post__t { font-size: clamp(28px, 3vw, 40px); font-weight: 800; }
.post__more { margin-top: 14px; }
.post__more summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; list-style: none; }
.post__more summary::-webkit-details-marker { display: none; }
.post__more[open] summary { margin-bottom: 8px; }
.post__more .body + .body { margin-top: 10px; }

.hist { margin-top: clamp(64px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; }
.hist__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.hist__list li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; font-size: 16px; }
.hist__list time { font-weight: 700; font-variant-numeric: tabular-nums; }
.hist__list span { color: var(--sub); }

/* ---------- 꼬리말 ---------- */
.ft { border-top: 1px solid var(--line); padding: 64px 0 56px; }
.ft__in { display: grid; grid-template-columns: 140px 1fr auto; gap: 40px; align-items: start; }
.ft__logo { width: 140px; }
.ft__info { display: grid; gap: 2px; font-size: 15.5px; color: var(--sub); }
.ft__name { font-weight: 700; color: var(--paper); }
.ft__info a { text-decoration: underline; text-underline-offset: 3px; }
.ft__copy { font-size: 15px; color: var(--sub); }

/* ---------- 폰 앱바 ---------- */
.appbar { display: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1180px) {
  .hd__tel { display: none; }
  .gnb__list { gap: 4px; }
}
@media (max-width: 1024px) {
  .biz__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bz--main .bz__ph, .bz__ph { aspect-ratio: 4 / 3; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .post--main { grid-column: 1 / -1; }
  .thennow { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
  .thennow__text { grid-column: 1 / -1; margin-top: 40px; padding-left: 0; max-width: 720px; }
  .sides { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --hd-h: 64px; }
  .gnb, .hd__tel, .hd__cta { display: none; }
  .hd__bar { justify-content: space-between; }
  .hd__burger { display: block; }
  .hd__logo { width: 84px; }
  .mega-bg { display: none; }
  .origin__head, .master, .menu__head, .jumak__body, .store__grid, .fr__grid { grid-template-columns: 1fr; }
  .hist { grid-template-columns: 1fr; }
  .store__ph img { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  body { font-size: 15.5px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .body { font-size: 15.5px; }
  .sec { padding: 64px 0; }
  .grill, .jumak { padding-top: 0; }
  [id] { scroll-margin-top: 16px; }

  .scroller {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: 78%;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--pad);
    margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1);
    padding: 0 var(--pad) 6px;
    scrollbar-width: none;
  }
  .scroller::-webkit-scrollbar { display: none; }
  .scroller > * { scroll-snap-align: start; }
  .steps.scroller { grid-auto-columns: 66%; }
  .sides.scroller { grid-auto-columns: 86%; }
  .biz__grid.scroller { grid-auto-columns: 72%; align-items: start; }
  .bz__ph, .bz--main .bz__ph { aspect-ratio: 4 / 3; }

  .hero__copy { padding-top: calc(var(--hd-h) + 14svh); }
  .hero__title { font-size: clamp(36px, 10.4vw, 64px); }
  .hero__sub { font-size: 16px; }

  .origin__hanja, .master__hanja, .menu__hanja { font-size: clamp(80px, 25vw, 112px); }
  .origin__head, .menu__head { gap: 12px; }
  .mural { margin-top: 76px; }
  .pin__label { font-size: 14px; }
  .mural__cap { font-size: 13px; }
  .thennow { margin-top: 48px; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 0 8px; }
  .thennow__item figcaption { font-size: 14px; line-height: 1.5; }
  .thennow__item figcaption b { font-size: 22px; }
  .thennow__text { margin-top: 32px; }
  .step__ph { aspect-ratio: 1 / 1; }
  .master { margin-top: 72px; gap: 8px; }
  .cut__ph { aspect-ratio: 4 / 3; }
  .sets { grid-template-columns: 1fr; }
  .set { padding: 22px 0; }
  .set + .set { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .set:first-child { padding-right: 0; }
  .side { grid-template-columns: 88px 1fr; }
  .side img { width: 88px; height: 88px; }
  .menu__note { margin-top: 24px; font-size: 15px; }
  .jumak__wide img { height: 240px; }
  .jumak__hanja { font-size: 104px; }
  .jumak__body { margin-top: 56px; }
  .jumak__ph { display: none; }
  .store__btns .btn { flex: 1 1 140px; }
  .news__grid.scroller { grid-auto-columns: 84%; gap: 20px; }
  .news__head { align-items: start; }
  .hist__list { grid-template-columns: 1fr; }
  .hist { margin-top: 48px; }
  .hist__list li { grid-template-columns: 116px 1fr; font-size: 15px; padding: 6px 0; line-height: 1.55; }
  .ft { padding: 48px 0 40px; }
  .ft__in { grid-template-columns: 1fr; gap: 20px; }
  .ft__logo { width: 112px; }

  .appbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: calc(62px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink); border-top: 1px solid var(--line);
  }
  .appbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 44px; font-size: 12px; font-weight: 600; color: var(--sub); position: relative;
  }
  .appbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .appbar a.is-on { color: var(--paper); }
  .appbar a.is-on::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--dusk); }
  .appbar a[href^="tel"] { color: var(--dusk); }
}
@media (max-width: 380px) {
  .hero__title { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .split .c { transform: none; transition: none; }
  .hd, .gnb__sub, .mega-bg, .hero__ink, .btn, .step__ph img, .cut__ph img { transition: none; }
}

/* ================= 요소별 인터랙션 (motion.js) ================= */
@property --mo-r { syntax: "<percentage>"; inherits: false; initial-value: 140%; }
:root { --mo-y: 16px; --mo-card: 28px; --mo-out: cubic-bezier(.16, 1, .3, 1); }
@media (hover: none), (pointer: coarse) { :root { --mo-y: 8px; --mo-card: 14px; } }

/* 숨김은 html.mo 아래에서만 */
html.mo [data-mo="up"], html.mo [data-mo="row"], html.mo [data-mo="card"] { opacity: 0; translate: 0 var(--mo-y); }
html.mo [data-mo="card"] { translate: 0 var(--mo-card); }
html.mo [data-mo="up"].mo-in, html.mo [data-mo="row"].mo-in, html.mo [data-mo="card"].mo-in {
  opacity: 1; translate: none;
  transition: opacity .6s var(--mo-out) var(--md, 0ms), translate .6s var(--mo-out) var(--md, 0ms);
}
html.mo [data-mo="card"].mo-in { transition-duration: .8s; }

/* 큰 제목: 줄마다 선 아래에서 */
.ml { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.ml-i { display: inline-block; }
html.mo [data-mo="lines"] .ml-i { transform: translateY(108%); }
html.mo [data-mo="lines"].mo-in .ml-i { transform: none; transition: transform .9s cubic-bezier(.16, 1, .3, 1) calc(var(--md, 0ms) + var(--ld, 0ms)); }

/* 먹 번짐: blur 12px→0 + 투명도 + 가장자리부터 스며드는 마스크 */
html.mo [data-mo="ink"] {
  opacity: 0; filter: blur(12px); --mo-r: 0%;
  -webkit-mask-image: radial-gradient(farthest-corner at 42% 46%, #000 calc(var(--mo-r) - 34%), transparent var(--mo-r)), radial-gradient(farthest-corner at 64% 60%, #000 calc(var(--mo-r) - 46%), transparent calc(var(--mo-r) - 8%));
  mask-image: radial-gradient(farthest-corner at 42% 46%, #000 calc(var(--mo-r) - 34%), transparent var(--mo-r)), radial-gradient(farthest-corner at 64% 60%, #000 calc(var(--mo-r) - 46%), transparent calc(var(--mo-r) - 8%));
}
html.mo [data-mo="ink"].mo-in {
  opacity: 1; filter: blur(0); --mo-r: 140%;
  transition: opacity 1.1s ease-out var(--md, 0ms), filter 1.6s var(--mo-out) var(--md, 0ms), --mo-r 2s var(--mo-out) var(--md, 0ms);
}

/* 사진: 가림막이 걷히고 안쪽 사진 1.08→1 */
.mo-ph { overflow: hidden; display: block; }
.mo-img { --s0: 1; }
.mo-px { --s0: 1.1; scale: 1.1; }
html.mo [data-mo="photo"] { clip-path: inset(0 100% 0 0); }
html.mo [data-mo="photo"] .mo-img { scale: calc(var(--s0) + .08); }
html.mo [data-mo="photo"].mo-in { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1) var(--md, 0ms); }
html.mo [data-mo="photo"].mo-in .mo-img { scale: var(--s0); transition: scale 1.1s var(--mo-out) var(--md, 0ms), transform .6s var(--ease); }
html.mo [data-mo="curtain"] { clip-path: inset(0 100% 0 0); }
html.mo [data-mo="curtain"].mo-in { clip-path: inset(0 0 0 0); transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1) var(--md, 0ms); }
html.mo [data-mo="pin"] { scale: 1 0; transform-origin: 50% 0; }
html.mo [data-mo="pin"] .pin__label { opacity: 0; }
html.mo [data-mo="pin"].mo-in { scale: 1 1; transition: scale .7s var(--mo-out) var(--md, 0ms); }
html.mo [data-mo="pin"].mo-in .pin__label { opacity: 1; transition: opacity .5s ease-out calc(var(--md, 0ms) + .45s); }
html.mo [data-mo="draw"] { scale: 0 1; transform-origin: 0 50%; }
html.mo [data-mo="draw"].mo-in { scale: 1 1; transition: scale .8s var(--mo-out) var(--md, 0ms); }
.mo-num { display: inline-block; text-align: right; }

/* 빨리 지나간 요소는 애니메이션 없이 바로 */
html.mo .mo-now, html.mo .mo-now * { transition: none !important; }

/* ---- 손 반응 ---- */
.bz__ph img, .thennow__item img, .thennow__crop, .store__ph img, .jumak__ph img, .side img { transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .bz:hover .bz__ph img, .thennow__item:hover img, .thennow__item:hover .thennow__crop, .store__ph:hover img, .jumak__ph:hover img, .side:hover img { transform: scale(1.04); }
  .cut:hover .cut__t, .step:hover .step__t, .side:hover .side__t, .post:hover .post__t, .set:hover .set__t { color: var(--dusk); }
  .bz:hover .bz__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .mural__frame:hover .pin::after { scale: 1.6; }
  .mural__frame:hover img { filter: contrast(1.08) saturate(1.12); }
  .hist__list li:hover time { color: var(--dusk); }
  .jumak__facts li:hover::before { transform: scaleX(2.2); }
  .fld input:hover { border-color: rgba(239, 232, 218, .45); }
  .ft__logo:hover { opacity: .82; }
  .store__ph:hover, .jumak__ph:hover { cursor: default; }
  .hours tr:hover th, .hours tr:hover td { color: var(--paper); }
  .fr__list li:hover b { text-decoration: underline; text-underline-offset: 4px; }
}
.cut__t, .step__t, .side__t, .post__t, .set__t { transition: color .25s var(--ease); }
.pin::after { transition: scale .3s var(--ease); }
.mural__frame img { transition: filter .4s var(--ease); }
.hist__list time { transition: color .2s var(--ease); }
.jumak__facts li::before { transform-origin: 0 50%; transition: transform .3s var(--ease); }
.ft__logo { transition: opacity .25s var(--ease); }
.step:active, .cut:active, .bz:active, .side:active, .post:active, .set:active { scale: .97; transition: scale .15s var(--ease); }
.ul { text-decoration: none !important; }
.ul-t { position: relative; display: inline-block; }
.ul-t::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: currentColor; transform-origin: 0 50%; }
@media (hover: hover) and (pointer: fine) { .ul:hover .ul-t::after { animation: mo-uline .6s var(--ease); } }
@keyframes mo-uline { 0% { transform: scaleX(1); transform-origin: 100% 50%; } 45% { transform: scaleX(0); transform-origin: 100% 50%; } 46% { transform: scaleX(0); transform-origin: 0 50%; } 100% { transform: scaleX(1); transform-origin: 0 50%; } }
.store__dl a, .ft__info a { display: inline-block; }
.store__dl a:active, .ft__info a:active, .fr__tel:active, .post__more summary:active { scale: .97; }
.gnb__top { position: relative; }
.gnb__top::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 22px; height: 2px; background: var(--dusk); scale: 0 1; transform-origin: 0 50%; transition: scale .3s var(--ease); }
.gnb__top.is-current::after { scale: 1 1; }
.fld span { transition: color .2s var(--ease), translate .25s var(--ease); }
.fld:focus-within span { color: var(--dusk); translate: 0 -2px; }
.fld input { transition: border-color .2s var(--ease); }
.appbar svg { transition: scale .15s var(--ease); }
.appbar a:active svg { scale: .9; }
.scroller.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
@media (prefers-reduced-motion: reduce) {
  .mo-px { scale: 1; }
  .ul:hover .ul-t::after { animation: none; }
}

.hanja[data-tilt] { cursor: default; }
