/* Copied from design/concepts/3-clean-v2/style.css on 12 October 2026. */
/* BARBAR new website. Concept 3, second version, final state: clean and modern.
   Concept design, 12 October 2026. Plain CSS, no framework, nothing from the internet.
   Layout uses direction-neutral properties so that Arabic can mirror it later.
   (The few "top", "object-position" and "transform" values below move a photograph inside its frame:
   a photograph is cut, never mirrored, tilted or recoloured.) */

/* ---------- typefaces (BARBAR's own, from the kit) ---------- */
@font-face { font-family: "Roboto"; src: url("../../assets/fonts/Roboto-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../../assets/fonts/Roboto-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../../assets/fonts/Roboto-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../../assets/fonts/RobotoCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* The Arabic typeface is Somar (Baianat), the brand's own: Regular, Medium and Bold for text, Black for headings, as the
   rule book has it. Licensed by BARBAR, bought by its branding company (the owner's word, 28 October 2026). Each file holds
   the Arabic letters only, so Latin letters and digits inside Arabic text stay in Roboto. Somar is drawn small on its
   body, so each weight is scaled (size-adjust) to the width of the Noto face it replaced, measured in the browser on
   every Arabic word of the built pages: Noto Kufi Arabic Bold against Somar Black 1.56, Noto Sans Arabic against Somar
   Regular 1.42, Medium 1.45, Bold 1.47. So every size rule below keeps its measure and nearly every line breaks where
   it did. Black is set at 1.48, a little under its width: its descenders and dots reach further than Kufi's, and at
   1.56 the dots under one line of a two-line headline touched those over the next. Each weight's ascent and descent
   are set to the Noto face's, so the letters stand on the same baseline in the same line box. */
@font-face { font-family: "Somar"; src: url("../../assets/fonts/Somar-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; size-adjust: 142%; ascent-override: 96.8%; descent-override: 52.0%; line-gap-override: 0%; unicode-range: U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Somar"; src: url("../../assets/fonts/Somar-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; size-adjust: 145%; ascent-override: 94.8%; descent-override: 50.9%; line-gap-override: 0%; unicode-range: U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Somar"; src: url("../../assets/fonts/Somar-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; size-adjust: 147%; ascent-override: 93.5%; descent-override: 50.2%; line-gap-override: 0%; unicode-range: U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Somar Black"; src: url("../../assets/fonts/Somar-Black.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; size-adjust: 148%; ascent-override: 86.6%; descent-override: 41.6%; line-gap-override: 0%; unicode-range: U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --red: #ED1C23;          /* brand red: Order (19 px bold type and up), BARBAR typed in the header, the tagline, thin rules */
  --red-strong: #D0141B;   /* small red words and arrows on white */
  --ink: #1F1C19;          /* the brand's near-black: all headings and text */
  --muted: #5E5954;        /* the three greys are tints of that black; no other grey is used */
  --line: #DDD9D4;
  --paper: #F5F4F2;        /* the pale grey of the studio table */
  --gutter: 16px;
  --max: 1280px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --bar: 56px;             /* height of the header that stays in view */
  --head: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --text: "Roboto", "Somar", Arial, sans-serif;
}
/* "100vw" counts a visible scrollbar, so on a desktop with a scrollbar the edge would sit a few pixels off the header.
   Where the browser can, measure the page itself instead. */
@supports (width: 1cqw) {
  body { container-type: inline-size; }
  :root { --edge: max(var(--gutter), calc((100cqw - var(--max)) / 2)); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
body { margin: 0; font: 400 16px/1.5 var(--text); color: var(--ink); background: #fff; text-align: start; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 50; display: flex; align-items: center; min-height: 48px; padding-inline: 20px; background: var(--ink); color: #fff; transform: translateY(-120%); }
.skip:focus { transform: none; }

/* ---------- small parts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink); font: 700 19px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer; }
.btn:hover { background: var(--ink); color: #fff; }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-strong); border-color: var(--red-strong); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 44px; padding-inline: 9px; letter-spacing: .04em; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 20px; height: 20px; }
[dir="rtl"] .icon--arrow { transform: scaleX(-1); }

.more-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 18px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.more-link span { padding-block: 6px 4px; border-block-end: 2px solid var(--red); }
.more-link .icon { color: var(--red-strong); }
.more-link:hover { color: var(--red-strong); }

.eyebrow { font: 700 16px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--red-strong); }

/* a chapter title as on BARBAR's printed menu: black condensed capitals between two rules, set at the start of the line */
.rule-head { width: fit-content; padding: 9px 2px 7px; border-block: 3px solid var(--ink); font: 700 30px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.intro { max-width: 34em; margin-block-start: 14px; color: var(--muted); }

.photo { position: relative; overflow: hidden; background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.cap { padding: 8px var(--gutter) 0; color: var(--muted); }

/* the mark on a line that is a sample and not BARBAR's own (a mark of the concept, like the line at the foot) */
.sample { display: inline-block; margin-inline-start: 4px; padding: 3px 5px 2px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--muted); font: 700 13px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; white-space: nowrap; }

.section { padding-block: 40px; scroll-margin-top: var(--bar); }

/* ---------- the header that stays in view ---------- */
.top { position: sticky; inset-block-start: 0; z-index: 30; background: #fff; border-block-end: 1px solid var(--line); }
.top__in { display: flex; align-items: center; min-height: var(--bar); padding-inline: var(--gutter) 6px; }
.brand { display: flex; align-items: center; min-height: 44px; margin-inline-end: auto; color: var(--red); font: 700 24px/1 var(--head); letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.top__nav { display: flex; }
.top__nav a { position: relative; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: 7px; font: 700 18px/1 var(--head); letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.top__nav a:hover { color: var(--red-strong); }
.top__nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 7px; inset-block-end: 7px; height: 2px; background: var(--red); }
.top__nav .from-tablet, .top__extra { display: none; }
.top .btn--sm { margin-inline-start: 6px; }
.more { flex: none; }
.more > summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; cursor: pointer; }
.more > summary::-webkit-details-marker { display: none; }
.more .icon--close, .more[open] .icon--open, .more:not([open]) .more__panel { display: none; }
.more[open] .icon--close { display: block; }
/* on a phone the rest opens as one sheet across the screen: the pages first, then country and language on one row */
.more__panel { position: absolute; inset-block-start: 100%; inset-inline: 0; padding: 2px var(--gutter) 10px; background: #fff; border-block-start: 1px solid var(--line); box-shadow: 0 18px 28px rgba(31, 28, 25, .16); }
.more__panel > a { display: flex; align-items: center; min-height: 48px; border-block-end: 1px solid var(--line); font: 700 19px/1 var(--head); letter-spacing: .01em; text-decoration: none; }
.more__panel .only-narrow { display: none; }
.more__place { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block-start: 4px; }
.more__place a { display: flex; align-items: center; gap: 7px; min-width: 44px; min-height: 46px; color: var(--muted); text-decoration: none; }

/* ---------- home: the opening ---------- */
.open__photo { aspect-ratio: 390 / 355; }
/* each of the three photographs is cut for the frame: the picture is made taller than the frame (--h), moved up (--t)
   and set sideways (--x); where it is only as tall as the frame, --y says which rows show */
.open__photo img { position: absolute; inset-inline: 0; top: var(--t, 0%); height: var(--h, 100%); object-position: var(--x, 50%) var(--y, 50%); }
main[data-opening="shawarma"] .open__photo { --h: 185%; --t: -70%; --x: 59%; }
main[data-opening="grill"] .open__photo { --h: 120%; --t: -18.7%; --x: 52%; }
main[data-opening="manoushe"] .open__photo { --h: 107.2%; --t: -6.3%; --x: 90%; }
.open__body { position: relative; padding: 14px var(--gutter) 16px; }
/* the badge whole, on its own white disc with the full clear space (14% of its width on every side),
   standing on the lower corner of the photograph */
.seal { position: absolute; inset-block-start: -84px; inset-inline-end: var(--gutter); display: block; width: 128px; height: 128px; padding: 14px; border-radius: 50%; background: #fff; }
.seal img { width: 100px; height: 100px; }
.tagline { display: block; color: var(--red); font: 900 22px/1 var(--text); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
/* Ali's headline, "Lebanese street food, the Beirut way." (12 October 2026). At every width it stands on two lines,
   broken at the comma; the first line measures 8.59 times the type size, so the size is the width of the text column
   divided by 8.8 (a little air), and never more than 46 px on a phone or a tablet (74 px on a desktop, below). */
.open h1 { margin-block-start: 16px; font: 700 46px/1.02 var(--head); letter-spacing: -.005em;
  font-size: min(46px, calc((100vw - 2 * var(--gutter)) / 8.8)); font-size: min(46px, calc((100cqw - 2 * var(--gutter)) / 8.8)); }
.open h1 span:last-child { display: block; }
.open__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block-start: 14px; }
.open__actions .btn { padding-inline: 8px; }

/* ---------- home: three facts ---------- */
.facts { background: var(--paper); border-block-start: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px var(--gutter) 20px; }
.facts li + li { padding-inline-start: 10px; border-inline-start: 1px solid var(--line); }
.facts li:not(:last-child) { padding-inline-end: 8px; }
.facts strong { display: block; font: 700 20px/1.08 var(--head); letter-spacing: .03em; text-transform: uppercase; }
.facts li > span { display: block; margin-block-start: 5px; color: var(--muted); line-height: 1.35; }
.facts__long { display: none; }
.facts .sample { margin-inline-start: 0; }

/* ---------- home: a taste of the food ---------- */
.food { padding-block: 34px; }
.taste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin-block-start: 22px; }
.taste__item .photo { aspect-ratio: 173 / 170; }
.taste__name { margin-block-start: 9px; font: 700 20px/1.1 var(--head); letter-spacing: .05em; text-transform: uppercase; }
/* the kind of food that leads the page is left out here, so that it is not shown twice */
main[data-opening="shawarma"] .taste__item--shawarma,
main[data-opening="grill"] .taste__item--grill,
main[data-opening="manoushe"] .taste__item--oven { display: none; }
/* one large picture first, then two small */
.taste__item--grill, main[data-opening="grill"] .taste__item--shawarma { grid-column: 1 / -1; margin-inline: calc(-1 * var(--gutter)); }
.taste__item--grill .photo, main[data-opening="grill"] .taste__item--shawarma .photo { aspect-ratio: 390 / 272; }
.taste__item--grill .taste__name, main[data-opening="grill"] .taste__item--shawarma .taste__name { padding-inline: var(--gutter); }
.taste__item--grill img { object-position: 30% 50%; }
.taste__item--shawarma img { object-position: 95% 50%; }
main[data-opening="grill"] .taste__item--shawarma img { object-position: 100% 50%; }
.taste__item--oven img { object-position: 80% 60%; }
.taste__item--juices img { position: absolute; inset-inline: 0; top: -9.8%; height: 114.4%; object-position: 46.5% 0; }
.also { display: none; }
main[data-opening="shawarma"] .also--shawarma, main[data-opening="grill"] .also--grill, main[data-opening="manoushe"] .also--oven { display: inline; }
.food__more { margin-block-start: 16px; }
.taste__also { color: var(--muted); text-wrap: balance; }
.food__on { margin-block-start: 16px; }
.food__on .btn { width: 100%; }

/* ---------- home: our story ---------- */
.story { background: var(--paper); scroll-margin-top: var(--bar); }
.story__figure { position: relative; }
/* on a phone the print is cut upright on the two men: larger faces, and the third man at the racks is outside the frame */
.story__photo { aspect-ratio: 390 / 400; }
.story__photo img { position: absolute; inset-inline: 0; top: -7%; height: 115%; object-position: 100% 0; }
.story__body { padding: 22px var(--gutter) 40px; }
.story h2, .invite h2 { margin-block-start: 8px; font: 700 34px/1.04 var(--head); letter-spacing: -.005em; text-wrap: balance; }
.story__body p:not(.eyebrow) { margin-block-start: 12px; max-width: 32em; }
.story__body .more-link { margin-block-start: 14px; }

/* ---------- home: where we are ---------- */
.where__figure { margin-block-start: 22px; margin-inline: calc(-1 * var(--gutter)); }
.where__photo { aspect-ratio: 3 / 2; background: var(--ink); }
/* the street is cut to its left two thirds: BARBAR's neon and the line of cars; the walker and the car at the right are outside */
.where__photo img { position: absolute; inset-inline: 0; top: -25%; height: 139%; object-position: 0 0; }
.finder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-block-start: 22px; }
.finder__field { position: relative; display: block; }
.finder__field .icon { position: absolute; inset-inline-start: 14px; inset-block-start: 14px; color: var(--muted); pointer-events: none; }
.input { display: block; width: 100%; min-height: 52px; padding: 0 12px; padding-inline-start: 46px; border: 2px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink); font: 400 16px/1.2 var(--text); -webkit-appearance: none; appearance: none; }
.input::placeholder { color: var(--muted); opacity: 1; }
.input::-webkit-search-cancel-button { -webkit-appearance: none; }
.finder .btn { padding-inline: 16px; }
.countries { margin-block-start: 18px; border-block-start: 1px solid var(--line); }
.countries a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; border-block-end: 1px solid var(--line); font: 700 22px/1.1 var(--head); letter-spacing: .01em; text-decoration: none; }
.countries a:hover { color: var(--red-strong); }
.countries .icon { color: var(--red-strong); }

/* ---------- home: the franchise invitation ---------- */
.invite { padding-block-end: 44px; background: var(--paper); scroll-margin-top: var(--bar); }
/* the night front is cut to BARBAR's own building: the neighbours' signs at the left are outside the frame,
   and the frame ends at the roofs of the cars, above every number plate */
.invite__photo { aspect-ratio: 390 / 286; background: var(--ink); }
.invite__photo img { position: absolute; inset-inline: 0; top: 0; height: 130.6%; object-position: 68% 0; }
.invite__card { position: relative; margin: -30px var(--gutter) 0; padding: 24px 20px 14px; background: #fff; }
.invite__text p { margin-block-start: 12px; max-width: 30em; }
.invite__text .btn { width: 100%; margin-block-start: 20px; }
/* the ways into the franchise page (its four parts, as the first brief names them) */
.ways { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; margin-block-start: 18px; }
.ways a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; border-block-start: 1px solid var(--line); font: 700 18px/1.1 var(--head); letter-spacing: .01em; text-decoration: none; }
.ways a:hover { color: var(--red-strong); }
.ways .icon { width: 20px; height: 20px; color: var(--red-strong); }

/* ---------- footer: the badge on white with TASTE OF BEIRUT between two red rules, as on the cover of BARBAR's printed menu ---------- */
.foot { border-block-start: 1px solid var(--line); background: #fff; }
.foot__in { padding-block: 32px 4px; }
.cover { display: flex; align-items: center; gap: 22px; padding-inline-start: 2px; }
.cover img { flex: none; width: 128px; height: 128px; }
.cover .tagline { padding-block: 10px 8px; border-block: 3px solid var(--red); font-size: 30px; line-height: 1.02; letter-spacing: .02em; }
.cover .tagline span { display: block; }
.foot nav h2 { font: 700 16px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot nav a { display: flex; align-items: center; min-width: 44px; min-height: 44px; text-decoration: none; }
.foot nav a:hover { color: var(--red-strong); }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 28px 16px; }
.foot__place { grid-column: 1 / -1; }
.foot__place ul { display: flex; flex-wrap: wrap; column-gap: 24px; }
.concept-note { padding-block: 14px 22px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ---------- "Our food": the top of the page ---------- */
.fhead__photo { aspect-ratio: 390 / 300; }
.fhead__photo img { object-position: 60% 45%; }
.fhead__body { padding: 16px var(--gutter) 28px; }
.fhead h1 { font: 700 46px/1 var(--head); letter-spacing: -.005em; }
.fhead__lead { margin-block-start: 8px; max-width: 30em; font-size: 17px; }

/* the full menu, one button away */
.menubox { margin-block-start: 16px; }
.menubox__main { padding-block-start: 13px; border-block-start: 3px solid var(--ink); }
.menubox__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.menubox__title { font: 700 22px/1.1 var(--head); letter-spacing: .05em; text-transform: uppercase; }
.menubox__date { color: var(--muted); }
.menubox__row { position: relative; display: block; margin-block-start: 10px; }
.menubox__row .icon { position: absolute; inset-inline-start: 14px; inset-block-start: 16px; pointer-events: none; }
.select { display: block; width: 100%; min-height: 52px; padding: 0 44px; border: 2px solid var(--ink); border-radius: 2px; -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1C19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 24px; color: var(--ink); font: 400 16px/1.2 var(--text); }
[dir="rtl"] .select { background-position: left 12px center; }
.menubox__btns { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 10px; margin-block-start: 10px; }
.menubox__btns .btn { padding-inline: 8px; }
.menubox__btns .icon { display: none; }

/* the menu as a thing to pick up: a small sheet drawn like the cover of BARBAR's printed menu (it is a drawing, not a picture of a file) */
.sheet { display: none; flex: none; flex-direction: column; align-items: center; width: 160px; height: 234px; padding: 18px 10px 10px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 26px rgba(31, 28, 25, .12); color: var(--ink); text-align: center; text-decoration: none; }
.sheet img { width: 100px; height: 100px; }
.sheet__word { margin-block-start: 16px; padding: 6px 4px 4px; border-block: 2px solid var(--red); font: 700 20px/1 var(--head); letter-spacing: .16em; text-indent: .16em; text-transform: uppercase; }
.sheet__place { margin-block-start: 9px; color: var(--muted); font-size: 16px; line-height: 1.2; }

/* the kinds of food, in four movements */
.kinds { padding-block-end: 4px; }
.kind { scroll-margin-top: var(--bar); }
.kind__photo { aspect-ratio: 3 / 2; }
.kind--tall .kind__photo, .kind--wide .kind__photo { aspect-ratio: 4 / 5; }
#shawarma img { object-position: 50% 80%; }
#grill img { object-position: 5% 50%; }
.kind__body { padding: 20px var(--gutter) 40px; }
.kind__body::before { content: ""; display: block; width: 44px; height: 3px; background: var(--red); }
.kind h2 { margin-block-start: 14px; font: 700 32px/1.04 var(--head); letter-spacing: -.005em; }
.kind p { margin-block-start: 10px; max-width: 31em; font-size: 17px; }

/* the full menu again, at the foot */
.menuband { background: var(--paper); padding-block: 40px 44px; scroll-margin-top: var(--bar); }
.menuband__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 18px; align-items: center; }
.menuband .sheet { display: flex; width: 144px; height: 222px; padding: 16px 8px 8px; }
.menuband .sheet__word { margin-block-start: 15px; }
.menuband .sheet__place { margin-block-start: 7px; }
.menuband h2 { margin-block-start: 8px; font: 700 28px/1.06 var(--head); letter-spacing: -.005em; }
.menuband__line { grid-column: 1 / -1; margin-block-start: 20px; font-size: 17px; }
.menuband .menubox { grid-column: 1 / -1; }

/* ---------- small phones ---------- */
@media (max-width: 389px) {
  .brand { font-size: 22px; letter-spacing: .02em; }
  .top__nav a { padding-inline: 5px; font-size: 17px; }
  .top__nav a[aria-current="page"]::after { inset-inline: 5px; }
  .top .btn--sm { padding-inline: 8px; margin-inline-start: 4px; }
}
@media (max-width: 359px) {
  :root { --gutter: 12px; }
  .top__in { padding-inline: var(--gutter) 2px; }
  .brand { font-size: 21px; }
  .top__nav .hide-narrow { display: none; }
  .more__panel .only-narrow { display: flex; }
  .more__panel > a { min-height: 46px; }
  .tagline { font-size: 19px; letter-spacing: 0; }
  .facts strong { font-size: 18px; letter-spacing: .02em; }
  .facts li + li { padding-inline-start: 8px; }
  .facts li:not(:last-child) { padding-inline-end: 6px; }
  .taste__name { font-size: 17px; letter-spacing: .03em; }
  .btn { letter-spacing: .03em; }
  .open__actions .btn, .menubox__btns .btn { padding-inline: 4px; }
  .menubox__btns { grid-template-columns: 1fr; }
  .finder .btn { padding-inline: 10px; }
  .rule-head { font-size: 27px; }
  .countries a { font-size: 21px; }
  .story h2, .invite h2 { font-size: 30px; }
  .kind h2 { font-size: 29px; }
  .menuband h2 { font-size: 24px; }
  .menuband__in { column-gap: 12px; }
  .invite__card { padding-inline: 16px; }
  .ways { column-gap: 12px; }
  .ways a { gap: 4px; font-size: 17px; letter-spacing: 0; }
  .cover { gap: 18px; }   /* never under 14% of the badge's 128 px */
  .cover .tagline { font-size: 26px; }
}

/* ---------- from 744 px: tablet ---------- */
@media (min-width: 744px) {
  :root { --gutter: 32px; --bar: 64px; }
  .section { padding-block: 72px; }
  .top__in { position: relative; width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding-inline: 0; }
  .brand { font-size: 28px; }
  .top__nav { margin-inline-end: 8px; }
  .top__nav a { padding-inline: 10px; font-size: 19px; }
  .top__nav a[aria-current="page"]::after { inset-inline: 10px; inset-block-end: 6px; }
  .top__nav .from-tablet { display: flex; }
  .top .btn--sm { min-height: 46px; padding-inline: 20px; letter-spacing: .06em; }
  /* here the control holds only country and language: a small panel under it */
  .more__panel { inset-inline: auto 0; width: 300px; padding: 4px 20px 6px; border: 1px solid var(--line); border-block-start: 0; }
  .more__panel .until-tablet { display: none; }
  .more__place { padding-block-start: 0; }

  .open__photo { aspect-ratio: 16 / 9; max-height: 62vh; width: 100%; }
  main[data-opening="shawarma"] .open__photo { --h: 100%; --t: 0%; --x: 50%; --y: 74%; }
  main[data-opening="grill"] .open__photo { --h: 100%; --t: 0%; --x: 50%; --y: 62%; }
  main[data-opening="manoushe"] .open__photo { --h: 100%; --t: 0%; --x: 100%; --y: 72%; }
  .open__body { padding: 22px var(--gutter) 44px; }
  .seal { inset-block-start: -104px; width: 158px; height: 158px; padding: 18px; }
  .seal img { width: 122px; height: 122px; }
  .tagline { font-size: 30px; }
  .open h1 { margin-block-start: 24px; font-size: 64px; line-height: 1; }
  .open__actions { display: flex; gap: 12px; margin-block-start: 26px; }
  .open__actions .btn { min-width: 200px; padding-inline: 28px; }

  .facts__list { padding: 30px var(--gutter) 30px; }
  .facts li + li { padding-inline-start: 24px; }
  .facts li:not(:last-child) { padding-inline-end: 24px; }
  .facts strong { font-size: 24px; }
  .facts li > span { margin-block-start: 6px; line-height: 1.45; }
  .facts__long { display: inline; }

  .rule-head { font-size: 36px; }
  .intro { font-size: 18px; }
  .food { padding-block: 64px; }
  .taste { gap: 22px 20px; margin-block-start: 36px; }
  .taste__item .photo { aspect-ratio: 3 / 2; }
  .taste__item--grill, main[data-opening="grill"] .taste__item--shawarma { margin-inline: 0; }
  .taste__item--grill .photo, main[data-opening="grill"] .taste__item--shawarma .photo { aspect-ratio: 16 / 9; }
  .taste__item--grill .taste__name, main[data-opening="grill"] .taste__item--shawarma .taste__name { padding-inline: 0; }
  .taste__item--grill img { object-position: 50% 50%; }
  .taste__item--shawarma img, main[data-opening="grill"] .taste__item--shawarma img { object-position: 60% 55%; }
  .taste__item--oven img { object-position: 60% 69%; }
  .taste__item--juices img { top: 0; height: 100%; object-position: 50% 83%; }
  .taste__name { margin-block-start: 12px; font-size: 24px; }
  .food__more { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-block-start: 28px; }
  .taste__also { font-size: 18px; }
  .food__on { flex: none; margin: 0; }
  .food__on .btn { width: auto; min-width: 220px; }

  .story__photo { aspect-ratio: 16 / 9; }
  .story__photo img { top: 0; height: 100%; object-position: 70% 35%; }
  .cap { padding: 10px var(--gutter) 0; }
  .story__body { padding: 32px var(--gutter) 64px; }
  .story h2, .invite h2 { font-size: 46px; }
  .story__body p:not(.eyebrow), .invite__text p { font-size: 18px; }

  .where__figure { margin-inline: 0; margin-block-start: 32px; }
  .where__figure .cap { padding-inline: 0; }
  .finder { margin-block-start: 32px; max-width: 520px; }
  .finder .btn { padding-inline: 24px; }
  .countries { margin-block-start: 24px; }
  .countries a { min-height: 64px; font-size: 28px; }

  .invite { padding-block-end: 72px; }
  .invite__photo { aspect-ratio: 16 / 9; }
  .invite__photo img { top: -12.5%; height: 146.4%; object-position: 100% 0; }
  .invite__card { margin: -96px var(--gutter) 0; padding: 40px 40px 26px; }
  .invite__text .btn { width: auto; min-width: 240px; margin-block-start: 24px; }
  .ways { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; margin-block-start: 30px; }
  .ways a { min-height: 56px; font-size: 19px; }

  .foot__in { padding-block: 56px 20px; }
  .foot__cols { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: space-between; gap: 16px 32px; padding-block: 40px 28px; }
  .foot__place { grid-column: auto; }
  .foot__place ul { display: block; }

  .fhead__photo { aspect-ratio: 16 / 8; }
  .fhead__photo img { object-position: 50% 42%; }
  .fhead__body { padding: 32px var(--gutter) 56px; }
  .fhead h1 { font-size: 64px; }
  .fhead__lead { margin-block-start: 10px; font-size: 20px; }
  .menubox { display: flex; align-items: flex-start; gap: 28px; max-width: 640px; margin-block-start: 28px; }
  .menubox__main { flex: 1; min-width: 0; }
  .sheet { display: flex; }
  .menubox__btns .icon { display: block; }
  .menubox__row { margin-block-start: 14px; }
  .menubox__btns { margin-block-start: 12px; }

  .kinds { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding-block: 8px 72px; }
  .kinds > * + * { margin-block-start: 72px; }
  .kind__body { padding: 22px 0 0; }
  .kind h2 { font-size: 34px; }
  .kind p { font-size: 17px; }
  .kind--tall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .kind--tall .kind__body, .kind--wide .kind__body { padding: 0; }
  .kind--tall h2, .kind--wide h2 { font-size: 46px; }
  .kind--tall p, .kind--wide p { font-size: 18px; }
  .kinds__row { display: grid; gap: 24px; }
  .kinds__row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kinds__row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kinds__row--three .kind__photo { aspect-ratio: 4 / 3; }
  .kinds__row--three h2 { font-size: 26px; }
  @media (max-width: 899px) { .kinds__row--three h2 { min-height: 2.08em; } }
  #juices img { position: absolute; inset-inline: 0; top: -8.4%; height: 114%; object-position: 0 0; }
  /* the grill: one wide picture, the words on a white card over its lower corner */
  .kind--wide .kind__photo { aspect-ratio: 16 / 8; }
  #grill img { object-position: 50% 45%; }
  .kind--wide .kind__body { position: relative; width: min(100%, 460px); margin-block-start: -96px; margin-inline-start: auto; padding-block: 30px 0; padding-inline: 36px 0; background: #fff; }

  .menuband { padding-block: 64px; }
  .menuband__in { display: block; }
  .menuband .sheet { display: none; }
  .menuband h2 { font-size: 44px; line-height: 1.02; text-wrap: balance; }
  .menuband__line { margin-block-start: 12px; font-size: 18px; }
  .menuband .menubox { display: block; max-width: 560px; margin-block-start: 28px; }
}

/* ---------- from 1080 px: desktop ---------- */
@media (min-width: 1080px) {
  :root { --bar: 72px; --words: calc(var(--edge) + clamp(430px, 41vw, 620px)); }
  .section { padding-block: 96px; }
  .brand { margin-inline-end: 28px; font-size: 32px; }
  .top__nav { margin-inline-end: auto; }
  .top__nav a { padding-inline: 12px; }
  .top__nav a[aria-current="page"]::after { inset-inline: 12px; inset-block-end: 4px; }
  .top__extra { display: flex; align-items: center; gap: 2px; margin-inline-end: 8px; }
  .top__extra a { display: flex; align-items: center; gap: 7px; min-height: 44px; min-width: 44px; padding-inline: 10px; text-decoration: none; white-space: nowrap; }
  .top__extra a:hover { color: var(--red-strong); }
  .top .btn--sm { min-height: 48px; padding-inline: 26px; }
  .more { display: none; }

  /* two halves: the words, and the photograph running to the edge of the screen;
     the badge on its white disc stands on the seam between them, at the photograph's lower corner */
  .open { position: relative; display: grid; grid-template-columns: var(--words) minmax(0, 1fr); align-items: stretch; }
  .open__photo { order: 2; aspect-ratio: auto; max-height: none; height: clamp(520px, calc(100vh - var(--bar) - 108px), 760px); }
  main[data-opening="shawarma"] .open__photo { --h: 176.5%; --t: -67%; --x: 40%; --y: 100%; }
  main[data-opening="grill"] .open__photo { --h: 104%; --t: -1.6%; --x: 30.6%; }
  main[data-opening="manoushe"] .open__photo { --h: 100%; --t: 0%; --x: 100%; }
  .open__body { order: 1; position: static; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; padding-inline: var(--edge) 40px; }
  .seal { inset-block-start: auto; inset-block-end: 40px; inset-inline-end: auto; inset-inline-start: calc(var(--words) - 85px); z-index: 2; width: 170px; height: 170px; padding: 19px; }
  .seal img { width: 132px; height: 132px; }
  .tagline { font-size: 32px; letter-spacing: .02em; }
  /* two lines, as on the phone: the text column (the words column less the edge and the padding) divided by 8.8 */
  .open h1 { margin-block-start: 26px; font-size: min(74px, calc((var(--words) - var(--edge) - 40px) / 8.8)); line-height: .98; }
  .open__actions { flex-wrap: nowrap; margin-block-start: 38px; }
  .open__actions .btn { min-width: 0; min-height: 56px; padding-inline: 30px; }
  .open__actions .btn--red { min-width: 150px; }

  /* the first divider of the facts stands under the seam of the opening */
  .facts__list { grid-template-columns: calc(var(--words) - var(--edge)) minmax(0, 1fr) minmax(0, 1fr); padding: 48px var(--edge) 46px; }
  .facts li + li { padding-inline-start: 40px; }
  .facts li:not(:last-child) { padding-inline-end: 40px; }
  .facts strong { font-size: 30px; }
  .facts li > span { margin-block-start: 8px; font-size: 18px; }

  .rule-head { padding: 11px 4px 9px; font-size: 40px; }
  .intro { margin-block-start: 20px; }
  /* the title, then the line and the way on at the end of the same row; under them one large picture and two small */
  .food { padding-block: 80px; }
  .food__in { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 48px; align-items: center; }
  .food__in .rule-head { grid-column: 1; grid-row: 1; }
  .food__more { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 28px; margin: 0; }
  .taste__also { font-size: 19px; text-align: end; }
  .taste { grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-block-start: 44px; }
  .taste__item .photo { aspect-ratio: 1.85; }
  .taste__item--grill, main[data-opening="grill"] .taste__item--shawarma { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; }
  .taste__item--grill .photo, main[data-opening="grill"] .taste__item--shawarma .photo { flex: 1; min-height: 0; aspect-ratio: auto; }
  .taste__item--grill .photo img, main[data-opening="grill"] .taste__item--shawarma .photo img { position: absolute; inset: 0; }
  .taste__name { margin-block-start: 14px; font-size: 26px; line-height: 30px; }

  .story { display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--edge) + clamp(400px, 31vw, 460px)); align-items: stretch; }
  .story__photo { aspect-ratio: auto; height: 100%; min-height: clamp(620px, 52vw, 780px); }
  .story__photo img { inset: 0; object-position: 70% 40%; }
  .story .cap { position: absolute; inset-block-end: 0; inset-inline-start: 0; max-width: 100%; padding-block: 12px 11px; padding-inline: var(--edge) 20px; background: var(--paper); }
  .story__body { display: flex; flex-direction: column; justify-content: center; padding-block: 72px; padding-inline: clamp(40px, 4.4vw, 64px) var(--edge); }
  .story h2 { font-size: clamp(42px, 3.9vw, 56px); line-height: 1; }
  .story__body p:not(.eyebrow) { margin-block-start: 16px; }
  .story__body .more-link { margin-block-start: 24px; align-self: flex-start; }

  .where__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 72px; }
  .where__head { grid-column: 1; grid-row: 1; }
  .where__list { grid-column: 1; grid-row: 2; align-self: start; }
  .where__figure { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: 0; }
  .finder { max-width: none; }
  .countries a { min-height: 60px; }

  .invite { padding-block-end: 80px; }
  /* the photograph is never drawn wider than 1440 px: its working copy is 1400 px wide */
  .invite__photo { aspect-ratio: auto; width: min(100%, 1440px); height: min(43vw, 619px); margin-inline: auto; }
  .invite__photo img { top: max(-20.4vw, -294px); height: min(82.6vw, 1190px); }
  .invite__card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 64px; width: min(calc(100% - 2 * var(--gutter)), 1120px); margin: max(-11.8vw, -170px) auto 0; padding: 56px 64px 52px; }
  .invite__head { grid-column: 1; grid-row: 1; }
  .invite h2 { margin-block-start: 12px; font-size: clamp(52px, 4.7vw, 68px); line-height: .98; }
  .invite__text { grid-column: 2; grid-row: 1 / span 2; padding-block-start: 30px; }
  .invite__text p:first-child { margin-block-start: 0; }
  .invite__text .btn { min-height: 56px; margin-block-start: 28px; }
  .ways { grid-column: 1; grid-row: 2; align-self: end; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-block-start: 36px; }
  .ways a { min-height: 54px; font-size: 20px; }

  .foot__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 96px; align-items: start; padding-block: 72px 32px; }
  .foot__cols { padding-block: 0 28px; }
  .cover img { width: 144px; height: 144px; }
  .cover { gap: 26px; }
  .cover .tagline { font-size: 38px; }

  .fhead { display: grid; grid-template-columns: calc(var(--edge) + clamp(470px, 44vw, 640px)) minmax(0, 1fr); align-items: stretch; }
  .fhead__photo { order: 2; aspect-ratio: auto; min-height: 620px; }
  .fhead__photo img { position: absolute; inset: 0; object-position: 58% 50%; }
  .fhead__body { order: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 56px; padding-inline: var(--edge) 32px; }
  .fhead h1 { font-size: 88px; line-height: .95; }
  .fhead__lead { margin-block-start: 16px; font-size: 22px; }
  .menubox { max-width: none; margin-block-start: 40px; gap: 24px; }
  .menubox__main { padding-block-start: 18px; }
  .menubox__btns { grid-template-columns: 1fr; }
  .menubox__btns .btn { min-height: 56px; }

  .kinds { padding-block: 104px; }
  .kinds > * + * { margin-block-start: 104px; }
  .kind--tall { gap: 88px; }
  .kind--tall h2, .kind--wide h2 { font-size: 64px; line-height: 1; }
  .kind--tall h2 { margin-block-start: 22px; }
  .kind--tall p { margin-block-start: 18px; font-size: 21px; line-height: 1.5; }
  .kinds__row--two h2 { font-size: 44px; }
  .kinds__row--two p, .kind--wide p { font-size: 19px; }
  .kinds__row--three h2 { font-size: 32px; }
  .kind--wide .kind__photo { aspect-ratio: 16 / 7; }
  .kind--wide .kind__body { width: 520px; margin-block-start: -132px; padding-block: 40px 0; padding-inline: 48px 0; }

  .menuband { padding-block: 88px; }
  .menuband__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); grid-template-rows: auto auto; gap: 0 96px; align-items: center; }
  .menuband__text { grid-column: 1; align-self: end; }
  .menuband__line { grid-column: 1; align-self: start; font-size: 19px; }
  .menuband h2 { font-size: 56px; line-height: 1; }
  .menuband .menubox { grid-column: 2; grid-row: 1 / span 2; max-width: none; margin-block-start: 0; }
  .menuband .menubox__btns { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
}

/* ---------- from 1280 px: room for the largest sizes ---------- */
@media (min-width: 1280px) {
  .top__nav a { padding-inline: 16px; }
  .top__nav a[aria-current="page"]::after { inset-inline: 16px; }
  .top__extra { margin-inline-end: 14px; }
  .seal { inset-inline-start: calc(var(--words) - 96px); width: 192px; height: 192px; padding: 21px; }
  .seal img { width: 150px; height: 150px; }
  .tagline { font-size: 34px; }
  .fhead__body { padding-inline-end: 56px; }
  .menubox { gap: 32px; }
}

/* =====================================================================================================================
   Third round, 12 October 2026: the shop page (shop.html) and the franchise page (franchise.html).
   Built from the parts above. Their tops show a place and not a dish. On a phone, as everywhere, the photograph comes
   first and the words stand on white under it; from tablet width the photograph is a wide band; on a desktop the two
   pages open as the home page and "Our food" do: the words on white at the left, the photograph at the right running to
   the edge of the screen.
   ===================================================================================================================== */

/* ---------- the top of the two pages ---------- */
.lead { scroll-margin-top: var(--bar); }
.lead__figure { position: relative; }
.lead__photo { aspect-ratio: var(--ar, 3 / 2); background: var(--ink); }
/* the photograph is cut by its frame: --h makes it taller than the frame, --t moves it up, --x sets it sideways */
.lead__photo img { position: absolute; inset-inline: 0; top: var(--t, 0%); height: var(--h, 100%); object-position: var(--x, 50%) var(--y, 50%); }
/* a photographer's credit or a caption, on a white tab at the photograph's lower corner (as under the bakery print on a desktop) */
.tab-cap { position: absolute; inset-block-end: 0; inset-inline-start: 0; max-width: calc(100% - var(--gutter)); padding-block: 7px 2px; padding-inline: var(--gutter) 12px; background: #fff; color: var(--muted); line-height: 1.3; }
.lead__body { padding: 16px var(--gutter) 22px; }
.lead h1 { margin-block-start: 6px; font: 700 46px/1 var(--head); letter-spacing: -.005em; }
.lead h1 span { display: block; }
.lead__text p { margin-block-start: 10px; max-width: 30em; font-size: 17px; }
.lead__text .btn { width: 100%; margin-block-start: 18px; }

/* ---------- the shop page ---------- */
/* BEY-02: the whole neon frame of the sign (x 265 to 1130 of the picture's 1400 px) fills the width, so both neighbours'
   signs are outside the frame; the frame runs from the balcony's foot into the parked cars */
.shop .lead__photo { --ar: 390 / 300; --h: 140.3%; --t: -13.5%; --x: 49.6%; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-block-start: 12px; }
.status__hours { color: var(--muted); }
.status .sample { margin-inline-start: -2px; }
.acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block-start: 16px; }
.acts .btn { padding-inline: 6px; }
.btn--go { min-height: 56px; }

/* address, hours and what the shop offers, on the pale grey of the studio table */
.info { background: var(--paper); border-block-start: 1px solid var(--line); }
.info__in { padding: 24px var(--gutter) 32px; }
.info__block { scroll-margin-top: var(--bar); }
.info__block + .info__block { margin-block-start: 24px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.info__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font: 700 20px/1.1 var(--head); letter-spacing: .05em; text-transform: uppercase; }
.info__address { margin-block-start: 10px; font-style: normal; }
/* the landmark leads: it is how a shop is found in Beirut */
.info__landmark { display: block; font: 700 22px/1.15 var(--head); letter-spacing: -.005em; }
.info__line { display: block; margin-block-start: 6px; font-size: 17px; }
.info__line + .info__line { color: var(--muted); }
.hours__line { margin-block-start: 10px; font: 700 22px/1.15 var(--head); letter-spacing: -.005em; }
.hours__note { margin-block-start: 8px; color: var(--muted); }
.offers { display: grid; gap: 2px; margin-block-start: 8px; }
.offers li { display: flex; align-items: center; gap: 14px; min-height: 44px; font-size: 18px; }
.offers .icon { width: 30px; height: 30px; stroke-width: 1.5; }

/* the way to the food: the shawarma that leads the home page, cut on its open end */
.shopfood__photo { aspect-ratio: 390 / 300; }
.shopfood__photo img { object-position: 50% 68%; }
.shopfood__body { padding: 22px var(--gutter) 40px; }
.shopfood h2 { margin-block-start: 8px; font: 700 34px/1.04 var(--head); letter-spacing: -.005em; }
.shopfood__body > p:not(.eyebrow) { margin-block-start: 12px; max-width: 32em; font-size: 17px; }
.shopfood__menu { margin-block-start: 20px; }
.shopfood__btns { display: grid; gap: 10px; }
.shopfood__note { color: var(--muted); }

/* the other shops: the field carries its label above it */
.another { border-block-start: 1px solid var(--line); }
.another .finder { margin-block-start: 20px; }
.finder--labelled { align-items: end; }
.finder__box { position: relative; display: block; }

/* ---------- the franchise page ---------- */
/* DXB-03 cut to BARBAR's own building (x 350 to 1100 of 1400); the frame ends at the roofs of the cars, above every number plate */
.fopen .lead__photo { --ar: 390 / 300; --h: 162%; --t: -28.6%; --x: 53.8%; }
.fopen .lead__body { padding-block: 14px 22px; }
.fopen h1 { margin-block-start: 4px; }
.fopen .lead__text p { margin-block-start: 8px; }
.fopen .lead__text .btn { margin-block-start: 16px; }

/* the ways into the page: a thin row from tablet width; left out on a phone so that the first swipe lands on the shawarma */
.jump { display: none; background: var(--paper); border-block: 1px solid var(--line); }
.jump__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; padding: 6px var(--gutter) 12px; }
.jump a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; border-block-end: 1px solid var(--line); font: 700 18px/1.1 var(--head); letter-spacing: .01em; text-decoration: none; }
.jump a:hover { color: var(--red-strong); }
.jump .icon { width: 20px; height: 20px; color: var(--red-strong); }

/* chapter titles: two kinds. The ruled title (Why BARBAR, The steps) and the sentence under a small red label (the rest) */
.block-head .intro { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.chap-head h2, .pics h2, .partner h2, .enquiry h2 { margin-block-start: 8px; font: 700 34px/1.04 var(--head); letter-spacing: -.005em; text-wrap: balance; }
.chap-head h2 .sample { margin-inline-start: 8px; vertical-align: middle; }
#why, #then, #formats, #markets, #partner, #now, #steps, #questions, #enquiry { scroll-margin-top: var(--bar); }

/* why BARBAR: the shawarma in its printed paper, held out to you; the frame starts under the chin, so no face is in it */
.why { background: var(--paper); border-block-start: 1px solid var(--line); }
.why__photo { aspect-ratio: 390 / 430; margin: 24px calc(-1 * var(--gutter)) 0; }
.why__photo img { object-position: 50% 62%; }
.reasons { display: grid; gap: 24px; margin-block-start: 28px; }
.reason::before { content: ""; display: block; width: 44px; height: 3px; background: var(--red); }
.reason h3 { margin-block-start: 12px; font: 700 28px/1.05 var(--head); letter-spacing: -.005em; }
.reason p { margin-block-start: 6px; max-width: 26em; font-size: 17px; }

/* then and now: two pictures each, with a caption on a white tab. Phone: one under the other, edge to edge */
.pics__grid { display: grid; gap: 12px; margin: 24px calc(-1 * var(--gutter)) 0; --row: 0px; }
.pics__item { position: relative; }
.pics__item .photo img { position: absolute; inset: 0; }
.pics__item .tab-cap { padding-inline-end: 14px; }
.pics__item--bakery .photo { aspect-ratio: 390 / 280; }
.pics__item--bakery img { object-position: 62% 45%; }
/* HER-02 is cut at the neighbour's yellow sign (x 720 of 866) and starts above the shop's sign; the founder stands at the
   lower left, so his caption goes to the other corner */
.pics__item--founder .photo { aspect-ratio: 390 / 480; }
.pics__item--founder .photo img { inset: auto 0; top: var(--t, -28.3%); height: var(--h, 147%); object-position: 0 0; }
.pics__item--founder .tab-cap { inset-inline: auto 0; padding-inline: 12px var(--gutter); }
.pics__item--counter .photo { aspect-ratio: 390 / 480; }
.pics__item--counter .photo img { object-position: 50% 40%; }
/* DXB-04 is cut to the shop (x 490 to 1230 of 1400): the neighbours' signs at both ends are outside, and the frame ends at the car roofs */
.pics__item--street .photo { aspect-ratio: 390 / 240; }
.pics__item--street .photo img { inset: auto 0; top: -58%; height: 215%; object-position: 70.7% 0; }

/* the formats */
.formats { background: var(--paper); }
.formats__list { display: grid; gap: 28px; margin-block-start: 26px; }
.format__photo { aspect-ratio: 390 / 260; margin-inline: calc(-1 * var(--gutter)); }
.format__photo--counter img { object-position: 50% 30%; }
.format__photo--restaurant img { object-position: 50% 60%; }
.format__photo--kitchen img { object-position: 50% 70%; }
.format h3 { margin-block-start: 16px; font: 700 28px/1.05 var(--head); letter-spacing: -.005em; }
.format p { margin-block-start: 6px; max-width: 26em; font-size: 17px; }

/* the markets: a country and its state right after its name; black for open, an outline for talks, grey for a partner in place */
.market { margin-block-start: 22px; border-block-start: 1px solid var(--line); }
.market li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 13px 12px; border-block-end: 1px solid var(--line); }
.market__name { font: 700 28px/1.1 var(--head); letter-spacing: -.005em; }
.state { display: inline-flex; align-items: center; min-height: 32px; padding: 1px 12px 0; border: 2px solid var(--ink); border-radius: 16px; font: 700 16px/1 var(--head); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.state--open { background: var(--ink); color: #fff; }
.state--taken { border-color: var(--line); color: var(--muted); }
.market__key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: 16px; color: var(--muted); }
.market__key-word { margin-inline-end: 4px; }
.markets__ask { margin-block-start: 16px; }

/* the partner we look for */
.partner { background: var(--paper); }
.ticks { display: grid; gap: 4px; margin-block-start: 22px; }
.ticks li { display: flex; align-items: flex-start; gap: 14px; padding-block: 12px; border-block-end: 1px solid var(--line); font: 700 22px/1.15 var(--head); letter-spacing: .005em; }
.ticks li:last-child { border-block-end: 0; }
.ticks .icon { width: 26px; height: 26px; margin-block-start: -2px; stroke-width: 2.2; color: var(--ink); }

/* the steps */
.steps { background: var(--paper); }
.steps__list { display: grid; margin-block-start: 22px; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 6px; padding-block: 16px; border-block-start: 1px solid var(--line); }
.step:last-child { border-block-end: 1px solid var(--line); }
.step__n { grid-row: 1 / span 2; font: 700 44px/.9 var(--head); }
.step h3 { font: 700 24px/1.1 var(--head); letter-spacing: -.005em; }
.step p { margin-block-start: 4px; color: var(--muted); }

/* questions partners ask first */
.qa { margin-block-start: 20px; border-block-start: 1px solid var(--line); }
.qa__item { padding-block: 16px; border-block-end: 1px solid var(--line); }
.qa dt { font: 700 22px/1.15 var(--head); letter-spacing: .005em; }
.qa dd { margin: 6px 0 0; color: var(--muted); }

/* the enquiry */
.enquiry { padding-block: 40px 48px; background: var(--paper); border-block-start: 1px solid var(--line); }
.enquiry__lead { margin-block-start: 10px; font-size: 17px; }
.after { display: grid; gap: 10px; margin-block-start: 20px; }
.after li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; column-gap: 12px; }
.after__n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; font: 700 16px/1 var(--head); }
.enquiry__notice { margin-block-start: 14px; }

.enq { margin-block-start: 26px; padding: 22px 18px 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(31, 28, 25, .08); scroll-margin-top: calc(var(--bar) + 16px); }
.enq__progress { display: flex; align-items: center; gap: 14px; color: var(--muted); font: 700 16px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.enq__bar { position: relative; flex: 1; max-width: 140px; height: 3px; background: var(--line); }
.enq__bar::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 50%; background: var(--ink); }
.enq[data-step="2"] .enq__bar::before { width: 100%; }
.enq__count--2, .enq[data-step="2"] .enq__count--1 { display: none; }
.enq[data-step="2"] .enq__count--2 { display: inline; }
.enq fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.enq__step > legend { float: inline-start; width: 100%; margin-block-start: 16px; padding: 0; font: 700 30px/1.05 var(--head); letter-spacing: -.005em; }
.enq__step > legend + * { clear: both; padding-block-start: 14px; }
.enq__step > legend + .enq__hint { padding-block-start: 6px; }
.enq__hint { color: var(--muted); }
.field, .enq fieldset.field { display: block; margin-block-start: 18px; }
.field__label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-block-end: 7px; padding: 0; font-weight: 700; }
.field__opt { font-weight: 400; color: var(--muted); }
.enq .input { padding-inline-start: 14px; }
.enq .select { padding-inline: 14px 44px; }
/* an error said in words under its line, in the stronger red with a drawn sign; the line itself turns red */
.field__error { display: none; align-items: flex-start; gap: 8px; margin-block-start: 7px; color: var(--red-strong); font-size: 16px; line-height: 1.35; }
.field__error:not(:empty) { display: flex; }
.field__error::before { content: ""; flex: none; width: 20px; height: 20px; margin-block-start: 1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D0141B' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.4v.1'/%3E%3C/svg%3E") no-repeat center / 20px; }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--red-strong); box-shadow: inset 0 0 0 1px var(--red-strong); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chips--two { grid-template-columns: 1fr; }
.chip { position: relative; display: block; }
/* the real radio button lies over the whole chip, unseen, so that the chip itself is what is tapped */
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 6px 10px; border: 2px solid var(--muted); border-radius: 2px; text-align: center; line-height: 1.2; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
fieldset[aria-invalid="true"] .chip span { border-color: var(--red-strong); }
.enq__privacy { margin-block-start: 18px; color: var(--muted); }
.enq__end { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 22px; }
.enq__end .btn { flex: 1; }
.enq__step--1 .enq__end { justify-content: flex-end; }
.enq__back { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 52px; padding: 0 6px; border: 0; background: none; color: var(--ink); font: 700 18px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.enq__sent { display: none; padding-block: 8px 4px; }
.enq__tick { width: 56px; height: 56px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.enq__sent h3 { margin-block-start: 16px; font: 700 30px/1.05 var(--head); letter-spacing: -.005em; }
.enq__sent p { margin-block-start: 10px; font-size: 17px; }
.enq__more { display: flex; flex-wrap: wrap; gap: 0 28px; margin-block-start: 8px; }
/* the two steps and the message after sending; without the script, both steps stand one under the other */
.enq[data-step="1"] .enq__step--2, .enq[data-step="2"] .enq__step--1, .enq[data-step="sent"] .enq__step, .enq[data-step="sent"] .enq__progress { display: none; }
.enq[data-step="sent"] .enq__sent { display: block; }
.enq:not([data-step]) .enq__next, .enq:not([data-step]) .enq__back, .enq:not([data-step]) .enq__progress { display: none; }

/* ---------- the two pages on small phones ---------- */
@media (max-width: 359px) {
  .lead h1 { font-size: 40px; }
  .acts .btn { padding-inline: 4px; font-size: 17px; }
  .acts .btn .icon { width: 20px; height: 20px; }
  /* white at 17 px needs the stronger red (the brand's reading rule) */
  .acts .btn--red { background: var(--red-strong); border-color: var(--red-strong); }
  .shopfood h2, .chap-head h2, .pics h2, .partner h2, .enquiry h2 { font-size: 30px; }
  .market__name { font-size: 24px; }
  .state { padding-inline: 9px; letter-spacing: .03em; }
  .ticks li, .qa dt { font-size: 20px; }
  .chips { grid-template-columns: 1fr; }
  .enq { padding-inline: 14px; }
}

/* ---------- the two pages from 744 px: tablet ---------- */
@media (min-width: 744px) {
  .lead__photo { aspect-ratio: var(--ar); }
  .shop .lead__photo { --ar: 2 / 1; --h: 216%; --t: -34.7%; --x: 49.5%; }
  .fopen .lead__photo { --ar: 16 / 9; --h: 221%; --t: -64%; --x: 53.8%; }
  .lead__body { padding: 28px var(--gutter) 40px; }
  .lead h1 { font-size: 64px; }
  .lead__text p { font-size: 18px; }
  .lead__text .btn { width: auto; min-width: 240px; margin-block-start: 22px; }
  .status { margin-block-start: 16px; }
  .status__hours { font-size: 18px; }
  .acts { max-width: 560px; gap: 12px; margin-block-start: 26px; }
  .acts .btn { padding-inline: 16px; }

  /* where, when and what: three columns on one line */
  .info__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; padding: 40px var(--gutter) 48px; }
  .info__block + .info__block { margin: 0; padding-block-start: 0; padding-inline-start: 32px; border-block-start: 0; border-inline-start: 1px solid var(--line); }
  .info__title { font-size: 22px; }

  .shopfood__photo { aspect-ratio: 3 / 2; }
  .shopfood__photo img { object-position: 50% 66%; }
  .shopfood__body { padding: 32px var(--gutter) 64px; }
  .shopfood h2 { font-size: 46px; }
  .shopfood__body > p:not(.eyebrow) { font-size: 18px; }
  .shopfood__menu { display: flex; align-items: center; gap: 28px; margin-block-start: 28px; }
  .shopfood__menu .sheet { display: flex; }
  .shopfood__btns { flex: 1; max-width: 340px; }

  .another .finder { margin-block-start: 28px; max-width: 520px; }
  .another .countries { margin-block-start: 32px; }

  .jump { display: block; }
  .jump__list { padding: 8px var(--gutter) 14px; }
  .jump a { min-height: 56px; font-size: 19px; }

  .why__photo { margin-inline: 0; aspect-ratio: 16 / 10; }
  .why__photo img { object-position: 50% 55%; }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 32px; margin-block-start: 36px; }
  .reason h3 { font-size: 32px; }
  .reason p { font-size: 18px; }

  .chap-head h2, .pics h2, .partner h2, .enquiry h2 { font-size: 46px; }
  /* two pictures side by side, the same height; at this width in two equal halves */
  .pics__grid { --row: clamp(400px, 46vw, 600px); grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: var(--row); gap: 16px; margin: 36px 0 0; }
  .pics__item { grid-column: span 6; }
  .pics__item .photo { aspect-ratio: auto; height: 100%; }
  .pics__item .tab-cap { padding-inline-start: 14px; }
  .pics__item--founder .tab-cap { padding-inline-end: 14px; }
  .pics__item--bakery .photo img { object-position: 72% 40%; }
  .pics__item--founder .photo img { --h: 160%; --t: -37.8%; }
  .pics__item--counter .photo img { object-position: 50% 40%; }
  .pics__item--street .photo img { top: -25.7%; height: 170%; object-position: calc(var(--row) * -0.892) 0; }

  .formats__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block-start: 36px; }
  .format__photo { aspect-ratio: 4 / 5; margin-inline: 0; }
  .format__photo--restaurant img { object-position: 50% 35%; }
  .format h3 { font-size: 30px; }

  .markets__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: start; }
  .market { margin-block-start: 0; }
  .market li { padding-block: 16px 15px; }
  .market__name { font-size: 36px; }

  .partner__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: start; }
  .ticks { margin-block-start: 0; }
  .ticks li { padding-block: 16px; font-size: 26px; }

  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; margin-block-start: 36px; }
  .step { display: block; padding-block: 18px 28px; border-block-start: 3px solid var(--ink); }
  .step:last-child { border-block-end: 0; }
  .step__n { display: block; font-size: 64px; }
  .step h3 { margin-block-start: 14px; font-size: 28px; }
  .step p { font-size: 18px; }

  .questions__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: start; }
  .qa { margin-block-start: 0; }
  .qa dt { font-size: 26px; }
  .qa dd { font-size: 18px; }

  .enquiry { padding-block: 72px; }
  .enquiry__lead { font-size: 18px; }
  .enq { padding: 32px 32px 34px; }
  .enq__step > legend { font-size: 34px; }
  .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .chips--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enq__end .btn { flex: none; min-width: 220px; }
}

