/* Stately's mobile drawer: one owner for its layout, typography and motion. */
.mobile-menu {
  --menu-duration: 420ms;
  --menu-gutter: clamp(1.25rem, 5vw, 2rem);
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  justify-content: flex-end;
  isolation: isolate;
  pointer-events: none;
}
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--brand-ink) 54%, transparent);
  opacity: 0;
  transition: opacity var(--menu-duration) ease;
}
.mobile-menu.is-open { pointer-events: auto; }
.mobile-menu.is-open::before { opacity: 1; }
.mobile-menu__inner {
  --brand-logo: var(--brand);
  width: min(calc(100% - 1.25rem), 440px);
  height: 100%;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--brand);
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 50px color-mix(in srgb, var(--brand-ink) 16%, transparent);
  transform: translateX(100%);
  transition: transform var(--menu-duration) cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.is-open .mobile-menu__inner { transform: translateX(0); }
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) var(--menu-gutter) 1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__header .brand--mobile { gap: 0.55rem; }
.mobile-menu__header .logo { width: 30px; }
.mobile-menu__header .company-line1 { font-size: 1.75rem; }
.mobile-menu__close {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.mobile-menu__close:hover {
  background: var(--paper-deep);
  border-color: var(--brand);
}
.mobile-menu__nav {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding: 1.5rem var(--menu-gutter);
}
.mobile-menu__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--brand-gold-ink);
  font: 600 0.66rem/1.5 Inter, sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.m-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.m-list--collections { margin-bottom: 1.5rem; }
.m-item a, .m-summary { text-decoration: none; }
.m-range {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 70px;
  padding: 0.65rem 0;
  color: var(--range-brand);
  border-bottom: 1px solid var(--line);
}
.m-range::before {
  content: "";
  flex: 0 0 3px;
  height: 32px;
  background: var(--range-brand);
}
.m-range__copy {
  display: grid;
  flex: 1;
  gap: 0.25rem;
}
.m-range__title {
  font: 400 clamp(1.35rem, 5.8vw, 1.7rem)/1.15 var(--font-editorial);
  letter-spacing: -0.025em;
}
.m-range__description {
  color: var(--muted);
  font: 400 0.73rem/1.45 Inter, sans-serif;
}
.m-range > svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}
.m-range:hover > svg { transform: translate(2px, -2px); }
.m-range.is-current .m-range__title {
  text-decoration: underline;
  text-decoration-color: var(--range-brand);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.m-list--secondary .m-item > a, .m-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: 400 0.95rem/1.5 Inter, sans-serif;
  text-align: left;
  cursor: pointer;
  appearance: none;
}
.m-list--secondary .m-item > a:is(:hover, .is-current), .m-summary:hover { color: var(--brand-gold-ink); }
.m-summary .chevron {
  width: 16px;
  height: 16px;
  transition: transform 200ms ease;
}
.m-summary[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.m-summary[aria-expanded="true"] { color: var(--brand-gold-ink); }
.m-panel {
  margin: 0 0 0.5rem 0.15rem;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--line);
  list-style: none;
}
.m-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0;
  color: var(--muted);
  font: 400 0.85rem/1.5 Inter, sans-serif;
}
.m-panel a:is(:hover, .is-current) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mobile-menu__footer {
  padding: 1rem var(--menu-gutter) calc(0.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-menu__enquire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 0.8rem 1rem;
  color: #fff;
  background: var(--brand);
  text-decoration: none;
  font: 400 0.82rem/1.5 Inter, sans-serif;
  transition: background-color 180ms ease;
}
.mobile-menu__enquire:hover {
  color: #fff;
  background: var(--brand-hover);
}
.mobile-menu__footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.mobile-menu__footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font: 400 0.78rem/1.5 Inter, sans-serif;
  text-decoration: none;
}
.mobile-menu__footer-links a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.premium-site .mobile-menu :is(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
.premium-site .mobile-menu__enquire:focus-visible {
  outline-color: #fff;
  outline-offset: -5px;
}
/* Lock the root only: a second overflow container would unpin the sticky header. */
html.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}
@media (min-width: 900px), print { .mobile-menu { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu::before, .mobile-menu * { transition: none !important; }
}
