/* Compact tablet layout only: existing project breakpoint 600–1099 px. */
@media (min-width: 600px) and (max-width: 1099px) {
  .landing .top-scene { min-height: 0; height: auto; }
  .landing .top-scene .header-inner {
    width: 80%; margin-left: 12%; height: clamp(86px, 5.5vw, 106px); gap: 32px;
  }
  .landing .top-scene .identity { margin-right: auto; }
  .landing .top-scene .logo { width: clamp(120px, 9vw, 172px); }
  .landing .top-scene .header-navigation,
  .landing .top-scene .header-navigation.is-open { display: contents; }
  .landing .top-scene .header-contacts { display: flex; gap: 28px; margin: 0; padding: 0; border: 0; transform: translateY(-6px); }
  .landing .top-scene .header-contacts .address { display: flex; }
  .landing .top-scene .contact-meta { font-size: clamp(16px, 1.15vw, 22px); text-shadow: 0 0 4px #fbead4, 0 0 8px #fbead4; }
  .landing .top-scene .nav-toggle {
    display: flex; order: 3; flex: none; justify-content: center; width: 48px; height: 48px;
  }
  .landing .top-scene .nav-toggle > span { display: none; }
  .landing .top-scene .nav-toggle .icon { width: 32px; height: 32px; filter: drop-shadow(0 0 3px #fbead4) drop-shadow(0 0 6px #fbead4); }
  .landing .top-scene .header-navigation nav { display: none; }
  .landing .top-scene .header-navigation.is-open nav {
    display: grid; grid-template-columns: 1fr; position: absolute;
    top: calc(100% - 8px); right: 0; z-index: 10; width: 280px;
    padding: 20px 30px; gap: 0; background: #fbead4 url('/assets/art/paper-texture.webp') center / 640px;
    box-shadow: 0 12px 28px #38261b24;
  }
  .landing .top-scene .header-navigation nav a { padding: 12px 0; font-size: 18px; }
  .landing .top-scene .hero-background { mask: none; object-position: center; }
  .landing .hero {
    flex: none; min-height: 0; height: clamp(530px, 34vw, 654px); align-items: center;
  }
  .landing .hero .hero-copy {
    --hero-size: clamp(100px, 8.35vw, 160px);
    width: 43%; margin-left: 10%; padding: 16px 0 26px; gap: 18px;
  }
  .landing .hero .hero-heading { --paper-halo: drop-shadow(0 0 3px #fbead4) drop-shadow(0 0 7px #fbead4); }
  .landing .hero .hero-cta { min-width: 0; width: 28vw; min-height: 76px; padding: 12px 24px; font-size: clamp(32px, 2.5vw, 48px); }
  .landing .hero .hero-cta::before { filter: drop-shadow(0 0 6px #fbead4); }
  .landing .hero .hero-features { width: 32vw; margin: 0 0 0 -1vw; }
  .landing .hero-features .features .icon { width: clamp(58px, 4.1vw, 78px); height: clamp(58px, 4.1vw, 78px); }
  .landing .hero-features .features span { font-size: clamp(12px, .87vw, 17px); text-shadow: 0 0 4px #fbead4, 0 0 9px #fbead4; }
  .landing .hero .hero-art { width: 57%; right: -6%; bottom: 0; }
  .landing .hero .hero-vertical { right: 22%; top: 0; font-size: clamp(17px, 1.1vw, 22px); }
  .landing .hero-branch { left: -4vw; top: 30%; width: 13vw; }

  .landing #popular .popular-inner { padding-top: 48px; padding-bottom: 34px; }
  .landing #popular .popular-header { height: clamp(136px, 9vw, 173px); }
  .landing #popular .popular-surface::before {
    background-size: 130% auto; background-position: left top;
  }
  .landing #popular .popular-heading { position: relative; z-index: 1; text-shadow: 0 3px 14px #080909; }
  .landing #popular .popular-item { height: clamp(430px, 28.5vw, 548px); }
  .landing #popular .popular-footer { margin-top: 28px; }

  .landing #about { min-height: 0; height: auto; padding: 62px 0 66px; overflow: visible; }
  .landing #about .scene-art {
    width: 100%; height: 100%; object-fit: contain; object-position: left center;
    mask-image: linear-gradient(to right, #000 48%, transparent 62%), url('/assets/landing/straight-boundaries-20261021/hero-edge.webp');
    mask-size: 100% 100%, 100% 28px;
    mask-position: center, center bottom;
    mask-repeat: no-repeat; mask-mode: alpha; mask-composite: subtract;
  }
  .landing #about .about-copy { width: 40%; margin-left: 59%; }
  .landing #about h2 { font-size: clamp(54px, 4.1vw, 79px); line-height: 1; }
  .landing #about .about-text { font-size: clamp(22px, 1.45vw, 28px); line-height: 1.35; margin-top: 20px; }

  .landing #delivery { aspect-ratio: auto; height: clamp(450px, 28vw, 538px); }
  .landing #delivery .delivery-surface .delivery-art { width: 68%; object-position: 65% center; }
  .landing #delivery .delivery-ink { --brush-width: 16vw; width: 56%; }
  .landing #delivery .delivery-inner { display: flex; align-items: center; padding: 42px 0; }
  .landing #delivery .delivery-copy { position: relative; width: 40%; margin-left: 4.5%; }
  .landing #delivery .delivery-eyebrow { position: static; margin: 0 0 20px; }
  .landing #delivery h2 { position: static; font-size: clamp(54px, 4.5vw, 86px); line-height: .85; text-indent: 0; }
  .landing #delivery .delivery-copy::before { display: none; }
  .landing #delivery .delivery-text { position: static; width: 88%; font-size: clamp(23px, 1.65vw, 32px); line-height: 1.1; margin: 20px 0 0; }
  .landing #delivery .delivery-text::before { content: ''; display: block; width: 74px; height: 5px; margin-bottom: 12px; background: var(--accent); mask: url('/assets/landing/hero-refresh/stroke.webp') center / 100% 100% no-repeat; }
  .landing #delivery .features { position: static; width: 100%; margin: 18px 0 0 -3%; }
  .landing #delivery .features .icon { width: clamp(64px, 4.3vw, 82px); height: clamp(64px, 4.3vw, 82px); }
  .landing #delivery .features span { font-size: clamp(17px, 1.18vw, 23px); }
  .landing #delivery .features span::first-line { font-size: inherit; }
  .landing #delivery .features li + li::before { top: 20px; height: 70px; }
  .landing #delivery .delivery-decor-left { display: none; }
  .landing #delivery .delivery-decor-right { width: 76%; left: 29%; top: 0; }

  .landing #contacts { aspect-ratio: auto; padding: 48px 0 50px; }
  .landing #contacts::before { background-size: cover; background-position: center; }
  .landing #contacts .contacts-branch { display: none; }
  .landing #contacts .contacts-inner { display: grid; grid-template-columns: 1fr 36%; gap: 9%; align-items: center; width: 88%; margin: auto; height: auto; }
  .landing #contacts .contacts-copy { width: 100%; }
  .landing #contacts .contacts-eyebrow { position: static; margin: 0 0 20px; font-size: clamp(12px, .79vw, 16px); }
  .landing #contacts h2 { position: static; font-size: clamp(64px, 5.5vw, 106px); line-height: .85; white-space: normal; }
  .landing #contacts .contacts-details { position: static; display: grid; gap: 14px; width: auto; margin-top: 28px; }
  .landing #contacts .contacts-details .contact-meta { font-size: clamp(17px, 1.18vw, 23px); white-space: normal; gap: 13px; }
  .landing #contacts .contacts-details .contact-meta .icon { width: 28px; height: 28px; }
  .landing #contacts .contacts-details .contact-meta .contact-days { display: inline; margin-left: 12px; font-size: inherit; }
  .landing #contacts .contact-actions { position: static; width: min(100%, 680px); gap: 10px; margin-top: 24px; }
  .landing #contacts .contact-actions li>a,
  .landing #contacts .contact-actions li>.social-pending { min-height: 44px; font-size: clamp(14px, 1vw, 18px); padding: 8px 10px; gap: 7px; }
  .landing #contacts .contact-actions .icon { width: 21px; height: 21px; }
  .landing #contacts .map { position: relative; inset: auto; width: 100%; height: clamp(340px, 23vw, 442px); aspect-ratio: auto; margin: 0; }
  .landing #contacts .map iframe { height: 100%; aspect-ratio: auto; }
  .landing #contacts .map::after { inset: -8%; }

  .landing #footer { aspect-ratio: auto; min-height: 0; }
  .landing #footer .footer-inner { grid-template-columns: 31% 15% 27% 27%; width: 90%; margin: auto; padding: 44px 0 88px; }
  .landing #footer .footer-inner { text-shadow: 0 2px 5px #080908, 0 3px 12px #080908; }
  .landing #footer .footer-brand { padding-top: 12px; }
  .landing #footer .footer-navigation,
  .landing #footer .footer-details,
  .landing #footer .footer-social-column { min-height: 0; }
  .landing #footer .footer-details { grid-template-rows: auto auto auto; gap: 20px; padding-top: 0; }
  .landing #footer .footer-social-column { padding-top: 0; }
  .landing #footer .footer-ornament { margin-block: 16px; }
  .landing #footer .footer-tree { top: auto; bottom: 0; right: 0; height: 95%; width: auto; }
  .landing #footer .footer-landscape { height: 100%; object-fit: cover; object-position: center bottom; mask-image: linear-gradient(transparent, #000 72%); }
}

/* Split app panels can be narrower than 900 CSS px on a desktop monitor. */
@media (min-width: 600px) and (max-width: 1099px) {
  .landing .top-scene { display: flex; flex-direction: column; }
  .landing .top-scene .header-inner { width: 86%; margin-left: 10%; height: 84px; gap: 16px; }
  .landing .top-scene .logo { width: 90px; }
  .landing .top-scene .identity { gap: 10px; }
  .landing .top-scene .wordmark { font-size: 14px; }
  .landing .top-scene .wordmark small { max-width: 114px; font-size: 6.5px; }
  .landing .top-scene .header-contacts { gap: 8px; flex-wrap: nowrap; }
  .landing .top-scene .contact-meta { flex: none; font-size: 13px; gap: 5px; white-space: nowrap; }
  .landing .top-scene .header-contacts .icon { width: 22px; height: 22px; }
  .landing .top-scene .header-navigation.is-open nav { left: auto; }
  .landing .hero { display: grid; height: 440px; width: 100%; }
  .landing .hero .hero-copy { --hero-size: 8.5vw; width: 46%; margin-left: 9%; gap: 16px; padding: 24px 0; }
  .landing .hero .hero-heading { margin-left: -6px; }
  .landing .hero .hero-cta { width: 34vw; min-height: 62px; font-size: 30px; }
  .landing .hero .hero-features { width: 44vw; margin-left: -2vw; }
  .landing .hero .hero-features { position: relative; inset: auto; isolation: isolate; }
  .landing .hero .hero-features::before { content: ''; position: absolute; inset: -24px -18px; z-index: -1; background: radial-gradient(ellipse, #fbead4ee 15%, #fbead4bb 55%, transparent 73%); pointer-events: none; }
  .landing .hero-features .features .icon { width: 52px; height: 52px; }
  .landing .hero-features .features span { font-size: 11px; }
  .landing .hero .hero-art { width: 60%; right: -9%; bottom: 16px; }
  .landing .hero .hero-vertical { right: 20%; top: 16px; bottom: auto; font-size: 16px; }
  .landing #popular .popular-header { height: 112px; }
  .landing #popular .popular-eyebrow { font-size: 13px; }
  .landing #popular h2 { font-size: 48px; }
  .landing #popular .all-dishes { font-size: 16px; }
  .landing #about { padding-block: 50px; }
  .landing #about .scene-art { top: 0; left: 0; margin: 0; }
  .landing #about .about-copy { width: 46%; margin-left: 54%; }
  .landing #about h2 { font-size: 40px; }
  .landing #about .about-text { font-size: 19px; line-height: 1.3; }
  .landing #delivery { padding: 0; height: auto; min-height: 450px; }
  .landing #delivery .delivery-inner { height: auto; min-height: 450px; padding-block: 40px; }
  .landing #delivery .delivery-copy { width: 43%; }
  .landing #delivery h2 { font-size: 45px; white-space: normal; }
  .landing #delivery .delivery-text { font-size: 22px; width: 100%; }
  .landing #delivery .features { gap: 6px; margin-left: 0; }
  .landing #delivery .features .icon { width: 52px; height: 52px; }
  .landing #delivery .features span { font-size: 15px; white-space: normal; }
  .landing #delivery .delivery-ink { display: block; }
  .landing #delivery .delivery-surface .delivery-art { inset: 0 0 0 auto; height: 100%; }
  .landing #contacts .contacts-inner { grid-template-columns: 55% 40%; gap: 5%; }
  .landing #contacts h2 { font-size: 50px; }
  .landing #contacts .contacts-seal { width: 27px; height: 34px; }
  .landing #contacts .contacts-details .contact-meta { font-size: 16px; gap: 8px; }
  .landing #contacts .contact-actions { grid-template-columns: repeat(2, 1fr); }
  .landing #contacts .map { height: 300px; }
  .landing #footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; padding: 36px 0 80px; }
  .landing #footer .footer-tree { height: 60%; }
  .landing #footer .footer-navigation, .landing #footer .footer-details, .landing #footer .footer-social-column { padding: 0; border: 0; }
  .landing #footer .logo { width: 120px; }
  .landing #footer .wordmark { font-size: 22px; }
  .landing #footer .wordmark small { font-size: 10px; }
  .landing #footer nav { display: grid; grid-template-columns: 1fr 1fr; height: auto; gap: 3px 12px; margin-top: 12px; }
  .landing #footer nav a { font-size: 16px; min-height: 32px; }
  .landing #footer .footer-detail { grid-template-columns: 30px 1fr; column-gap: 12px; }
  .landing #footer .footer-detail > .icon { width: 28px; height: 28px; }
  .landing #footer .footer-detail p, .landing #footer .footer-detail .footer-address { font-size: 17px; }
  .landing #footer .footer-detail p small { font-size: 15px; }
  .landing #footer .socials { gap: 12px; margin-top: 18px; }
  .landing #footer .socials li>a, .landing #footer .socials li>.social-pending { width: 42px; height: 42px; }
  .landing #footer .socials .icon, .landing #footer .socials img[src$='/max.svg'] { width: 23px; height: 23px; }
  .landing #footer .footer-ornament { width: 204px; height: 26px; }
  .landing #footer .footer-ornament img { width: 44px; height: 44px; }
  .landing #footer .copyright { font-size: 16px; text-align: left; }
  .landing #footer .footer-caption { font-size: 13px; }
}

@media (min-width: 600px) and (max-width: 719px) {
  .landing .top-scene .wordmark { display: none; }
  .landing .top-scene .header-inner { gap: 12px; }
  .landing .top-scene .header-contacts { gap: 12px; }
  .landing .top-scene .header-contacts { display: grid; grid-template-columns: auto auto; gap: 3px 12px; }
  .landing .top-scene .header-contacts .phone { grid-column: 1 / -1; }
  .landing .hero-features .features { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .landing .hero-features .features li:nth-child(3) { border-left: 0; }
  .landing .hero .hero-art { bottom: 64px; }
  .landing #contacts h2 { font-size: 42px; }
  .landing #contacts .map { height: 270px; }
  .landing #footer .identity { gap: 8px; }
  .landing #footer .logo { width: 80px; }
  .landing #footer .wordmark { font-size: 18px; }
  .landing #footer .wordmark small { font-size: 8px; white-space: normal; }
}


/* Active-page decoration only; keyboard focus styling is preserved. */
.landing #footer nav a[aria-current]::after { content: none; }

@media (min-width: 600px) and (max-width: 1099px) {
  .landing #footer .footer-navigation { display: none; }
  .landing #footer .footer-inner { grid-template-columns: 45% 1fr; gap: 24px 8%; padding: 28px 0 40px; align-items: start; }
  .landing #footer .footer-brand { grid-column: 1; grid-row: 1; padding-top: 0; }
  .landing #footer .footer-details { grid-column: 2; grid-row: 1 / 3; gap: 18px; padding: 0; }
  .landing #footer .footer-social-column { grid-column: 1; grid-row: 2; padding: 0; }
  .landing #footer .footer-tree { height: 100%; max-height: 100%; width: auto; object-fit: contain; right: 0; bottom: 0; }
  .landing #footer .socials { gap: 10px; margin-top: 12px; }
  .landing #footer .footer-ornament { margin-block: 12px; }
}

/* Mobile footer: decoration shares the copyright band, without an extra floor. */
@media (max-width: 599px) {
  .landing #footer .footer-inner { padding-bottom: 28px; }
  .landing #footer .footer-landscape { bottom: 0; top: auto; mix-blend-mode: screen; filter: brightness(.85) contrast(1.25); mask-image: linear-gradient(transparent, #000 45%); }
}

.landing .hero-dish-picture { display: contents; }
@media (min-width: 600px) and (max-width: 1099px) {
  .landing .top-scene .header-contacts { display: none; }
  .landing .top-scene .header-inner { height: 74px; }
  .landing .top-scene .wordmark { display: block; font-size: 16px; }
  .landing .top-scene .wordmark small { max-width: none; font-size: 7px; white-space: nowrap; }
  .landing .hero .hero-features { width: 38vw; margin-left: 0; }
  .landing .hero-features .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .landing .hero-features .features .icon { width: 44px; height: 44px; }
  .landing .hero-features .features li + li { border-left: 1px solid #97271f33; }
  .landing .hero-features .features li { padding-inline: 4px; }
  .landing .hero .hero-art { bottom: 16px; }
}

/* Tablet composition follows content and the complete dish, not a cropped fixed-height box. */
@media (min-width: 600px) and (max-width: 1099px) {
  .landing .top-scene .header-inner { width: 90%; margin-left: 5%; height: 64px; }
  .landing .top-scene .identity { position: relative; isolation: isolate; }
  .landing .top-scene .identity::before { content: ''; position: absolute; inset: -8px -16px; z-index: -1; background: radial-gradient(ellipse, #fbead4 35%, #fbead4dc 58%, transparent 75%); pointer-events: none; }
  .landing .hero { height: auto; min-height: 0; grid-template-columns: 46% 52%; gap: 2%; padding: 0 2% 12px 5%; align-items: center; }
  .landing .hero .hero-copy { --hero-size: 8vw; grid-column: 1; grid-row: 1; width: 100%; margin: 0; padding: 8px 0; gap: 12px; }
  .landing .hero .hero-heading { margin-left: 0; }
  .landing .hero .hero-features { width: 38vw; max-width: 100%; margin: 0; }
  .landing .hero .hero-art { position: relative; grid-column: 2; grid-row: 1; inset: auto; width: 100%; height: auto; margin: 0; align-self: center; }
  .landing .hero .hero-vertical { left: 47%; right: auto; top: 12px; }
}

/* Tablet side-by-side sections: no contain letterbox above the restaurant art. */
@media (min-width: 768px) and (max-width: 1099px) {
  /* The subtract mask ends at alpha 254/255: discard its final raster seam. */
  .landing #popular .popular-surface::before { clip-path: inset(0 0 1px); }
  .landing #about .scene-art { object-position: left top; }
  .landing #footer .footer-inner { padding-bottom: 86px; }
  .landing #footer .copyright { position: absolute; grid-area: auto; left: 0; bottom: 40px; width: 100%; text-align: center; }
}

/* Phone desktop-site mode: keep the foreground attached to the scene edges.
   This portrait-only adjustment leaves the accepted desktop and mobile layouts intact. */
@media (min-width: 600px) and (max-width: 1099px) and (max-aspect-ratio: 3/4) {
  .landing .hero { padding-right: 0; }
  .landing .hero .hero-copy { gap: 8px; padding-block: 0; }
  .landing .hero .hero-art { width: 100%; align-self: end; transform: translate(5%, 6%); }
  .landing #about .scene-art {
    mask: linear-gradient(to right, #000 48%, transparent 62%) center / 100% 100% no-repeat;
  }
}
