/* home-mobile.css - the phone home page (V2, 14 Nov 2026).
   Phones only: everything that changes the page lives inside max-width:760px.
   Wider screens keep the Atlas page exactly as it was; the phone-only markup is simply hidden there. */
.mvis,.mplaces{display:none}

@media (max-width:760px){
/* the map, card and list of the wide page are replaced by the stage and the places grid */
.hero .grid,.hero .glow,.hero .map,.hero #places,.hero .card,.hero .note{display:none}
.hero{height:auto;min-height:0;display:block;overflow:hidden;text-align:center;background:#fff;padding:.9rem 0 2rem}
.hero-text{position:relative;left:auto;width:auto;display:block;background:none;padding:0 var(--gut);text-align:center}
.hero .kicker{font:600 .7rem/1 var(--sans);letter-spacing:.24em;margin:0 0 .85rem}
.hero h1{font-size:clamp(2.6rem,13.4vw,3.4rem);line-height:1;letter-spacing:-.045em;font-weight:560}
.hero .tag{font:600 1.2rem/1.3 var(--sans);margin:.95rem 0 .5rem}
.hero .lede{margin:0 auto;max-width:20rem;font-size:1rem}
.hero .btns{display:flex;flex-direction:column;flex-wrap:nowrap;gap:.65rem;margin:1.4rem auto 0;max-width:18rem}
.hero .btns .btn{flex:none;width:100%;justify-content:center;min-height:3rem;font-size:.95rem}
.hero .btns .btn.gold{box-shadow:0 10px 24px -12px rgba(138,106,28,.8)}

/* the stage: one big feathered oval, six small feathered circles drifting round it on an ellipse */
.mvis{display:block;padding:0 var(--gut)}
.ms{--rx:min(150px,calc(50vw - var(--gut) - 29px));--ry:96px;--T:44s;position:relative;width:100%;height:262px;margin:0 auto}
.mbig,.mt{position:absolute;overflow:hidden}
.mbig img,.mt img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;max-width:none}
.mbig{left:50%;top:131px;width:min(256px,calc(100% - 24px));height:180px;margin:-90px 0 0 calc(min(256px,100% - 24px)/-2);
  -webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 55%,transparent 100%);mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 55%,transparent 100%)}
.mbig img{animation:mfade 30s ease-in-out infinite}
.morb{position:absolute;left:50%;top:131px;width:0;height:0;z-index:2}
.mo{position:absolute;left:0;top:0;animation:mox calc(var(--T)/2) cubic-bezier(.37,0,.63,1) infinite alternate}
.moy{position:absolute;left:0;top:0;animation:moy calc(var(--T)/2) cubic-bezier(.37,0,.63,1) infinite alternate}
.mt{left:-28px;top:-28px;width:56px;height:56px;border-radius:50%;
  -webkit-mask-image:radial-gradient(closest-side,#000 58%,transparent 100%);mask-image:radial-gradient(closest-side,#000 58%,transparent 100%)}
.mt img{animation:mswap 12s ease-in-out infinite}
.mt img.a{opacity:1}
@keyframes mox{from{transform:translateX(var(--rx))}to{transform:translateX(calc(var(--rx) * -1))}}
@keyframes moy{from{transform:translateY(calc(var(--ry) * -1))}to{transform:translateY(var(--ry))}}
@keyframes mfade{0%{opacity:0;transform:scale(1.02)}2.5%,9.5%{opacity:1}12%{opacity:1;transform:scale(1.09)}13.5%,100%{opacity:0;transform:scale(1.09)}}
@keyframes mcapf{0%{opacity:0}1.8%,8.2%{opacity:1}10%,100%{opacity:0}}
@keyframes mswap{0%,40%{opacity:1}50%,90%{opacity:0}100%{opacity:1}}
/* caption: its own clear row under the stage, so nothing can ever sit on it */
.mcap{position:relative;height:1.9rem;width:11rem;margin:.2rem auto 1.2rem}
.mcap span{position:absolute;inset:0;opacity:0;text-align:center;border:1px solid var(--gold);background:#fff;border-radius:999px;font:600 .68rem/1.75rem var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--gold-d);animation:mcapf 30s ease-in-out infinite}
/* paused by home-mobile.js whenever the stage is off screen */
.mvis.mpause .mbig img,.mvis.mpause .mt img,.mvis.mpause .mo,.mvis.mpause .moy,.mvis.mpause .mcap span{animation-play-state:paused}

/* places to visit: round gold-ringed pictures, two across */
.mplaces{display:block;padding:1.6rem var(--gut) 2.6rem;text-align:center;border-top:1px solid #f1ecdc;background:#fff}
.mplaces h2{margin:0 0 1.4rem;font:600 .72rem/1 var(--sans);letter-spacing:.24em;text-transform:uppercase;color:var(--gold-d)}
.mgrid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem .8rem;max-width:22rem;margin:0 auto}
.mtile{display:flex;flex-direction:column;align-items:center;gap:.6rem;font:600 .86rem/1.2 var(--sans);color:#111;text-decoration:none;min-height:2.75rem}
.mth{display:block;width:min(6.2rem,26vw);height:min(6.2rem,26vw);border-radius:50%;overflow:hidden;border:2px solid var(--gold);box-shadow:0 12px 24px -14px rgba(60,45,10,.55),0 0 0 5px #fff,0 0 0 6px #efe6c6}
.mth img{width:100%;height:100%;object-fit:cover}
.mnote{margin:2rem auto 0;font-size:.76rem;color:#7a745f;max-width:16rem}
}

/* reduced motion: first picture only, nothing drifts */
@media (max-width:760px) and (prefers-reduced-motion:reduce){
.mvis *{animation:none!important}
.mbig img.first,.mcap span.first{opacity:1}
.mo{transform:translateX(var(--rx))}
}
