@charset "UTF-8";
/* 여백 — 책의 여백처럼: 구간 제목은 왼쪽 여백 칸에, 내용은 본문 칸에.
   색은 골목 일러스트에서 가져왔습니다: 하늘, 파란 차양, 월넛 문. */

:root {
  --sky: #F6E9D7;
  --paper: #FAF4EA;
  --white: #FFFCF7;
  --walnut: #3A2A20;
  --walnut-2: #4A372B;
  --ink: #2A211B;
  --ink-2: #5E5147;
  --rule: #E6DACA;
  --cobalt: #2A4FA8;
  --cobalt-deep: #1F3D86;
  --cobalt-tint: #E9EDF7;
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  --serif: "MaruBuri", "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;

  --margin-col: 300px;
  --gap-col: 72px;
  --page-max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 2px;
}

.page {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
}
.skip:focus { top: 12px; }

.notice {
  background: var(--cobalt);
  color: var(--white);
  text-align: center;
  font-size: 15px;
  padding: 10px var(--gutter);
}

/* ---------- 버튼 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--cobalt); color: var(--white); }
.btn--primary:hover { background: var(--cobalt-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--white);
}
.btn--small:hover { background: var(--cobalt-tint); }

/* ---------- 내비 ---------- */

.nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  padding-inline: var(--gutter);
  margin-top: 12px;
}
.nav__bar {
  max-width: calc(var(--page-max) - 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 8px 8px 22px;
  background: rgba(255, 252, 247, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: box-shadow .2s ease;
}
.nav.is-scrolled .nav__bar { box-shadow: 0 8px 28px -14px rgba(58, 42, 32, .35); }

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  margin-right: auto;
}
.brand__ko { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.brand__en { font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}
.nav__links a:hover { border-bottom-color: var(--ink); }
.nav__links a[aria-current="true"] { color: var(--cobalt); border-bottom-color: var(--cobalt); }
.nav__cta { min-height: 42px; }

.nav__toggle {
  display: none;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

/* 모바일 목차 */
.toc {
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border: 0;
  padding: 16px var(--gutter) 32px;
  background: var(--paper);
  color: var(--ink);
}
.toc::backdrop { background: rgba(30, 34, 39, .3); }
.toc[open] { display: flex; flex-direction: column; animation: sheet-in .22s ease-out; }
.toc__head { display: flex; justify-content: space-between; align-items: center; min-height: 58px; }
.toc__close {
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--white); font-weight: 600; cursor: pointer;
}
.toc__list { margin-top: 24px; counter-reset: toc; }
.toc__list li { border-bottom: 1px solid var(--rule); }
.toc__list a {
  display: block;
  padding: 18px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  text-decoration: none;
}
.toc__hours { margin-top: auto; color: var(--ink-2); font-size: 16px; font-variant-numeric: tabular-nums; }

@keyframes sheet-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 첫 화면 ---------- */

/* 내비가 하늘색 위에 떠 있도록 첫 화면을 위로 당깁니다. */
.nav { margin-bottom: -80px; }

.hero {
  background: var(--sky);
  padding-top: calc(80px + clamp(40px, 6vw, 80px));
  overflow: hidden;
}
.hero__text { display: grid; gap: 26px; position: relative; z-index: 1; }
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.hero__title .line { display: block; }
.hero__side { display: grid; gap: 16px; max-width: 30em; }
.hero__lede { font-size: 18px; color: var(--ink-2); }
.hero__info { font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.hero__art {
  position: relative;
  margin-top: clamp(8px, 2vw, 24px);
}
.hero__art img {
  width: 100%;
  height: clamp(420px, 62vw, 860px);
  object-fit: cover;
  object-position: 40% 60%;
  /* 윗부분은 하늘과 같은 색으로 스며들게 */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
  transform-origin: 40% 70%;
  will-change: transform;
}
.demo-tag {
  position: absolute;
  left: var(--gutter);
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 247, .9);
  font-size: 13px;
  font-weight: 500;
}

.hero__brand { display: flex; align-items: baseline; gap: 12px; margin-bottom: -6px; }
.hero__brand-ko {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--cobalt);
}
.hero__brand-en { font-size: 13px; letter-spacing: .12em; color: var(--ink-2); }
.hero__text > .hero__brand, .hero__text > .hero__title { grid-column: 1; }

.hero__facts { display: grid; gap: 6px; }
.hero__facts > div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
.hero__facts dt { font-size: 14px; font-weight: 700; color: var(--cobalt); padding-top: 1px; }
.hero__facts dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); font-weight: 400; font-size: 14px; }

