/* 반쪽 델리 — N25 콜라주 첫 화면 (위는 오려 붙인 혼돈, 괘선 아래는 정돈된 메뉴) */
:root {
  --paper: #f3ead7;
  --paper-2: #fbf6ea;
  --ink: #241f19;
  --ink-2: #5a5148;
  --tomato: #cf4429;
  --mustard: #e3b23c;
  --pickle: #4c6a35;
  --line: #241f19;
  --display: "Dongle", "Pretendard Variable", sans-serif;
  --pen: "Nanum Pen Script", cursive;
  --body: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.65;
  word-break: keep-all; overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }

/* 헤더 */
.hd {
  display: flex; align-items: center; gap: 28px;
  max-width: 1120px; margin: 0 auto; padding: 18px 32px;
}
.hd__logo {
  font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1;
  text-decoration: none; color: var(--tomato);
}
.hd__nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 600; }
.hd__nav a { text-decoration: none; }
.hd__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hd__tel {
  font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px;
}

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 2px solid var(--ink);
}
.btn--ink { background: var(--ink); color: var(--paper-2); }
.btn--ink:hover { background: var(--tomato); border-color: var(--tomato); }
.btn--line { background: transparent; }
.btn--line:hover { background: var(--paper-2); }

/* ── 콜라주 ── */
.cl { padding: 8px 32px 0; }
.cl__board { position: relative; max-width: 1120px; height: 700px; margin: 0 auto; }
.cl__board > * { position: absolute; margin: 0; }
.cl__name {
  left: 2%; top: 10px; z-index: 3;
  font-family: var(--display); font-weight: 700; font-size: 230px; line-height: .72;
  color: var(--tomato); transform: rotate(-5deg); transform-origin: left top;
}
.cl__name span { display: block; }
.cl__name span + span { margin-left: 120px; color: var(--ink); }
.cl__lead {
  left: 4%; top: 390px; width: 370px; z-index: 4;
  font-size: 18px; font-weight: 600; line-height: 1.6;
  background: var(--paper-2); padding: 16px 18px; border: 2px solid var(--ink);
  transform: rotate(-1.5deg); box-shadow: 5px 5px 0 var(--ink);
}
/* 버튼은 회전·겹침 없이 고정 자리 */
.cl__act { left: 4%; bottom: 18px; z-index: 6; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; width: 470px; }
.cl__status { width: 100%; margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); flex: none; }
.dot.is-open { background: var(--pickle); box-shadow: 0 0 0 4px rgba(76, 106, 53, .2); }
.dot.is-closed { background: var(--tomato); }

.cl__pic img { width: 100%; }
.cl__pic--a {
  left: 41%; top: 20px; width: 430px; z-index: 2;
  transform: rotate(6deg);
}
.cl__pic--a img { border-radius: 50%; box-shadow: 0 18px 40px rgba(36, 31, 25, .28); }
.cl__pic--b {
  right: 2%; top: 300px; width: 290px; z-index: 4;
  background: #fff; padding: 12px 12px 6px; transform: rotate(-7deg);
  box-shadow: 0 12px 28px rgba(36, 31, 25, .25);
}
.cl__pic--b::before {
  content: ""; position: absolute; left: 50%; top: -14px; width: 96px; height: 28px;
  background: rgba(227, 178, 60, .75); transform: translateX(-50%) rotate(3deg);
}
.cl__pic--b figcaption { font-family: var(--pen); font-size: 26px; line-height: 1.3; padding-top: 4px; text-align: center; }
.cl__sticker {
  left: 37%; top: 26px; z-index: 5; width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--mustard); font-family: var(--pen); font-size: 34px; line-height: 1;
  transform: rotate(-12deg);
}
.cl__note {
  right: 3%; top: 34px; z-index: 3; width: 210px;
  background: var(--paper-2); padding: 14px 16px 16px; font-size: 14px; line-height: 1.6;
  border-top: 6px dotted var(--ink); transform: rotate(4deg);
  box-shadow: 0 8px 20px rgba(36, 31, 25, .18);
}
.cl__note b { display: block; font-family: var(--pen); font-size: 30px; font-weight: 400; color: var(--tomato); line-height: 1.1; }
.cl__scribble {
  left: 40%; top: 470px; z-index: 5; font-family: var(--pen); font-size: 44px; color: var(--pickle);
  transform: rotate(-8deg);
}
.cl__arrow { left: 46%; top: 400px; width: 110px; z-index: 5; color: var(--pickle); transform: scaleY(-1) rotate(-20deg); }
.cl__stamp {
  left: 56%; bottom: 46px; z-index: 1; width: 104px; height: 104px; border-radius: 50%;
  border: 3px double var(--pickle); color: var(--pickle);
  display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-size: 30px; line-height: .8; transform: rotate(-16deg);
}

