/* Native navigation and purposeful detail feedback; content remains visible. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:180ms}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){body.luxia-home #grid .card .scene>img,.discoverycard img{transition:transform 420ms cubic-bezier(.2,.7,.3,1)}body.luxia-home #grid .card:hover .scene>img,.discoverycard:hover img{transform:scale(1.018)}a.btn-gold,a.btn-ghost,.community-view-control button{transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none!important}}

/* Keep one Luxia identity in the mobile opening and bring the search forward. */
@media(max-width:760px){#top .hero-signature{display:none}body:not(.luxia-collection) #top .content{padding-top:26px}#top .hero-title{font-size:clamp(32px,9.7vw,42px)}}
/* Touch-readable form text through tablet widths. */
@media(max-width:1024px){
 #leadForm input:not([type="checkbox"]):not([type="radio"]),#leadForm select,#leadForm textarea,
 .contact-form input:not([type="checkbox"]):not([type="radio"]),.contact-form select,.contact-form textarea,
 #sort{font-size:16px;min-height:44px}
}

/* Keep the mobile action row stable before and after the brand font loads. */
@media(max-width:520px){.luxia-home .hero .actions{flex-direction:column;align-items:stretch}}

/* The homepage omits the general subpage stylesheet; the shared compare UI still needs its styles. */
/* ---- Save / Compare communities (js/compare.js) ---- */
.ccard{position:relative}
.lc-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.lc-row h3{margin-bottom:4px}
.lc-save{flex:0 0 auto;width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:var(--paper);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:transform .15s,background .15s,border-color .15s}
.lc-save:hover{transform:translateY(-1px);border-color:var(--gold)}
.lc-save svg{width:16px;height:16px;display:block}
.lc-save svg path{fill:none;stroke:var(--gold-dk);stroke-width:1.6}
.lc-save.active{background:var(--gold);border-color:var(--gold)}
.lc-save.active svg path{fill:#fff;stroke:#fff}
.lc-bar{position:fixed;left:50%;bottom:22px;transform:translateX(-50%) translateY(140%);z-index:80;transition:transform .3s cubic-bezier(.2,.7,.2,1),opacity .3s;opacity:0;pointer-events:none}
.lc-bar.show{transform:translateX(-50%) translateY(0);opacity:1;pointer-events:auto}
.lc-bar-btn{font-family:var(--sans);font-size:.82rem;letter-spacing:.05em;text-transform:uppercase;background:var(--navy);color:var(--cream);border:none;border-radius:999px;padding:14px 26px;box-shadow:var(--sh);cursor:pointer}
.lc-bar-btn:hover{background:var(--gold-dk)}
.lc-modal{position:fixed;inset:0;z-index:90;background:rgba(14,36,56,.55);display:none;align-items:center;justify-content:center;padding:24px}
.lc-modal.open{display:flex}
.lc-modal-inner{background:var(--paper);border-radius:16px;max-width:960px;width:100%;max-height:86vh;overflow:auto;padding:32px 28px;position:relative;box-shadow:var(--sh)}
.lc-modal-inner h2{font-family:var(--serif);color:var(--navy);font-size:1.6rem;margin:0 0 18px}
.lc-modal-close{position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--paper);font-size:1.3rem;line-height:1;cursor:pointer;color:var(--ink-soft)}
.lc-modal-close:hover{border-color:var(--gold);color:var(--gold-dk)}
.lc-table{width:100%;border-collapse:collapse;font-size:.92rem}
.lc-table th,.lc-table td{border-bottom:1px solid var(--line);padding:10px 14px;text-align:left;vertical-align:top}
.lc-table thead th{font-family:var(--serif);font-size:1.02rem;color:var(--navy)}
.lc-table tbody th{color:var(--ink-soft);font-weight:500;white-space:nowrap}
.lc-remove{margin-left:8px;border:none;background:none;color:var(--ink-soft);cursor:pointer;font-size:1rem;line-height:1}
.lc-remove:hover{color:var(--gold-dk)}
.lc-modal-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.lc-visit{background:var(--navy);color:var(--cream);padding:10px 18px;border-radius:999px;font-size:.8rem;letter-spacing:.05em;text-transform:uppercase}
.lc-visit:hover{background:var(--gold-dk)}
.lc-empty{color:var(--ink-soft)}
.lc-toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%) translateY(20px);background:var(--navy);color:var(--cream);padding:12px 20px;border-radius:10px;font-size:.85rem;box-shadow:var(--sh);z-index:95;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;max-width:88vw;text-align:center}
.lc-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
body.lc-noscroll{overflow:hidden}

/* ---- mobile push (2026-08-04): compare modal -> bottom sheet, tap targets ----
   Replaces the old bare 560px padding tweak with a full bottom-sheet
   treatment: anchored to the bottom edge, near-full width, rounded top
   corners only, comfortable close/remove/visit tap targets, and an
   explicit horizontal-scroll container for the comparison table so any
   overflow is contained inside the modal, not the page. Single
   consolidated breakpoint (640px) so nothing here fights the 560px rule
   it replaces. */
@media(max-width:640px){
  .lc-modal{align-items:flex-end;padding:0}
  .lc-modal-inner{width:100%;max-width:100%;border-radius:20px 20px 0 0;max-height:90vh;padding:22px 16px 28px}
  .lc-modal-close{width:44px;height:44px;top:12px;right:12px;display:flex;align-items:center;justify-content:center;font-size:1.35rem}
  .lc-modal-body{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .lc-table{font-size:.82rem}
  .lc-table th,.lc-table td{padding:9px 8px}
  .lc-remove{padding:8px;min-width:32px;min-height:32px}
  .lc-visit{padding:13px 20px}
  .lc-save{width:44px;height:44px}
  .lc-save svg{width:19px;height:19px}
  .mklinks a{padding:12px 18px}
  .ccard .go{padding:16px 0}
}
@media(max-width:640px){.collband .starmk{width:44px;height:44px}.brand img{height:22px}}


.lc-save,.lc-modal-close,.lc-remove{min-width:44px;min-height:44px}.lc-visit,.lc-bar-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}.lc-bar[hidden],.lc-modal[hidden]{display:none!important}

/* Keep comparison text clear of the close control at narrow widths. */
.lc-modal-inner h2{padding-right:52px;overflow-wrap:anywhere}.lc-qualifications{font-size:14px;line-height:1.6;color:#505964;margin:18px 0}
