/* Mobile adaptation only: desktop keeps the incumbent cascade. */
@media (max-width: 760px) {
  :root { --mobile-header: 68px; --header-space: 68px; }
  html { scroll-padding-top: 84px; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .glass-header { top: 0; margin: 0; width: 100%; min-height: var(--mobile-header); padding: 10px max(16px, env(safe-area-inset-left)); border-radius: 0; box-shadow: none; background: var(--ink); }
  .glass-header :is(.menu-toggle, nav, .header-cta) { display: none; }
  .glass-header #restaurantNav { display: none; }
  .glass-header .brand { min-height: 44px; font-size: 22px; }
  .glass-header .brand img { width: 44px; height: 44px; }
  .glass-header .brand small { display: none; }
  .mobile-tabs { position: fixed; inset: auto 0 0; z-index: 95; display: grid; width: 100%; max-width: 100%; box-sizing: border-box; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: #0c0b09ed; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .mobile-tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 4px 2px; border-radius: 10px; font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--paper); }
  .mobile-tabs a[aria-current] { background: rgba(255,255,255,.08); color: var(--gold); }

  .mobile-tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-tabs a::after { content: none; }
  .mobile-tabs a:focus-visible { outline-offset: -3px; }
  main, main > *, .section > *, footer > * { min-width: 0; }
  .hero, .hero-track, .hero-outro, .locations-section { max-width: 100%; }
  .hero, .hero-outro { overflow-x: clip; }
  .section { padding: 56px 16px; content-visibility: visible; }
  .section-heading { margin-bottom: 24px; }
  .section-heading > p { text-align: left; }
  main > :not(#ubicacion) :is(h1, h2) em { font-family: 'Barlow Condensed', sans-serif; font-style: normal; font-weight: 700; }
  main > :not(#ubicacion) h2, #ubicacion h2 { font-size: clamp(36px, 10vw, 56px); line-height: .92; }
  .hero:is(.is-still, .is-scrolly) :is(h1, .step-title) { font-size: clamp(40px, 12vw, 80px); }
  .hero .outro-title { font-size: clamp(40px, 12vw, 80px); overflow-wrap: anywhere; }
  .hero .outro-title em { font-family: 'Barlow Condensed', sans-serif; font-style: normal; font-weight: 700; }
  .section :is(p, h3, a), #dishDetail { overflow-wrap: anywhere; }
  .section :is(.button, .text-link, .social-link), .social-video > a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .locations-section .section-heading { padding-inline: 0; }
  #locations { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #locations .branch-location { grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #131310; }
  #locations .branch-details { height: auto; aspect-ratio: auto; background: none; padding: 18px; }
  #locations .branch-identity { position: static; height: auto; justify-content: flex-start; margin-bottom: 8px; }
  #locations .branch-identity h3 { font-size: 28px; text-align: left; }
  #locations .branch-card-copy { position: static; text-align: left; }
  #locations .branch-hours { margin: 8px 0; }
  #locations .branch-address, #locations .branch-hours p { font-size: 15px; }
  #locations .branch-actions { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; }
  #locations .branch-actions a { display: block; width: 100%; min-width: 0; height: 46px; min-height: 46px; font-size: 14px; line-height: 44px; letter-spacing: 0; text-align: center; border-radius: 12px; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #locations .branch-actions .text-link { border: 1px solid var(--line); }
  #locations .branch-map { width: auto; height: 190px; margin: 0 18px 18px; border-radius: 14px; overflow: hidden; }
  #locations .branch-map iframe { height: 190px; min-height: 190px; flex: none; border: 0; border-radius: 14px; }
  #locations .branch-map figcaption { display: none; }
  /* Override the scroll rail even while its existing script measures the panel. */
  #menu.menu-section { height: auto; max-width: none; padding: 56px 16px; box-sizing: border-box; }
  #menu.menu-section .menu-sticky { position: static; height: auto; display: block; }
  #menu.menu-section .section-heading { padding-inline: 0; }
  #menu.menu-section .menu-tools { position: sticky; top: var(--mobile-header); z-index: 5; display: block; margin: 0 -16px 16px; padding: 8px 16px; background: var(--ink); }
  #menu .categories { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; max-width: 100%; padding: 4px; scroll-padding-inline: 4px; scrollbar-width: thin; scrollbar-color: var(--gold) var(--ink); }
  #menu .categories button { flex: 0 0 auto; min-height: 44px; padding: 10px 16px; border-radius: 24px; font-size: 13px; white-space: nowrap; }
  #menu.menu-section .dish-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; overflow: visible; padding: 0; height: auto; scroll-snap-type: none; }
  #menu.menu-section .dish-card { display: flex; flex-direction: column; width: 100%; min-width: 0; max-width: none; height: auto; max-height: none; aspect-ratio: auto; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #131310; text-align: left; }
  #menu.menu-section .dish-img { width: 100%; flex: none; aspect-ratio: 1; min-height: 0; }
  #menu.menu-section .dish-img > img { width: 100%; height: 100%; object-fit: cover; }
  #menu.menu-section .dish-info { width: 100%; padding: 12px; flex: 1; }
  #menu .dish-info > small { font-size: 10px; letter-spacing: .04em; color: var(--gold); }
  #menu .dish-info h3 { font-size: 24px; margin: 8px 0 12px; }
  #menu .dish-info > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  #menu .dish-info span { color: var(--paper); }
  #menu .photo-pending { height: 100%; padding: 12px; font-size: 9px; letter-spacing: .02em; }
  #menu.menu-section .photo-pending img { width: 54px; margin-bottom: 8px; }
  #menu .dish-rail > p { grid-column: 1 / -1; }
  #menu #siteError:empty { margin: 0; }
  #siteError:not(:empty) { padding: 16px; border: 1px solid var(--gold); color: var(--paper); }
  #dishDialog { inset: auto 0 0; margin: 0; width: 100%; max-width: none; max-height: 88dvh; padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; overscroll-behavior-y: contain; }
  #dishDialog[open] { animation: mobile-sheet-in .25s ease-out; }
  #dishDialog::before { content: ''; display: block; width: 40px; height: 4px; margin: 0 auto 12px; border-radius: 4px; background: var(--muted); }
  #dishDialog #closeDish { position: sticky; top: 0; z-index: 1; min-width: 44px; min-height: 44px; border-radius: 50%; background: var(--ink); }
  #dishDetail > img { max-height: 30dvh; border-radius: 12px; }
  #dishDetail h2 { font-size: 36px; }
  #dishDetail .button { display: flex; align-items: center; justify-content: center; min-height: 48px; }
  .workshops { display: block; }
  .workshops > div:first-child { position: static; }
  #cateringProducts, #workshopProducts, #socialVideos { display: flex; gap: 16px; max-width: 100%; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: thin; scrollbar-color: var(--gold) var(--ink); }
  :is(#cateringProducts, #workshopProducts, #socialVideos) > * { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
  :is(#cateringProducts, #workshopProducts, #socialVideos) > :is(.experience-card, .social-video) { flex-basis: calc(100% - 8px); padding: 20px; border-radius: 18px; background: #131310; }
  .experience-card .button { align-self: stretch; }
  .experience-card:hover { transform: none; }
  .social-video .embed-holder { aspect-ratio: 9 / 12; }
  footer .brand { flex-wrap: wrap; }
  footer .brand span { font-size: 18px; }
  footer a, .hero-caption a, .hero .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  .button, .text-link, .mobile-tabs a { border-radius: 12px; }
  .hero :is(h1, .step-title, .outro-title) { line-height: .92; }
  .hero-label.to-left { display: none; }
  .hero-label span { font-size: 11px; padding: 5px 7px; }
  .hero-label small { font-size: 10px; }
  #locations .branch-hours h4 { margin-bottom: 6px; }
  .button, .text-link, .mobile-tabs a, #menu.menu-section .dish-card { transition: transform 160ms cubic-bezier(.2,.8,.2,1); }
  .button:active, .text-link:active, .mobile-tabs a:active, #menu.menu-section .dish-card:active { transform: scale(.97); }
  @keyframes mobile-sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button, .text-link, .mobile-tabs a, #menu.menu-section .dish-card,
    .button:active, .text-link:active, .mobile-tabs a:active, #menu.menu-section .dish-card:active { transform: none !important; }
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  }
}