/* ── 가로 괘선: 혼돈과 질서의 경계 ── */
.rule { max-width: 1120px; margin: 34px auto 0; border: 0; border-top: 3px solid var(--line); }

/* ── 정돈된 메뉴 그리드 ── */
.menu, .news, .visit { max-width: 1120px; margin: 0 auto; padding: 56px 32px; }
.sec-head { display: flex; align-items: baseline; gap: 32px; margin-bottom: 28px; }
.sec-head h2, .news h2, .visit h2, .cater h2 {
  font-family: var(--display); font-weight: 700; font-size: 64px; line-height: .9;
}
.sec-head p { margin: 0; color: var(--ink-2); }
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.grid li {
  display: flex; flex-direction: column; gap: 6px; min-height: 200px; padding: 18px 18px 16px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.grid .no { font-family: var(--display); font-size: 34px; line-height: .8; color: var(--tomato); }
.grid h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.grid p { margin: 0; font-size: 14px; color: var(--ink-2); flex: 1; }
.grid em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--pickle); border: 1px solid; padding: 0 6px; border-radius: 4px; margin-left: 4px; }
.grid b { font-size: 17px; font-variant-numeric: tabular-nums; }
.grid .is-season { background: var(--paper-2); }
.menu__foot { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }

/* 단체 주문 */
.cater {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  max-width: 1120px; margin: 0 auto; border-top: 3px solid var(--line); border-bottom: 3px solid var(--line);
}
.cater__img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.cater__txt { padding: 44px 44px 40px; background: var(--paper-2); }
.cater__txt p { margin: 16px 0; }
.cater__txt ul { margin: 0 0 22px; padding-left: 1.1em; }
.cater__btns, .visit__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 소식 */
.news ul { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--tomato); }
.news p { margin: 0; }

/* 오시는 길 */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-top: 24px; }
.visit dl { display: grid; grid-template-columns: 64px 1fr; gap: 12px 16px; margin: 24px 0 26px; }
.visit dt { font-weight: 700; }
.visit dd { margin: 0; }
.visit small { color: var(--ink-2); font-size: 14px; }
.visit__img { width: 100%; border: 2px solid var(--ink); }

