@layer m1-shell {
  .m1-header {
    position: relative;
    z-index: 60;
    min-height: 76px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    background: var(--m1-navy);
    color: #fff;
  }
  .m1-header__inner {
    display: flex;
    width: min(100% - 48px, 1280px);
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-inline: auto;
  }
  .m1-brand {
    display: inline-flex;
    flex: none;
    align-items: center;
  }
  .m1-footer__logo {
    width: auto;
    height: 30px;
    max-width: 196px;
  }
  @media (max-width: 760px) {
    .m1-footer__logo {
      height: 26px;
      max-width: 176px;
    }
  }
  .m1-brand img {
    /* The lockup is 300x64. Sized by height so the wordmark stays legible;
       width follows. The on-dark brand asset is already colored for this
       navy background -- do not invert it. */
    width: auto;
    height: 34px;
    max-width: 232px;
  }
  .m1-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
  }
  .m1-nav__link {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: .6rem .78rem;
    color: #e7e9ed;
    font-size: .86rem;
    font-weight: 640;
    text-decoration: none;
  }
  .m1-nav__link:hover {
    color: #fff;
  }
  .m1-nav__link.is-current::after {
    position: absolute;
    right: .72rem;
    bottom: 5px;
    left: .72rem;
    height: 2px;
    background: var(--m1-business-accent);
    content: "";
  }
  .m1-nav__link--quiet {
    color: #aeb5c0;
  }
  .m1-nav__link--phone {
    margin-right: .35rem;
    color: #c9cdd4;
  }
  body.m1-app.m1-app--public .m1-header {
    background: #0b1320;
  }
  body.m1-app.m1-app--public .m1-nav__link--phone {
    color: #9bb1c7;
  }
  body.m1-app.m1-app--public .m1-nav__link {
    font-weight: 620;
  }
  .m1-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--m1-radius-sm);
    background: transparent;
    color: #fff;
  }
  .m1-menu-button > span:not(.u-visually-hidden) {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
  }
  .m1-mobile-backdrop {
    position: fixed;
    z-index: 70;
    inset: 0;
    background: rgba(5, 9, 17, .54);
  }
  .m1-mobile-nav {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 340px);
    padding: 1rem;
    background: var(--m1-surface);
    box-shadow: -20px 0 50px rgba(16, 24, 39, .18);
  }
  .m1-mobile-nav__header {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--m1-border);
  }
  .m1-mobile-nav__title {
    min-width: 0;
    overflow: hidden;
    font-weight: 780;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .m1-mobile-nav__links {
    display: grid;
    gap: .2rem;
    padding-top: .75rem;
  }
  .m1-mobile-nav__links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: .7rem .75rem;
    border-radius: 6px;
    color: var(--m1-ink);
    font-weight: 640;
    text-decoration: none;
  }
  .m1-mobile-nav__links a:hover,
  .m1-mobile-nav__links a.is-current {
    background: var(--m1-surface-strong);
  }
  .m1-mobile-nav__signout {
    margin-top: .5rem;
    border-top: 1px solid var(--m1-border);
    color: var(--m1-danger) !important;
  }
  .toast-region {
    position: fixed;
    z-index: 90;
    top: 84px;
    right: 20px;
    display: grid;
    width: min(420px, calc(100vw - 32px));
    gap: .6rem;
  }
  .toast {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) 36px;
    align-items: center;
    gap: .75rem;
    min-height: 58px;
    padding: .7rem .7rem .7rem .9rem;
    border: 1px solid var(--m1-border);
    border-radius: var(--m1-radius-md);
    background: var(--m1-surface);
    box-shadow: var(--m1-shadow-md);
    transition: opacity .18s ease, transform .18s ease;
  }
  .toast--leaving {
    opacity: 0;
    transform: translateX(16px);
  }
  .toast__mark {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--m1-info);
  }
  .toast--success .toast__mark {
    background: var(--m1-success);
  }
  .toast--error .toast__mark {
    background: var(--m1-danger);
  }
  .toast--warning .toast__mark {
    background: var(--m1-warning);
  }
  .toast p {
    margin: 0;
    color: var(--m1-ink);
    font-size: .88rem;
  }
  .toast__close {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--m1-ink-muted);
    font-size: 1.25rem;
    cursor: pointer;
  }
  /* m1-footer — one owner for the site footer grid. Three deliberate
     columns (brand / navigation / contact), each its own top-aligned
     stack, so nothing floats at a different baseline than its group. */
  .m1-footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #0b111d;
    color: #ced3dc;
  }
  .m1-footer__inner {
    display: grid;
    width: min(100% - 48px, 1280px);
    grid-template-columns: 1.4fr auto auto;
    align-items: start;
    gap: var(--m1-footer-column-gap);
    margin-inline: auto;
    padding: 2.25rem 0 1.75rem;
  }
  .m1-footer__brand {
    display: grid;
    gap: .6rem;
    max-width: 32ch;
  }
  .m1-footer__brand span {
    color: #929baa;
    font-size: .86rem;
    line-height: 1.5;
  }
  .m1-footer__heading {
    margin: 0 0 .1rem;
    color: #6f7a8a;
    font-size: .68rem;
    font-weight: 640;
    letter-spacing: .07em;
    text-transform: uppercase;
  }
  .m1-footer__links,
  .m1-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--m1-footer-stack-gap);
  }
  .m1-footer a {
    color: #ced3dc;
    font-size: .86rem;
    text-decoration: none;
  }
  .m1-footer a:hover {
    color: #fff;
    text-decoration: underline;
  }
  .m1-footer__preferences {
    color: #ced3dc;
    font-size: .86rem;
  }
  .m1-footer__legal {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #747f8f;
    font-size: .78rem;
  }
  @media (max-width: 760px) {
    .m1-footer__inner {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 1.75rem 0 1.25rem;
    }
    .m1-footer__brand {
      max-width: none;
    }
  }
  @media (max-width: 900px) {
    .m1-nav--desktop {
      display: none;
    }
    .m1-menu-button {
      display: grid;
    }
  }
  
}

