﻿/* A quiet navigation layer. The panel is readable immediately; only its
   contents receive a brief entrance, independently of ambient page effects. */
html{scrollbar-gutter:stable}
.header{z-index:80}
.header button.mobile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 112px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(30,43,35,.14);
  border-radius: 999px;
  background: #f2f1eb;
  color: #22392b!important;
  box-shadow: none;
  text-shadow: none;
  transition: background .2s ease,border-color .2s ease,transform .2s ease;
}
.header button.mobile-menu:hover { background: #fff; border-color: rgba(30,43,35,.28); }
.header button.mobile-menu:active { transform: scale(.97); }
.header button.mobile-menu:focus-visible { outline-color: #668474; outline-offset: 5px; }
.header .mobile-menu .menu-label {
  font-family: var(--type-body,'Noto Sans KR',sans-serif);
  font-size: 10px!important;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}
.header .mobile-menu .menu-lines {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 19px;
  height: 16px!important;
  border: 0!important;
  transform: none!important;
  color: inherit;
}
.header .mobile-menu .menu-lines:before,
.header .mobile-menu .menu-lines:after {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 19px;
  height: 1px;
  border: 0!important;
  background: currentColor;
  transform: none;
  transform-origin: center;
  transition: transform .3s cubic-bezier(.2,.7,.3,1),top .3s cubic-bezier(.2,.7,.3,1);
}
.header .mobile-menu .menu-lines:after { top: 11px; }
.header .mobile-menu[aria-expanded=true] .menu-lines:before { top: 8px; transform: rotate(45deg); }
.header .mobile-menu[aria-expanded=true] .menu-lines:after { top: 8px; transform: rotate(-45deg); }

#mobile-nav{position:fixed;inset:0;z-index:70;isolation:isolate;width:100%;height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#f0f0e9;color:#21382b;visibility:visible;opacity:1;clip-path:none;transform:none;animation:none!important;transition:opacity .22s ease;border:0}
#mobile-nav[hidden] { display: none!important; }
#mobile-nav[data-menu-state=closing] { opacity: 0; pointer-events: none; }
#mobile-nav:before { content: none; }
#mobile-nav.mobile-nav {
  display: grid;
  grid-template-columns: minmax(180px,.75fr) minmax(0,1.6fr);
  grid-template-rows: minmax(min-content,1fr) auto;
  align-items: center;
  justify-content: initial;
  column-gap: clamp(52px,9vw,180px);
  row-gap: 58px;
  padding: 145px clamp(28px,7.2vw,140px) 38px;
}
#mobile-nav .menu-intro { align-self: center; max-width: 310px; min-width: 0; overflow-wrap: anywhere; }
#mobile-nav .menu-kicker,
#mobile-nav .menu-intro-note,
#mobile-nav .menu-footer {
  font-family: var(--type-mono,'IBM Plex Mono',monospace);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .055em;
  color: #606e65;
}
#mobile-nav .menu-kicker { display: block; margin-bottom: 29px; }
#mobile-nav .menu-intro p {
  margin: 0 0 32px;
  font-family: var(--type-body,'Noto Sans KR',sans-serif);
  font-size: clamp(18px,1.75vw,26px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -.045em;
  word-break: keep-all;
}
#mobile-nav.mobile-nav .menu-links { width: 100%; max-width: 840px; margin: 0; flex-shrink: 0; }
#mobile-nav.mobile-nav .menu-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(15px,2.35vh,26px) 36px clamp(15px,2.35vh,26px) 0;
  border-bottom: 1px solid rgba(33,56,43,.15);
  color: #21382b;
  font-family: var(--type-body,'Noto Sans KR',sans-serif);
  font-size: clamp(32px,4.75vw,76px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.22;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}