/* ---------- the two pages from 1080 px: desktop ---------- */
@media (min-width: 1080px) {
  /* the words column (--lw) and the photograph's height (--fh) are the home page's; never so tall that the buttons leave
     a 900 px screen. Between 1080 and 1279 px the words column is a little narrower, so that the whole sign fits beside it. */
  :root { --lw: var(--words); --fh: clamp(520px, calc(100vh - var(--bar) - 108px), 720px); }
  .lead { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); align-items: stretch; }
  .lead__figure { order: 2; }
  .lead__photo { aspect-ratio: auto; height: var(--fh); }
  .lead__body { order: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; padding-inline: var(--edge) 40px; }
  .lead h1 { margin-block-start: 10px; font-size: clamp(50px, 4.9vw, 74px); line-height: .98; }
  .lead__text p { font-size: 19px; }
  .lead__text .btn { min-height: 56px; margin-block-start: 26px; }
  .tab-cap { padding-inline-start: 14px; }

  /* the shop: BEY-02 is drawn so that the sign's whole neon frame (865 of its 1400 px) fills the photograph's width (--pw),
     and the frame starts at the balcony's foot; where the picture is not tall enough for that, it ends at the picture's foot */
  .shop .lead__photo { --pw: calc(100vw - var(--lw)); }
  .shop .lead__photo img { top: max(calc(var(--pw) * -0.1734), calc(100% - var(--pw) * 1.081)); height: calc(var(--pw) * 1.081); object-position: 48.8% 0; }
  /* "BARBAR Hamra" measures 6.2 times the type size: one line at every width, 88 px at 1440 */
  .shop h1 { font-size: min(88px, calc((var(--lw) - var(--edge) - 40px) / 6.25)); line-height: .95; }
  .shop .status { margin-block-start: 16px; }
  .shop .acts { max-width: 520px; margin-block-start: 34px; }
  .shop .acts .btn { min-height: 56px; }

  /* where, when and what, on the content grid */
  .info__in { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding: 52px 0 60px; column-gap: 48px; }
  .info__block + .info__block { padding-inline-start: 48px; }
  .info__title { font-size: 24px; }
  .info__landmark, .hours__line { font-size: 24px; }
  .info__line { font-size: 18px; }
  .offers li { font-size: 19px; }

  /* the way to the food: the shawarma upright at the left, running to the edge; the words and the drawn menu sheet beside it */
  .shopfood { display: grid; grid-template-columns: calc(var(--edge) + clamp(420px, 34vw, 500px)) minmax(0, 1fr); align-items: stretch; }
  .shopfood__photo { aspect-ratio: auto; min-height: clamp(600px, 46vw, 720px); }
  .shopfood__photo img { position: absolute; inset: 0; object-position: 50% 90%; }
  .shopfood__body { display: flex; flex-direction: column; justify-content: center; padding-block: 72px; padding-inline: clamp(40px, 4.4vw, 64px) var(--edge); }
  .shopfood h2 { font-size: clamp(46px, 4vw, 56px); line-height: 1; }
  .shopfood__body > p:not(.eyebrow) { margin-block-start: 16px; font-size: 19px; }
  .shopfood__menu { margin-block-start: 32px; }
  .shopfood__btns .btn { min-height: 56px; }

  .another__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  .another .finder { max-width: none; }
  .another .countries { margin-block-start: 0; }

  /* the franchise: DXB-03 at about its own size, from the sky to the roofs of the cars, its left edge fixed at the lamp post */
  .fopen .lead__photo img { top: 0; height: 132%; object-position: calc(var(--fh) * -0.53) 0; }
  .fopen h1 { font-size: clamp(56px, 4.9vw, 74px); }
  .jump__list { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding: 8px 0 12px; column-gap: 32px; }
  .jump a { font-size: 20px; }

  .why__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 88px; }
  .why__photo { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4 / 5; margin: 0; }
  .why__photo img { object-position: 50% 95%; }
  .why__title { grid-column: 2; grid-row: 1; align-self: end; }
  .reasons { grid-column: 2; grid-row: 2; align-self: start; gap: 48px 48px; margin-block-start: 48px; }
  .reason h3 { margin-block-start: 16px; font-size: 36px; }
  .reason p { margin-block-start: 8px; font-size: 19px; }

  .chap-head h2, .pics h2, .partner h2, .enquiry h2 { font-size: clamp(46px, 4vw, 56px); line-height: 1; }
  .chap-head .intro { margin-block-start: 16px; }
  /* then: the bakery wide and the founder upright; now: the counter upright and the street wide */
  .pics__grid { --row: clamp(480px, 40vw, 600px); gap: 24px; margin-block-start: 44px; }
  .pics__item--bakery { grid-column: 1 / span 7; }
  .pics__item--founder { grid-column: 8 / -1; }
  .pics__item--founder .photo img { --h: 175%; }
  .pics__item--counter { grid-column: 1 / span 5; }
  .pics__item--street { grid-column: 6 / -1; }

  .formats__list { gap: 24px; margin-block-start: 44px; }
  .format h3 { margin-block-start: 20px; font-size: 34px; }
  .format p { font-size: 19px; }

  .markets__in, .questions__in, .partner__in { column-gap: 72px; }
  .market__name { font-size: 40px; }

  .steps__list { column-gap: 32px; margin-block-start: 44px; }
  .step h3 { font-size: 32px; }

  .enquiry { padding-block: 96px; }
  .enquiry__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  .enq { margin-block-start: 0; padding: 40px 48px 44px; }
  .after { margin-block-start: 28px; }
  .after li { font-size: 18px; }
}
@media (min-width: 1080px) and (max-width: 1279px) {
  :root { --lw: calc(var(--edge) + 37vw); --fh: clamp(520px, calc(100vh - var(--bar) - 108px), 640px); }
}
/* "100vw" counts a visible scrollbar: where the browser can, the photograph's width is measured from the page itself */
@supports (width: 1cqw) {
  @media (min-width: 1080px) { .shop .lead__photo { --pw: calc(100cqw - var(--lw)); } }
}