/* 2026.09.01.3 — unified quiet-luxury shell. */
@layer m1-shell {
  body.m1-app.booking-form-page--luxury .m1-header,
  body.m1-app.booking-form-page--luxury .m1-header__inner {
    min-height: 78px;
  }
  body.m1-app.booking-form-page--luxury .m1-header {
    background: #0b1320;
  }
  body.m1-app.booking-form-page--luxury .m1-header__inner {
    width: min(calc(100% - 48px), 1280px);
  }
  body.m1-app.booking-form-page--luxury .m1-brand {
    gap: 17px;
  }
  body.m1-app.booking-form-page--luxury .m1-brand img {
    height: 36px;
    width: auto;
  }
  .m1-brand__booking-tagline {
    padding-left: 17px;
    border-left: 1px solid rgba(142,168,195,.42);
    color: #8ea8c3;
    font-size: .61rem;
    font-weight: 640;
    letter-spacing: .14em;
    line-height: 1.35;
    text-transform: uppercase;
  }
  body.m1-app.booking-form-page--luxury .m1-nav__link--phone {
    color: #9bb1c7;
    font-weight: 630;
  }
  body.m1-app.booking-form-page--luxury .m1-nav__link {
    font-weight: 620;
  }
  .m1-footer--booking {
    min-height: 58px;
    background: #0b1320;
  }
  .m1-footer__booking-inner {
    display: flex;
    width: min(calc(100% - 48px), 1280px);
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-inline: auto;
    color: #87919f;
    font-size: .72rem;
  }
  .m1-footer__booking-inner strong {
    color: #e8e5df;
    font-weight: 640;
  }
  .m1-footer__booking-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
  }
  .m1-footer__booking-inner a {
    color: #a9b0ba;
    font-size: .72rem;
  }
  .m1-footer__booking-inner > span a {
    color: #9bb1c7;
  }
  
}

/* 2026.09.01.8 — mobile-first shell and compact navigation dock. */
@layer m1-shell {
  .m1-mobile-dock {
    display: none;
  }
  @media (max-width: 900px) {
    .m1-menu-button {
      display: none;
    }
    .m1-mobile-dock {
      position: fixed;
      z-index: 85;
      right: 10px;
      bottom: calc(8px + env(safe-area-inset-bottom));
      left: 10px;
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: 1fr;
      min-height: 62px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 17px;
      background: rgba(11,19,32,.96);
      box-shadow: 0 16px 42px rgba(4,10,19,.26);
      backdrop-filter: blur(18px) saturate(130%);
    }
    .m1-mobile-dock__item {
      position: relative;
      display: grid;
      min-width: 0;
      min-height: 62px;
      place-items: center;
      align-content: center;
      gap: 3px;
      padding: 6px 4px;
      border: 0;
      background: transparent;
      color: #9ba6b5;
      font: inherit;
      font-size: .61rem;
      font-weight: 650;
      line-height: 1.15;
      text-decoration: none;
      cursor: pointer;
    }
    .m1-mobile-dock__item::after {
      position: absolute;
      right: 24%;
      bottom: 4px;
      left: 24%;
      height: 2px;
      border-radius: 999px;
      background: transparent;
      content: "";
    }
    .m1-mobile-dock__item.is-current {
      color: #f8fafc;
    }
    .m1-mobile-dock__item.is-current::after {
      background: #8ea8c3;
    }
    .m1-mobile-dock__icon {
      display: grid;
      min-width: 26px;
      min-height: 26px;
      place-items: center;
      color: #8ea8c3;
      font-size: .92rem;
      font-weight: 560;
      line-height: 1;
    }
    .m1-mobile-backdrop {
      z-index: 86;
      background: rgba(4,9,17,.52);
      backdrop-filter: blur(3px);
    }
    .m1-mobile-nav {
      z-index: 87;
      top: auto;
      right: 10px;
      bottom: calc(80px + env(safe-area-inset-bottom));
      left: 10px;
      width: auto;
      max-height: min(68vh, 540px);
      overflow: auto;
      padding: 10px 12px 14px;
      border: 1px solid #dedbd4;
      border-radius: 18px;
      background: #fbfaf7;
      box-shadow: 0 24px 70px rgba(4,10,19,.26);
    }
    .m1-mobile-nav__header {
      min-height: 46px;
    }
    .m1-mobile-nav__title {
      color: #121927;
      font-size: .86rem;
    }
    .m1-mobile-nav__links {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
      padding-top: 10px;
    }
    .m1-mobile-nav__links a {
      min-height: 44px;
      padding: 8px 10px;
      border: 1px solid #e7e3db;
      border-radius: 10px;
      background: #fff;
      color: #1b2635;
      font-size: .75rem;
      font-weight: 650;
    }
    .m1-mobile-nav__links a:hover,
    .m1-mobile-nav__links a.is-current {
      border-color: #cbd7e1;
      background: #eef3f7;
    }
    .m1-mobile-nav__signout {
      margin-top: 0;
      border-top: 1px solid #e7e3db !important;
    }
  }
  
  
}