#mobile-nav.mobile-nav .menu-links a:first-child { border-top: 1px solid rgba(33,56,43,.15); }
#mobile-nav.mobile-nav .menu-links a small {
  margin-left: auto;
  max-width: 140px;
  color: #606e65;
  font-family: var(--type-body,'Noto Sans KR',sans-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.7;
  text-align: right;
}
#mobile-nav.mobile-nav .menu-links a:after {
  content: '\2197';
  position: absolute;
  right: 0;
  top: 50%;
  width: auto;
  height: auto;
  background: none;
  font-family: var(--type-body,'Noto Sans KR',sans-serif);
  font-size: clamp(18px,2vw,27px);
  font-weight: 300;
  line-height: 1;
  color: #7a877d;
  transform: translateY(-50%);
  transition: color .2s ease,transform .3s cubic-bezier(.2,.7,.3,1);
}
#mobile-nav.mobile-nav .menu-links a:hover,
#mobile-nav.mobile-nav .menu-links a:focus-visible { color: #60856d; }
#mobile-nav.mobile-nav .menu-links a:hover:after,
#mobile-nav.mobile-nav .menu-links a:focus-visible:after { color: #21382b; transform: translate(3px,calc(-50% - 3px)); }
#mobile-nav.mobile-nav .menu-links a:focus-visible { outline: 2px solid #8da394; outline-offset: 7px; border-radius: 2px; }
/* Current location is a stationary shape, independent of hover and motion. */
#mobile-nav a[aria-current="location"]:before{content:'';position:absolute;inset-inline-start:-20px;top:50%;width:5px;height:5px;border:1px solid currentColor;border-radius:50%;background:currentColor;transform:translateY(-50%);pointer-events:none}
#mobile-nav .menu-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 21px;
  border-top: 1px solid rgba(33,56,43,.15);
}
#mobile-nav>p[hidden] { display: none!important; }
#mobile-nav[data-menu-state=open] .menu-links a,
#mobile-nav[data-menu-state=open] .menu-intro,
#mobile-nav[data-menu-state=open] .menu-footer {
  animation: grnl-menu-arrive .62s cubic-bezier(.16,.8,.22,1) backwards;
  animation-delay: calc(var(--menu-order,0)*55ms);
}
#mobile-nav[data-menu-state=open] .menu-intro { animation-delay: .06s; }
#mobile-nav[data-menu-state=open] .menu-footer { animation-delay: .16s; }
body.menu-open .header.header { background: transparent; border-color: transparent; box-shadow: none; }
body.menu-open .header.header :is(.brand,.brand-ko,.mobile-menu) { color: #21382b; text-shadow: none; }
body.menu-open .header.header .brand-ko { color: #606e65; border-color: rgba(33,56,43,.2); }
body.menu-open .header.header .brand-mark { background: linear-gradient(130deg,transparent 28%,#21382b 29% 62%,transparent 63%); border-color: #21382b; }
body.menu-open .cursor-ring,body.menu-open .scroll-progress { visibility: hidden; }
@keyframes grnl-menu-arrive { from { opacity: .25; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media(max-width:900px) {
  #mobile-nav.mobile-nav { column-gap: 8vw; padding-inline: 7.2%; }
  #mobile-nav.mobile-nav .menu-links a { font-size: clamp(32px,5.5vw,52px); }
  #mobile-nav .menu-intro p { font-size: 19px; }
}
@media(max-width:600px) {
  .header button.mobile-menu { min-width: 96px; min-height: 40px; padding-inline: 14px; gap: 17px; }
  #mobile-nav.mobile-nav { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 112px 8% 28px; }
  #mobile-nav .menu-intro { align-self: stretch; max-width: 270px; margin-bottom: 30px; }
  #mobile-nav .menu-kicker { font-size: 9px; margin-bottom: 17px; }
  #mobile-nav .menu-intro p { font-size: 17px; line-height: 1.75; margin-bottom: 0; }
  #mobile-nav .menu-intro-note { display: none; }
  #mobile-nav.mobile-nav .menu-links { margin-block: auto; }
  #mobile-nav.mobile-nav .menu-links a { font-size: clamp(29px,8.3vw,46px); padding-block: 17px; padding-right: 27px; gap: 12px; }
  #mobile-nav.mobile-nav .menu-links a small { max-width: 90px; font-size: 9px; }
  #mobile-nav .menu-footer { margin-top: 38px; font-size: 8px; gap: 15px; flex-shrink: 0; }
  #mobile-nav a[aria-current="location"]:before { inset-inline-start: -15px; width: 4px; height: 4px; }
}
@media(max-height:760px) and (min-width:601px) {
  #mobile-nav.mobile-nav { padding-top: 112px; padding-bottom: 28px; row-gap: 28px; }
  #mobile-nav.mobile-nav .menu-links a { font-size: clamp(30px,7svh,62px); padding-block: 13px; }
}
@media(max-height:600px) {
  #mobile-nav.mobile-nav { padding-top: 96px; padding-bottom: 22px; gap: 22px; }
  #mobile-nav .menu-intro { margin-bottom: 0; }
  #mobile-nav .menu-kicker { margin-bottom: 12px; }
  #mobile-nav .menu-intro p { font-size: 16px; margin-bottom: 20px; }
  #mobile-nav.mobile-nav .menu-links a { font-size: clamp(27px,6.5svh,38px); padding-block: 9px; }
  #mobile-nav .menu-footer { margin-top: 0; padding-top: 15px; }
}
@media(max-height:600px) and (max-width:600px) {
  #mobile-nav .menu-intro { display: none; }
}
@media(prefers-reduced-motion:reduce) {
  #mobile-nav,#mobile-nav *,#mobile-nav *:after,.header button.mobile-menu,.header .menu-lines:before,.header .menu-lines:after { animation: none!important; transition: none!important; }
}
body:is([data-motion=off],[data-effects=off]) #mobile-nav,
body:is([data-motion=off],[data-effects=off]) #mobile-nav *,
body:is([data-motion=off],[data-effects=off]) #mobile-nav *:after,
body:is([data-motion=off],[data-effects=off]) .header button.mobile-menu,
body:is([data-motion=off],[data-effects=off]) .header .menu-lines:before,
body:is([data-motion=off],[data-effects=off]) .header .menu-lines:after { animation: none!important; transition: none!important; }
@media(forced-colors:active) {
  #mobile-nav,.header button.mobile-menu { background: Canvas; color: CanvasText!important; }
  #mobile-nav.mobile-nav .menu-links a,#mobile-nav .menu-footer { color: CanvasText; border-color: CanvasText; }
  #mobile-nav .menu-intro p,#mobile-nav .menu-kicker,#mobile-nav .menu-intro-note,#mobile-nav.mobile-nav .menu-links a small { color: CanvasText; }
  .header .mobile-menu .menu-lines:before,.header .mobile-menu .menu-lines:after { background: ButtonText; }
}
/* Keep destination headings readable after keyboard navigation. */
:is(h1,h2)[tabindex="-1"]:not([role]):not([contenteditable]):focus { outline: none; }