/* ---------- the one Arabic word on the English pages ---------- */
/* On the English pages the word العربية is set in Somar Regular, the brand's Arabic face, wherever it stands (Noto Sans
   Arabic until the owner's word of 28 October 2026). Arabic letters join, so they take no letter-spacing and no capitals. */
html:not([lang="ar"]) :lang(ar) { font-family: "Somar", sans-serif !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }

/* =====================================================================================================================
   Fourth round, 12 October 2026: the Arabic pages (index-ar.html, our-food-ar.html, shop-ar.html, franchise-ar.html),
   right to left. The layout above is written in direction-neutral properties, so it mirrors by itself once the page says
   dir="rtl": the header, the buttons, the tables, the cards, the form and the footer. What follows is (1) the Arabic
   typefaces and their sizes, (2) the few places where the mirror needs a hand, (3) the Arabic cut of the photographs whose
   subject the mirror would otherwise hide, above all the shawarma, because the badge now stands on the other corner.
   The logo never mirrors; no photograph mirrors; arrows mirror (the rule for .icon--arrow is at the top of this file).
   ===================================================================================================================== */

/* ---------- type ---------- */
/* Somar Black for headings, Somar for text (Noto Kufi Arabic Bold and Noto Sans Arabic until 28 October 2026; each Somar
   weight is scaled to the width of the Noto face it replaced, see the top of this file). Each Arabic file covers the Arabic blocks only, so a
   Latin word (BARBAR, PDF, a name) or a figure inside Arabic text falls through to Roboto Condensed or Roboto. Arabic is
   set a little larger than the Latin it replaces and with more line height; it is never letter-spaced, never in capitals
   and never slanted. Arabic carries tall ascenders and deep descenders: a heading needs about 1.3 lines of room. */
