/* Shared phone and tablet layout, loaded after each page's base styles. */
html { scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body { overflow-wrap: break-word; }
img, video { max-width: 100%; }
.wrap, .hero-grid > *, .page-hero-grid > *, .book-grid > *, .two-col > * { min-width: 0; }
.home-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.widget { width: 100%; padding: clamp(12px, 2.5vw, 28px); }
.widget iframe { display: block; width: 100%; max-width: 100%; border: 0; }
hospitable-direct-mps { display: block; width: 100%; min-width: 0; }
input, select, textarea { max-width: 100%; font-size: 16px; }
button, a { touch-action: manipulation; }
.nav a, .foot nav a, .show-all { min-height: 44px; }
.nav a, .foot nav a { display: inline-flex; align-items: center; }
.lb { height: 100dvh; padding-top: max(64px, env(safe-area-inset-top)); padding-bottom: max(64px, env(safe-area-inset-bottom)); }
.lb-close { top: max(14px, env(safe-area-inset-top)); }
@media (max-width: 1100px) {
  .hdr-in { justify-content: center; gap: 10px 20px; }
  .nav { justify-content: center; flex-wrap: wrap; }
  .hero-grid, .page-hero-grid, .book-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: 100%; max-width: 680px; margin-inline: auto; }
  .book-grid { gap: 28px; }
}
@media (min-width: 600px) and (max-width: 1100px) {
  .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intents { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .arch { aspect-ratio: 1 / 1; }
}
@media (max-width: 599px) {
  html { scroll-padding-top: 160px; }
  .hdr-in { flex-direction: column; align-items: center; padding-block: 12px; }
  .nav { width: 100%; gap: 8px 16px; }
  .nav .btn { padding: 10px 18px; min-height: 44px; }
  .hero, .homes, .band, .book { padding-block: 36px; }
  .hero-grid, .page-hero-grid { gap: 26px; }
  h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .home-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home .arch { aspect-ratio: 5 / 4; }
  .book-grid { padding: 18px 12px; border-radius: 24px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .spec { padding: 14px 12px; }
  .spec b { font-size: 1.15rem; }
  .foot { gap: 20px; }
  .foot nav { gap: 10px 18px; }
  .sticker { max-width: calc(100% - 16px); white-space: normal; }
}
@media (max-width: 560px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .mbar { bottom: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .mbar .btn { padding: 12px 16px; min-height: 48px; }
  .mbar span { flex: 1; min-width: 0; font-size: .85rem; }
  .lb-nav { bottom: max(10px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .mbar span { display: none; }
  .mbar .btn { flex: 1; }
}
@media (pointer: coarse) {
  .btn:hover, .home:hover .arch, .intent:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
