/* Cream curtain menu with the approved 23px Gowun Dodum typography. */
@font-face {
  font-family: 'Gowun Dodum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/GowunDodum-Regular-v2.woff2') format('woff2');
}
.menu-intro, .menu-contact, .menu-link-arrow { display: none; }

@media (max-width: 1024px) {
  .site-header {
    z-index: 40;
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
  }
  .menu-toggle span { transition: transform .3s cubic-bezier(.22,.7,.24,1); }
  .menu-ready .main-nav,
  .menu-ready .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    inset: 74px 0 auto;
    height: calc(100vh - 74px);
    height: calc(100dvh - 74px);
    padding: clamp(24px, 5vh, 42px) clamp(26px, 7.5vw, 46px) max(20px, env(safe-area-inset-bottom));
    border: 0;
    box-shadow: none;
    background: var(--paper);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .56s cubic-bezier(.22,.7,.24,1), visibility 0s linear .56s;
  }
  .menu-ready .main-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0);
    transition-delay: 0s;
  }
  .main-nav .menu-intro {
    display: block;
    flex: none;
    margin-bottom: clamp(24px, 5vh, 40px);
    color: #947753;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .19em;
  }
  .main-nav > .menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: none;
    min-height: 62px;
    padding: 14px 0 15px;
    border-bottom: 1px solid #ddd5c977;
    color: #604c39;
    font-family: 'Gowun Dodum', var(--sans);
    font-weight: 400;
    font-size: 23px;
    font-synthesis: none;
    line-height: 1.45;
    letter-spacing: -.025em;
  }
  .main-nav > .menu-link::after { display: none; }
  .main-nav .menu-link-arrow {
    display: block;
    flex: none;
    color: #ab9474;
    font: 400 17px/1 var(--sans);
    letter-spacing: 0;
  }
  .main-nav .menu-link[aria-current=page] { color: #a07943; }
  .main-nav .nav-reserve {
    margin-top: auto;
    padding: 14px 18px;
    min-height: 52px;
    flex: none;
    justify-content: flex-start;
    gap: 13px;
    background: #f1ece2;
    color: #604c39;
    font: 400 13px/1.6 var(--sans);
    letter-spacing: .02em;
  }
  .main-nav .nav-reserve .arrow { margin-left: auto; font-size: 21px; }
  .main-nav .menu-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: none;
    gap: 14px;
    margin-top: 12px;
    color: #867460;
    font-size: 11px;
    letter-spacing: .01em;
  }
  .menu-contact .menu-phone { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: #c1ae93; text-underline-offset: 4px; }
  .menu-ready .main-nav > * {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .18s ease, transform .2s ease;
  }
  .menu-ready .main-nav.is-open > * {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .4s ease, transform .48s cubic-bezier(.22,.7,.24,1);
    transition-delay: calc(110ms + var(--menu-order, 0) * 45ms);
  }
  .main-nav .nav-reserve { --menu-order: 5; }
  .main-nav .menu-contact { --menu-order: 6; }
  html.menu-open { overflow: hidden; }
  .menu-open body { position: fixed; top: var(--menu-scroll-top, 0px); width: 100%; }
  .menu-open .site-header { position: fixed; inset: 0 0 auto; }
  .menu-open .mobile-bar { visibility: hidden; }
  /* Navigation stays usable when JavaScript is unavailable. */
  html:not(.menu-ready) .site-header { height: auto; }
  html:not(.menu-ready) .header-inner { flex-wrap: wrap; padding-top: 14px; }
  html:not(.menu-ready) .main-nav { display: flex; position: static; flex-direction: column; width: 100%; order: 3; }
  html:not(.menu-ready) .menu-toggle { display: none; }
}
@media (max-width: 1024px) and (max-height: 670px) {
  .menu-ready .main-nav, .menu-ready .main-nav.is-open { padding-top: 21px; padding-bottom: 12px; }
  .main-nav .menu-intro { margin-bottom: 16px; }
  .main-nav > .menu-link { min-height: 54px; padding: 10px 0 12px; }
  .main-nav .nav-reserve { margin-top: 24px; }
}