html[lang="ar"] { --head: "Somar Black", "Roboto Condensed", "Arial Narrow", Arial, sans-serif; --text: "Somar", "Roboto", Arial, sans-serif; }
html[lang="ar"] body { font-size: 17px; line-height: 1.7; }
:lang(ar) { letter-spacing: 0 !important; text-transform: none !important; font-synthesis: none; font-style: normal; }
h1:lang(ar), h2:lang(ar), h3:lang(ar), legend:lang(ar) { line-height: 1.3; }
.btn:lang(ar) { font-size: 18px; line-height: 1.25; }
.btn--sm:lang(ar) { font-size: 17px; }
.eyebrow:lang(ar) { font-size: 16px; line-height: 1.3; }
.more-link:lang(ar) { font-size: 17px; line-height: 1.25; }
.more-link:lang(ar) span { padding-block: 4px 2px; }
.rule-head:lang(ar) { padding: 5px 2px 3px; font-size: 26px; line-height: 1.35; }
.intro:lang(ar) { max-width: 30em; }
.sample:lang(ar) { padding: 3px 6px 2px; font-size: 12px; line-height: 1.3; vertical-align: 3px; }
.brand:lang(ar) { font-size: 26px; }
.top__nav a:lang(ar) { padding-inline: 6px; font-size: 17px; line-height: 1.3; }
.more__panel > a:lang(ar) { font-size: 18px; line-height: 1.3; }
.concept-note:lang(ar) { font-size: 14px; line-height: 1.6; }
.cap:lang(ar) { font-size: 16px; }
.input:lang(ar), .select:lang(ar) { font-size: 17px; }

/* the home page */
/* the headline: two lines at every width, broken after the comma. The first line measures 9.33 times the type size
   in Noto Kufi Arabic Bold (measured in the browser), so the size is the text column divided by 9.6, never more than
   38 px on a phone or a tablet and 60 px on a desktop (below). Kufi needs 1.28 lines of room. */
.open h1:lang(ar) { margin-block-start: 10px; line-height: 1.28; font-size: min(38px, calc((100vw - 2 * var(--gutter)) / 9.6)); font-size: min(38px, calc((100cqw - 2 * var(--gutter)) / 9.6)); }
/* TASTE OF BEIRUT stays in Latin capitals (lang="en"); it keeps the Arabic page's direction so that it starts at the
   start of the line, away from the badge, which now stands on the other corner */
.brand:lang(ar) { min-width: 44px; }
.open__actions:lang(ar) { margin-block-start: 12px; }
.facts strong:lang(ar) { font-size: 18px; line-height: 1.3; }
.facts li > span:lang(ar) { font-size: 16px; line-height: 1.5; }
.taste__name:lang(ar) { font-size: 18px; line-height: 1.3; }
.story h2:lang(ar), .invite h2:lang(ar) { font-size: 29px; }
.countries a:lang(ar) { font-size: 20px; line-height: 1.3; }
.ways a:lang(ar) { font-size: 17px; line-height: 1.3; }
.foot nav h2:lang(ar) { font-size: 16px; line-height: 1.3; }

/* "Our food" */
.fhead h1:lang(ar) { font-size: 40px; line-height: 1.2; }
.fhead__lead:lang(ar) { font-size: 18px; }
.menubox__title:lang(ar) { font-size: 20px; line-height: 1.3; }
.sheet__word:lang(ar) { padding: 5px 4px 3px; font-size: 18px; line-height: 1.3; text-indent: 0; }
.sheet__place:lang(ar) { font-size: 16px; line-height: 1.4; }
.kind h2:lang(ar) { font-size: 28px; }
.kind p:lang(ar) { font-size: 17px; }
.menuband h2:lang(ar) { font-size: 25px; }
.menuband__line:lang(ar) { font-size: 17px; }

/* the shop page and the franchise page */
.lead h1:lang(ar) { font-size: 40px; line-height: 1.25; }
.lead__text p:lang(ar) { font-size: 17px; }
.state:lang(ar) { padding: 2px 12px 1px; font-size: 16px; line-height: 1.3; }
.info__title:lang(ar) { font-size: 18px; line-height: 1.3; }
.info__landmark:lang(ar), .hours__line:lang(ar) { font-size: 20px; line-height: 1.4; }
.info__line:lang(ar) { font-size: 17px; }
.offers li:lang(ar) { font-size: 18px; }
.shopfood h2:lang(ar) { font-size: 30px; }
.shopfood__body > p:not(.eyebrow):lang(ar) { font-size: 17px; }
.jump a:lang(ar) { font-size: 17px; line-height: 1.3; }
.chap-head h2:lang(ar), .pics h2:lang(ar), .partner h2:lang(ar), .enquiry h2:lang(ar) { font-size: 30px; }
.reason h3:lang(ar), .format h3:lang(ar) { font-size: 24px; }
.reason p:lang(ar), .format p:lang(ar) { font-size: 17px; }
.market__name:lang(ar) { font-size: 24px; line-height: 1.3; }
.ticks li:lang(ar), .qa dt:lang(ar) { font-size: 20px; line-height: 1.5; }
.step h3:lang(ar) { font-size: 21px; }
.enquiry__lead:lang(ar) { font-size: 17px; }
.enq__progress:lang(ar) { font-size: 16px; line-height: 1.3; }
.enq__step > legend:lang(ar) { font-size: 26px; }
.enq__back:lang(ar) { font-size: 17px; line-height: 1.3; }
.enq__sent h3:lang(ar) { font-size: 26px; }
.enq__sent p:lang(ar) { font-size: 17px; }

/* ---------- where the mirror needs a hand ---------- */
/* the founder stands at the lower left of his print, as shot; in Arabic the caption's default corner would be that one,
   so it goes back to the other corner */
[dir="rtl"] .pics__item--founder .tab-cap { inset-inline: 0 auto; padding-inline: var(--gutter) 12px; }
/* a Latin word, a figure or a name inside Arabic text runs left to right (the pages wrap them in dir="ltr") */
[dir="rtl"] [dir="ltr"] { unicode-bidi: isolate; }

/* ---------- the Arabic cut of the photographs ---------- */
/* The home page's shawarma (FOOD-01): the badge on its white disc now stands on the lower LEFT corner of the photograph, where
   the English cut has the sandwich's wrapped body. The picture is moved up so that the sandwich sits in the upper two thirds
   of the frame, the open end with the filling at the right, and the disc stands on red under the bread. The sandwich keeps
   the English cut's size. */
html[lang="ar"] main[data-opening="shawarma"] .open__photo { --h: 185%; --t: -76%; --x: 0%; }
/* the grill on "Our food": its white card now sits on the lower left of the picture, so the coals move to the right */
[dir="rtl"] #grill img { object-position: 95% 50%; }

/* ---------- small phones ---------- */
@media (max-width: 389px) {
  .brand:lang(ar) { font-size: 24px; }
  .top__nav a:lang(ar) { padding-inline: 5px; font-size: 16px; }
}
@media (max-width: 359px) {
  .brand:lang(ar) { font-size: 23px; }
  .btn:lang(ar) { font-size: 17px; }
  .facts strong:lang(ar) { font-size: 16px; }
  .taste__name:lang(ar) { font-size: 16px; }
  .rule-head:lang(ar) { font-size: 23px; }
  .countries a:lang(ar) { font-size: 19px; }
  .story h2:lang(ar), .invite h2:lang(ar), .shopfood h2:lang(ar), .chap-head h2:lang(ar), .pics h2:lang(ar), .partner h2:lang(ar), .enquiry h2:lang(ar) { font-size: 26px; }
  .kind h2:lang(ar) { font-size: 25px; }
  .menuband h2:lang(ar) { font-size: 22px; }
  .ways a:lang(ar) { font-size: 16px; }
  .lead h1:lang(ar) { font-size: 34px; }
  .acts .btn:lang(ar) { font-size: 16px; }
  .market__name:lang(ar) { font-size: 22px; }
  .ticks li:lang(ar), .qa dt:lang(ar) { font-size: 19px; }
}

/* ---------- from 744 px: tablet ---------- */
@media (min-width: 744px) {
  .brand:lang(ar) { font-size: 30px; }
  .top__nav a:lang(ar) { padding-inline: 9px; font-size: 18px; }
  .btn--sm:lang(ar) { font-size: 17px; }
  .rule-head:lang(ar) { font-size: 31px; }
  .open h1:lang(ar) { margin-block-start: 18px; font-size: 54px; line-height: 1.25; }
  .open__actions:lang(ar) { margin-block-start: 24px; }
  html[lang="ar"] main[data-opening="shawarma"] .open__photo { --h: 100%; --t: 0%; --x: 50%; --y: 80%; }
  .facts strong:lang(ar) { font-size: 22px; }
  .facts li > span:lang(ar) { font-size: 17px; }
  .taste__name:lang(ar) { font-size: 22px; }
  .taste__also:lang(ar) { font-size: 18px; }
  .story h2:lang(ar), .invite h2:lang(ar) { font-size: 40px; }
  .story__body p:not(.eyebrow):lang(ar), .invite__text p:lang(ar) { font-size: 18px; }
  .countries a:lang(ar) { font-size: 25px; }
  .ways a:lang(ar) { font-size: 18px; }
  .cover .tagline:lang(ar) { font-size: 30px; }
  .fhead h1:lang(ar) { font-size: 56px; }
  .fhead__lead:lang(ar) { font-size: 20px; }
  .kind h2:lang(ar) { font-size: 30px; }
  .kind--tall h2:lang(ar), .kind--wide h2:lang(ar) { font-size: 40px; }
  .kind--tall p:lang(ar), .kind--wide p:lang(ar) { font-size: 18px; }
  .kinds__row--three h2:lang(ar) { font-size: 23px; }
  html[lang="ar"] .kinds__row--three h2 { min-height: 2.6em; }
  .menuband h2:lang(ar) { font-size: 38px; }
  .menuband__line:lang(ar) { font-size: 18px; }
  .lead h1:lang(ar) { font-size: 56px; }
  .lead__text p:lang(ar) { font-size: 18px; }
  .info__title:lang(ar) { font-size: 20px; }
  .shopfood h2:lang(ar) { font-size: 40px; }
  .shopfood__body > p:not(.eyebrow):lang(ar) { font-size: 18px; }
  .jump a:lang(ar) { font-size: 18px; }
  .reason h3:lang(ar) { font-size: 28px; }
  .reason p:lang(ar), .format p:lang(ar) { font-size: 18px; }
  .chap-head h2:lang(ar), .pics h2:lang(ar), .partner h2:lang(ar), .enquiry h2:lang(ar) { font-size: 40px; }
  .format h3:lang(ar) { font-size: 27px; }
  .market__name:lang(ar) { font-size: 32px; }
  .ticks li:lang(ar), .qa dt:lang(ar) { font-size: 23px; }
  .step h3:lang(ar) { font-size: 25px; }
  .step p:lang(ar), .qa dd:lang(ar) { font-size: 18px; }
  .enq__step > legend:lang(ar) { font-size: 30px; }
  .enquiry__lead:lang(ar) { font-size: 18px; }
}