@layer m1-shell {
  /* ------------------------------------------------------------------ *
   * SHELL — phone composition. One owner, one ladder.
   * m1-mobile-density.css deliberately does not touch the shell.
   * ------------------------------------------------------------------ */
  @media (max-width: 900px) {
    body.m1-app {
      padding-bottom: calc(var(--m1-mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 10px);
    }
    .m1-mobile-dock {
      right: 10px;
      left: 10px;
      min-height: var(--m1-mobile-bottom-nav-height);
      border-radius: var(--m1-mobile-radius-floating);
      transition: transform 220ms var(--ease-standard), opacity 180ms var(--ease-standard);
      will-change: transform;
    }
    .m1-mobile-dock[data-nav-state="hidden"] {
      transform: translateY(calc(100% + 14px + env(safe-area-inset-bottom)));
      opacity: .98;
    }
    .m1-mobile-dock[data-nav-state="visible"] {
      transform: translateY(0);
      opacity: 1;
    }
    .m1-mobile-dock__item {
      min-height: var(--m1-mobile-bottom-nav-height);
      gap: 2px;
      padding: 5px 4px;
      font-size: .60rem;
    }
    .m1-mobile-dock__icon {
      min-width: 24px;
      min-height: 24px;
      font-size: .88rem;
    }
    .m1-mobile-dock__item[aria-current="page"] {
      color: #f8fafc;
    }
    .m1-mobile-dock__item[aria-current="page"]::after {
      right: 28%;
      left: 28%;
      height: 2px;
      background: var(--m1-business-accent);
    }
    @media (prefers-reduced-motion: reduce) {
      .m1-mobile-dock {
        transition: none !important;
      }
      .m1-mobile-dock[data-nav-state="hidden"] {
        transform: none;
        opacity: 0;
      }
    }
  }

  @media (max-width: 760px) {
    .m1-header,
    .m1-header__inner,
    body.m1-app.booking-form-page--luxury .m1-header,
    body.m1-app.booking-form-page--luxury .m1-header__inner {
      min-height: var(--m1-mobile-header-height);
    }
    .m1-header__inner,
    body.m1-app.booking-form-page--luxury .m1-header__inner {
      width: calc(100% - var(--m1-mobile-page-gutter) * 2);
      gap: 12px;
    }
    .m1-brand img,
    body.m1-app.booking-form-page--luxury .m1-brand img {
      width: auto;
      height: 26px;
      max-width: 170px;
    }
    .m1-brand__booking-tagline {
      display: none;
    }
    .toast-region {
      top: 66px;
      right: 14px;
    }
    .m1-footer__inner {
      width: calc(100% - var(--m1-mobile-page-gutter) * 2);
      grid-template-columns: 1fr;
      gap: var(--m1-mobile-footer-gap);
      padding: 16px 0;
    }
    .m1-footer__legal {
      width: calc(100% - var(--m1-mobile-page-gutter) * 2);
      padding: 10px 0 12px;
      font-size: .74rem;
    }
    .m1-footer__contact {
      flex-direction: row;
      gap: .8rem 1.2rem;
    }
    .m1-footer--booking {
      display: none;
    }
    .site-footer__inner {
      padding: var(--m1-mobile-footer-gap) 0 12px;
    }
    .site-footer__grid {
      gap: var(--m1-mobile-footer-gap);
    }
  }

  @media (max-width: 360px) {
    .m1-header__inner,
    body.m1-app.booking-form-page--luxury .m1-header__inner {
      width: calc(100% - var(--m1-mobile-page-gutter-narrow) * 2);
    }
    .m1-brand img,
    body.m1-app.booking-form-page--luxury .m1-brand img {
      width: 80px;
    }
    .m1-mobile-dock {
      right: 6px;
      left: 6px;
    }
    .m1-mobile-dock__item {
      font-size: .57rem;
    }
  }
}
