/* Saltlane Kitchen, rework 2 (21 Nov 2026). Loaded after r1.css on every page. */

/* ================= header: a clean bar, never a grey blur plate ================= */
/* r2.js sets data-ground on the header from the section under it: "field" = the chilli ground, "light" = a cream or
   paper ground. Over those the bar is solid, so it never reads as a grey film over the page. */
.top { transition: background-color .25s ease, border-color .25s ease; }
.top[data-ground="field"] { background: var(--field); backdrop-filter: none; border-bottom-color: rgb(246 238 221 / .22); }
.top[data-ground="light"] { background: var(--char); backdrop-filter: none; border-bottom-color: transparent; }

/* ================= the dish screen: a real film of biryani served by hand, on the chilli ground ================= */
.dscreen { background: var(--field); color: var(--cream); }
.dscreen .ds-head .kicker { color: var(--turmeric); }
.dscreen .ds-name { color: var(--cream); }
.dscreen .ds-name em { color: var(--turmeric); }
.dscreen .ds-line { color: rgb(246 238 221 / .92); }
.ds-film { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; background: var(--field-lo); }
.ds-frame { box-shadow: 0 -2px 0 var(--field); }
.rm .ds-frame { height: 62vh; }
@media (max-width: 700px) { .ds-film { object-position: 50% 50%; } }

/* ================= visit: the dining room with people ================= */
.r2-room .frame img { object-position: 50% 30%; }
@media (max-width: 700px) { .r2-room .frame img { object-position: 38% 30%; } }

/* ================= first screen (fault 2): the plate larger, the lower third carries the dish names ================= */
@media (min-width: 701px) {
  .slh-plate, .slh-rim { width: min(43vw, 70vh); top: calc(19vh + 0.5 * var(--nh, 30vh)); }
  /* the line and the routes sit just under the name, above the band */
  .slh-copy { bottom: calc(clamp(150px, 19vh, 205px) + 3vh); }
  /* the marquee raised and made large: a tilted turmeric band (a vertical skew, so the band stays one page wide) of dish names that runs the width and drops a little as you scroll */
  .slh-pin .marquee { bottom: clamp(30px, 4.4vh, 48px); left: 0; right: 0; transform: translate3d(0, calc(var(--k) * 6vh), 0) skewY(-2.2deg); box-shadow: 0 10px 0 var(--char); border-block: 3px solid var(--char); }
  .slh-pin .marquee::before { font-size: clamp(58px, 7.4vw, 118px); line-height: .9; padding: 12px 0 8px; letter-spacing: 0; }
  .mo .slh-pin .marquee::before { animation-duration: 46s; }
}
@media (min-width: 701px) { .slh-plate, .slh-rim { width: min(41vw, 64vh); top: calc(19vh + 0.5 * var(--nh, 30vh)); } }

/* ================= phone first screen (fault 3) ================= */
@media (max-width: 700px) {
  /* "Cooked on steel" sits in the space under LANE, clear of the L, its words inside the disc */
  .slh-stk .stk-a { left: 5vw; top: calc(76px + var(--nh, 110px) * 2.66); width: 124px; height: 124px; padding: 16px; font-size: 14px; }
  .slh-stk .stk-a b { font-size: 1.4em; }
}
