/* Phone and tablet refinements. Desktop art direction stays in style.css. */
@media (max-width: 900px) {
  .menu-toggle { min-width: 48px; min-height: 48px; }
  .mobile-nav { padding-bottom: calc(40px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .mobile-nav > a { min-height: 48px; }
  .mobile-nav > .button { color: var(--navy); background: var(--gold); min-height: 48px; }
  .menu-tabs { scrollbar-width: thin; scrollbar-color: #bca371 transparent; }
  .menu-tabs button { min-height: 48px; }
  .menu-item > div { min-width: 0; }
  .menu-item h3 { overflow-wrap: anywhere; }
  .menu-price { white-space: nowrap; }
  input, select, textarea { min-width: 0; }
  form input, form select, form textarea { font-size: 16px; min-height: 48px; }
  dialog { overscroll-behavior: contain; scroll-padding: 50px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 98px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .site-header, .site-header.is-fixed { height: 80px; padding: 0 5%; }
  .brand { min-width: 0; gap: 9px; }
  .brand-name { font-size: clamp(18px, 5.2vw, 24px); white-space: nowrap; }
  .brand-name small { font-size: 8px; letter-spacing: .12em; }
  .brand-symbol { flex-shrink: 0; width: 29px; height: 38px; }
  .header-actions { flex-shrink: 0; }
  .menu-toggle { padding: 12px; margin-right: -10px; }
  .mobile-nav { top: 80px; padding: 26px 7% calc(32px + env(safe-area-inset-bottom)); gap: 17px; }
  .mobile-nav > a { font-size: 2.15rem; }

  /* Keep copy and food in separate rows so small screens never overlap them. */
  .hero { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; padding-bottom: 24px; }
  .hero-content { order: 1; padding: 122px 7% 0; width: 100%; }
  .hero .eyebrow { margin-bottom: 22px; font-size: 10px; gap: 12px; }
  .hero .fine-line { width: 24px; flex-shrink: 0; }
  .hero h1 { font-size: clamp(2rem, 12.1vw, 4.6rem); line-height: .98; }
  .hero-description { max-width: 100%; font-size: 15px; line-height: 1.7; margin-top: 24px; }
  .hero-description br { display: none; }
  .hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
  .hero-buttons .button, .hero-buttons .text-button { min-height: 48px; font-size: 13px; }
  .hero-buttons .button { padding: 15px 20px; }
  .hero-buttons .text-button { padding: 12px 0; }
  .hero-art { order: 2; position: relative; inset: auto; align-self: center; width: 100%; max-width: 470px; height: auto; aspect-ratio: 1; margin: 10px 0 0; }
  .hero-art .hero-image { width: 94%; max-width: none; margin: 0; opacity: 1; }
  .hero-art:before { width: 88%; box-shadow: 0 0 0 18px #cfad7107, 0 0 0 36px #cfad7105; }
  .hero-bottom { order: 3; position: relative; inset: auto; margin: 14px 7% 0; gap: 12px; }
  .hero-bottom .hero-location { max-width: 160px; font-size: 9px; line-height: 1.6; }
  .hero-bottom .scroll-cue { font-size: 9px; white-space: nowrap; }
  .hero-bottom .scroll-line { height: 25px; }
  .hero-seal { display: none; }
  .hero:after { width: 100%; }

  .section-pad { padding: 64px 7%; }
  h2, .story h2, .section-top h2, .bulk-intro h2, .gather-copy h2, .visit h2 {
    font-size: clamp(2.65rem, 10.6vw, 3.6rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }
  .eyebrow { line-height: 1.7; }
  .story { gap: 28px; }
  .story-content { display: block; margin: 0; }
  .story-content .ornament { display: block; margin-bottom: 20px; }
  .story-content p:first-child { font-size: 27px; }
  .story-content .muted { line-height: 1.85; }
  .signatures { padding-top: 10px; }
  .dish-grid { gap: 34px; }
  .dish-image { height: auto; aspect-ratio: 4 / 4.5; }
  .dish-title { gap: 12px; align-items: flex-start; }
  .dish-title h3 { font-size: 29px; line-height: 1.08; }
  .dish-title > span { flex-shrink: 0; }
  .dish-card > p { font-size: 15px; }
  .dish-tag { font-size: 10px; line-height: 1.6; }
  .occasion h3 { font-size: 31px; }
  .occasion .underlined { min-height: 44px; padding: 12px 0; }
  .bulk-bottom > .button { width: 100%; }
  .feast { height: auto; min-height: 530px; }
  .feast-content { padding: 75px 7%; }
  .feast h2 { font-size: clamp(3.2rem, 13vw, 4.8rem); }
  .feast p:not(.eyebrow) { font-size: 16px; }
  .feast-side { display: none; }
  .menu-heading h2 { font-size: clamp(2.8rem, 11.3vw, 3.8rem); }
  .menu-heading .muted { font-size: 16px; }
  .menu-heading .muted br { display: none; }
  .menu-tabs { gap: 24px; padding: 0 2px; scroll-padding-inline: 12px; }
  .menu-tabs button { font-size: 14px; padding: 16px 2px; }
  .menu-search-row { gap: 6px; margin-top: 16px; }
  .search-field { min-width: 0; }
  .menu-search-row .search-field input { font-size: 16px; min-height: 48px; }
  .veg-filter { min-height: 48px; }
  .veg-filter input { width: 19px; height: 19px; }
  .menu-item { grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; padding: 22px 0; }
  .menu-item h3 { font-size: 25px; line-height: 1.13; }
  .menu-item p { font-size: 14px; }
  .menu-price { font-size: 16px; }
  .menu-foot .underlined { min-height: 44px; padding: 12px 0; }
  .gather { padding-top: 5px; gap: 45px; }
  .gather-visual { height: auto; aspect-ratio: 4 / 4.5; }
  .gather-note { right: -12px; padding: 20px; }
  .gather-note em { font-size: clamp(22px, 6vw, 30px); }
  .gather-flower { display: none; }
  .gather-copy > .button { width: 100%; }
  .visit { gap: 35px; }
  .visit-links { gap: 18px; align-items: flex-start; flex-direction: column; }
  .visit-links .button { width: 100%; }
  .visit-links .underlined { min-height: 44px; padding: 12px 0; }
  .visit-contact > a { font-size: 22px; }
  .location-map { padding: 0 7% 48px; }
  .location-map iframe { height: 320px; max-width: 100%; }
  .map-heading .underlined { min-height: 44px; padding: 12px 0; }
  .footer-top .brand-name { font-size: clamp(18px, 5vw, 23px); }
  .footer-top .brand-name small { font-size: 7px; }
  footer { padding-bottom: 35px; }
  .footer-top > .underlined, .back-top { min-height: 44px; }
  .footer-wordmark { font-size: 14vw; margin-inline: 0; }
  .footer-bottom { font-size: 12px; }

  /* The dock clears the iPhone home indicator and never covers page content. */
  .mobile-dock { min-height: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-dock > * { min-height: 64px; font-size: 14px; padding: 20px 10px; }
  body.dialog-open .mobile-dock { visibility: hidden; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 32px); padding: 35px 22px 28px; }
  dialog .dialog-close { position: sticky; float: right; top: 0; right: auto; z-index: 2; width: 44px; height: 44px; margin: -20px -10px 0 8px; background: var(--cream); }
  .booking-intro h2, #printed-menu h2 { font-size: clamp(2.4rem, 10vw, 3.1rem); line-height: 1.02; }
  .booking-intro p:not(.eyebrow) { font-size: 16px; }
  .booking-intro .eyebrow { padding-right: 22px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  form label { font-size: 14px; }
  form input, form select, form textarea { font-size: 16px; width: 100%; }
  .form-note { font-size: 13px; line-height: 1.7; }
  #booking-summary-text { font-size: 15px; overflow-wrap: anywhere; }
  #whatsapp-send { width: 100%; }
  #edit-enquiry { min-height: 44px; padding: 12px 0; }
}

@media (max-width: 360px) {
  .hero-buttons { align-items: stretch; flex-direction: column; gap: 8px; }
  .hero-buttons .text-button { justify-content: center; align-self: center; }
  .hero-bottom .hero-location { display: none; }
  .hero-content { padding-top: 114px; }
  .brand-name { letter-spacing: 0; }
  .section-pad { padding-inline: 6%; }
}

@media (hover: none) {
  .button:hover { transform: none; }
  .dish-card:hover img { transform: none; }
}