/* ---------- from 1080 px: desktop ---------- */
@media (min-width: 1080px) {
  .brand:lang(ar) { font-size: 33px; }
  .top__nav a:lang(ar) { padding-inline: 11px; }
  /* only on the Arabic pages: without html[lang="ar"] this rule also caught the one Arabic word of the English header */
  html[lang="ar"] .top__extra a:lang(ar) { padding-inline: 9px; }
  .rule-head:lang(ar) { padding: 7px 4px 5px; font-size: 34px; }
  /* two lines, as on the phone: the text column (the words column less the edge and the padding) divided by 10.3 */
  .open h1:lang(ar) { margin-block-start: 20px; font-size: min(60px, calc((var(--words) - var(--edge) - 40px) / 9.6)); line-height: 1.22; }
  .open__actions:lang(ar) { margin-block-start: 34px; }
  .facts strong:lang(ar) { font-size: 27px; }
  .facts li > span:lang(ar) { font-size: 18px; }
  .taste__name:lang(ar) { font-size: 24px; line-height: 1.3; }
  .taste__also:lang(ar) { font-size: 19px; }
  .story h2:lang(ar) { font-size: clamp(36px, 3.3vw, 48px); line-height: 1.25; }
  .invite h2:lang(ar) { font-size: clamp(42px, 3.9vw, 56px); line-height: 1.22; }
  .countries a:lang(ar) { font-size: 26px; }
  .ways a:lang(ar) { font-size: 19px; }
  .cover .tagline:lang(ar) { font-size: 38px; }
  .fhead h1:lang(ar) { font-size: 74px; line-height: 1.15; }
  .fhead__lead:lang(ar) { font-size: 22px; }
  .kind--tall h2:lang(ar), .kind--wide h2:lang(ar) { font-size: 54px; line-height: 1.2; }
  .kind--tall p:lang(ar) { font-size: 20px; }
  .kinds__row--two h2:lang(ar) { font-size: 38px; }
  .kinds__row--two p:lang(ar), .kind--wide p:lang(ar) { font-size: 19px; }
  .kinds__row--three h2:lang(ar) { font-size: 28px; }
  .menuband h2:lang(ar) { font-size: 46px; line-height: 1.2; }
  .menuband__line:lang(ar) { font-size: 19px; }
  .lead h1:lang(ar) { font-size: clamp(44px, 4.2vw, 64px); line-height: 1.22; }
  .lead__text p:lang(ar) { font-size: 19px; }
  /* "بربر الحمرا" measures about 5.6 times its type size: one line at every width, 76 px at 1440 */
  .shop h1:lang(ar) { font-size: min(76px, calc((var(--lw) - var(--edge) - 40px) / 5.9)); line-height: 1.2; }
  .fopen h1:lang(ar) { font-size: clamp(48px, 4.2vw, 64px); }
  .info__title:lang(ar) { font-size: 22px; }
  .info__landmark:lang(ar), .hours__line:lang(ar) { font-size: 22px; }
  .info__line:lang(ar) { font-size: 18px; }
  .offers li:lang(ar) { font-size: 19px; }
  .shopfood h2:lang(ar) { font-size: clamp(40px, 3.4vw, 48px); line-height: 1.22; }
  .shopfood__body > p:not(.eyebrow):lang(ar) { font-size: 19px; }
  .jump a:lang(ar) { font-size: 19px; }
  .reason h3:lang(ar) { font-size: 32px; }
  .reason p:lang(ar), .format p:lang(ar) { font-size: 19px; }
  .chap-head h2:lang(ar), .pics h2:lang(ar), .partner h2:lang(ar), .enquiry h2:lang(ar) { font-size: clamp(40px, 3.4vw, 48px); line-height: 1.22; }
  .format h3:lang(ar) { font-size: 30px; }
  .market__name:lang(ar) { font-size: 34px; }
  .step h3:lang(ar) { font-size: 28px; }
  .after li:lang(ar) { font-size: 18px; }
}

/* =====================================================================================================================
   Fourth round, revision after the two checks (12 October 2026). The rules check and the Arabic editor's reading are in
   _check-rules-ar.txt and _check-editor-ar.txt; what was done about each finding is in NOTES.md, "The revision".
   ===================================================================================================================== */

/* White on the brand red (#ED1C23) is 4.38:1, allowed from 19 px bold: every red button's Arabic label is 19 px, the
   header's small one too. The shop's two red buttons on the smallest phones stand on the darker red (5.53:1), at 16 px. */
.btn--red:lang(ar), .btn--red.btn--sm:lang(ar) { font-size: 19px; }
@media (max-width: 359px) { .acts .btn--red:lang(ar) { font-size: 16px; } }

/* No word alone on the last line of a paragraph or a list line, where the browser can (no weight in the cascade, so a
   rule that balances a line keeps its say). The landmark of the shop is a short heading: its two lines are balanced. */
:where(html[lang="ar"]) :where(p, li, dd, figcaption) { text-wrap: pretty; }
.info__landmark:lang(ar) { text-wrap: balance; }

/* Two titles are broken by hand at the comma, as the home headline is.
   "Our food", the title of the menu band: two lines from tablet width up; on a phone, beside the drawn sheet, the first
   line measures 8.8 times its type size and the column is 196 px at 390 (166 at 360), so two lines would need 18 px type.
   It is three lines of sense instead, at the old size: the words "and every price," never part. The last line measures
   6.5 times its size, so the smallest phones (a column of 140 px) set it at 21 px. */
.menuband h2:lang(ar) > span, #markets-title:lang(ar) > span { display: block; }
.menuband h2:lang(ar) > span > span { white-space: nowrap; }
@media (max-width: 359px) { .menuband h2:lang(ar) { font-size: 21px; } }
/* The franchise page, the title of the markets: its second line with the sample mark measures 9.5 times the type size
   plus 58 px, so the size is fitted to the column: the page less its gutters on a phone; five twelfths of the page on a
   desktop (16 px are left for a scrollbar). From 744 to 1079 px the column is 273 px and the title keeps three lines. */
@media (max-width: 743px) { #markets-title:lang(ar) { font-size: min(30px, calc((100vw - 2 * var(--gutter) - 62px) / 9.8)); } }
@media (min-width: 1080px) { #markets-title:lang(ar) { font-size: min(46px, calc(((min(1280px, 100vw - 64px) - 72px) * 5 / 12 - 66px) / 9.7)); } }

/* "Why BARBAR" on a desktop: "من الفرن إلى المشاوي" measures 10.8 times its type size and its column is 253 px at 1100,
   305 at 1280 and 324 from 1345, so at the old 32 px it alone took two lines. The four titles are fitted to hold one. */
@media (min-width: 1080px) { .reason h3:lang(ar) { font-size: clamp(22px, calc(2.627vw - 6.3px), 28px); } }

/* "Our food", the date beside "القائمة الكاملة": at 17 px the two filled the line of a 360 px phone to the last pixel */
.menubox__date:lang(ar) { font-size: 16px; }

/* the e-mail and the phone fields are lang="en" (what is typed there is Latin); they keep the size of the other fields */
html[lang="ar"] .input[lang="en"] { font-size: 17px; }

/* the shawarma on a desktop: the English cut, as NOTES.md says. The badge on the seam stands on red at the photograph's
   lower right; the open end points at the words. (From 744 to 1079 px the 16:9 band keeps its own cut, above.) */
@media (min-width: 1080px) {
  html[lang="ar"] main[data-opening="shawarma"] .open__photo { --h: 176.5%; --t: -67%; --x: 40%; --y: 100%; }
}

/* ---------- after looking at the pictures of the revision ---------- */
/* the first line of the home page's invitation is two sentences; each stays whole, so a narrow card breaks between them */
.invite__text p:lang(ar) > span { display: inline-block; }
/* a question and the two lines after sending are short: their lines are balanced, so no word or pair is left alone */
.qa dt:lang(ar), .enq__sent p:lang(ar) { text-wrap: balance; }
/* The markets list below the desktop: the state stood beside the two short names and under the two long ones, so the
   column read unevenly. Every state now stands under its name. From 744 to 1079 px the names are 28 px: at 32 px
   "المملكة العربية السعودية" was wider than its column of 383 px and broke in two. */
@media (max-width: 1079px) { .market li:lang(ar) { flex-direction: column; align-items: flex-start; gap: 8px; } }
@media (min-width: 744px) and (max-width: 1079px) { .market__name:lang(ar) { font-size: 28px; } }
/* the shawarma on the smallest phones: at -76% the bread came within 11 px of the badge's disc at 320 px; -80% leaves
   about twice that (measured in the picture m4-home-320.png) */
@media (max-width: 359px) { html[lang="ar"] main[data-opening="shawarma"] .open__photo { --t: -80%; } }

/* =====================================================================================================================
   Fifth round, 12 October 2026: the pages the concept does not have (the story first; the others add their parts below).
   Built from the parts above: the top of the shop and franchise pages (.lead), the title with its red bar (.chap-head),
   the pictures with a caption tab (.pics__grid, .tab-cap), the rows with an arrow (.countries). Only what none of them
   does is new. Logical properties only; the tokens at the top; the Arabic sizes and line heights stand beside each rule.
   ===================================================================================================================== */

/* ---------- our story ---------- */
/* The opening: HER-02, the founder's print, cut at the neighbour's yellow sign (x 720 of 866) and from the sign (y 300) down
   to the road under his feet (y 960), as a frame of the same shape (720 x 660) at every width where it stands beside or
   above the words: --h is 1.8056 times the frame's width over its height, --t moves y 300 to the frame's top.
   On a tablet the frame is a wider band that ends at his waist (y 780). He stands at the lower left of his print, so the
   caption tab goes to the other corner. */
.sopen .lead__photo { --ar: 720 / 660; --h: 197%; --t: -45.5%; --x: 0%; --y: 0%; }
.sopen .tab-cap { inset-inline: auto 0; padding-inline: 14px var(--gutter); }
.sopen .lead__body { padding-block: 14px 26px; }
.sopen h1 { text-wrap: balance; }
.sopen .lead__text p { margin-block-start: 12px; font-size: 21px; line-height: 1.3; text-wrap: pretty; }

/* chapters: the red bar and the title at the start, the story at a reading width under it (beside it from tablet width) */
.chapter .chap-head::before, .sign::before { content: ""; display: block; width: 44px; height: 3px; background: var(--red); }
.chapter .chap-head h2 { margin-block-start: 14px; }
.chapter__text { margin-block-start: 18px; }
.chapter__text p { max-width: 32em; font-size: 18px; line-height: 1.62; }
.chapter__text p + p { margin-block-start: 16px; }
/* the owner's name under the last chapter */
.chapter__text .sign { margin-block-start: 28px; font: 700 26px/1.1 var(--head); letter-spacing: .01em; }
.sign::before { margin-block-end: 14px; }

/* one sentence of the story set large on the paper grey, where the page needs a breath */
.pull { padding-block: 48px; background: var(--paper); border-block: 1px solid var(--line); }
.pull p { max-width: 17em; font: 700 31px/1.1 var(--head); letter-spacing: -.005em; text-wrap: balance; }
.pull p::before { content: ""; display: block; width: 44px; height: 3px; margin-block-end: 18px; background: var(--red); }
/* the sentence is broken by its sense (the spans are in the content, as the home headline's are): no phrase is split between lines */
.pull p span { display: inline-block; }

/* pictures between the chapters. Phone: one under the other, edge to edge (the grid is the franchise page's "then and now"). */
.band .pics__grid { margin-block-start: 0; }
/* HER-06 (upright): the face, the clock and the edge of the bread; the caption tab covers the bread */
.pics__item--board .photo { aspect-ratio: 390 / 480; }
.pics__item--board .photo img { object-position: 50% 14%; }
/* HER-09: one wide picture, its caption under it (a tab would lie on the sandbags at the foot of the pillar) */
.band--solo .photo { aspect-ratio: 1300 / 934; }
.band--solo .photo img { object-position: 50% 70%; }
.band--solo .cap { padding-block-start: 10px; }
/* two pictures of the same shape in each pair of halves: the pair at the counter 4:3, today's pair 3:2.
   HER-04 is cut 2% on every side (the print's white border). HER-07 is cut to the young man, the counter and the menu board
   (x 345 to 1135, y 20 to 612 of 1400 x 927): the black blurred panel at the left and the half man at the right are outside it.
   DXB-02 is cut to BARBAR's own front (x 350 to 1055, y 135 to 605 of 1400 x 934): the neighbours' signs are outside it, and it
   ends above the car roofs and above the round badge on the glass door, which no frame can show whole (a car hides half of it
   in the print itself), so that no logo is cut in half and no number plate is in the frame */
.band--halves .pics__item .photo { aspect-ratio: var(--shape, 3 / 2); }
.pics__item--customers, .pics__item--behind { --shape: 4 / 3; }
.pics__item--customers .photo img { inset: auto 0; top: -2%; height: 104%; object-position: 50% 50%; }
.pics__item--behind .photo img { inset: auto 0; top: -3.4%; height: 156.5%; object-position: 56.6% 0; }
.pics__item--hamra .photo img { object-position: 50% 50%; }
.pics__item--dubai .photo img { inset: auto 0; top: -28.7%; height: 198.7%; object-position: 50.4% 0; }

/* the way on, as two large rows on the paper grey */
.closing { background: var(--paper); border-block-start: 1px solid var(--line); }
.closing .countries { margin-block-start: 22px; }
.closing .countries a { min-height: 64px; font-size: 26px; }

/* a part with its own ground (the quote, the closing) keeps clear of the pictures beside it */
.band + .pull, .band + .closing, .pull + .band { margin-block-start: 40px; }

/* Arabic: the story is set in Somar with more room between the lines; the quote and the name in Somar Black */
.sopen .lead__text p:lang(ar) { font-size: 21px; line-height: 1.6; text-wrap: balance; }
.chapter__text p:lang(ar) { font-size: 18px; line-height: 1.85; }
.chapter__text .sign:lang(ar) { font-size: 22px; line-height: 1.4; }
.pull p:lang(ar) { max-width: 16em; font-size: 26px; line-height: 1.5; }
.band--solo .cap:lang(ar) { font-size: 16px; }
.closing .countries a:lang(ar) { font-size: 24px; line-height: 1.3; }
/* the founder stands at the lower left of his print as shot: in Arabic the tab's default corner is the other one, so it
   goes back to it (as the franchise page does for the same print) */
[dir="rtl"] .sopen .tab-cap { inset-inline: 0 auto; padding-inline: var(--gutter) 14px; }

@media (max-width: 359px) {
  /* the caption names the founder: on a 320 px phone a tab would run to two lines and cover him from the waist down, so it
     stands under the picture, as a caption does on the home page */
  .sopen .tab-cap { position: static; max-width: none; padding: 8px var(--gutter) 0; }
  .sopen .lead__text p { font-size: 19px; }
  .sopen .lead__text p:lang(ar) { font-size: 19px; }
  .pull p { font-size: 27px; }
  .pull p:lang(ar) { font-size: 23px; }
  .chapter__text .sign { font-size: 24px; }
  .closing .countries a { font-size: 22px; }
  .closing .countries a:lang(ar) { font-size: 21px; }
}

@media (min-width: 744px) {
  /* a 4:3 band from just above the sign (y 300) to his thighs (y 840) of the same 720 px wide window */
  .sopen .lead__photo { --ar: 4 / 3; --h: 240.7%; --t: -55.6%; }
  .sopen .lead__body { padding-block: 28px 44px; }
  .sopen .lead__text p { margin-block-start: 14px; font-size: 26px; }
  .sopen .lead__text p:lang(ar) { font-size: 25px; }

  .chapter__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: start; }
  .chapter__text { margin-block-start: 17px; }
  .chapter__text p { font-size: 18px; }
  .chapter__text .sign { margin-block-start: 32px; font-size: 30px; }
  .chapter__text .sign:lang(ar) { font-size: 26px; }

  .pull { padding-block: 72px; }
  .pull p { max-width: 20em; font-size: 46px; line-height: 1.06; }
  .pull p:lang(ar) { max-width: 18em; font-size: 36px; line-height: 1.5; }

  /* two halves of the same height, as on the franchise page, and the one wide picture under its caption */
  .band--halves .pics__grid, .band--solo .pics__grid { grid-template-rows: auto; align-items: start; }
  .band--solo .pics__item { grid-column: 1 / -1; }
  .band--solo .pics__item .photo { aspect-ratio: 16 / 9; }
  .band--solo .cap { padding-inline: 0; padding-block-start: 12px; }
  .band--solo .cap:lang(ar) { font-size: 17px; }
  /* from here the franchise grid gives every picture the height of its row; the upright of the bakery pair keeps its cell's shape
     (its phone shape stood later in the sheet and left it narrower than its cell, so the pair ended short of the page's edge) */
  .pics__item--board .photo { aspect-ratio: auto; }

  .closing .countries { margin-block-start: 28px; }
  .closing .countries a { min-height: 80px; font-size: 36px; }
  .closing .countries a:lang(ar) { font-size: 30px; }
  .closing .countries .icon { width: 30px; height: 30px; }

  .band + .pull, .band + .closing, .pull + .band { margin-block-start: 72px; }
  .chapter + .chapter { padding-block-start: 0; }
}

@media (min-width: 1080px) {
  /* beside the words, the frame keeps its shape (720 x 660), so the founder is always in it whole */
  .sopen .lead__photo { --ar: 720 / 660; --h: 197%; --t: -45.5%; aspect-ratio: var(--ar); height: auto; }
  .sopen .lead__body { padding-block: 40px; }
  .sopen .lead__text p { font-size: clamp(26px, 2.2vw, 32px); }
  .sopen .lead__text p:lang(ar) { font-size: clamp(24px, 2vw, 30px); }

  .chapter__in { column-gap: 72px; }
  /* a measure of about 60 characters a line (the home page's story runs as long); Arabic a little shorter in em */
  .chapter__text p { max-width: 30em; font-size: 19px; line-height: 1.65; }
  .chapter__text p:lang(ar) { max-width: 28em; font-size: 19px; line-height: 1.9; }
  .chapter__text .sign { font-size: 34px; }
  .chapter__text .sign:lang(ar) { font-size: 28px; }

  .pull { padding-block: 104px; }
  .pull p { max-width: 19em; font-size: clamp(52px, 4.6vw, 70px); line-height: 1; }
  .pull p::before { width: 56px; margin-block-end: 26px; }
  .pull p:lang(ar) { max-width: 17em; font-size: clamp(40px, 3.6vw, 54px); line-height: 1.5; }

  .pics__item--board { grid-column: 8 / -1; }
  .pics__item--board .photo img { object-position: 50% 12%; }

  .closing__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: center; }
  .closing .countries { margin-block-start: 0; }
  .closing .countries a { min-height: 104px; font-size: clamp(40px, 3.4vw, 52px); }
  .closing .countries a:lang(ar) { font-size: clamp(34px, 3vw, 44px); }

  .band + .pull, .band + .closing, .pull + .band { margin-block-start: 96px; }
}

/* ---------- the shops: "Find a shop" and the four countries' lists ---------- */
/* Find a shop opens as the shop page does (.lead). BEY-04, the Spears front at night, is cut to the words of its sign and the open
   counters: from x 500 to x 1362 of its 1400 px, so that the old neon chef at the left end (x 130 to 222) and the half of a round sign
   at the right edge (from x 1367) are outside the frame, and from y 115 (above the sign). --h is 935 times the frame's width over
   its height over 862, --t moves y 115 to the frame's top, --x puts x 500 at the frame's left edge. */
.sfind .lead__photo { --ar: 390 / 250; --h: 169.2%; --t: -20.8%; --x: 92.9%; }
.sfind .finder { margin-block-start: 20px; }
@media (max-width: 743px) { .sfind .finder .btn { padding-inline: 12px; } }

