/* Saltlane rework 3: the name read whole on the first screen, stickers off the letters, the phone line broken by meaning */

/* ================= first screen, desktop (fault 2) ================= */
@media (min-width: 701px) {
  /* the name sits a little higher; the plate stands in the gap between SALT and LANE (--gx from r1.js) and low,
     so its rim crosses only the foot of the T and the L */
  .slh-name { top: 13vh; }
  .slh-plate, .slh-rim { left: var(--gx, 50%); width: min(31vw, 48vh); top: calc(13vh + 0.99 * var(--nh, 30vh)); }
  /* stickers: none on a letter. "37 dishes" on the plate's left rim (the lemon has the right), "Cooked on steel" under SALT, "50 to 500" under LANE */
  .stk-b { left: calc(var(--gx, 50%) - min(17vw, 26vh)); top: calc(13vh + 1.28 * var(--nh, 30vh)); }
  .stk-a { left: 7vw; top: calc(13vh + 0.86 * var(--nh, 30vh)); width: 132px; height: 132px; padding: 16px; font-size: 19px; }
  .stk-c { right: 6vw; top: calc(13vh + 0.95 * var(--nh, 30vh)); }
}

/* ================= phone first screen (fault 4, and the name) ================= */
@media (max-width: 700px) {
  /* the plate a little smaller and lower, so SALT's L keeps more than half of itself */
  .slh-plate, .slh-rim { width: min(60vw, 240px); top: calc(76px + var(--nh, 110px) * 1.42); }
  /* the line breaks by meaning: "A table tonight." / "A menu for 300." */
  .slh-h1 .l2 { display: block; }
  .slh-h1 { font-size: clamp(25px, 7.4vw, 29px); line-height: 1.02; }
  /* each route one line at 390 and 360 */
  .slh-copy { padding: 0 12px; }
  .slh-copy .routes-btns { gap: 6px; }
  .slh-copy .routes-btns .btn { white-space: nowrap; font-size: 14px; padding: 10px 8px; gap: 4px; letter-spacing: -.01em; }
}
/* under 380 the two routes cannot sit side by side at 14 px: they stack, each one line, the same width */
@media (max-width: 379px) {
  .slh-copy .routes-btns { flex-direction: column; align-items: stretch; width: min(100%, 300px); gap: 6px; }
  .slh-copy .routes-btns .btn { justify-content: center; min-height: 42px; padding: 8px 12px; }
  .slh-copy { gap: 8px; bottom: calc(56px + 52px); }
  /* the sticker smaller and higher so the line clears it */
  .slh-stk .stk-a { width: 108px; height: 108px; padding: 12px; font-size: 14px; top: calc(76px + var(--nh, 110px) * 2.36); left: 2vw; }
  .slh-stk .stk-a b { font-size: 1.25em; }
}