.hero__scene { position: relative; transform-origin: 40% 70%; will-change: transform; }

/* 삽화 속 파란 차양에 쓰인 간판 */
.awning-sign {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  color: #FFF8EC;
  text-align: center;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
}
.awning-sign.is-placed { display: flex; }
.awning-sign__ko { font-family: var(--serif); font-weight: 700; font-size: 1em; letter-spacing: .08em; }
.awning-sign__en { margin-top: .3em; font-size: .26em; font-weight: 600; letter-spacing: .3em; }

/* 첫 화면 등장: 삽화가 천천히 자리 잡고, 제목이 줄마다 올라옵니다. */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line { animation: rise .9s var(--ease-out) both; }
  .hero__title .line:nth-child(2) { animation-delay: .12s; }
  .hero__side { animation: rise .9s var(--ease-out) .3s both; }
  .hero__scene { animation: settle 1.8s var(--ease-out) both; }
  .awning-sign.is-placed { animation: paint 1.1s var(--ease-out) 1.1s both; }
  .demo-tag { animation: rise .6s var(--ease-out) 1.2s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes paint { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes settle { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }

/* ---------- 문을 열면 ---------- */

.door {
  background: var(--walnut);
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
  --p: 1;
}
.door__stage { padding-inline: var(--gutter); }
.door__img {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: 30% 55%;
  /* --p 0: 가운데 문 모양 → 1: 전체 */
  clip-path: inset(0 calc((1 - var(--p)) * 36%) 0 calc((1 - var(--p)) * 36%) round calc((1 - var(--p)) * 240px) calc((1 - var(--p)) * 240px) 12px 12px);
}
.door__caption {
  text-align: center;
  margin-top: 24px;
  color: var(--sky);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  opacity: calc(.2 + var(--p) * .8);
}

/* ---------- 구간(여백 칸 + 본문 칸) ---------- */

.chapter {
  display: grid;
  gap: 40px;
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: 8px;
}
.chapter + .chapter,
.closing + .chapter { margin-top: 0; }

.chapter__margin { display: grid; gap: 14px; align-content: start; }
.chapter__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.chapter__lede { color: var(--ink-2); max-width: 30em; }

.chapter__body { min-width: 0; }

/* ---------- 메뉴 ---------- */

.signature {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sig { display: grid; gap: 16px; align-content: start; }
.sig__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.sig__text { display: grid; gap: 4px; }
.sig__name { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.4; }
.sig__price {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums;
}
.sig__line { color: var(--ink); margin-top: 4px; }
.sig__note { color: var(--ink-2); font-size: 14px; }


/* 전체 메뉴: 인쇄된 메뉴판 한 장. 이름과 가격 사이는 책 목차처럼 점선으로 잇습니다. */
.fullmenu {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 44px;
  align-items: start;
  padding: clamp(24px, 4vw, 52px);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 40px 80px -48px rgba(58, 42, 32, .45), 0 2px 0 rgba(58, 42, 32, .04);
}
.fullmenu__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 4px double var(--ink);
}
.fullmenu__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.fullmenu__note { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.fullmenu__art {
  flex: none;
  width: clamp(88px, 11vw, 132px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--sky);
}

.cat summary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  list-style: none;
  cursor: pointer;
}
.cat summary::-webkit-details-marker { display: none; }
.cat__title { font-family: var(--serif); font-weight: 700; font-size: 24px; }
.cat__sub { color: var(--ink-2); font-size: 14px; }
.cat summary::after {
  content: "";
  display: none;
  margin-left: auto;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s ease;
}
.cat[open] summary::after { transform: translateY(2px) rotate(-135deg); }

.item {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto;
  align-items: baseline;
  column-gap: 10px;
  padding: 14px 0 12px;
  border-radius: 4px;
  transition: background-color .2s ease;
}
/* 이름 ······ 가격 */
.item::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: .45em;
  border-bottom: 2px dotted rgba(94, 81, 71, .45);
}
.item__name { grid-column: 1; grid-row: 1; font-weight: 700; font-size: 17px; transition: color .2s ease; }
.item__price { grid-column: 3; grid-row: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.item__desc { grid-column: 1 / -1; margin-top: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.item__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 6px; }
.item:hover .item__name { color: var(--cobalt); }
.item + .item { border-top: 1px solid var(--rule); }

.temp {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cobalt);
}
.allergen, .caf { font-size: 13px; color: var(--ink-2); }
.allergen::before, .caf::before { content: "/"; margin-right: 10px; color: var(--rule); }
.temp + .temp { margin-left: -4px; }
.temp + .temp::before { content: "·"; margin-right: 6px; }
.item__meta > :first-child::before { content: none; }

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cobalt);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: 2px;
}

