/* A dedicated phone composition, retaining the Wache typography and motion. */
@media (max-width: 900px) {
  :root { --mobile-gutter: clamp(18px,5.6vw,32px); }
  html { scroll-padding-top: 92px; }
  .v6 { --gutter: var(--mobile-gutter); }
  .v6.inner-page:not(.ambiente-v9) { padding-top: 76px; }
  .v6 .header, .ambiente-v9 .header {
    position: fixed; inset: 0 0 auto; height: 76px; z-index: 80;
    padding: 0 var(--mobile-gutter); gap: 12px;
    transition: background-color .3s ease;
  }
  .v6.inner-page:not(.ambiente-v9) .header,
  .v6.mobile-scrolled .header, .v6.mobile-nav-open .header { background: #171310; }
  .v6 .header nav { display: none; }
  .v6 .header .brand { flex: 0 0 46px; }
  .v6 .header .brand img { width: 46px; height: 49px; object-fit: contain; }
  .v7 .header>.button[data-book] { margin-left: auto; min-height: 44px; padding: 9px 13px; font-size: 18px; white-space: nowrap; }
  .v6 .mobile-toggle { display: flex; flex: 0 0 44px; width: 44px; height: 44px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
  .v6 .mobile-toggle span { flex: none; width: 24px; height: 2px; margin: 0; background: #f0e9dc; transition: transform .25s ease; }
  .v6 .mobile-nav {
    position: fixed; inset: 76px 0 0; z-index: 79; max-height: calc(100dvh - 76px);
    padding: 28px var(--mobile-gutter) max(26px,env(safe-area-inset-bottom));
    border-radius: 0; background: #171310; overflow-y: auto; overscroll-behavior: contain;
  }
  .v6 .mobile-nav:not([hidden]) { display: flex; flex-direction: column; }
  .v6 .mobile-nav>a { padding: 10px 0; font: 500 clamp(34px,9vw,48px)/1.25 var(--display); }
  .v6 .mobile-nav>a[aria-current=page] { color: #d5b887; }
  .v6 .mobile-nav>a[data-book] { color: #d5b887; margin-top: 10px; font: italic 500 30px/1.4 WacheEditorial,Georgia,serif; text-transform: none; }
  .mobile-nav-info { margin-top: auto; padding-top: 36px; color: #cdbb98; font: 400 14px/1.7 var(--body); }
  .v6 .mobile-nav .mobile-nav-info a { display: block; padding: 8px 0; font: inherit; text-transform: none; min-height: 44px; }
  body.mobile-nav-open { overflow: hidden; }
  .mobile-nav-open .mobile-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .mobile-nav-open .mobile-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .v6 .button, .v6 .text-link, .v6 .plain { max-width: 100%; }
  .v6 .text-link { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.5; }
  .v6 main p { line-height: 1.7; }
  .v6 main h2 { font-size: clamp(38px,12vw,60px); line-height: 1.08; }
  .v7 .closing-invite { padding: 64px var(--mobile-gutter); }
  .v7 .closing-invite>p { font-size: clamp(36px,10.5vw,62px); line-height: 1.15; }

  /* The hero uses the whole screen without floating controls through its copy. */
  .v6 .hero { height: 100svh; min-height: 640px; max-height: none; }
  .v6 .hero-brand { top: 38%; width: clamp(225px,66vw,300px); max-width: calc(100% - 40px); }
  .v6 .hero-description { font-size: 15px; line-height: 1.65; margin-top: 20px; }
  .v6 .hero-bottom { left: var(--mobile-gutter); right: var(--mobile-gutter); bottom: 104px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; }
  .v6 .hero-bottom h1 { font-size: clamp(32px,9.4vw,52px); line-height: 1.1; margin: 0; }
  .v6 .round-link { font-size: 17px; line-height: 1.35; padding: 8px 0; min-height: 44px; }
  .v6 .film-toggle, .v6 .logo-replay { bottom: max(24px,env(safe-area-inset-bottom)); min-height: 44px; font-size: 12px; }
  .v6 .film-toggle { right: var(--mobile-gutter); }
  .v6 .logo-replay { left: var(--mobile-gutter); }
  .v6 .film-toggle span { margin-left: 8px; }

  .day-noon, .day-night { padding-inline: var(--mobile-gutter); }
  .day-meta { flex-wrap: wrap; gap: 6px 18px; font-size: 12px; }
  .v7 .day-word { font-size: clamp(82px,25vw,175px); margin: 24px 0; }
  .noon-layout { display: block; }
  .noon-time>p { font-size: 20px; max-width: none; }
  .service-clock { font-size: 44px; margin: 22px 0 16px; }
  .noon-menu { margin-top: 28px; }
  .lunch-option-top { font-size: clamp(23px,6.6vw,32px); gap: 14px; }
  .lunch-detail { font-size: 14px; }
  .lunch-plates { gap: 8px; margin-top: 30px; align-items: start; }
  .lunch-plate { font-size: clamp(14px,4vw,20px); }
  .lunch-plate>span { min-height: 2.8em; display: flex; align-items: flex-start; justify-content: center; overflow-wrap: normal; hyphens: manual; }
  .v7 .lunch-illustration-note { font-size: 12px; line-height: 1.6; margin-top: 20px; }
  .v7 .day-transition-cue { margin-top: 28px; font-size: 13px; }
  .v7 .night-title { font-size: 31vw; margin-top: 32px; }
  .v7 .day-night, .v7 .night-content { min-height: 0; }
  .v7 .night-plate { position: relative; top: auto; width: 100vw; margin-top: -34vw; }
  .v7 .night-bottom { position: relative; bottom: auto; display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 20px; }
  .v7 .night-bottom>p { font-size: 32px; max-width: none; line-height: 1.2; }
  .v7 .night-bottom>p em { font-size: 1.2em; white-space: normal; }
  .v7 .night-bottom>div { max-width: none; }
  .v7 .night-bottom>div p { margin-bottom: 18px; }
  .steak-motion-toggle { min-height: 44px; bottom: 0; }

  .guest-note { padding: 64px var(--mobile-gutter); }
  .v7 .guest-source { gap: 16px; align-items: center; }
  .v7 .guest-stars.review-selector { display: flex; gap: 5px; }
  .review-choice { width: 44px; height: 48px; }
  .review-choice .review-star { width: 33px; height: 33px; }
  .v7 .guest-aggregate { flex-basis: 100%; gap: 14px; }
  .guest-aggregate>strong { font-size: 27px; }
  .guest-aggregate>span, .guest-aggregate>span small { font-size: 13px; }
  .review-switch-hint { font-size: 13px; margin-top: 16px; }
  .v7 .guest-note blockquote { font-size: clamp(29px,8vw,42px); line-height: 1.2; margin: 24px 0; }
  .guest-credit { display: block; font-size: 13px; }
  .guest-credit>span>span { display: block; margin-top: 6px; }
  .guest-credit a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-size: 13px; }
  .recognition { padding: 32px var(--mobile-gutter) 64px; }
  .recognition-layout { display: block; }
  .award-monument { justify-content: center; margin: 20px 0 32px; }
  .award-monument strong { font-size: clamp(210px,68vw,380px); }
  .v7 .recognition-copy h2 { font-size: clamp(34px,10.8vw,56px); line-height: 1.15; }
  .wache-door { min-height: 620px; }
  .door-copy { padding: 72px var(--mobile-gutter); }
  .v7 .door-copy h2 { font-size: clamp(56px,18vw,95px); }

  /* Dish information travels with the plate on phones; the full selection follows. */
  .v6 .menu-section { padding: 34px var(--mobile-gutter) 64px; }
  .v6 .section-head { display: block; margin-bottom: 26px; }
  .v6 .section-head h1 { font-size: clamp(38px,11.2vw,68px); line-height: 1.08; }
  .v6 .section-head p { margin-top: 20px; font-size: 15px; line-height: 1.65; }
  .v6 .menu-section .menu-tabs { margin: 28px 0 24px; padding-bottom: 10px; gap: 22px; scrollbar-width: thin; }
  .v6 .menu-tabs button { min-height: 48px; font-size: 19px; padding: 10px 0; }
  .v6 .menu-stage { display: flex; flex-direction: column; gap: 24px; min-height: 0; }
  .v6 .plate-column, .v6 .dish-column { position: static; width: 100%; min-width: 0; padding: 0; }
  .v6 .featured-copy { min-height: 0; padding: 0 0 10px; scroll-margin-top: 0; }
  .v6 .featured-copy h3 { font-size: clamp(32px,9vw,48px); line-height: 1.15; }
  .v6 .featured-copy #dish-description { font-size: 15px; line-height: 1.65; margin-top: 12px; }
  .v6 .dish-price { display: flex; flex-wrap: wrap; font-size: 14px; line-height: 1.6; gap: 6px 16px; margin-top: 16px; }
  .v6 .dish-price>span { white-space: nowrap; }
  .v6 .plate-scene { width: min(100%,430px); margin: 4px auto 0; }
  .v7 .ingredient-label { font-size: 13px; line-height: 1.4; max-width: 43%; overflow-wrap: break-word; padding: 4px 6px; }
  .ingredient-toolbar { margin: 4px 0 16px; }
  .ingredient-toolbar button { min-height: 44px; }
  .v6 .ingredient-toolbar p { font-size: 13px; line-height: 1.5; margin: 10px auto 0; max-width: 32ch; }
  .v6 .plate-tools { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; }
  .v6 #plate-pause { font-size: 13px; min-width: 0; }
  .v6 #plate-prev, .v6 #plate-next { min-width: 64px; min-height: 46px; font-size: 16px; }
  .v6 .image-note { margin: 16px 0 0; font-size: 13px; line-height: 1.6; }
  .v6 .dish-choice { min-height: 62px; display: flex; align-items: center; gap: 14px; padding: 14px 12px; font-size: clamp(22px,6.2vw,29px); }
  .v6 .dish-choice[aria-pressed=true] { padding-left: 16px; }
  .v6 .choice-name { min-width: 0; }
  .v6 .dish-choice .choice-price { flex-shrink: 0; font: 400 13px/1.5 var(--body); }
  .v6 .menu-note { margin-top: 24px; font-size: 13px; }
  .v6 .drinks { padding: 60px var(--mobile-gutter); margin: 0; }
  .v6 .drinks h2 { margin-bottom: 26px; }
  .v6 .drinks summary { font-size: clamp(22px,6vw,29px); gap: 14px; padding-block: 21px; }
  .v6 .drink-list>div { display: block; padding: 7px 0; margin-bottom: 18px; }
  .v6 .drink-list dt { font-size: 15px; line-height: 1.6; }
  .v6 .drink-list dd { text-align: left; font-size: 14px; line-height: 1.6; margin-top: 6px; }
  .menu-original { padding: 0 var(--mobile-gutter) 48px; line-height: 1.8; }
  .v6 .full-menu { padding: 34px var(--mobile-gutter) 56px; }
  .v6 .full-menu h1 { font-size: clamp(42px,12vw,70px); margin: 24px 0 18px; }
  .full-menu-section { margin: 52px 0; }
  .full-menu-grid { grid-template-columns: 1fr; gap: 28px; }
  .full-menu-item { grid-template-columns: 76px minmax(0,1fr); gap: 16px; align-items: start; }
  .full-menu-item img { width: 76px; }
  .v6 .full-menu-item h3 { font-size: 24px; line-height: 1.2; }
  .v6 .full-menu-item p { font-size: 14px; line-height: 1.65; }

  .ambiente-v9 .room-hero-copy { inset: auto var(--mobile-gutter) 112px; display: block; }
  .ambiente-v9 .room-hero h1 { font-size: clamp(40px,12.5vw,70px); line-height: 1.05; }
  .ambiente-v9 .room-invitation { width: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
  .ambiente-v9 .room-invitation p { font-size: 14px; line-height: 1.6; margin: 0; }
  .room-discover { font-size: 13px; gap: 12px; min-height: 48px; flex: 0 0 102px; }
  .room-film-controls { left: var(--mobile-gutter); right: var(--mobile-gutter); bottom: max(18px,env(safe-area-inset-bottom)); gap: 24px; }
  .room-film-controls>span { font-size: 12px; max-width: 23ch; }
  .room-film-controls button { font-size: 12px; min-height: 44px; max-width: 14ch; text-align: right; }
  .house-caption { left: var(--mobile-gutter); right: var(--mobile-gutter); bottom: 32px; display: block; }
  .ambiente-v9 .house-caption h2 { font-size: clamp(36px,min(12vw,7svh),65px); }
  .ambiente-v9 .house-caption p { font-size: 14px; line-height: 1.65; margin: 18px 0 0; max-width: none; }
  .ambiente-v9 .room-story-v9 { display: block; padding: 64px var(--mobile-gutter); }
  .ambiente-v9 .room-story-v9 h2, .v6 .room-pair h2 { font-size: clamp(38px,12vw,60px); }
  .ambiente-v9 .room-story-v9 p { font-size: 16px; margin: 24px 0; }
  .room-pair { display: block; padding: 48px var(--mobile-gutter) 64px; }
  .room-pair>figure { margin: 0; }
  .room-pair>div { padding-top: 42px; }
  .room-pair>div figure { margin-top: 36px; }
  .v6 .gallery-section { padding: 64px var(--mobile-gutter); }
  .v6 .gallery-section h2 { font-size: clamp(36px,10.7vw,58px); }
  .photo-journal { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .journal-photo, .journal-line { grid-column: 1; margin: 0; }
  .v6 .journal-photo .photo-window { border-radius: 0; aspect-ratio: 4/3; }
  .journal-line { font-size: 9.5vw; margin: 10px 0; }
  .journal-photo figcaption, .v6 .original-photo figcaption { font-size: 13px; line-height: 1.6; }
  .original-room-view, .original-menu-gallery, .original-team-view { padding-inline: var(--mobile-gutter); }
  .original-kitchen-strip { grid-template-columns: 1fr; gap: 30px; margin-top: 42px; }
  .original-food-spread { grid-template-columns: 1fr; gap: 30px; }
  .original-photo-heading { display: block; }
  .v6 .original-photo-heading h2 { font-size: clamp(29px,8.5vw,44px); }
  .v6 .original-photo-heading p { margin-top: 12px; font-size: 14px; }
  .original-photo figcaption { flex-wrap: wrap; gap: 4px 16px; }
  .v6 #gallery-lightbox { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 44px 12px 16px; }
  #gallery-full { max-height: 65svh; object-fit: contain; }
  #gallery-lightbox .dialog-close { width: 44px; height: 44px; top: 4px; right: 4px; }
  #lightbox-prev, #lightbox-next { min-width: 44px; min-height: 44px; }

  .contact-hero { display: flex; flex-direction: column; padding: 34px var(--mobile-gutter) 56px; gap: 36px; min-height: 0; }
  .contact-hero>div { width: 100%; }
  .v6 .contact-hero h1 { font-size: clamp(52px,17vw,88px); margin: 24px 0; }
  .contact-actions { gap: 2px; margin-bottom: 22px; }
  .contact-actions a { display: flex; align-items: center; min-height: 44px; font-size: 17px; }
  .address-portrait { aspect-ratio: 4/3; min-height: 0; }
  .address-portrait img { height: 100%; object-fit: cover; }
  .address-number { font-size: clamp(120px,42vw,220px); }
  .visit-planner { display: block; padding: 60px var(--mobile-gutter); }
  .visit-planner>div>p { margin: 22px 0; font-size: 16px; }
  .visit-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; margin-top: 26px; }
  .visit-days button { width: 100%; min-width: 0; height: 48px; font-size: 20px; }
  #visit-hours { padding-top: 28px; }
  .hours-window p { font-size: clamp(36px,10.5vw,52px); margin: 20px 0 26px; }
  .hours-window span { margin-top: 8px; font-size: 14px; }
  .week-overview { margin-top: 24px; }
  .week-overview summary { min-height: 48px; }
  .week-overview dl div { display: block; font-size: 14px; line-height: 1.7; }
  .week-overview dd { margin: 5px 0 0; }
  .v6 .map-section { padding: 60px var(--mobile-gutter); }
  .map-heading { display: block; margin-bottom: 28px; }
  .map-heading>div { min-width: 0; margin-top: 24px; }
  .v6 .map-canvas { height: auto; min-height: 0; }
  .map-placeholder { min-height: 380px; }
  .map-placeholder>img { height: 100%; object-fit: cover; }
  .map-load-copy { padding: 24px; }
  .map-load-copy p { font-size: 13px; }
  .map-canvas iframe { height: 380px; }
  .map-after { flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; }
  .map-after>* { min-height: 44px; display: inline-flex; align-items: center; }
  .contact-close { padding: 60px var(--mobile-gutter); }
  .v6 .contact-close h2 { font-size: clamp(34px,10.8vw,58px); }
  .contact-close p { margin: 24px auto; }

  footer { padding: 44px var(--mobile-gutter) max(28px,env(safe-area-inset-bottom)); }
  .footer-word { font-size: clamp(48px,15vw,95px); }
  .footer-bottom { display: block; margin-top: 26px; padding-bottom: 0; }
  .footer-bottom>div { gap: 0 22px; margin-top: 16px; }
  .footer-bottom a, .footer-bottom button { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
  .v6 .draft-note { font-size: 13px; line-height: 1.65; margin-top: 26px; }

  /* Keep the invitation frame, with one scroll area and comfortable touch targets. */
  .v7 #booking { width: calc(100vw - 16px); max-width: 560px; max-height: calc(100dvh - 16px); padding: 5px; overflow: hidden; }
  .v7 #booking .booking-shell { max-height: calc(100dvh - 28px); overscroll-behavior: contain; scroll-padding: 60px 0 130px; }
  .v7 #booking .booking-inner { padding: 22px clamp(15px,5vw,30px) 24px; }
  .v7 #booking .dialog-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; background: #211b16; }
  .v7 #booking .booking-masthead { margin-bottom: 12px; }
  .v7 #booking #booking-progress { font-size: 11px!important; letter-spacing: .03em; line-height: 1.6; }
  .v7 #booking #booking-title { display: block; font-size: 29px; line-height: 1.2; margin: 14px 0 20px; }
  .v7 #booking #booking-title em { display: block; font-size: clamp(32px,9.2vw,43px); line-height: 1.15; margin: 4px 0 0; }
  .v7 #booking .booking-steps { gap: 16px; justify-content: center; margin-bottom: 20px; padding-bottom: 18px; }
  .v7 #booking .booking-steps span { font-size: 12px!important; }
  .v7 #booking .booking-picker { display: block; }
  .v7 #booking .calendar-column { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid #a98b5c3d; }
  .v7 #booking .calendar-head button { width: 44px; height: 44px; }
  .v7 #booking #calendar-month { font-size: clamp(23px,6.5vw,32px); }
  .v7 #booking .calendar-week, .v7 #booking #calendar-days { gap: 2px; }
  .v7 #booking #calendar-days button { width: 100%; max-width: none; min-height: 44px; height: 44px; font-size: 14px; }
  .v7 #booking .time-column { display: block; padding-top: 22px; }
  .v7 #booking #time-slots { grid-template-columns: repeat(4,minmax(0,1fr)); max-height: none; overflow: visible; gap: 6px; }
  .v7 #booking #time-slots button, .v7 #booking .time-periods button { min-height: 44px; font-size: 13px!important; }
  .v7 #booking .party-counter, .v7 #booking .party-counter button { min-height: 48px; }
  .v7 #booking .booking-next-row { position: sticky; bottom: -24px; z-index: 4; margin-top: 22px; padding: 16px 0 20px; background: var(--invite-ground); gap: 12px; box-shadow: 0 16px 0 var(--invite-ground); }
  .v7 #booking .booking-selection { min-width: 0; font-size: 13px!important; }
  .v7 #booking .booking-selection span { font-size: 12px; }
  .v7 #booking .booking-next-row .button { min-width: 100px; padding: 15px; min-height: 50px; }
  .v7 #booking .contact-fields { display: block; }
  .v7 #booking .contact-fields>div+div { margin-top: 18px; }
  .v7 #booking input, .v7 #booking textarea, .v7 #booking select { font-size: 16px; }
  .v7 #booking .step-actions { gap: 16px; }
  .v7 #booking .step-actions .button { min-width: 0; padding: 16px; font-size: 13px; }
  .confirmation-date { font-size: 27px; }
  .confirmation-facts { gap: 18px; font-size: 14px; }
  .confirmation-contacts { grid-template-columns: 64px minmax(0,1fr); gap: 12px; font-size: 14px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .v7 #booking .booking-inner { padding-top: 16px; }
  .v7 #booking .booking-masthead { margin-bottom: 8px; }
  .v7 #booking .booking-masthead img { width: 49px; height: 40px; }
  .v7 #booking #booking-progress { margin-bottom: 8px; }
  .v7 #booking #booking-title { font-size: 24px; margin: 8px 0 14px; }
  .v7 #booking #booking-title em { font-size: 29px; }
  .v7 #booking .booking-steps { padding-bottom: 14px; margin-bottom: 14px; }
}
@media (max-width: 900px) and (max-height: 550px) and (orientation: landscape) {
  .v6 .hero { min-height: 560px; }
  .v6 .hero-brand { width: 220px; top: 37%; }
  .v6 .hero-bottom h1 { font-size: 40px; }
  .v6 .hero-bottom { bottom: 82px; }
  .v6 .mobile-nav:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; align-content: start; padding-block: 18px; }
  .v6 .mobile-nav>a { font-size: 30px; padding-block: 6px; }
  .mobile-nav-info { grid-column: 1/-1; padding-top: 12px; }
  .ambiente-v9 .room-hero-copy { inset: auto var(--mobile-gutter) 64px; display: flex; align-items: end; gap: 24px; }
  .ambiente-v9 .room-hero h1 { font-size: clamp(32px,10svh,50px); }
  .ambiente-v9 .room-invitation { display: block; padding: 0; width: auto; }
  .ambiente-v9 .room-invitation p { display: none; }
  .room-discover { max-width: none; }
  .room-film-controls { bottom: 8px; }
  .room-film-controls>span, .room-film-controls button { max-width: none; }
  .house-caption { bottom: 20px; display: flex; align-items: end; gap: 24px; }
  .ambiente-v9 .house-caption h2 { font-size: 36px; }
  .ambiente-v9 .house-caption p { max-width: 27ch; font-size: 13px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .mobile-nav { scroll-behavior: auto; } }
