/* TERY'S — custom mobile art direction / V13
   A deliberately designed, thumb-friendly experience, not a scaled desktop.
   Loaded last. Desktop presentation remains unchanged.
*/
.mobile-quick-actions { display: none; }

@media (max-width: 800px) {
  /* Warm, tactile navigation with real 44px touch targets. */
  .site-header { height: 76px; }
  .site-header.is-fixed { height: 68px; }
  .header-inner { width: calc(100% - 40px); }
  .wordmark__seal { width: 43px; height: 43px; }
  .wordmark__text strong { font-size: 18px; letter-spacing: -.045em; }
  .wordmark__text small { font-size: 7px; letter-spacing: .14em; }
  .nav-toggle { width: 50px; height: 50px; padding: 13px; }
  .mobile-nav { padding: max(116px, calc(env(safe-area-inset-top) + 100px)) 25px max(42px, calc(env(safe-area-inset-bottom) + 32px)); background: #123627; }
  .mobile-nav__inner { min-height: min(650px, calc(100svh - 172px)); }
  .mobile-nav nav { margin-top: 22px; }
  .mobile-nav nav a { min-height: 57px; padding: 12px 0; font-size: clamp(27px, 6.3vw, 43px); line-height: 1.14; }
  .mobile-nav nav a:last-child { color: #dcc48d; }
  .mobile-nav nav a span { font-size: 10px; }
  .mobile-nav__footer { padding-top: 26px; font-size: 9px; line-height: 1.6; }

  /* Immersive hero: editorial text at the top, food remains the focus below. */
  .hero { min-height: max(755px, 100svh); }
  .hero__left { min-height: inherit; display: flex; align-items: flex-start; }
  .hero__inner { width: 100%; padding: clamp(126px, 16vh, 154px) 25px 144px; }
  .hero__eyebrow { display: inline-flex; gap: 8px; font-size: 9px; letter-spacing: .11em; margin: 0 0 24px; line-height: 1.6; }
  .hero__title { font-size: clamp(47px, 10.6vw, 69px); line-height: 1.06; letter-spacing: -.074em; max-width: 680px; margin-bottom: 21px; }
  .hero__description { max-width: 380px; font-size: 14px; line-height: 1.7; margin-bottom: 25px; color: rgba(255,255,255,.93); }
  .hero__visual img { object-position: 52% 69%; filter: brightness(.95) saturate(.88) contrast(1.03); }
  .hero__visual-shade { background: linear-gradient(180deg,rgba(7,24,18,.85) 0%,rgba(7,27,20,.74) 34%,rgba(8,28,21,.36) 59%,rgba(7,25,18,.23) 75%,rgba(5,19,14,.58) 100%); }
  .hero__actions { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 11px; }
  .hero__actions .btn { min-height: 54px; width: min(100%, 318px); padding-left: 20px; font-size: 12px; }
  .hero__actions .btn__arrow { width: 33px; height: 33px; }
  .hero__actions .text-link { min-height: 44px; font-size: 11px; padding: 10px 0; }
  .hero__image-label { display: none; }
  .hero__side-note { display: none; }
  .signature-strip { height: 49px; }

  /* Quiet rhythm and legible hierarchy. */
  .section-pad { padding-block: 70px; }
  .section-head { padding-bottom: 27px; }
  .section-index { white-space: normal; }
  .story__grid { grid-template-columns: 1fr; gap: 52px; }
  .story__visual { max-width: none; padding: 0; }
  .story__photo-frame { aspect-ratio: 1.08; }
  .story__photo-frame img { object-position: center 55%; }
  .story__photomark { display: none; }
  .story__photo-caption { left: 0; bottom: -27px; }
  .story__copy .display-title { font-size: clamp(37px, 8vw, 59px); line-height: 1.12; letter-spacing: -.072em; }
  .story__lead { font-size: 20px; line-height: 1.4; margin: 24px 0 12px; }
  .story__copy .body-copy { font-size: 14px; line-height: 1.74; }
  .story__bottom-note { margin-top: 44px; }
  .interlude { padding: 26px 18px; }
  .interlude p { font-size: 21px; }

  /* Show actual menu items immediately after a navigation tap. */
  .menu-section__heading { padding-bottom: 20px; }
  .menu-section__heading .display-title { font-size: clamp(37px, 8.4vw, 58px); line-height: 1.09; letter-spacing: -.072em; }
  .menu-section__heading p { max-width: 45ch; margin: 15px 0 0; font-size: 13px; line-height: 1.65; }
  .menu-section__layout { display: flex; flex-direction: column; gap: 27px; }
  .menu-browser { order: 1; margin-top: 0; align-self: stretch; }
  .menu-tabs { display: flex; flex-wrap: nowrap; gap: 18px; overflow-x: auto; padding: 0 0 8px; margin: 0 -1px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tab { width: auto; flex: 0 0 auto; min-height: 47px; padding: 10px 0 11px; white-space: nowrap; font-size: 12px; letter-spacing: 0; scroll-snap-align: start; }
  .menu-item { padding: 17px 0; gap: 12px; }
  .menu-item__name { font-size: clamp(16px, 3.8vw, 19px); line-height: 1.3; }
  .menu-item__price { font-size: 17px; white-space: nowrap; }
  .menu-item__sub { font-size: 10px; line-height: 1.4; }
  .menu-preview { min-height: 245px; }
  .menu-browser__footer { padding-top: 16px; gap: 17px; }
  .menu-browser__footer .btn { width: 100%; justify-content: space-between; min-height: 55px; }
  .menu-visual { order: 2; min-height: 0; height: auto; aspect-ratio: 1.08; max-height: none; }
  .menu-visual > img { object-position: center 58%; }
  .menu-visual__caption { bottom: 19px; left: 18px; }
  .menu-section__footline { margin-top: 34px; }

  .moments__copy .display-title { font-size: clamp(38px, 8.8vw, 61px); line-height: 1.08; }
  .moments__photos { gap: 9px; }
  .moments__photo-main { height: clamp(300px, 90vw, 440px); }
  .moments__photo-small { height: clamp(245px, 72vw, 355px); }

  /* A curated, spacious photographic mosaic. */
  .gallery { padding: 72px 0 59px; }
  .gallery__intro { padding-bottom: 26px; }
  .gallery__intro .display-title { font-size: clamp(37px, 8.6vw, 60px); line-height: 1.09; }
  .gallery__intro p { font-size: 13px; line-height: 1.7; margin-top: 15px; }
  .gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; grid-auto-flow: row; gap: 8px; padding: 0 10px; }
  .gallery-grid .gallery-tile { min-width: 0; min-height: 0; height: auto; grid-row: auto; }
  .gallery-grid .gallery-tile--a { grid-column: 1 / -1; aspect-ratio: 1.32; }
  .gallery-grid .gallery-tile--b { grid-column: 1; aspect-ratio: .82; }
  .gallery-grid .gallery-tile--c { grid-column: 2; aspect-ratio: .82; }
  .gallery-grid .gallery-tile--d { grid-column: 1 / -1; aspect-ratio: 1.5; }
  .gallery-grid .gallery-tile--e { grid-column: 1; aspect-ratio: .83; }
  .gallery-grid .gallery-tile--f { grid-column: 2; aspect-ratio: .83; }
  .gallery-tile__label { left: 10px; right: 10px; bottom: 12px; font-size: 8px; line-height: 1.4; }
  .gallery-tile__label i { font-size: 19px; }
  .gallery__bottom { gap: 12px; margin-top: 0; padding-top: 27px; font-size: 8px; }

  /* Conversion-first: mobile reservation form FIRST, direct contacts AFTER. */
  .booking { padding-block: 70px 70px; }
  .booking__grid { display: flex; flex-direction: column; gap: 42px; }
  .booking__paper { order: 0; margin: 0; width: 100%; padding: 30px 24px; }
  .booking__paper::before { inset: 9px; }
  .booking__paper h3 { font-size: clamp(27px, 6.4vw, 35px); line-height: 1.2; }
  .booking__paper-label { font-size: 10px; }
  .booking__paper-subtitle { font-size: 13px; line-height: 1.7; margin-bottom: 25px; }
  .booking__intro { order: 1; padding: 0; }
  .booking__eyebrow { margin-bottom: 24px; }
  .booking__title { font-size: clamp(35px, 8vw, 52px); line-height: 1.1; margin-bottom: 19px; }
  .booking__description { font-size: 14px; line-height: 1.75; }
  .booking__signature { margin: 21px 0 25px; }
  .booking__signature-copy strong { font-size: 13px; }
  .booking__direct { padding: 21px 0; }
  .booking__phone { font-size: clamp(20px, 5.1vw, 27px); letter-spacing: -.055em; }
  .booking__social-follow { margin-top: 19px; }
  .reservation-form { gap: 16px; }
  .reservation-form__row { grid-template-columns: 1fr; gap: 16px; }
  .reservation-form__row--three { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .reservation-form__row--three .form-field:last-child { grid-column: span 2; }
  .form-field label { font-size: 12px; }
  .form-field input, .form-field select, .form-field textarea { min-height: 52px; font-size: 16px; }
  .reservation-form__submit { min-height: 60px; }
  .reservation-form__privacy { font-size: 11px; }

  /* Visit and footer: readable links with generous tap areas. */
  .visit { min-height: 0; }
  .visit__content { padding-block: 82px 85px; }
  .visit .display-title { font-size: clamp(39px, 9vw, 65px); line-height: 1.08; }
  .visit p { line-height: 1.72; }
  .visit__contact-links a { padding-block: 10px; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
  .visit__details-links { gap: 8px 24px; }
  .visit__details-links a { min-height: 44px; white-space: normal; }
  .visit__actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .visit__actions .btn { width: min(100%,360px); }
  .footer { padding: 54px 0 28px; }
  .footer__top { padding-bottom: 33px; }
  .footer__top p { font-size: 23px; line-height: 1.35; }
  .footer__contact-grid { padding: 35px 0; gap: 26px; }
  .footer__contact-grid a { padding: 4px 0; font-size: 14px; min-height: 30px; }
  .footer__bottom { padding-top: 25px; }
  .menu-dialog__shell { padding: max(27px,env(safe-area-inset-top)) 20px max(40px,env(safe-area-inset-bottom)); }
  .menu-dialog__header { gap: 10px; }
  .menu-dialog__header h2 { font-size: clamp(34px, 8vw, 50px); }
  .menu-dialog__categories { -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .full-tab { min-height: 44px; }
  .lightbox__controls button { width: 48px; height: 48px; }

  /* Compact floating actions only AFTER the hero; hidden over booking/footer/dialogs. */
  .mobile-quick-actions {
    display: grid; grid-template-columns: 1fr 1.13fr;
    position: fixed; z-index: 110;
    left: 50%; bottom: calc(13px + env(safe-area-inset-bottom,0px));
    width: min(calc(100% - 30px), 520px); padding: 6px; gap: 5px;
    background: rgba(251,248,240,.97); border: 1px solid rgba(24,59,43,.14);
    box-shadow: 0 12px 38px rgba(6,27,17,.24);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-radius: 9px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate(-50%, calc(100% + 40px));
    transition: opacity .3s ease, visibility .3s ease, transform .42s cubic-bezier(.22,1,.36,1);
  }
  .mobile-quick-actions.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
  .mobile-quick-actions a { min-height: 49px; padding: 0 10px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #173b2c; font: 700 12px/1.2 'DM Sans',sans-serif; border-radius: 5px; text-align: center; white-space: nowrap; }
  .mobile-quick-actions a span { font-size: 16px; font-weight: 400; }
  .mobile-quick-actions a:last-child { background: #173b2c; color: #f8f4e9; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .hero__title { font-size: clamp(48px, 12.6vw, 60px); }
  .hero__inner { padding-top: clamp(133px,17svh,165px); padding-left: 23px; padding-right: 23px; }
  .hero__description { max-width: 325px; }
  .menu-section__heading .display-title { font-size: clamp(36px, 9.2vw, 50px); }
  .story__copy .display-title { font-size: clamp(38px, 9.5vw, 51px); }
  .gallery__intro .display-title { font-size: clamp(38px, 9vw, 53px); }
  .moments__copy .display-title { font-size: clamp(37px, 9.5vw, 54px); }
}
@media (max-width: 375px) {
  .hero { min-height: max(730px, 100svh); }
  .hero__title { font-size: 12.15vw; }
  .hero__inner { padding-top: 122px; }
  .hero__eyebrow { letter-spacing: .07em; font-size: 8px; }
  .booking__paper { padding: 28px 19px; }
  .booking__signature-line { display: none; }
  .booking__signature-copy strong { font-size: 12px; }
  .menu-section__heading .display-title { font-size: clamp(32px,9vw,39px); }
  .story__copy .display-title { font-size: clamp(34px,9.4vw,41px); }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-quick-actions { transition: none; }
}

/* Smaller iPhones: never squeeze three native picker controls into two columns. */
@media (max-width: 360px) {
  .reservation-form__row--three { grid-template-columns: 1fr; }
  .reservation-form__row--three .form-field:last-child { grid-column: auto; }
  .booking__signature { flex-wrap: wrap; }
}
@media (max-width: 800px) {
  html { -webkit-text-size-adjust: 100%; }
  button, a, select { touch-action: manipulation; }
}