/* 푸터 */
.ft { background: var(--ink); color: #d9cfbd; padding: 40px 32px 48px; font-size: 14px; }
.ft > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.ft__name { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--paper-2); margin-bottom: 12px; }
.ft p { margin-top: 0; }
.ft__copy { color: #8e8576; margin-bottom: 0; }

/* 퀵메뉴 — PC 오른쪽 세로 */
.quick {
  position: fixed; right: 8px; top: 50%; transform: translateY(-50%); z-index: 50;
  display: flex; flex-direction: column; background: var(--ink); border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(36, 31, 25, .25);
}
.quick a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 72px; min-height: 64px; padding: 8px 4px; text-decoration: none; color: var(--paper-2); text-align: center;
  border-bottom: 1px solid rgba(243, 234, 215, .18);
}
.quick a:last-child { border-bottom: 0; }
.quick a:first-child { background: var(--tomato); }
.quick a:hover { background: #3a332a; }
.quick__k { font-weight: 700; font-size: 14px; }
.quick__v { font-size: 10.5px; opacity: .8; white-space: nowrap; }

/* ── 중간 폭 ── */
@media (max-width: 1180px) {
  .cl__name { font-size: 190px; }
  .cl__pic--a { width: 370px; left: 40%; }
  .cl__pic--b { width: 250px; }
  .cl__note { width: 190px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cl__scribble { left: 47%; top: 490px; }
  .cl__arrow { left: 50%; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .quick {
    left: 0; right: 0; top: auto; bottom: 0; transform: none; flex-direction: row; border-radius: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .quick a { flex: 1; width: auto; min-height: 60px; border-bottom: 0; border-right: 1px solid rgba(243, 234, 215, .18); }
  .quick a:last-of-type { border-right: 0; }
  .quick .quick__top { display: none; }
}

/* 861~1040px: 상호가 사진·스티커에 가리지 않게 콜라주를 오른쪽으로 비켜 둔다 */
@media (max-width: 1040px) and (min-width: 861px) {
  .cl__name { font-size: 160px; }
  .cl__name span + span { margin-left: 70px; }
  .cl__pic--a { width: 330px; left: 47%; top: 40px; }
  .cl__sticker { left: 43%; top: 250px; width: 124px; height: 124px; font-size: 28px; }
  .cl__note { top: 10px; }
  .cl__scribble, .cl__arrow { display: none; }
}

/* ── 모바일: 겹침을 풀고 세로로 쌓되 기울기만 약하게 남김 ── */
@media (max-width: 860px) {
  .hd { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }
  .hd__logo { font-size: 34px; }
  .hd__nav { order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; font-size: 14px; }
  .hd__tel { margin-left: auto; font-size: 14px; padding: 6px 12px; }
  .cl { padding: 4px 16px 0; }
  .cl__board { height: auto; display: flex; flex-direction: column; }
  .cl__board > * { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .cl__name { font-size: 132px; transform: rotate(-3deg); margin: 6px 0 4px; }
  .cl__name span + span { margin-left: 64px; }
  .cl__lead { width: auto; font-size: 16px; transform: rotate(-1deg); margin: 8px 6px 0 0; }
  .cl__act { width: auto; margin-top: 22px; }
  .cl__act .btn { flex: 1 1 140px; }
  .cl__pic--a { width: 82%; margin: 26px 0 0 2%; transform: rotate(3deg); }
  .cl__pic--b { width: 58%; align-self: flex-end; margin: -64px 2% 0 0; transform: rotate(-4deg); }
  .cl__pic--b figcaption { font-size: 22px; }
  .cl__sticker { position: absolute; top: auto; left: auto; right: 0; width: 104px; height: 104px; font-size: 25px; transform: rotate(-10deg); }
  .cl__sticker { order: 0; }
  .cl__note { width: 64%; margin: -36px 0 0 4%; transform: rotate(2deg); }
  .cl__scribble, .cl__arrow, .cl__stamp { display: none; }
  .rule { margin: 34px 16px 0; }
  .menu, .news, .visit { padding: 40px 16px; }
  .sec-head { display: block; margin-bottom: 20px; }
  .sec-head h2, .news h2, .visit h2, .cater h2 { font-size: 52px; }
  .sec-head p { margin-top: 8px; }
  .grid { grid-template-columns: 1fr; }
  .grid li { min-height: 0; display: grid; grid-template-columns: 40px 1fr auto; gap: 2px 10px; padding: 14px; }
  .grid .no { grid-row: 1 / span 2; font-size: 30px; }
  .grid h3 { font-size: 16px; }
  .grid p { grid-column: 2 / span 2; font-size: 13px; }
  .grid b { grid-column: 3; grid-row: 1; font-size: 15px; }
  .cater { grid-template-columns: 1fr; }
  .cater__img { min-height: 0; height: 240px; }
  .cater__txt { padding: 30px 16px; }
  .news li { grid-template-columns: 1fr; gap: 2px; }
  .visit { grid-template-columns: 1fr; gap: 24px; padding-top: 8px; }
  .ft { padding: 32px 16px 40px; }
}

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