/* Mobile and portrait tablet layout. Desktop styling stays in style.css. */
@media screen and (max-width: 900px) {
  html { scroll-padding-top: 132px; }
  body { font-size: 1rem; line-height: 1.75; }
  .wrap { padding-left: 6%; padding-right: 6%; }
  header, .home header {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    height: auto; min-height: 0; gap: 4px 16px; padding: 10px 6% 0;
    align-items: center; align-content: normal;
  }
  header .wordmark { width: fit-content; padding: 4px 0; }
  header .official-logo { width: 132px; }
  header .nav-book { grid-column: 2; grid-row: 1; margin: 0; min-height: 44px; font-size: .875rem; gap: 12px; }
  header nav {
    grid-column: 1 / -1; grid-row: 2; display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%; margin: 0; padding: 0; gap: 0;
    border-top: 1px solid var(--line);
  }
  header nav a { justify-content: center; min-height: 46px; font-size: .875rem; letter-spacing: .06em; }
  .home .hero { height: auto; min-height: 0; max-height: none; }
  .hero-image { height: 52svh; min-height: 260px; max-height: 460px; object-position: 53% center; }
  .hero-content { width: 100%; padding: 36px 6% 22px; }
  .hero h1 { font-size: clamp(2rem, 7.6vw, 3.25rem); line-height: 1.2; margin-bottom: 22px; text-wrap: balance; }
  .hero-content p { font-size: .875rem; letter-spacing: .07em; line-height: 1.75; max-width: 34ch; margin: 0 auto 18px; }
  .hero-book { min-height: 48px; font-size: .9375rem; }
  .hero-bottom { justify-content: center; padding: 0 6% 28px; font-size: .8125rem; }
  .hero-bottom > a { display: none; }
  .quickline { padding: 16px 6%; font-size: .875rem; text-align: center; }
  .quickline > span, .quickline > a:last-child { display: none; }
  .intro { display: block; padding-top: 60px; padding-bottom: 64px; }
  .intro h2 { font-size: clamp(2rem, 7.2vw, 3rem); line-height: 1.23; margin-bottom: 26px; text-wrap: balance; }
  .intro-copy { max-width: 36rem; padding: 0; }
  .intro-copy p { font-size: 1rem; line-height: 1.85; }
  .eyebrow { margin-bottom: 20px; font-size: .8125rem; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head h2 { font-size: clamp(2rem, 7vw, 2.7rem); line-height: 1.2; text-wrap: balance; }
  .section-head p:last-child { font-size: 1rem; line-height: 1.75; }
  .food-section { padding-top: 0; padding-bottom: 60px; }
  .food-pair { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 560px; margin: 0 auto; }
  .food-pair figure:nth-child(2) { padding-top: 0; }
  .food-pair figure:first-child img, .food-pair figure:nth-child(2) img { aspect-ratio: 4 / 5; height: auto; min-height: 0; }
  .food-pair figcaption { padding-top: 12px; font-size: 1rem; line-height: 1.5; }
  .menu-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin-top: 36px; }
  .menu-links a { min-height: 56px; padding: 16px 0; align-items: center; font-size: .875rem; letter-spacing: .04em; }
  .lunch-split { display: block; }
  .lunch-image img { height: auto; min-height: 0; max-height: 620px; aspect-ratio: 4 / 5; object-position: center; }
  .lunch-copy { max-width: 640px; width: 100%; margin: auto; padding: 42px 6% 52px; }
  .lunch-copy h2 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .lunch-copy .small, .price small { font-size: .875rem; }
  .button { min-height: 52px; gap: 16px; font-size: .9375rem; padding: 13px 20px; }
  .lunch-copy .button, .lunch-menu .button, .visit-detail .button { width: 100%; }
  .text-link { min-height: 48px; font-size: .9375rem; max-width: 100%; gap: 20px; }
  .story { display: flex; flex-direction: column; align-items: stretch; gap: 30px; padding-top: 64px; padding-bottom: 64px; }
  .story h2 { font-size: clamp(2.25rem, 7vw, 3rem); }
  .story p:not(.eyebrow) { max-width: none; font-size: 1rem; }
  .story figure img { aspect-ratio: 3 / 4; object-position: center; }
  .visit-strip { display: block; padding-top: 44px; padding-bottom: 44px; }
  .visit-strip h2 { font-size: 2.25rem; }
  .visit-strip p, .hours p { font-size: 1rem; }
  .visit-strip .eyebrow, .hours .closed { font-size: .875rem; }
  .visit-strip .hours { margin: 28px 0; }
  .visit-strip .button { width: 100%; margin-top: 8px; }
  .press { flex-wrap: wrap; gap: 8px 26px; padding-top: 24px; padding-bottom: 28px; font-size: .9375rem; }
  .press .eyebrow { width: 100%; font-size: .8125rem; }
  .page-title { padding-top: 40px; padding-bottom: 34px; }
  .page-title h1 { font-size: clamp(2.6rem, 10vw, 4rem); line-height: 1.15; text-wrap: balance; }
  .page-title > p:last-child { font-size: 1rem; }
  .subnav { position: relative; top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .subnav a { justify-content: center; min-height: 48px; text-align: center; font-size: .875rem; }
  .menu-content { padding-top: 44px; padding-bottom: 48px; }
  .menu-group { display: block; padding-top: 32px; }
  .menu-group > h2 { font-size: 1.875rem; margin-bottom: 28px; }
  .dish { gap: 16px; margin-bottom: 22px; padding-bottom: 20px; }
  .dish > div { min-width: 0; }
  .dish h3, .wine-block .dish h3 { font-size: 1.375rem; line-height: 1.3; overflow-wrap: break-word; }
  .dish p { font-size: 1rem; line-height: 1.65; }
  .dish > span { flex-shrink: 0; font-size: .9375rem; }
  .wine-block { padding: 48px 0; }
  .wine-block .menu-items, .drinks-block > .menu-items { display: block; }
  .drinks-block { padding-top: 48px; padding-bottom: 48px; }
  .lunch-detail, .about-main { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding-bottom: 52px; }
  .lunch-detail img { aspect-ratio: 2 / 3; max-height: 660px; }
  .lunch-menu h2 { font-size: 4.5rem; }
  .lunch-menu p, .about-main p { font-size: 1rem; }
  .set-menu { padding-top: 44px; padding-bottom: 48px; }
  .set-courses { display: block; margin-top: 28px; }
  .set-courses > section { margin-top: 36px; }
  .set-courses h2 { font-size: 2rem; }
  .about-main > img { aspect-ratio: 3 / 4; }
  .about-main h2 { font-size: 2.25rem; }
  .founder-role { flex-wrap: wrap; gap: 4px 18px; }
  .founder-role span { font-size: .8125rem; }
  .about-pictures { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 56px; }
  .about-pictures figure:nth-child(2) { margin-top: 0; }
  .about-pictures img { aspect-ratio: 4 / 5; max-height: 650px; }
  .visit-detail { display: block; padding-bottom: 40px; }
  .visit-detail > div + div { margin-top: 32px; }
  .contact { flex-wrap: wrap; gap: 12px 24px; padding: 20px 0; }
  .contact a { min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
  .location-photo { display: block; padding-bottom: 40px; }
  .location-photo img { aspect-ratio: 3 / 4; max-height: 620px; }
  .location-photo figcaption { max-width: none; font-size: .9375rem; }
  .map { padding-bottom: 40px; }
  .map iframe { height: 320px; }
  .reserve-info { display: block; padding-bottom: 48px; }
  .reserve-info h2 { font-size: 2.5rem; }
  .reserve-info > div:last-child { padding-top: 28px; font-size: 1rem; }
  .guest-info { padding-top: 40px; padding-bottom: 48px; }
  .guest-info h2 { font-size: 2.25rem; }
  .guest-info dl { display: block; }
  .guest-info dl > div { margin-top: 28px; }
  .guest-info dd { font-size: 1rem; line-height: 1.75; }
  footer { padding: 44px 6% calc(100px + env(safe-area-inset-bottom)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-bottom: 30px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-top p, .footer-top a:not(.wordmark) { font-size: .9375rem; overflow-wrap: anywhere; }
  .footer-top .eyebrow { font-size: .8125rem; }
  .footer-bottom { flex-wrap: wrap; gap: 12px 24px; font-size: .8125rem; }
  .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-bottom span:last-child { width: 100%; margin: 0; }
  .mobile-bar { display: grid; position: fixed; inset: auto 0 0; grid-template-columns: 1fr 1fr 1.65fr; z-index: 20; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px #40382e0a; }
  .mobile-bar a { display: flex; justify-content: center; align-items: center; text-align: center; min-height: 58px; padding: 12px 8px; font-size: .875rem; line-height: 1.4; }
  .mobile-bar a:last-child { background: var(--brown); color: var(--paper); }
  .mobile-bar a:focus-visible { outline-offset: -5px; }
  .error-links { flex-wrap: wrap; gap: 24px; }
}
@media screen and (max-width: 380px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  header .official-logo { width: 116px; }
  header nav a { letter-spacing: .02em; }
  .mobile-bar a { padding-left: 4px; padding-right: 4px; }
}
@media screen and (max-width: 900px) and (max-height: 500px) {
  header, .home header { position: relative; }
  html { scroll-padding-top: 16px; }
}
