/* A single, quiet navigation surface for small screens. */
.mobile-menu-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #faf9f6;
  color: var(--ink, #1c2023);
  overflow: auto;
  overscroll-behavior: contain;
}
.mobile-menu-dialog::backdrop { background: #faf9f6; }
.mobile-menu-shell {
  display: flex;
  flex-direction: column;
  width: min(100%, 800px);
  min-height: 100%;
  margin-inline: auto;
  padding: max(16px, env(safe-area-inset-top)) clamp(24px, 5vw, 48px) max(28px, env(safe-area-inset-bottom));
}
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 24px; }
.mobile-menu-brand { display: block; flex: none; }
.mobile-menu-brand img { width: 140px; height: auto; }
.mobile-menu-close {
  display: grid;
  place-items: center;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ecece6;
  color: inherit;
  transition: background .18s, transform .18s;
}
.mobile-menu-close::before, .mobile-menu-close::after { content: ''; position: absolute; width: 19px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.mobile-menu-close::after { transform: rotate(-45deg); }
.mobile-menu-close:hover { background: #e0e1da; transform: rotate(90deg); }
.mobile-menu-nav { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: clamp(12px, 2.5vh, 24px); padding-block: clamp(38px, 8vh, 80px); }
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding-block: 4px;
  font-size: clamp(30px, 8.5vw, 48px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.04em;
  color: var(--ink, #1c2023);
  transition: color .18s, transform .18s;
}
.mobile-menu-link .mobile-menu-arrow { font-size: .6em; font-weight: 450; line-height: 1; color: #f4503c; opacity: 0; transform: translate(-5px, 5px); transition: opacity .18s, transform .18s; }
.mobile-menu-link[aria-current="location"] { color: #f4503c; }
.mobile-menu-link:hover, .mobile-menu-link:focus-visible { color: #f4503c; transform: translateX(3px); }
.mobile-menu-link:hover .mobile-menu-arrow, .mobile-menu-link:focus-visible .mobile-menu-arrow, .mobile-menu-link[aria-current="location"] .mobile-menu-arrow { opacity: 1; transform: none; }
.mobile-menu-bottom { padding-top: 16px; }
.mobile-menu-bottom p { margin: 14px 0 0; font-size: .8125rem; line-height: 1.6; color: #656b6c; }
.mobile-menu-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 62px;
  padding: 18px 22px;
  border: 0;
  border-radius: 8px;
  background: #f4503c;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 650;
  text-align: left;
  transition: transform .18s;
}
.mobile-menu-cta:hover { transform: translateY(-2px); }
.mobile-menu-cta span { font-size: 1.4rem; font-weight: 450; }
.mobile-menu-dialog[open] { animation: mobile-menu-in .18s ease-out both; }
.mobile-menu-dialog[open] .mobile-menu-link { animation: mobile-menu-link-in .28s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--menu-index, 0) * 28ms); }
@keyframes mobile-menu-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mobile-menu-link-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  .mobile-menu-ready .main-nav, .mobile-menu-ready .main-nav.open { display: none; }
  .mobile-menu-ready .nav-row > .button { display: none; }
  .mobile-menu-ready .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
    min-width: 82px;
    min-height: 44px;
    padding: 8px 0 8px 8px;
    border: 0;
    background: transparent;
    color: var(--ink, #1c2023);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
  }
  .mobile-menu-bars { display: block; position: relative; width: 24px; height: 12px; }
  .mobile-menu-bars::before, .mobile-menu-bars::after { content: ''; position: absolute; right: 0; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
  .mobile-menu-bars::before { top: 1px; }
  .mobile-menu-bars::after { bottom: 1px; width: 17px; }
}
@media (max-height: 580px) {
  .mobile-menu-shell { padding-top: 12px; padding-bottom: 20px; }
  .mobile-menu-nav { gap: 6px; padding-block: 22px; }
  .mobile-menu-link { font-size: clamp(28px, 5vw, 38px); min-height: 42px; }
  .mobile-menu-bottom p { display: none; }
  .mobile-menu-cta { min-height: 54px; padding-block: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-dialog[open], .mobile-menu-dialog[open] .mobile-menu-link { animation: none; }
  .mobile-menu-close, .mobile-menu-link, .mobile-menu-link .mobile-menu-arrow, .mobile-menu-cta { transition: none; }
}