.menu-notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 56px;
  padding-top: 22px;
  border-top: 4px double var(--ink);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}
.menu-notes strong { display: block; color: var(--ink); font-weight: 700; }

/* ---------- 공간 ---------- */

.space {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.zoom {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
}
.space__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.zoom__hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 247, .92);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.seats { display: grid; }
.seat { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.seat:first-child { border-top: 2px solid var(--ink); }
.seat dt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; }
.seat__name { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.seat__count { font-weight: 600; font-size: 15px; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.seat dd { margin-top: 6px; color: var(--ink-2); font-size: 16px; }

.space__thumb {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
  font-weight: 600;
}
.space__thumb img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.space__thumb-text { text-decoration: underline; text-underline-offset: 4px; }
.space__thumb:hover .space__thumb-text { color: var(--cobalt); }
.space__note { margin-top: 24px; color: var(--ink-2); font-size: 15px; }

/* ---------- 이용 안내 ---------- */

.rules { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.rule { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rule:nth-child(-n+2) { border-top: 2px solid var(--ink); }
.rule dt { font-weight: 700; font-size: 16px; }
.rule dd { margin-top: 4px; color: var(--ink-2); font-size: 16px; }

.faq { margin-top: clamp(48px, 6vw, 72px); }
.faq__title { font-family: var(--serif); font-weight: 600; font-size: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-weight: 500;
  line-height: 1;
}
.qa[open] summary::after { content: "−"; background: var(--ink); color: var(--white); }
.qa summary:hover { color: var(--cobalt); }
.qa p { padding: 0 44px 20px 0; color: var(--ink-2); }
.qa a { color: var(--cobalt); text-underline-offset: 3px; }

/* ---------- 마무리 사진 띠 ---------- */

.closing {
  margin-top: clamp(88px, 12vw, 152px);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  background: var(--sky);
  border-block: 1px solid var(--rule);
}
.closing__img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 50%; }
.closing__text {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  max-width: 34em;
}
.closing__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.closing__name { color: var(--ink-2); font-size: 16px; padding-top: 16px; border-top: 1px solid var(--rule); }

/* ---------- 방문 안내 ---------- */

.visit__art img { width: 100%; border-radius: 4px; }
.visit__art figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

.visit__facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}
.visit__facts > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.visit__facts dt { font-weight: 700; font-size: 15px; }
.visit__facts dd { font-variant-numeric: tabular-nums; }
.visit__addr { grid-column: 1 / -1; }
.visit__addr dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.copy-status { font-size: 14px; color: var(--cobalt); font-weight: 600; }
.copy-status.is-error { color: #A1321F; }

/* ---------- 푸터 ---------- */

.footer {
  margin-top: clamp(88px, 10vw, 128px);
  padding-block: 40px 56px;
  border-top: 2px solid var(--ink);
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer__brand { color: var(--ink); margin-bottom: 8px; }

/* ---------- 사진 크게 보기 ---------- */

.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 22, 25, .82); }
.lightbox[open] { animation: fade .2s ease-out; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: 4px; margin-inline: auto; }
.lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 어두운 구간(공간): 월넛 ---------- */

.chapter--dark {
  max-width: none;
  margin-top: clamp(72px, 10vw, 128px);
  background: var(--walnut);
  color: var(--sky);
  padding-bottom: clamp(72px, 10vw, 128px);
  padding-inline: max(var(--gutter), calc((100% - var(--page-max)) / 2 + var(--gutter)));
}
.chapter--dark .chapter__lede,
.chapter--dark .seat dd,
.chapter--dark .space__note { color: #D9C9B4; }
.chapter--dark .seat { border-color: var(--walnut-2); }
.chapter--dark .seat:first-child { border-top-color: var(--sky); }
.chapter--dark .seat__count { color: #B9C8F0; }
.chapter--dark .space__thumb-text { color: var(--sky); }
.chapter--dark .space__thumb:hover .space__thumb-text { color: #B9C8F0; }
.chapter--dark :focus-visible { outline-color: #B9C8F0; }
.chapter--dark + .chapter { padding-top: clamp(72px, 10vw, 128px); }

/* ---------- 대표 메뉴 사진: 마우스를 올리면 살짝 다가감 ---------- */

.sig__frame { overflow: hidden; border-radius: 4px; }
.sig__img { transition: transform .6s var(--ease-out); }
.sig:hover .sig__img { transform: scale(1.05); }
.space__main img { transition: transform .6s var(--ease-out); }
.space__main { overflow: hidden; border-radius: 4px; }
.space__main:hover img { transform: scale(1.03); }

/* ---------- 스크롤 등장: 스크립트가 켜진 경우에만 숨겼다가 보여줌 ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- 넓은 화면: 여백 칸 ---------- */

@media (min-width: 1080px) {
  .hero__side { grid-column: 2; grid-row: 1 / span 2; }
  .hero__text {
    grid-template-columns: 1fr 400px;
    align-items: end;
    column-gap: 48px;
  }
  .chapter {
    grid-template-columns: var(--margin-col) minmax(0, 1fr);
    column-gap: var(--gap-col);
  }
  .chapter__margin { position: sticky; top: 112px; align-self: start; }
}

/* ---------- 중간 화면 ---------- */

@media (max-width: 1079px) {
  .menu-notes { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__bar { padding-left: 18px; }

  .fullmenu { grid-template-columns: 1fr; }
  .cat summary::after { display: block; }
  .closing { grid-template-columns: 1fr; }
  .closing__img { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- 휴대폰 ---------- */

@media (max-width: 719px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(80px + 28px); }
  .hero__text { gap: 22px; }
  .hero__lede { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 140px; }
  .hero__art { margin-top: 8px; }
  .hero__art img { height: auto; aspect-ratio: 5 / 4; object-position: 32% 70%; }
  .door__img { aspect-ratio: 4 / 5; object-position: 28% 50%; }

  .chapter { gap: 28px; }

  .signature { grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); }
  .sig {
    grid-template-columns: 38% 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
  }
  .sig__name { font-size: 19px; }
  .sig__line { font-size: 15px; }

  .space { grid-template-columns: 1fr; gap: 28px; }
  .rules { grid-template-columns: 1fr; }
  .rule:nth-child(2) { border-top: 0; }
  .visit__facts { grid-template-columns: 1fr; }
  .visit__facts > div { grid-template-columns: 88px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
