/* Darte rebuild — full-screen mobile menu. Desktop (≥1024px) keeps the original inline nav. */
@media (max-width: 1023px) {
  .main-nav, .main-nav.is-open { display: none !important; }
}
html.mnav-lock, html.mnav-lock body { overflow: hidden; }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  color: #1a1a1a;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mnav[hidden] { display: none; }
.mnav.is-open { transform: none; }
@media (min-width: 1024px) { .mnav { display: none !important; } }

.mnav__bar {
  flex: none;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  height: 72px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.mnav__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #1a1a1a;
  cursor: pointer;
}
.mnav__logo { justify-self: center; display: block; line-height: 0; }
.mnav__logo img { width: 124px; height: auto; }

.mnav__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px 32px;
  -webkit-overflow-scrolling: touch;
}
.mnav__label {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
}

.mnav__colls, .mnav__links { list-style: none; margin: 0; padding: 0; }
.mnav__colls { display: grid; gap: 10px; }
.mnav__card {
  display: grid;
  grid-template-columns: 84px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.05);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.mnav__card:active { transform: scale(0.985); }
.mnav__card[aria-current="page"] { box-shadow: 0 0 0 2px #37888e; }
.mnav__thumb { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; display: block; }
.mnav__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mnav__eyebrow { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(0, 0, 0, 0.5); }
.mnav__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1.05; }
.mnav__chev { color: rgba(0, 0, 0, 0.35); }

.mnav__links { margin-top: 20px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 18px;
  color: inherit;
  text-decoration: none;
}
.mnav__link[aria-current="page"] { color: #37888e; }

.mnav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 24px;
  background: linear-gradient(105deg, #37888e 0%, #57a0a5 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.mnav__foot { margin-top: 24px; font-size: 14px; color: rgba(0, 0, 0, 0.6); }
.mnav__foot p { margin: 8px 0 0; line-height: 1.5; }
.mnav__nowrap { white-space: nowrap; }
.mnav__mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #1a1a1a; font-size: 16px; text-decoration: none; }

.mnav a:focus-visible, .mnav button:focus-visible { outline: 2px solid #37888e; outline-offset: 2px; }

/* Staggered entrance */
.mnav__body > *, .mnav__colls > li { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.mnav.is-open .mnav__body > *, .mnav.is-open .mnav__colls > li { opacity: 1; transform: none; }
.mnav.is-open .mnav__colls > li:nth-child(1) { transition-delay: 0.12s; }
.mnav.is-open .mnav__colls > li:nth-child(2) { transition-delay: 0.18s; }
.mnav.is-open .mnav__colls > li:nth-child(3) { transition-delay: 0.24s; }
.mnav.is-open .mnav__body > .mnav__label { transition-delay: 0.08s; }
.mnav.is-open .mnav__body > .mnav__colls { transition-delay: 0.1s; }
.mnav.is-open .mnav__body > .mnav__links { transition-delay: 0.3s; }
.mnav.is-open .mnav__body > .mnav__cta { transition-delay: 0.36s; }
.mnav.is-open .mnav__body > .mnav__foot { transition-delay: 0.42s; }

/* Tablets: two-up cards */
@media (min-width: 640px) and (max-width: 1023px) {
  .mnav__body { padding: 32px 40px 40px; max-width: 760px; width: 100%; margin: 0 auto; }
  .mnav__colls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .mnav__card { grid-template-columns: 1fr; gap: 12px; padding: 10px 10px 16px; }
  .mnav__thumb { width: 100%; height: auto; aspect-ratio: 1; }
  .mnav__chev { display: none; }
  .mnav__text { padding: 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .mnav, .mnav * { transition: none !important; }
}