/* the row of countries is the franchise page's row of ways; here it is the way to every part, so a phone shows it too, two by two */
.jump--shops { display: block; }
.jump--shops .jump__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }

/* one part per country: its ruled title and the way to its page at the start, its shops as the home page's rows beside them from
   tablet width; a row holds the shop's name and, under it, its city with the mark */
.country--paper { background: var(--paper); }
.country__head .more-link { margin-block-start: 10px; }
.country__head .more-link span { text-wrap: pretty; }
.country .countries { margin-block-start: 22px; }
.country .countries a { padding-block: 10px; }
.shoprow, .shoprow__name, .shoprow__city { display: block; }
.shoprow__city { margin-block-start: 3px; color: var(--muted); font: 400 16px/1.3 var(--text); letter-spacing: 0; }
.shoprow__city .sample { margin-inline-start: 8px; }
/* a shop that has no page is not a link: the same row, with no arrow, ending in the grey state "Page to come" */
.country .countries .shopwait { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding-block: 10px; border-block-end: 1px solid var(--line); font: 700 22px/1.1 var(--head); letter-spacing: .01em; }
.shopwait .shoprow { min-width: 0; }
.shopwait .state { flex: none; }

/* a country's page opens with words and goes straight to the shops: on a phone they are the first useful thing, and the kit has no
   picture of a shop in two of the four countries. The shops are larger cards on the paper grey, one under the other. */
.shead { padding-block: 28px 24px; }
.shead h1 { margin-block-start: 6px; font: 700 46px/1 var(--head); letter-spacing: -.005em; text-wrap: balance; }
/* a country's name is not split between lines: the heading's value breaks it by its sense (spans, as the home headline's are) */
.shead h1 span { display: inline-block; }
.shopcards { padding-block: 24px 40px; background: var(--paper); border-block: 1px solid var(--line); }
.shopcards__list { display: grid; gap: 12px; }
.shopcard { padding: 22px 18px 20px; background: #fff; }
.shopcard h2 { margin-block-start: 6px; font: 700 34px/1.04 var(--head); letter-spacing: -.005em; }
.shopcard .eyebrow .sample { margin-inline-start: 8px; }
.shopcard__line { margin-block-start: 14px; color: var(--muted); text-wrap: balance; }
.shopcard .btn { width: 100%; margin-block-start: 16px; }
.shopcard__soon { margin-block-start: 16px; }

/* Arabic */
.shead h1:lang(ar) { font-size: 40px; line-height: 1.25; }
.shopcard h2:lang(ar) { font-size: 30px; line-height: 1.3; }
.shoprow__city:lang(ar) { font-size: 17px; line-height: 1.5; }
.country .countries .shopwait:lang(ar) { font-size: 20px; line-height: 1.3; }

@media (max-width: 359px) {
  /* the field has the width of the phone and the button goes under it, so the placeholder is not cut; the Arabic names of the
     countries are long, so the row of them is one column (as the Legal page's row is) */
  .sfind .finder { grid-template-columns: minmax(0, 1fr); }
  .sfind .finder .btn { width: 100%; }
  .jump--shops:lang(ar) .jump__list { grid-template-columns: minmax(0, 1fr); }
  .country .countries .shopwait { font-size: 21px; }
  .country .countries .shopwait:lang(ar) { font-size: 19px; }
  .shead h1 { font-size: 40px; }
  .shead h1:lang(ar) { font-size: 34px; }
  .shopcard h2 { font-size: 30px; }
  .shopcard h2:lang(ar) { font-size: 27px; }
}

@media (min-width: 744px) {
  .sfind .lead__photo { --ar: 16 / 9; --h: 192.9%; --t: -23.7%; }
  .sfind .finder { margin-block-start: 28px; max-width: 520px; }
  .jump--shops .jump__list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }

  .country__head .more-link { margin-block-start: 14px; }
  .country .countries { margin-block-start: 0; }
  .country .countries .shopwait { min-height: 64px; font-size: 28px; }

  .shead { padding-block: 40px 32px; }
  .shead h1 { font-size: 64px; }
  .shead h1:lang(ar) { font-size: 56px; }
  .shopcards { padding-block: 32px 56px; }
  .shopcards__list { gap: 16px; }
  .shopcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; align-items: center; padding: 30px 32px; }
  .shopcard h2 { font-size: 40px; }
  .shopcard h2:lang(ar) { font-size: 34px; }
  .shopcard__body { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
  .shopcard .btn { width: auto; min-width: 240px; }
}

@media (min-width: 1080px) {
  /* the frame is 0.7 times its width (so the window on the picture is always 862 x 603) and never taller than the pages' photographs;
     --pw is its width, as on the shop page */
  .sfind .lead__photo { --pw: calc(100vw - var(--lw)); height: min(var(--fh), calc(var(--pw) * .7)); }
  .sfind .lead__photo img { top: calc(var(--pw) * -0.1334); height: calc(var(--pw) * 1.0847); object-position: 92.9% 0; }
  .sfind .finder { margin-block-start: 32px; }
  .country .countries .shopwait { min-height: 60px; }

  .shead { padding-block: 64px 48px; }
  .shead h1 { font-size: clamp(50px, 4.9vw, 74px); line-height: .98; }
  .shead h1:lang(ar) { font-size: clamp(44px, 4.2vw, 64px); line-height: 1.22; }
  .shopcards { padding-block: 40px 80px; }
  .shopcard { column-gap: 48px; padding: 40px 48px; }
  .shopcard h2 { font-size: clamp(40px, 3.6vw, 52px); }
  .shopcard h2:lang(ar) { font-size: clamp(34px, 3vw, 44px); }
  .shopcard__body { padding-inline-start: 48px; }
  .shopcard__line { font-size: 19px; }
}
/* "100vw" counts a visible scrollbar: where the browser can, the photograph's width is measured from the page itself */
@supports (width: 1cqw) {
  @media (min-width: 1080px) { .sfind .lead__photo { --pw: calc(100cqw - var(--lw)); } }
}

/* ---------- contact and legal ---------- */
/* Contact opens as a country's page does (.shead). Under it three doors, drawn as the story's closing rows are (a large title and the red
   arrow): the closing rows carry one text, a door carries two (its title and a muted sentence), and one door has no address to lead to
   yet, so it is the same row without the arrow, with what will stand there under its sentence. */
.contact__doors { margin-block-start: 22px; }
.doors { margin-block-start: 0; }
.doors .door { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; padding-block: 16px; border-block-end: 1px solid var(--line); font: 700 26px/1.1 var(--head); letter-spacing: .01em; }
.door__name, .door__line { display: block; }
.door__line { margin-block-start: 6px; color: var(--muted); font: 400 17px/1.4 var(--text); letter-spacing: 0; text-wrap: balance; }
.door__line + .door__line { margin-block-start: 4px; }
.door__line .sample { margin-inline-start: 8px; }
.contact__place { margin-block-start: 22px; color: var(--muted); }
/* the page has no photograph (the kit has none of today's sign by day): the doors carry it, and it ends on the quiet line and the link to
   Legal (the one way into Legal that does not come from the franchise page), with room before the footer */
.contact { padding-block-end: 44px; }
.contact__legal { margin-block-start: 6px; }

/* Legal opens the same way, then the franchise page's row of ways with the three parts (shown on a phone too, one under the other: it is
   the way into the page), then the parts: the story's arrangement of a title and its lines (.chapter__in), on white and paper grey in turn */
.jump--legal { display: block; }
.jump--legal .jump__list { grid-template-columns: minmax(0, 1fr); }
.part--paper { background: var(--paper); }
/* the lines of a part are rows between hairlines, as the shop rows and the doors are, and the last row says who writes the text */
.told { margin-block-start: 22px; border-block-start: 1px solid var(--line); }
.told li { padding-block: 14px; border-block-end: 1px solid var(--line); font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.told .told__note { color: var(--muted); }

/* Arabic */
.doors .door:lang(ar) { font-size: 24px; line-height: 1.3; }
.door__line:lang(ar) { font-size: 18px; line-height: 1.6; }
.told li:lang(ar) { line-height: 1.8; }

@media (max-width: 359px) {
  .doors .door { font-size: 22px; }
  .doors .door:lang(ar) { font-size: 21px; }
  .door__line { font-size: 16px; }
}

@media (min-width: 744px) {
  .contact__doors { margin-block-start: 28px; }
  .doors .door { min-height: 112px; padding-block: 20px; font-size: 34px; }
  .door__line { margin-block-start: 8px; font-size: 18px; }
  .doors .door:lang(ar) { font-size: 30px; }
  .door__line:lang(ar) { font-size: 19px; }
  .doors .icon { width: 30px; height: 30px; }
  .contact__place { margin-block-start: 28px; }
  .told { margin-block-start: 0; }
  .told li { padding-block: 16px; }
  .contact { padding-block-end: 64px; }
  .jump--legal .jump__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
}

@media (min-width: 1080px) {
  .contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  .contact__doors { margin-block-start: 0; }
  /* the title is set as large as the shop page's, on two lines ("Talk to" over "BARBAR."), so the column beside the doors is not empty */
  .contact h1 { font-size: clamp(56px, 6vw, 88px); line-height: .95; }
  .contact h1:lang(ar) { font-size: clamp(48px, 4.8vw, 72px); line-height: 1.2; }
  .doors .door { min-height: 128px; font-size: clamp(36px, 3vw, 44px); }
  .door__line { font-size: 19px; }
  .doors .door:lang(ar) { font-size: clamp(30px, 2.6vw, 38px); }
  .door__line:lang(ar) { font-size: 20px; }
  .doors .icon { width: 34px; height: 34px; }
  .told li { padding-block: 18px; font-size: 19px; }
  .contact { padding-block-end: 88px; }
  .jump--legal .jump__list { column-gap: 32px; }
}

/* =====================================================================================================================
   Round 6, 12 October 2026: the menu at the printed addresses (/ae/menu/, /sa/menu/, /lb/menu/, /eg/menu/).
   One page for both languages, because a person who scans a printed code has chosen none: the drawn sheet, then an English
   block and an Arabic block, each with its title, its PDF button and its way to the food. On a phone the two titles stand
   one under the other beside the sheet and the two buttons under both, so that the country, both titles and both buttons are
   in the first screen; from 744 px the blocks stand side by side, the Arabic one right to left in its own column.
   ===================================================================================================================== */
.mn { padding-block: 24px 28px; }
.mn__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; }
/* the sheet of "Our food" (the one at the foot of that page), shown here at every width */
.mn .sheet { display: flex; grid-column: 1; grid-row: 1 / span 2; width: 144px; height: 222px; padding: 16px 8px 8px; }
.mn .sheet__word { margin-block-start: 15px; }
.mn .sheet__place { margin-block-start: 7px; }
/* a language's block has no box of its own: its parts stand in the grid, the English ones before the Arabic ones */
.mn__ver { display: contents; }
.mn__words { grid-column: 2; }
.mn__ver--en .mn__words { grid-row: 1; }
.mn__ver--ar .mn__words { grid-row: 2; margin-block-start: 16px; padding-block-start: 14px; border-block-start: 1px solid var(--line); }
.mn__words h1, .mn__words h2 { margin-block-start: 6px; font: 700 46px/1 var(--head); letter-spacing: -.005em; }
.mn__date { margin-block-start: 8px; color: var(--muted); }
.mn__pdf { grid-column: 1 / -1; margin-block-start: 18px; }
.mn__ver--en .mn__pdf { grid-row: 3; }
.mn__ver--ar .mn__pdf { grid-row: 4; margin-block-start: 10px; }
/* the two ways to the food share one row, the English one at the start of the line and the Arabic one at the end */
.mn__food { grid-column: 1 / -1; grid-row: 5; margin-block-start: 8px; }
.mn__ver--en .mn__food { justify-self: start; }
.mn__ver--ar .mn__food { justify-self: end; }

/* the menus of the other countries: the two titles, then each country as a row with its name in both languages */
.mn__more { padding-block: 32px 40px; background: var(--paper); border-block-start: 1px solid var(--line); }
.mn__heads { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.mn__more .countries { margin-block-start: 22px; }
.mn__names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }
.mn__names > span + span { color: var(--muted); }

/* Arabic. The page is English, so every Arabic word in it is set in Somar regular by the rule "the one Arabic word on
   the English pages". Here the Arabic is a block of text, so it takes the Arabic typefaces of the Arabic pages again: Somar Black
   for titles, buttons, links and marks, Somar for the rest. (That rule is !important; these are more specific.) */
html:not([lang="ar"]) :is(.mn, .mn__more) :lang(ar) { --head: "Somar Black", "Roboto Condensed", "Arial Narrow", Arial, sans-serif; --text: "Somar", "Roboto", Arial, sans-serif; font-family: var(--text) !important; font-weight: 400 !important; }
html:not([lang="ar"]) :is(.mn, .mn__more) :is(h1, h2, .eyebrow, .btn, .more-link, .rule-head, .sample, .mn__names > span):lang(ar) { font-family: var(--head) !important; font-weight: 700 !important; }
.mn__words h2:lang(ar) { font-size: 40px; line-height: 1.3; }
.mn__date:lang(ar) { margin-block-start: 0; font-size: 17px; line-height: 1.7; }
.mn__names > span:lang(ar) { font-size: 20px; line-height: 1.3; }

@media (max-width: 359px) {
  .mn__words h1 { font-size: 40px; }
  .mn__words h2:lang(ar) { font-size: 34px; }
  .mn__ver--ar .mn__food { grid-row: 6; justify-self: start; }
  .mn__names > span:lang(ar) { font-size: 18px; }
}

