/* Phones: the public site's navigation, drawn by js/mobile-nav.js (one copy for every website page).
   Mobile design handoff (Nov 2026): header = mark + menu; full-screen menu "The world of AMAI."; bottom bar
   Home · Treatments · Book · My AMAI. Palette from the handoff. */
.mobile-shell .tabs{display:none!important}
html.has-mbar .mobile-shell main{padding-bottom:calc(var(--m-nav) + var(--m-safe-b))}
html.has-mbar .mobile-shell .top{background:rgba(37,31,27,.96)}

/* menu button: three lines → a cross */
.mobile-shell .mnav-btn{position:relative;width:44px;height:44px;margin-right:-10px;border:none;background:none;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;z-index:61}
.mobile-shell .mnav-btn i{position:absolute;left:12px;right:12px;height:1.5px;background:#F3EBE1;transition:transform .3s cubic-bezier(.2,.7,.2,1),top .3s cubic-bezier(.2,.7,.2,1),opacity .2s}
.mobile-shell .mnav-btn i:nth-child(1){top:15px}
.mobile-shell .mnav-btn i:nth-child(2){top:21.5px}
.mobile-shell .mnav-btn i:nth-child(3){top:28px}
html.mnav-open .mobile-shell .mnav-btn i:nth-child(1){top:21.5px;transform:rotate(45deg)}
html.mnav-open .mobile-shell .mnav-btn i:nth-child(2){opacity:0}
html.mnav-open .mobile-shell .mnav-btn i:nth-child(3){top:21.5px;transform:rotate(-45deg)}
html.mnav-open{overflow:hidden}
html.mnav-open .mobile-shell .top{z-index:60;background:#2E2622;border-bottom-color:transparent}

/* the menu: AMAI's own language — deep espresso, large serif names on hairlines, the page you're on in full ivory (no arches — the owner found them messy),
   the arched cream Book button */
.mobile-shell .mnav{position:fixed;inset:0;z-index:55;background:#2E2622;color:#F3EBE1;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;
  padding:calc(56px + env(safe-area-inset-top) + 30px) 24px calc(28px + env(safe-area-inset-bottom));opacity:0;transition:opacity .28s ease}
.mobile-shell .mnav.on{opacity:1}
.mobile-shell .mnav[hidden]{display:none}
.mobile-shell .mnav-arch{position:absolute;right:-70px;top:calc(56px + env(safe-area-inset-top) + 40px);width:260px;height:360px;border:1px solid rgba(233,214,196,.09);border-bottom:none;border-radius:999px 999px 0 0;pointer-events:none}
.mobile-shell .mnav-k{position:relative;font-family:Mulish,sans-serif;font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:#C9B39F;margin-bottom:18px}
.mobile-shell .mnav-links{position:relative;display:flex;flex-direction:column;border-top:1px solid rgba(233,214,196,.14)}
.mobile-shell .mnav-l{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid rgba(233,214,196,.14);color:#F3EBE1;
  opacity:0;transform:translateY(8px);transition:opacity .4s ease,transform .5s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i) * 45ms + 60ms);-webkit-tap-highlight-color:transparent}
.mobile-shell .mnav.on .mnav-l{opacity:1;transform:none}
.mobile-shell .mnav-l b{font-family:Marcellus,serif;font-weight:400;font-size:clamp(27px,7.8vw,32px);line-height:1.15;display:flex;align-items:center;gap:12px}
.mobile-shell .mnav-l small{font-family:Mulish,sans-serif;font-size:12.5px;color:#C9B39F;text-align:right;flex:none}
.mobile-shell .mnav-l[aria-current] b::after{display:none;content:"";width:9px;height:13px;border:1.3px solid #C9B39F;border-bottom:none;border-radius:999px 999px 0 0}
.mobile-shell .mnav-l:active b{opacity:.65}
.mobile-shell .mnav-foot{position:relative;margin-top:auto;padding-top:30px;opacity:0;transition:opacity .4s ease .3s}
.mobile-shell .mnav.on .mnav-foot{opacity:1}
.mobile-shell .mnav-cta{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;border-radius:44px 44px 0 0;background:#E9D6C4;color:#2A221E;font-family:Marcellus,serif;font-size:18px}
.mobile-shell .mnav-acct{display:block;text-align:center;margin-top:12px;padding:8px 0;font-family:Marcellus,serif;font-size:17px;color:#F3EBE1}
.mobile-shell .mnav-small{margin-top:16px;padding-top:16px;border-top:1px solid rgba(233,214,196,.14);text-align:center;font-family:Mulish,sans-serif;font-size:13px;line-height:1.8;color:#C9B39F}
.mobile-shell .mnav-small a{color:#F3EBE1}

/* the bottom bar */
.mobile-shell .mbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(4,1fr);background:rgba(37,31,27,.97);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid rgba(233,214,196,.12);padding-bottom:env(safe-area-inset-bottom);transition:transform .3s ease}
.mobile-shell .mbar.away{transform:translateY(110%)}
html.mnav-open .mobile-shell .mbar{transform:translateY(110%)}
.mobile-shell .mbar a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:62px;font-family:Mulish,sans-serif;font-size:12px;color:#C9B39F;-webkit-tap-highlight-color:transparent}
.mobile-shell .mbar svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round}
.mobile-shell .mbar a[aria-current]{color:#F3EBE1}
.mobile-shell .mbar a[aria-current]::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:22px;height:2px;background:#E9D6C4}
@media (prefers-reduced-motion:reduce){
  .mobile-shell .mnav,.mobile-shell .mnav-l,.mobile-shell .mnav-foot,.mobile-shell .mnav-btn i,.mobile-shell .mbar{transition:none!important}
}
/* My AMAI: one compact row (owner's brief, Nov 2026) — no card, no button; subordinate to the navigation */
.mobile-shell .mnav-acct{display:flex;align-items:center;gap:14px;min-height:64px;padding:8px 0 12px;margin-bottom:clamp(10px,2svh,20px);border-bottom:1px solid rgba(233,214,196,.14);color:#F3EBE1;text-decoration:none}
.mobile-shell .mnav-acct span{flex:1;min-width:0}
.mobile-shell .mnav-acct b{display:block;font-family:Marcellus,serif;font-weight:400;font-size:18px;line-height:1.3}
.mobile-shell .mnav-acct small{display:block;font-size:13px;color:#C9B39F;margin-top:2px}
.mobile-shell .mnav-acct em{font-style:normal;color:#C9B39F;font-size:16px}
.mobile-shell .mnav-av{flex:none;width:36px;height:36px;border:1px solid rgba(233,214,196,.4);border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-family:Marcellus,serif;font-size:16px;color:#E9D6C4;position:relative}
.mobile-shell .mnav-av:empty::before{content:"";width:9px;height:9px;border:1.2px solid #C9B39F;border-radius:50%;position:absolute;top:8px}
.mobile-shell .mnav-av:empty::after{content:"";width:17px;height:8px;border:1.2px solid #C9B39F;border-bottom:none;border-radius:999px 999px 0 0;position:absolute;bottom:8px}
.mobile-shell .mnav-acct:active b{color:#E9D6C4}
.mobile-shell .mnav-acct:focus-visible{outline:2px solid #E9D6C4;outline-offset:4px}
/* each destination: its name, then a short line under it */
.mobile-shell .mnav-l{flex-direction:column;align-items:flex-start;gap:3px;padding:13px 0}
.mobile-shell .mnav-l b{font-size:clamp(25px,7vw,29px)}
.mobile-shell .mnav-l small{text-align:left}

/* tablets and large phones in landscape get the phone design too (js/device.js): keep it a comfortable column
   rather than stretching edge to edge — the same idea as My AMAI's 480px app */
/* Tablets used to get a 600px centred column; the owner wants the iPad filled edge to edge (Nov 2026), so the
   phone design simply stretches — reading lines are kept to a comfortable length instead. */
@media (min-width:620px){
  html.is-mobile .mobile-shell main p{max-width:68ch}
  html.is-mobile .mobile-shell .app{max-width:none}
  html.is-mobile .mobile-shell .mbar .mbar-in,html.is-mobile .mobile-shell .tabin{max-width:none}
}

/* Smooth scrolling on phones: no live blur behind the bars (redrawn every scroll frame, and barely visible on
   bars this opaque) — solid colours instead */
.mobile-shell .top,.mobile-shell .tabs,.mobile-shell .mbar,.mobile-shell .mm-stages{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.mobile-shell .top{background:#2A231F!important}
.mobile-shell .mbar,.mobile-shell .tabs{background:#251F1B!important}
.mobile-shell .mm-stages{background:#2E2622!important}

/* The menu always fits the screen — no scrolling to reach "Book a visit": spacing and type follow the screen's
   height (svh), and very short phones drop the little descriptions and the opening days. */
.mobile-shell .mnav{padding-top:calc(56px + env(safe-area-inset-top) + clamp(10px,2.6svh,30px));padding-bottom:calc(clamp(12px,2svh,28px) + env(safe-area-inset-bottom))}
.mobile-shell .mnav-k{margin-bottom:clamp(8px,1.6svh,18px)}
.mobile-shell .mnav-l{padding:clamp(5px,1.25svh,15px) 0}
.mobile-shell .mnav-l b{font-size:clamp(21px,4svh,31px);line-height:1.12}
.mobile-shell .mnav-l small{font-size:12px}
.mobile-shell .mnav-foot{padding-top:clamp(10px,2.6svh,30px)}
.mobile-shell .mnav-cta{min-height:clamp(44px,7svh,54px)}
.mobile-shell .mnav-small{margin-top:clamp(8px,1.6svh,16px);padding-top:clamp(8px,1.6svh,16px);line-height:1.6}
.mobile-shell .mnav-acct{min-height:clamp(56px,8.5svh,68px);padding:clamp(4px,1svh,8px) 0 clamp(8px,1.4svh,12px)}
.mobile-shell .mnav-arch{height:min(360px,48svh)}
@media (max-height:640px){
  .mobile-shell .mnav-l small{display:none}
  .mobile-shell .mnav-days{display:none}
}

/* where you are: the current page's name stays bright, the others a little quieter (the arches were removed) */
.mobile-shell .mnav-l:not([aria-current]) b{opacity:.82}
