/* Phone layouts by Luka. Desktop styles remain in the existing stylesheets. */
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  body { padding-bottom: 0; }
  .section { padding: 52px 22px; }
  .eyebrow { font-size: 10px; letter-spacing: .16em; margin-bottom: 18px; }
  h2 { font-size: 44px; line-height: 1.04; }

  header { height: 72px; padding-inline: 20px; border-bottom: 1px solid #183c4310; }
  header .brand-logo { width: 95px; height: 64px; }
  .header-actions { gap: 16px; }
  .languages { gap: 7px; }
  .languages button { min-width: 44px; min-height: 44px; padding-inline: 3px; }
  .menu-toggle { width: 44px; height: 44px; justify-content: center; padding: 10px; }
  .menu-lines { width: 21px; height: 15px; border: 0; }
  .menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: currentColor; transition: top .25s, transform .25s; }
  .menu-lines::after { top: 11px; }
  .menu-toggle[aria-expanded=true] .menu-lines { transform: none; }
  .menu-toggle[aria-expanded=true] .menu-lines::before { top: 7px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded=true] .menu-lines::after { top: 7px; transform: rotate(-45deg); }
  #navigation { top: 71px; left: 12px; right: 12px; padding: 9px 20px 18px; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); max-height: calc(100dvh - 160px); overflow-y: auto; counter-reset: menu-item; box-shadow: 0 18px 30px #102f351c; }
  #navigation a { display: flex; align-items: center; gap: 16px; min-height: 62px; padding: 12px 0; border-bottom: 1px solid var(--line); font: 29px/1.2 var(--serif); }
  #navigation a:last-child { border-bottom: 0; }
  #navigation a::before { counter-increment: menu-item; content: counter(menu-item, decimal-leading-zero); font: 10px var(--sans); letter-spacing: .06em; color: #8c795d; }
  #navigation a::after { content: none; }

  .hero { display: flex; flex-direction: column; gap: 0; margin: 0 12px; padding: 28px 18px 24px; height: auto; min-height: 0; max-height: none; }
  .hero-content { display: contents; animation: none; }
  .hero .eyebrow { order: 1; font-size: 10px; letter-spacing: .17em; margin: 0 0 15px; }
  .hero h1 { order: 2; font-size: clamp(62px, 18.5vw, 86px); line-height: .92; margin: 0; letter-spacing: -.035em; }
  .hero-visual { order: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 67px 44px; gap: 8px; height: auto; margin: 24px -18px 0; padding: 0; }
  .hero-main-photo { grid-column: 1 / -1; grid-row: auto; height: auto; max-height: 330px; aspect-ratio: 1.6; }
  .hero-main-photo .hero-image { object-position: 50% 50%; }
  .hero-main-photo figcaption { left: 18px; right: 18px; bottom: 15px; }
  .hero-main-photo figcaption > span:first-child { display: block; max-width: none; font: 9px/1.5 var(--sans); letter-spacing: .14em; }
  .hero-pool, .hero-building { margin: 0; height: 67px; }
  .hero-pool { margin-left: 10px; }
  .hero-building { margin-right: 10px; }
  .hero-sidephoto::after { inset: 0; background: linear-gradient(90deg, #102d3980, #102d3930); }
  .hero-sidephoto span { left: 12px; right: 8px; bottom: 11px; font-size: 11px; line-height: 1.4; }
  .hero-pager { grid-column: 1 / -1; position: static; display: flex; justify-content: center; align-items: center; gap: 10px; }
  .hero-pager button { width: 44px; min-height: 44px; font-size: 11px; }
  .hero-pager .slideshow-control { width: 44px; min-width: 44px; height: 44px; min-height: 44px; margin: 0 0 0 8px; border: 0; font-size: 14px; }
  .hero-description { order: 4; max-width: none; margin: 15px 0 0; font-size: 15px; line-height: 1.75; }
  .hero-actions { order: 5; display: flex; width: 100%; margin-top: 20px; gap: 0; }
  .hero-actions .button { width: 100%; min-height: 53px; padding: 14px 18px; font-size: 13px; }
  .hero-explore { display: none; }
  .hero-fine { order: 6; max-width: none; margin: 12px 0 0; font-size: 10px; line-height: 1.7; }
  .hero-bottom { order: 7; position: static; width: 100%; margin-top: 22px; padding-top: 17px; justify-content: center; }
  .hero-label { display: none; }
  .rating { gap: 13px; }
  .rating strong { font-size: 32px; padding-right: 13px; }
  .rating b { font-size: 11px; }
  .rating small { font-size: 10px; max-width: 180px; line-height: 1.5; }
  .hero-ribbon { padding: 20px 22px; gap: 11px 14px; font-size: 11px; line-height: 1.6; }

  .intro h2, .room-copy h2, .experience-heading h2, .section-top h2, .location-copy h2, .stay-info h2 { font-size: 44px; }
  .intro-copy { padding-top: 8px; }
  .intro-copy > p, .room-copy > p:not(.eyebrow), .section-top > p, .location-copy > p:not(.eyebrow), .experience-heading > p:last-child { font-size: 15px; line-height: 1.8; }
  .small-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 24px; padding-top: 20px; }
  .small-facts > span { padding-left: 19px; border-left: 1px solid var(--line); }
  .small-facts > span:first-child { padding-left: 0; border-left: 0; }
  .small-facts b { font-size: 32px; line-height: 1.2; }
  .small-facts small { display: block; margin-top: 7px; font-size: 11px; }
  .apartment-story { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 24px; }
  .room-composition { padding: 0 0 62px; }
  .room-main { height: auto; max-height: 340px; width: 100%; aspect-ratio: 1.45; }
  .room-inset { width: 43%; height: 112px; right: 8px; bottom: 3px; box-shadow: 0 0 0 6px var(--paper); }
  .image-note { bottom: 7px; width: 48%; font-size: 15px; line-height: 1.4; }
  .room-copy { margin-top: 0; }
  .room-specs { margin-top: 23px; }
  .room-specs span { padding: 12px 0; font-size: 13px; }
  .room-copy > .text-link { font-size: 13px; line-height: 1.5; }

  .experience-heading { padding: 44px 22px 30px; }
  .experience-stage { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .experience-heading > p:last-child { margin-top: 20px; }
  .experience-image-wrap { height: 220px; min-height: 0; max-height: none; }
  .experience-image-footer { left: 22px; right: 22px; bottom: 19px; font-size: 10px; }
  #experience-image-label { font: 10px/1.5 var(--sans); letter-spacing: .14em; }
  .experience-panel { padding: 22px 22px 32px; }
  .experience-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 3px; border: 1px solid #ffffff35; background: #ffffff06; }
  .experience-tabs button { min-height: 46px; padding: 8px 3px; border: 0; font-size: 12px; line-height: 1.4; }
  .experience-tabs button[aria-selected=true] { background: #eadbc0; color: #183c43; }
  .experience-number { margin: 24px 0 13px; font-size: 11px; }
  #experience-detail { min-height: 0; }
  #experience-detail h3 { font-size: 41px; line-height: 1.08; }
  #experience-detail > p:not(.experience-note) { font-size: 15px; line-height: 1.75; }
  #experience-list { gap: 12px 18px; margin-block: 23px; }
  #experience-list li { font-size: 13px; line-height: 1.6; }
  .experience-note { font-size: 12px; line-height: 1.75; }
  .experience-panel > .text-link { min-height: 44px; margin-top: 17px; font-size: 13px; }
  .amenity-columns { gap: 10px; }
  .amenity-columns summary { min-height: 64px; font-size: 16px; padding-block: 18px; }
  .amenity-columns p { font-size: 14px; line-height: 1.8; }

  .guest-note { display: flex; flex-direction: column; gap: 18px; margin: 0 12px; padding: 28px 22px; }
  .guest-score { display: flex; align-items: baseline; gap: 14px; float: none; width: auto; margin: 0; padding: 0; border: 0; }
  .guest-score strong { font-size: 58px; line-height: 1; }
  .guest-score span { font-size: 11px; margin: 0; }
  .guest-note .eyebrow { padding: 0; margin-bottom: 16px; font-size: 10px; }
  .guest-note blockquote { font-size: 27px; line-height: 1.25; }
  .quote-source { font-size: 11px; margin-top: 18px; line-height: 1.6; }

  .section-top { margin-bottom: 24px; }
  .section-top > p { margin-top: 19px; }
  .gallery-toolbar { margin-bottom: 20px; border: 0; }
  .gallery-filters { gap: 8px; padding: 2px 2px 7px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .gallery-filters button { flex-shrink: 0; min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); font-size: 12px; scroll-snap-align: start; }
  .gallery-filters button[aria-pressed=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .gallery-filters button:focus-visible { outline-offset: -4px; }
  .gallery-toolbar > #photo-count { margin: 8px 0 0; font-size: 11px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 19px 12px; align-items: start; }
  .gallery-item, .gallery-item:first-child, .gallery-item:nth-child(8n), .show-all .gallery-item, .show-all .gallery-item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: auto; overflow: visible; text-align: left; background: none; }
  .gallery-item:first-child, .show-all .gallery-item:first-child { grid-column: 1 / -1; }
  .gallery-item img { display: block; position: static; width: 100%; height: auto; max-height: 260px; aspect-ratio: 1.3; object-fit: cover; }
  .gallery-item:first-child img { aspect-ratio: 1.6; max-height: 320px; }
  .gallery-item::after { display: none; }
  .gallery-item .gallery-caption { display: block; position: static; opacity: 1; transform: none; padding-top: 9px; color: var(--ink); font-size: 12px; line-height: 1.55; }
  .gallery-item .photo-plus { top: 8px; right: 8px; bottom: auto; width: 28px; height: 28px; border: 1px solid #ffffff80; background: #faf9f6e8; color: var(--ink); font-size: 17px; }
  #show-more { min-height: 52px; margin-top: 26px; width: 100%; font-size: 13px; }
  .gallery-source { font-size: 11px; line-height: 1.8; }

  .location-photo { height: 240px; min-height: 0; max-height: none; }
  .location-photo > span { left: 22px; bottom: 20px; font-size: 10px; }
  .location-copy { padding: 40px 22px 48px; }
  .location-distance { gap: 23px; margin-top: 26px; }
  .location-distance > strong { font-size: 56px; }
  .location-distance > span { font-size: 12px; }
  .stay-info-heading { margin-bottom: 25px; }
  .faq summary { min-height: 64px; font-size: 14px; line-height: 1.6; padding-block: 16px; }
  .faq summary > span:last-child, .amenity-columns summary > span:last-child { flex-shrink: 0; }
  .faq p { font-size: 14px; line-height: 1.8; }
  .reservation { gap: 25px; padding: 44px 22px; }
  .reservation h2 { font-size: 43px; }
  .reservation-facts { gap: 9px 15px; font-size: 11px; }
  .reservation-action { padding-top: 24px; }
  .reservation-copy { font-size: 15px; }
  .reservation .reservation-link { min-height: 56px; padding: 15px 18px; font-size: 13px; }
  .reservation-note { font-size: 11px; }

  footer { padding: 34px 22px 125px; }
  .footer-top .brand-logo { width: 140px; }
  .footer-top > .brand { margin-bottom: 20px; }
  .footer-top { margin-bottom: 25px; }
  .footer-bottom { gap: 12px 18px; font-size: 10px; }
  .mobile-book { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); gap: 12px; padding: 5px 6px 5px 12px; border: 1px solid #d4d8d0; box-shadow: 0 5px 25px #0c2e4328; }
  .mobile-brand-logo { width: 59px; height: 40px; }
  .mobile-book > a { flex: 1; min-width: 0; min-height: 47px; gap: 10px; align-items: center; padding: 11px 14px; font-size: 12px; line-height: 1.4; }
  .mobile-book > a > span:last-child { flex-shrink: 0; font-size: 19px; }
  .lightbox-header { height: 76px; padding: 12px 18px; }
  .lightbox-stage { height: calc(100dvh - 140px); padding-inline: 12px; }
  .lightbox-stage > button { width: 44px; height: 44px; border-radius: 0; }
  .lightbox-stage figcaption { font-size: 12px; line-height: 1.6; }
  .privacy-dialog { padding: 42px 24px 30px; }
  .privacy-dialog > button { width: 44px; height: 44px; }
  .privacy-button { min-height: 44px; }

  @media (max-width: 360px) {
    header { padding-inline: 15px; }
    .header-actions { gap: 8px; }
    .hero h1 { font-size: 62px; }
    .hero-description { font-size: 14px; }
    .hero-main-photo { aspect-ratio: 1.45; }
    .hero-sidephoto span { font-size: 10px; }
    .room-inset { height: 95px; }
    .experience-tabs button { font-size: 11px; }
    #experience-list { grid-template-columns: 1fr; gap: 9px; }
    .small-facts > span { padding-left: 12px; }
    .mobile-book { gap: 9px; padding-left: 9px; }
    .mobile-book > a { padding-inline: 11px; font-size: 11px; }
  }
  @media (prefers-reduced-motion: no-preference) {
    .menu-open #navigation { animation: harmony-phone-menu .25s ease-out both; }
    @keyframes harmony-phone-menu { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .menu-lines::before, .menu-lines::after { transition: none; }
  }
}