/* from 744 px: the sheet, the English block and the Arabic block in three columns; the buttons carry no icon until there is room */
@media (min-width: 744px) {
  .mn { padding-block: 44px 48px; }
  .mn__grid { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
  .mn .sheet { grid-row: 1 / span 3; align-self: start; }
  .mn__ver--en .mn__words { grid-column: 2; }
  .mn__ver--ar .mn__words { grid-column: 3; grid-row: 1; margin: 0; padding: 0; border: 0; }
  .mn__ver--en .mn__pdf { grid-column: 2; grid-row: 2; margin-block-start: 22px; }
  .mn__ver--ar .mn__pdf { grid-column: 3; grid-row: 2; margin-block-start: 22px; }
  .mn__pdf .icon { display: none; }
  .mn__ver--en .mn__food { grid-column: 2; grid-row: 3; margin-block-start: 14px; }
  .mn__ver--ar .mn__food { grid-column: 3; grid-row: 3; margin-block-start: 14px; justify-self: end; }
  .mn__words h1 { font-size: 56px; }
  .mn__words h2:lang(ar) { font-size: 48px; }
  .mn__more { padding-block: 48px 56px; }
  .mn__more .countries { margin-block-start: 28px; }
  .mn__more .countries a { min-height: 68px; font-size: 28px; }
  .mn__names > span:lang(ar) { font-size: 24px; }
}

@media (min-width: 1080px) {
  .mn { padding-block: 56px 64px; }
  .mn__grid { column-gap: 56px; }
  .mn__words h1 { font-size: 64px; }
  .mn__words h2:lang(ar) { font-size: 56px; }
  .mn__date { font-size: 18px; }
  .mn__date:lang(ar) { font-size: 18px; }
  .mn__pdf .icon { display: block; }
  .mn__more { padding-block: 56px 72px; }
}

/* =====================================================================================================================
   Round 6, 12 October 2026, parts 2 and 3: what the owner said on seeing the built site on a laptop (1280 x 720).
   "i dont like the logo in the middle matbe put it up next to BARBAR word": the badge leaves the home page's opening and
   stands in the header beside the name, on every page. "some photos are not aligned right sometimes they are very big":
   from 1080 px no picture takes more than 72 % of the screen's height (the opening of a page may, when the whole opening
   is in the first screen), every cut shows its subject whole and every edge sits on the grid.
   Phones (743 px and narrower) change in the header and in the home page's opening only.
   ===================================================================================================================== */

/* ---------- the badge beside the name ---------- */
/* One link holds the badge and the name. --in is the badge's size inside the bar: as large as the bar allows with its clear
   space (14 % of its width) above and below: 40 px in the phone's 56 px bar, 46 in 64, 52 in 72. */
:root { --in: 40px; }
.top { --gap: 8px; }
.brand { gap: var(--gap); }
.brand img { flex: none; width: var(--in); height: var(--in); }
@media (min-width: 744px) { :root { --in: 46px; } .top { --gap: 10px; } }
@media (min-width: 1080px) { :root { --in: 52px; } .top { --gap: 12px; } }
/* A phone's bar now holds the badge, the name, "Our food", ORDER and the control. "Shops" stands first in the panel the control
   opens until there is room for it in the bar, at 440 px (it stood there under 360 px before), and under 340 px "Our food"
   stands there with it: nothing to tap is made smaller than 44 px and no word smaller than 16 px to make room. */
.more__panel .only-small { display: none; }
@media (max-width: 439px) {
  .top__nav .hide-narrow { display: none; }
  .more__panel .only-narrow { display: flex; }
}
@media (max-width: 339px) {
  .top__nav .hide-small { display: none; }
  .more__panel .only-small { display: flex; }
}

/* The other way (site.json: "header_badge": "hanging"): the badge at 100 px, the smallest size the brand's rule book allows, hangs
   from the bar at the start side on a white disc that gives it its clear space (14 px) over whatever lies under it, and the name
   stands beside it. --hang is 1 at the top of a page and runs to 0 over the first 96 px of scrolling: the badge draws back into the
   bar, so that it covers nothing while the page is read. A browser that cannot tie a value to the scroll keeps the badge inside
   the bar, and so does a screen under 340 px, which has no room for 100 px beside the name, ORDER and the control. */
@property --hang { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes badge-in { from { --hang: 1; } to { --hang: 0; } }
@supports (animation-timeline: scroll()) {
  @media (min-width: 340px) {
    /* --over: how far the disc reaches under the bar at the top of a page (its top is where the badge's is inside the bar);
       --size: the badge now; --from: the badge's start edge */
    :root { --over: calc(114px - (var(--bar) + var(--in)) / 2); }
    .top--hanging { --size: calc(var(--in) + (100px - var(--in)) * var(--hang)); --from: max(var(--gutter), 14px);
      animation: badge-in linear both; animation-timeline: scroll(root block); animation-range: 0px 96px; }
    .top--hanging .brand { padding-inline-start: calc(var(--size) + var(--gap) + (16px - var(--gap)) * var(--hang)); }
    .top--hanging .brand img, .top--hanging .brand::before { position: absolute; inset-block-start: calc((var(--bar) - var(--in)) / 2); inset-inline-start: var(--from); }
    .top--hanging .brand img { z-index: 2; width: var(--size); height: var(--size); }
    .top--hanging .brand::before { content: ""; z-index: 1; width: calc(var(--size) * 1.28); height: calc(var(--size) * 1.28); margin: calc(var(--size) * -0.14); border-radius: 50%; background: #fff; }
    /* the bar holds what there is room for beside 100 px: "Our food" from 460 px, "Shops" from 520 */
    .top--hanging .top__nav .hide-small, .top--hanging .top__nav .hide-narrow { display: none; }
    .top--hanging .more__panel .only-small, .top--hanging .more__panel .only-narrow { display: flex; }
    .top--hanging .more__panel { padding-block-start: calc(2px + var(--over) * var(--hang)); }
  }
  @media (min-width: 460px) {
    .top--hanging .top__nav .hide-small { display: flex; }
    .top--hanging .more__panel .only-small { display: none; }
  }
  @media (min-width: 520px) {
    .top--hanging .top__nav .hide-narrow { display: flex; }
    .top--hanging .more__panel .only-narrow { display: none; }
  }
  @media (min-width: 744px) {
    .top--hanging { --from: 0px; }
    .top--hanging .more__panel { padding-block-start: 4px; }
  }
  /* "Franchise" comes into the bar at 820 px; until then it stands in the small panel with country and language */
  @media (min-width: 744px) and (max-width: 819px) {
    .top--hanging .top__nav .late { display: none; }
    .top--hanging .more__panel .late { display: flex; }
  }
  /* The top of every page keeps clear of the badge. Under 1080 px a page that opens with a photograph starts under the disc and
     a page that opens with words a line lower; from 1080 px the words of an opening stand in the middle of their half with white
     above them, and only a page that opens with words alone needs the room. */
  @media (min-width: 340px) and (max-width: 1079px) {
    .top--hanging + main > :first-child { padding-block-start: var(--over); }
    .top--hanging + main > :is(.shead, .mn, .section):first-child { padding-block-start: calc(var(--over) + 16px); }
  }
  @media (min-width: 1080px) {
    .top--hanging + main > :is(.shead, .mn):first-child { padding-block-start: calc(var(--over) + 20px); }
  }
  @media (min-width: 1080px) and (max-width: 1139px) {
    .top--hanging .brand { margin-inline-end: 16px; }
    .top--hanging .top__nav a { padding-inline: 10px; }
  }
}

/* ---------- the home page's opening without the badge ---------- */
/* The shawarma (FOOD-01, 933 x 1400) is cut the same way in both languages now: nothing stands on the photograph that a cut
   must keep clear of. The window starts at y 545 of the picture, just under the garlic clove of the background, and holds the
   sandwich from its paper to the tip of its open end. Phone: the left 831 px of the picture (--x 0), so that the open end stands
   in the middle of the frame. Tablet: the band keeps the English cut. */
html[lang] main[data-opening="shawarma"] .open__photo { --h: 185%; --t: -72%; --x: 0%; }
@media (min-width: 744px) {
  html[lang] main[data-opening="shawarma"] .open__photo { --h: 100%; --t: 0%; --x: 50%; --y: 74%; }
}

/* ---------- from 1080 px: no picture too tall for a laptop's screen, every cut whole, every edge on the grid ---------- */
@media (min-width: 1080px) {
  /* Three heights, each tied to the screen's height with a floor and a ceiling:
     --fh    the photograph of a page's opening: with the bar above it, it leaves 108 px of the screen for the part that follows
             (it was so already; the floor was 520 px, too tall for a laptop whose browser shows under 600 px of the page);
     --tall  the tallest any other picture may stand: 70 % of the screen's height;
     --low   how tall a part's main picture stands when the words beside it are shorter. */
  :root { --fh: clamp(440px, calc(100vh - var(--bar) - 108px), 720px); --tall: clamp(400px, 70vh, 700px); --low: clamp(380px, 60vh, 620px); }

  /* the openings. Home: the photograph is as tall as every opening's, and the picture is drawn as wide as its frame (--pw),
     from y 545 down; where the frame is taller than the picture has left, it ends at the picture's foot */
  .open__photo { height: var(--fh); --pw: calc(100vw - var(--words)); }
  html[lang] main[data-opening="shawarma"] .open__photo { --h: calc(var(--pw) * 1.5005); --t: max(calc(var(--pw) * -0.5841), calc(100% - var(--pw) * 1.5005)); --x: 50%; --y: 0%; }

  /* "Our food": the table of plates (FOOD-26) holds every plate whole in a frame no squarer than 5:4, so the photograph is
     as tall as an opening's or four fifths of its own width, whichever is less (it stood 620 px tall on every screen) */
  .fhead { --fw: calc(var(--edge) + clamp(470px, 44vw, 640px)); }
  .fhead__photo { --pw: calc(100vw - var(--fw)); min-height: min(var(--fh), calc(var(--pw) * .8)); }
  .fhead__photo img { object-position: 42% 50%; }
  .fhead__body { padding-block: 24px; }

  /* "Our story": the founder's print keeps its window (720 x 660) and is as tall as an opening's photograph, so it is
     narrower than its half and the words take the rest (the frame kept its shape at the half's width and stood taller than the screen) */
  .sopen { grid-template-columns: minmax(0, 1fr) min(calc(var(--fh) * 720 / 660), 54vw); }

  /* a part's main picture beside its words (the bakery print of the home page, the shawarma of the shop pages): between
     --low and --tall, as tall as the words where they are taller, and centred against them where they are taller still.
     The home page's story takes the opening's two halves the other way round: its words are as wide as the opening's words,
     so the bakery print is as wide as the shawarma above it and keeps the print's own shape */
  .story { grid-template-columns: minmax(0, 1fr) var(--words); }
  .story__figure, .shopfood__photo { align-self: center; height: 100%; min-height: var(--low); max-height: var(--tall); }
  .story__photo { min-height: 0; }
  .story__body, .shopfood__body { padding-block: 40px; }
  .shopfood__photo img { object-position: 50% 74%; }

  /* A picture that has a shape (aspect-ratio) and would stand taller than --tall keeps its width and loses height: the width
     is said in so many words, because a height limit alone would make the picture narrower by its shape and take its edge off
     the grid. The upright pictures beside words (the spit of "Our food", the hand of "Why BARBAR"), the three formats, the wide
     grill, the story's pictures. */
  .kind--tall .kind__photo, .kind--wide .kind__photo, .why__photo, .format__photo, .band--solo .pics__item .photo, .band--halves .pics__item .photo { width: 100%; max-height: var(--tall); }
  /* the spit (FOOD-13): from the knife's tip to the bread in the hand */
  #shawarma img { object-position: 50% 30%; }
  /* the hand (UAE-02): from under the chin to the hand that holds the sandwich */
  .why__photo img { object-position: 50% 66%; }

  /* the grill of "Our food": the wide picture is no taller than --tall, and its white card is the second half of the page's
     two halves, so that its edge stands under the edge of the picture above it */
  #grill img { object-position: 50% 50%; }
  .kind--wide .kind__body { width: calc(50% - 12px); }

  /* the home page's three pictures of food: the two small ones are no taller than half of --tall with their names, so the
     large one beside them is no taller than --tall; the man'oushe board and the glasses stay whole in the wider frame */
  .taste__item .photo { width: 100%; max-height: calc((var(--tall) - 112px) / 2); }
  .taste__item--grill .photo, main[data-opening="grill"] .taste__item--shawarma .photo { max-height: none; }
  .taste__item--oven img { object-position: 60% 80%; }
  .taste__item--juices img { object-position: 50% 78%; }

  /* the Dubai front of the home page (DXB-01): the band is no taller than --tall and the picture is held by its foot, at the
     roofs of the cars (y 716 of 934, above every number plate), so that a lower band loses sky and never the shop; the card
     comes up over the car roofs only: the sign and the lit shop under it stay in view */
  .invite__photo { height: min(40vw, 576px, var(--tall)); }
  .invite__photo img { inset-block: auto max(-19.25vw, -277px); }
  .invite__card { margin-block-start: -32px; }

  /* two pictures side by side (the franchise page's "then" and "now", the story's bakery pair): one row, no taller than --tall */
  .pics__grid { --row: min(clamp(480px, 40vw, 600px), var(--tall)); }
  /* "now": the glasses at the counter (FOOD-55, upright) stood in five columns, in a frame too low for them: the glasses were
     cut above their feet. In four columns the frame holds the badge on the wall and the glasses down to the table. The street
     (DXB-04) takes the eight other columns, drawn a little larger so that its window still ends before the neighbour's sign:
     x 490 to about 1215, y 235 to 691 of 1400 x 934 */
  .pics__item--counter { grid-column: 1 / span 4; }
  .pics__item--counter .photo img { object-position: 50% 84%; }
  .pics__item--street { grid-column: 5 / -1; }
  .pics__item--street .photo img { top: -51.6%; height: 205%; object-position: calc(var(--row) * -1.0755) 0; }

  /* the story's one wide picture (HER-09, the sandbags) stood 16:9 across the page, 684 px tall on a laptop, its pillar cut.
     It stands whole now, in the print's own shape, in the seven columns the bakery print has in the pair above it, and its
     caption stands beside its foot in the other five */
  .band--solo .pics__item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .band--solo .pics__item .photo { grid-column: 1 / span 7; aspect-ratio: 1300 / 934; height: auto; }
  .band--solo .photo img { object-position: 50% 50%; }
  .band--solo .cap { grid-column: 8 / -1; padding: 0; }
  /* DXB-02 with its whole sign and the shop under it: x 350 to 1160, y 150 to 690 of 1400 x 934. The neighbours' signs stay
     outside at both ends, and the frame ends at the car roofs, above every number plate (the round badge on the glass door is
     half behind a car in the print itself) */
  .pics__item--dubai .photo img { top: -27.8%; height: 173%; object-position: 59.3% 0; }
}
@media (min-width: 1080px) and (max-width: 1279px) {
  :root { --fh: clamp(440px, calc(100vh - var(--bar) - 108px), 640px); }
}
/* "100vw" counts a visible scrollbar: where the browser can, the photograph's width is measured from the page itself */
@supports (width: 1cqw) {
  @media (min-width: 1080px) {
    .open__photo { --pw: calc(100cqw - var(--words)); }
    .fhead__photo { --pw: calc(100cqw - var(--fw)); }
  }
}

/* =====================================================================================================================
   Seventh round, 12 October 2026: a version of the site for each country (the owner: "region locked ... like how
   eatbarbar.com works now", and "visitor can change country if they choose too"). The country control: the version a
   visitor is in, with the list of the others. A <details>, so it opens without a script. In the bar from 1080 px; in
   the panel of the small-screen control below that, where its list opens in the flow of the panel.
   ===================================================================================================================== */
.region { position: relative; flex: none; }
.region > summary, .region--fixed { display: flex; align-items: center; gap: 7px; min-height: 44px; padding-inline: 10px; list-style: none; font: 400 16px/1.2 var(--text); color: var(--ink); }
.region > summary { cursor: pointer; }
.region > summary::-webkit-details-marker { display: none; }
.region > summary .icon, .region--fixed .icon { flex: none; }
.region[open] > summary { color: var(--red-strong); }
.region__panel { position: absolute; inset-block-start: 100%; inset-inline-end: 0; z-index: 40; min-inline-size: 250px; padding: 2px 16px 6px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 28px rgba(31, 28, 25, .16); }
.region__panel a { display: flex; align-items: center; min-height: 46px; border-block-end: 1px solid var(--line); font: 700 18px/1.2 var(--head); letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.region__panel a:last-child { border-block-end: 0; }
.region__panel a[aria-current="page"] { color: var(--red-strong); }
.region__panel a:hover { color: var(--red-strong); }
.region > summary:lang(ar), .region--fixed:lang(ar) { font-size: 16px; line-height: 1.5; }
.region__panel a:lang(ar) { font-size: 17px; line-height: 1.4; }
.more__place .region { flex: 1 1 auto; }
.more__place .region > summary { padding-inline: 0; color: var(--muted); }
.more__place .region__panel { position: static; min-inline-size: 0; padding: 0; border: 0; box-shadow: none; }

/* Eighth round, 12 October 2026: the framing of the photographs, as audited */

h1, h2, h3 { overflow-wrap: break-word; }

/* the shops on a country's home page: the same rows as the global list */
.where__list .countries .shopwait { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding-block: 0; border-block-end: 1px solid var(--line); font: 700 22px/1.1 var(--head); letter-spacing: .01em; }
.where__list .shoprow { min-width: 0; }
.where__list .shoprow__city { line-height: 1.3; }
.where__list .shopwait .state { flex: none; }
.where__list .countries .shopwait:lang(ar) { font-size: 20px; line-height: 1.3; }

@media (max-width: 359px) {
  .where__list .countries .shopwait { font-size: 21px; }
  .where__list .countries .shopwait:lang(ar) { font-size: 19px; }
}

/* ---------- phone ---------- */
@media (max-width: 743px) {
  .taste__item--oven .photo, .taste__item--juices .photo { aspect-ratio: 3 / 2; }
  .taste__item--oven img, .taste__item--juices img { width: 100%; height: 100%; inset-block: 0; inset-inline: 0; object-position: 50% 50%; }

  .story__photo { aspect-ratio: 3 / 2; }
  .story__photo img { inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 70% 40%; }

  .invite__photo { aspect-ratio: 3 / 2; }
  /* The source window is 73% in both dimensions. Its start is 21%, 24%:
     scale = 100 / 73; the origin is 21 / 27, 24 / 27.
     These are coordinates in the photograph, so they stay the same in Arabic. */
  .invite__photo img { inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 50% 50%; transform: scale(1.369863); transform-origin: 77.777778% 88.888889%; }

  .fhead__photo { width: 100%; max-height: 240px; }
  .fhead__body { padding-block-start: 28px; }

  .kind--tall .kind__photo { aspect-ratio: 1 / 1; }
  #shawarma img { object-position: 50% 75%; }

  .kind--wide .kind__photo { aspect-ratio: 3 / 2; }
  #grill .kind__photo img { object-position: 50% 50%; }

  /* the lead, after looking: 4:5 made each of the three 488 px tall on a phone; a square shows the same cut as the laptop's */
  .format__photo { aspect-ratio: 1 / 1; }
  .format__photo--counter img { object-position: 50% 35%; }
  .format__photo--restaurant img { object-position: 50% 45%; }
  .format__photo--kitchen img { object-position: 50% 70%; }

  .pics__item--counter .photo img { object-position: 50% 85%; }
}

/* DXB-04 stays in place. The enlarged fitted photograph shows a window centred
   near 61%, 50% of the source, the middle of the audited storefront window. */
@media (max-width: 743px), (min-width: 1080px) {
  .pics__item--street .photo { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .pics__item--street .photo img { inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 50% 50%; transform: scale(1.5); transform-origin: 60% 80%; } /* the lead, after looking: 84% let the neighbours' yellow signs in at the right edge; this shows 20% to 87% of the width and less sky */
}

/* ---------- from 744 px ---------- */
@media (min-width: 744px) {
  .where__list .countries .shopwait { min-height: 64px; font-size: 28px; }
  .where__list .countries .shopwait:lang(ar) { font-size: 25px; }
}

/* ---------- from 1080 px ---------- */
@media (min-width: 1080px) {
  /* Width limits preserve the requested shapes when the screen limits height.
     The opening photographs keep their outer edge against the end of the page. */
  .fhead__photo { width: min(100%, 90vh); width: min(100%, 90svh); height: auto; min-height: 0; max-height: 60vh; max-height: 60svh; aspect-ratio: 3 / 2; align-self: center; justify-self: end; }
  .fhead__photo img { inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 50% 50%; }
  .fhead__body { padding-block-start: 28px; }

  .kind--tall .kind__photo { width: min(100%, calc(var(--tall) * 4 / 5)); height: auto; aspect-ratio: 4 / 5; }
  #shawarma img { object-position: 50% 70%; }

  .kinds__row--three .kind__photo { aspect-ratio: 3 / 2; }
  .kinds__row--three .kind__photo img, #juices .kind__photo img { position: absolute; inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 50% 50%; }

  .fopen .lead__photo { width: min(100%, 120vh); width: min(100%, 120svh); height: auto; min-height: 0; max-height: 80vh; max-height: 80svh; aspect-ratio: 3 / 2; margin-inline-start: auto; }
  .fopen .lead__photo img { inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 50% 50%; }

  .format__photo { aspect-ratio: 1 / 1; }
  .format__photo--counter img { object-position: 50% 35%; }
  .format__photo--restaurant img { object-position: 50% 45%; }
  .format__photo--kitchen img { object-position: 50% 70%; }

  /* Keep the street's 3:2 box inside the existing row without changing the counter. */
  .pics__item--street { width: min(100%, calc(var(--row) * 3 / 2)); align-self: start; }

  .where__list .countries .shopwait { min-height: 60px; }
  .where__list .countries .shopwait:lang(ar) { font-size: 26px; }

  .shopcard { grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; min-height: 120px; padding: 20px 32px; }
  .shopcard__name { min-width: 0; }
  .shopcard__body { min-width: 0; justify-self: end; padding-inline-start: 0; border-inline-start: 0; text-align: end; }
  .shopcard__line, .shopcard__soon, .shopcard .btn { margin-block-start: 0; }

  .kind--wide .kind__body { width: min(100%, calc(50% - 12px)); max-width: 100%; margin-inline: auto 0; }

  .foot__in { gap: 16px 64px; padding-block: 48px 21px; }
  .foot__cols { gap: 11px 21px; padding-block: 0 19px; }
  .foot .concept-note { padding-block: 9px 15px; }
}

/* The disc's lowest point is --over below the bar. The heading's line box
   begins another 28 px below it, even when its column determines the opening's height. */
@supports (animation-timeline: scroll()) {
  @media (min-width: 1080px) {
    .top--hanging + main > .fhead:first-child .fhead__body { padding-block-start: calc(var(--over) + 28px); }
  }
}

/* ---------- short screens ---------- */
@media (min-width: 600px) and (height < 560px) {
  :root { --short-photo: 88vh; }
  @supports (height: 1svh) {
    :root { --short-photo: 88svh; }
  }

  .open__photo,
  .fhead__photo,
  .lead__photo,
  .sopen .lead__photo,
  .sfind .lead__photo,
  .fopen .lead__photo,
  .taste__item .photo,
  .taste__item--grill .photo,
  main[data-opening="grill"] .taste__item--shawarma .photo,
  .story__figure,
  .story__photo,
  .where__photo,
  .invite__photo,
  .kind__photo,
  .kind--tall .kind__photo,
  .kind--wide .kind__photo,
  .kinds__row--three .kind__photo,
  .shopfood__photo,
  .why__photo,
  .pics__item .photo,
  .pics__item--street .photo,
  .format__photo,
  .band--solo .pics__item .photo,
  .band--halves .pics__item .photo { min-height: 0; max-height: var(--short-photo); }

  .pics__grid { --row: min(clamp(400px, 46vw, 600px), var(--short-photo)); }

  @media (max-width: 743px) {
    .fhead__photo { max-height: min(240px, var(--short-photo)); }
  }

  @media (min-width: 1080px) {
    /* Intersect the earlier limits with the short screen; do not enlarge a box
       that was already below the limit. */
    :root {
      --fh: min(clamp(440px, calc(100vh - var(--bar) - 108px), 720px), var(--short-photo));
      --tall: min(clamp(400px, 70vh, 700px), var(--short-photo));
      --low: min(clamp(380px, 60vh, 620px), var(--short-photo));
    }
    .pics__grid { --row: min(clamp(480px, 40vw, 600px), var(--tall)); }
    .story__figure, .shopfood__photo { min-height: var(--low); }
    .story__figure, .shopfood__photo, .kind--tall .kind__photo, .kind--wide .kind__photo, .why__photo, .format__photo, .band--solo .pics__item .photo, .band--halves .pics__item .photo { max-height: var(--tall); }
    .taste__item .photo { max-height: calc((var(--tall) - 112px) / 2); }
    .taste__item--grill .photo, main[data-opening="grill"] .taste__item--shawarma .photo { max-height: var(--short-photo); }
    .fhead__photo { max-height: 60vh; max-height: 60svh; }
    .fopen .lead__photo { max-height: 80vh; max-height: 80svh; }
  }
}

/* Removing the animation would reset --hang to 0. Keep its initial hanging
   geometry while stopping the scroll animation. */
@media (prefers-reduced-motion: reduce) {
  .top--hanging { animation: none; --hang: 1; }
}

/* Eighth round, the pages' side (12 October 2026): the word "(required)" beside a label reads like "(optional)";
   the page's main part takes the focus from the skip link without a frame drawn around the whole page. */
.field__req { font-weight: 400; color: var(--muted); }
#main:focus-visible { outline: none; }

/* Ninth round, 12 October 2026: the framing of the seven photographs the owner said yes to */

.fhead__photo img { position: absolute; inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 50% 50%; }

#shawarma .kind__photo, #grill .kind__photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 2; }
#shawarma .kind__photo img, #grill .kind__photo img { position: absolute; inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 50% 50%; }

.taste__item--grill .photo img { object-position: 50% 50%; }

/* About 4% to 94% of the width and 1% to 90% of the height.
   The origin is a coordinate in the photograph and stays the same in Arabic. */
.where__photo img { inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 50% 0%; transform: scale(1.12); transform-origin: 40% 10%; }

/* DXB-01: the source window starts at 21%, 20% and takes 74% of the width.
   Its drawn height is the frame's width times 934 / (1400 * .74).
   --h and --t express that height and its upward shift in each frame's shape;
   --x is 21 / 26, a coordinate in the photograph that stays the same in Arabic. */
.sfind .lead__photo { --h: 140.640927%; --t: -28.128185%; --x: 80.769231%; --y: 0%; width: 100%; }
.sfind .lead__photo img { inset-block: var(--t) auto; inset-inline: 0; width: 100%; height: var(--h); object-position: var(--x) 0%; }

.shopfood__photo img { position: absolute; inset-block: 0; inset-inline: 0; width: 100%; height: 100%; object-position: 100% 50%; }

/* ---------- from 744 px ---------- */
@media (min-width: 744px) {
  #grill { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  #grill .kind__photo { grid-column: 2; grid-row: 1; }
  #grill .kind__body { grid-column: 1; grid-row: 1; position: static; width: auto; max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; }

  .taste__item--grill .photo img { object-position: 50% 45%; }

  .sfind .lead__photo { --h: 160.274560%; --t: -32.054912%; }

  .shopfood__photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* The tablet opening can keep the laptop's 3:2 shape in its existing single column. */
@media (min-width: 744px) and (max-width: 1079px) {
  .fhead__photo { width: min(100%, 90vh); width: min(100%, 90svh); height: auto; max-height: 60vh; max-height: 60svh; aspect-ratio: 3 / 2; margin-inline-start: auto; }
}

/* ---------- from 1080 px ---------- */
@media (min-width: 1080px) {
  #shawarma .kind__photo, #grill .kind__photo { width: min(100%, calc(var(--tall) * 3 / 2)); max-height: var(--tall); }

  #grill { gap: 88px; }
  #grill h2 { margin-block-start: 22px; }
  #grill p { margin-block-start: 18px; font-size: 21px; line-height: 1.5; }
  #grill p:lang(ar) { font-size: 20px; }

  /* Keep the opening's existing 10:7 shape when a screen limit narrows it.
     Its caption moves with the frame, and its outer edge stays at the page's end. */
  .sfind .lead__figure { width: min(100%, calc(var(--fh) * 10 / 7), calc(80vh * 10 / 7)); width: min(100%, calc(var(--fh) * 10 / 7), calc(80svh * 10 / 7)); justify-self: end; }
  .sfind .lead__photo { --h: 128.792057%; --t: -25.758411%; height: auto; min-height: 0; max-height: 80vh; max-height: 80svh; aspect-ratio: 10 / 7; }

  .shopfood__photo { width: min(100%, calc(var(--tall) * 4 / 3)); }
}

/* ---------- short screens ---------- */
/* Narrow a shaped frame before the eighth round's height limit can flatten it.
   The laptop's smaller --tall limits continue to hold. */
@media (min-width: 600px) and (height < 560px) {
  #shawarma .kind__photo, #grill .kind__photo { max-width: calc(var(--short-photo) * 3 / 2); }
  .where__photo { width: min(100%, calc(var(--short-photo) * 3 / 2)); height: auto; }

  @media (max-width: 743px) {
    .sfind .lead__figure { width: min(100%, calc(var(--short-photo) * 390 / 250)); margin-inline-start: auto; }
    .shopfood__photo { width: min(100%, calc(var(--short-photo) * 390 / 300)); height: auto; }
  }

  @media (min-width: 744px) and (max-width: 1079px) {
    .sfind .lead__figure { width: min(100%, calc(var(--short-photo) * 16 / 9)); margin-inline-start: auto; }
  }

  @media (min-width: 744px) {
    .shopfood__photo { max-width: calc(var(--short-photo) * 4 / 3); }
  }
}

/* Tenth round, 13 October 2026: the press page */

.press__in { max-inline-size: 72ch; }
.press__lead { max-inline-size: none; }
.press__draft-note, .press__review { padding-block: 16px; padding-inline: 16px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); overflow-wrap: anywhere; }
.press__draft-note { margin-block-start: 24px; }
.press__group { padding-block: 28px 12px; }
.press__group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding-block-start: 14px; border-block-start: 3px solid var(--red); }
.press__group-head h2 { min-inline-size: 0; font: 700 30px/1.15 var(--head); }
.press__count { color: var(--muted); font-size: 16px; }
.press__note { margin-block-start: 14px; color: var(--muted); }
.press__list { margin-block-start: 20px; }
.press__piece { min-inline-size: 0; padding-block: 24px; border-block-end: 1px solid var(--line); overflow-wrap: anywhere; }
.press__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--muted); font-size: 16px; }
.press__meta strong { font-weight: 700; }
.press__kind { margin-block-start: 6px; color: var(--muted); font-size: 16px; text-align: start; }
.press__headline { margin-block-start: 12px; font: 700 26px/1.2 var(--head); text-align: start; overflow-wrap: anywhere; }
.press__author { margin-block-start: 10px; color: var(--muted); }
.press__quote { margin-block: 18px; margin-inline: 0; padding-inline-start: 16px; border-inline-start: 3px solid var(--red); font: 400 18px/1.6 var(--text); text-align: start; }
.press__says { margin-block-start: 14px; }
.press__links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-block-start: 12px; }
.press__links li { min-inline-size: 0; max-inline-size: 100%; }
.press__link { display: inline-flex; align-items: center; gap: 10px; min-block-size: 44px; max-inline-size: 100%; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.press__link span { border-block-end: 1px solid var(--ink); }
.press__link:hover span { border-block-end-width: 2px; }
.press__review { margin-block-start: 12px; }
.press__unchecked { margin-inline-start: 0; }
.press__tone, .press__opened { margin-block-start: 8px; font-size: 16px; line-height: 1.5; }
.press__group:last-child { padding-block-end: 44px; }

/* A piece in Arabic uses the Arabic heading and text faces even on an English page.
   The site's rule for its English header's one Arabic word otherwise gives this heading regular text type. */
.press__headline:lang(ar), .press__quote:lang(ar) { --head: "Somar Black", "Roboto Condensed", "Arial Narrow", Arial, sans-serif; --text: "Somar", "Roboto", Arial, sans-serif; line-height: 1.6; }
html:not([lang="ar"]) .press__headline:lang(ar) { font-family: var(--head) !important; font-weight: 700 !important; }
html:not([lang="ar"]) .press__quote:lang(ar) { font-family: var(--text) !important; font-weight: 400 !important; }

@media (min-width: 744px) {
  .press__group { padding-block: 40px 16px; }
  .press__group-head h2 { font-size: 34px; }
  .press__piece { padding-block: 32px; }
  .press__headline { font-size: 28px; }
  .press__group:last-child { padding-block-end: 64px; }
}

/* Eleventh round, 13 October 2026: press cards and a piece's page */

.press-cards { padding-block: 24px 44px; }
.press-cards__heading, .press-audit__heading, .press-piece__source-heading { font: 700 30px/1.2 var(--head); }
.press-cards__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-block-start: 24px; }
.press-cards__grid > li { min-inline-size: 0; }
.press-card { display: flex; flex-direction: column; min-block-size: 44px; block-size: 100%; border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.press-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.press-card__photo { inline-size: 100%; block-size: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.press-card__body { display: flex; flex-direction: column; flex: 1; padding-block: 18px; padding-inline: 18px; }
.press-card__headline { margin-block: 12px 18px; font-size: 26px; }
.press-card__open { display: inline-flex; align-items: center; gap: 10px; min-block-size: 44px; margin-block-start: auto; font-weight: 700; white-space: nowrap; }
.press-card:hover .press-card__open { text-decoration: underline; text-underline-offset: 4px; }
.press-audit { padding-block: 24px 0; }
.press-audit__heading { padding-block-start: 18px; border-block-start: 1px solid var(--line); }

.press-piece__in { max-inline-size: 68ch; }
.press-piece { padding-block-end: 32px; overflow-wrap: anywhere; }
.press-piece__back { margin-block-end: 24px; }
.press-piece__headline { margin-block-start: 14px; }
.press-piece .press__second { margin-block-start: 16px; font: 700 22px/1.4 var(--head); text-align: start; }
.press-piece__figure { margin-block: 28px; }
.press-piece__photo { inline-size: 100%; block-size: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.press-piece__caption { margin-block-start: 10px; color: var(--muted); font-size: 16px; }
.press-piece__account { font-size: 18px; line-height: 1.65; }
.press-piece__account p + p { margin-block-start: 18px; }
.press-piece__account:lang(ar) { line-height: 1.9; }
.press-piece .press__quote { margin-block: 28px 16px; border-inline-start: 3px solid var(--red); }
.press-piece .press__translation { margin-block-start: 12px; color: var(--muted); }
.press-piece__source { padding-block: 28px 40px; border-block-start: 1px solid var(--line); background: var(--paper); overflow-wrap: anywhere; }
.press-piece__source-note { margin-block-start: 14px; }
.press-piece__sources { margin-block-start: 16px; }
.press-piece__sources li + li { margin-block-start: 8px; }
.press-piece__source-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; min-block-size: 44px; padding-block: 10px; font-weight: 700; text-underline-offset: 4px; }
.press-piece__source-link bdi { min-inline-size: 0; max-inline-size: 100%; }

/* Arabic headlines embedded in an English page keep the existing press heading face. */
.press-piece .press__second:lang(ar) { --head: "Somar Black", "Roboto Condensed", "Arial Narrow", Arial, sans-serif; line-height: 1.6; }
html:not([lang="ar"]) .press-piece .press__second:lang(ar) { font-family: var(--head) !important; font-weight: 700 !important; }

@media (min-width: 744px) {
  .press-cards { padding-block: 32px 64px; }
  .press-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .press-cards__heading, .press-audit__heading, .press-piece__source-heading { font-size: 34px; }
  .press-card__headline { font-size: 28px; }
  .press-piece__figure { margin-block: 36px; }
  .press-piece__account { font-size: 19px; }
  .press-piece__source { padding-block: 36px 56px; }
}

@media (min-width: 1080px) {
  .press-cards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .press-piece__photo { block-size: min(45.333ch, 60vh); block-size: min(45.333ch, 60svh); max-block-size: 60vh; max-block-size: 60svh; }
  .press-piece__source { padding-block: 40px 64px; }
}

/* Eleventh round, after looking (13 October 2026): the press page's opening, its cards and its audit list begin at the
   same edge (the column of text was centred while the cards began at the page's edge); and "Press" stays out of the
   bar where a long country name leaves no room for it (1080 to 1239 px): it is in the footer there. */
.wrap.press__in { max-inline-size: none; }
.press__in > * { max-inline-size: 72ch; }
@media (min-width: 1080px) and (max-width: 1239px) { .top__nav .nav-press { display: none; } }

/* Thirteenth round,
13 October 2026: a shop's page from its record */

.shop-state { display: block; margin-block-start: 8px; color: var(--muted); font: 400 16px/1.5 var(--text); letter-spacing: 0; overflow-wrap: anywhere; }
.shop-place { margin-block-start: 12px; color: var(--muted); overflow-wrap: anywhere; }
.shop--record .lead__body, .shop--record .lead__figure { min-inline-size: 0; }
.shop--record h1 { overflow-wrap: anywhere; }
.shop--record .lead__body { order: 0; }
.shop--record .lead__figure { order: 1; }
.shop--no-photo { display: block; }
.shop--no-photo .lead__body { max-inline-size: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.shop-info .info__in { display: block; }
.shop-info .info__block + .info__block { margin-block-start: 24px; padding-block-start: 22px; padding-inline-start: 0; border-inline-start: 0; border-block-start: 1px solid var(--line); }
.shop-info .acts { grid-template-columns: minmax(0, 1fr); max-inline-size: 560px; }
.shop-info .acts .btn { min-inline-size: 0; max-inline-size: 100%; padding-inline: 8px; }
.shop-info .acts + .info__block { margin-block-start: 24px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.shop-hours { inline-size: 100%; max-inline-size: 560px; margin-block-start: 10px; border-collapse: collapse; font: 400 16px/1.5 var(--text); }
.shop-hours th, .shop-hours td { padding-block: 10px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: baseline; overflow-wrap: anywhere; }
.shop-hours th { padding-inline-end: 16px; font-weight: 700; }
.shop-hours td { color: var(--muted); }
.shoprow { min-inline-size: 0; overflow-wrap: anywhere; }
.shopcard h2 .sample, .shoprow__name .sample { vertical-align: middle; }

@media (min-width: 744px) {
  .shop-info .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .shop--no-photo .lead__body { padding-block: 40px; }
}

/* A heading without a photograph needs clear space below the hanging badge as a words-only opening does. */
@supports (animation-timeline: scroll()) {
  @media (min-width: 1080px) {
    .top--hanging + main > .shop--no-photo:first-child .lead__body { padding-block-start: calc(var(--over) + 28px); }
  }
}

/* Fourteenth round,
13 October 2026: a shop's whole record on the shops page, so that no visitor has to open another page */

.shopboxes { display: grid; gap: 12px; }
.country__in .shopboxes { margin-block-start: 22px; }
.country__in .country__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 24px; }
.shopbox { display: grid; gap: 18px; min-inline-size: 0; padding: 22px 18px; background: #fff; border: 1px solid var(--line); scroll-margin-block-start: 96px; }
.shopbox:target { border-inline-start: 4px solid var(--red-strong); }
.shopbox__name, .shopbox__find, .shopbox__hours { min-inline-size: 0; }
.shopbox__title { margin-block-start: 6px; font: 700 32px/1.06 var(--head); letter-spacing: -.005em; overflow-wrap: anywhere; }
.shopbox__title .sample { vertical-align: middle; }
.shopbox__address { font-style: normal; text-wrap: pretty; overflow-wrap: anywhere; }
.shopbox__acts { display: grid; gap: 10px; margin-block-start: 14px; }
.shopbox__acts .btn { inline-size: 100%; min-inline-size: 0; min-height: 52px; padding-inline: 10px; }
.shopbox__label { color: var(--muted); font: 700 14px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.shopbox .shop-hours { max-inline-size: none; margin-block-start: 6px; }
.shopbox .shop-hours th, .shopbox .shop-hours td { padding-block: 7px; }
.shopbox .shop-hours tr:last-child th, .shopbox .shop-hours tr:last-child td { border-block-end: 0; }

/* Arabic */
.shopbox__title:lang(ar) { font-size: 28px; line-height: 1.3; }
.shopbox__label:lang(ar) { font-size: 16px; letter-spacing: 0; }

@media (min-width: 744px) {
  .shopboxes { gap: 16px; }
  .shopbox { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "name find" "name hours"; column-gap: 32px; row-gap: 20px; align-items: start; padding: 28px 32px; }
  .shopbox__name { grid-area: name; }
  .shopbox__find { grid-area: find; }
  .shopbox__hours { grid-area: hours; }
  .shopbox__title { font-size: 38px; }
  .shopbox__title:lang(ar) { font-size: 32px; }
  /* one button under the other at every width: "Call" with a full number does not fit in half a column */
  .shopbox__acts { max-inline-size: 420px; }
}

@media (min-width: 1080px) {
  .shopbox { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); grid-template-areas: "name find hours"; column-gap: 0; align-items: stretch; padding: 32px 40px; }
  .shopbox__name { padding-inline-end: 40px; }
  .shopbox__find, .shopbox__hours { padding-inline: 40px; border-inline-start: 1px solid var(--line); }
  .shopbox__hours { padding-inline-end: 0; }
  .shopbox__title { font-size: clamp(34px, 3vw, 44px); }
  .shopbox__title:lang(ar) { font-size: clamp(30px, 2.6vw, 38px); }
  .shopbox__acts { max-inline-size: none; }
}

/* The word SAMPLE is not shown (the owner, 13 October 2026: "remove the word sample from all the website").
   The mark stays in the page for the checker and the content still knows what is not confirmed; it is only
   not displayed, to people and to screen readers alike. To show the marks again, take this rule out. */
.sample { display: none !important; }

/* The press page says nothing about how it was made (the owner, 13 October 2026): the draft paragraph and the part
   that lists the pieces nobody has opened yet are not shown. They stay in the page for the checker; to show them
   again, take this rule out. */
.press__draft-note, .press-audit { display: none !important; }

/* A press piece's photograph has no line under it unless it is the paper's own picture, whose credit the small
   script writes there (the owner, 13 October 2026: remove "Photograph: BARBAR") */
.press-piece__caption:empty { display: none; }

/* The mark of a publication beside its name on a press card and on a piece's page (the owner, 13 October 2026).
   The place is hidden until its mark has loaded. */
.press-logo { flex: none; align-self: center; inline-size: 22px; block-size: 22px; }
.press-logo img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; border-radius: 4px; }

/* The franchise form (16 October 2026): the line robots fill, never seen; the words when sending failed.
   The line is put off the page on its starting side (28 October 2026): a physical left of -10000px made the Arabic
   page, read from the right, 10,000 px wide and scroll sideways. */
.enq__hp { position: absolute; inset-inline-start: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.enq__failed { margin: 12px 0 0; color: #B3121A; font-weight: 500; }
.enq__failed[hidden] { display: none; }
