/* =========================================================
   Once Speciality Coffee — FUNKY BUILD
   A screen-printed coffee poster you scroll through.

   The idea: the menu is not one page on one background. Every
   category is a full-bleed block of its own colour, so scrolling
   the menu feels like flipping through a stack of riso prints.
   Colours are the ones sampled from the shop's painted board.

   Deliberate, please don't quietly undo:
   - Flat colour only. No glow blobs, no gradient text. Shadows
     are HARD offsets (print registration), never soft glows.
   - Text on every colour band is near-black ink. All 15 bands
     were contrast-checked: the worst is 5.27:1, the rest 6-10:1.
   - The big Kaushan word painted through each list stays LOUD.
   - Emblems are filled illustrations, not line icons.
   ========================================================= */

:root {
  /* the dark ground everything between the bands sits on */
  --night:  #141110;
  --night2: #1d1917;
  --cream:  #fbf4e6;
  --cream2: #efe4cf;
  --ink:    #17120e;   /* text on every colour band */
  --muted:  #a89c88;
  --gold:   #e8bf5c;
  --hot:    #e0533a;   /* sticker red, used for accents on dark */
  --coffee: #a75f2b;   /* brewed filter coffee, lit from behind */

  --serif:  "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --sans:   ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --arabic: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;

  --maxw: 1120px;
  --pad: clamp(18px, 5vw, 44px);
  --bar-h: 60px;

  --accent: var(--gold);        /* replaced per band */
  --ease: cubic-bezier(.2, .8, .25, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- shared type ---------------------------------------- */

.big-head {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.3rem, 8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
}
.big-head em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

/* the hard-offset print button */
.big-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border: 2.5px solid var(--cream);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--hot);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.big-btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--hot); }
.big-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--hot); }
.big-btn.ghost { background: transparent; color: var(--cream); box-shadow: 5px 5px 0 rgba(251,244,230,.22); }
.big-btn.ghost:hover { box-shadow: 8px 8px 0 rgba(251,244,230,.3); }

.tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--hot);
  color: var(--cream);
  transform: rotate(-2.5deg);
  margin-bottom: 18px;
}

/* =========================================================
   Splash — a V60 brewing: drops fall, the carafe fills
   Plays once per session (see the head script), never on refresh.
   ========================================================= */

.no-splash .splash { display: none; }

.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--night);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity .5s ease, visibility .5s;
}
.splash.done { opacity: 0; visibility: hidden; pointer-events: none; }

.v60 { width: 104px; height: auto; }

.v-solid  { fill: var(--cream); }
.v-coffee { fill: var(--coffee); }
.v-ribs   { stroke: color-mix(in srgb, var(--cream) 55%, var(--night)); stroke-width: 1.6; fill: none; }
.v-glass  { fill: none; stroke: var(--cream); stroke-width: 2.6; }

/* the brew rising in the carafe */
.v-brew {
  fill: var(--coffee);
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: brew 1.15s .18s var(--ease) forwards;
}
@keyframes brew { to { transform: scaleY(1); } }

/* three drops, staggered, falling the 16px from spout to carafe */
.v-drop { fill: var(--coffee); opacity: 0; animation: drip .52s linear infinite; }
.v-drop.d2 { animation-delay: .17s; }
.v-drop.d3 { animation-delay: .35s; }
@keyframes drip {
  0%   { transform: translateY(0);    opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

.splash-word {
  font-family: var(--script);
  font-size: 2.1rem;
  color: var(--cream);
  margin: 0;
  opacity: 0;
  animation: pop .5s .5s var(--ease) forwards;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 var(--pad) clamp(48px, 8vw, 88px);
  overflow: hidden;
  isolation: isolate;
}
/* halftone over the flat ground — printed paper, not a glowing gradient */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-radial-gradient(circle at 0 0, rgba(251,244,230,.05) 0 1px, transparent 1px 4px);
  background-size: 4px 4px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: clamp(38px, 7vw, 60px);
  align-items: center;
  margin: clamp(30px, 7vw, 62px) 0 0;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 5vw, 76px); }
}

/* ---- the pinned-up print ---- */
.hero-frame {
  position: relative;
  margin: 0 auto;
  width: min(100%, 400px);
  transform: rotate(2.2deg);
}
.hero-shot {
  width: 100%;
  height: auto;          /* the width/height attrs would otherwise pin the
                            height and make aspect-ratio a no-op */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;   /* keeps the lit sign in frame */
  border: 5px solid var(--cream);
  border-bottom: 0;
  filter: saturate(.92) contrast(1.06);
}
.hero-frame figcaption {
  font-family: var(--script);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--cream);
  border: 5px solid var(--cream);
  border-top: 0;
  padding: 6px 14px 12px;
  text-align: center;
}
.hero-frame { box-shadow: 12px 12px 0 var(--hot); }
@media (max-width: 560px) { .hero-frame { box-shadow: 8px 8px 0 var(--hot); } }

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 0;
}
.hero-mark img {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--cream);
}
.hero-nav { display: flex; gap: 6px; }
.hero-nav a {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  padding: 9px 14px;
  border: 2px solid rgba(251,244,230,.3);
  border-radius: 999px;
  transition: background .18s, border-color .18s;
}
.hero-nav a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.hero-body { max-width: 640px; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.hero-kicker b { font-size: 0.4rem; opacity: .7; }

.hero-title { margin: 0; }
.ht-once {
  display: block;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(4.6rem, 22vw, 12rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: var(--cream);
  text-shadow: 6px 6px 0 var(--hot);
}
.ht-script {
  display: block;
  font-family: var(--script);
  font-size: clamp(1.5rem, 6.4vw, 3.1rem);
  line-height: 1;
  color: var(--gold);
  transform: rotate(-3deg);
  transform-origin: left center;
  margin: 6px 0 0 clamp(4px, 3vw, 26px);
}
.hero-ar {
  font-family: var(--arabic);
  font-size: 0.95rem;
  color: var(--cream2);
  margin: 18px 0 0;
  text-align: left;    /* RTL text, but flush with the left-set headline */
}
.hero-line {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--cream2);
  margin: 12px 0 0;
  max-width: 30ch;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* the two stuck-on stickers */
.sticker {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92px; height: 92px;
  border-radius: 50%;
  text-align: center;
  line-height: 1.1;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(0,0,0,.4);
}
.sticker b { font-family: var(--serif); font-weight: 900; font-size: 1.1rem; }
.sticker small { font-size: 0.56rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
/* pinned to the corners of the print */
.sticker-rating {
  top: -22px; right: -18px;
  background: var(--gold); color: var(--ink);
  transform: rotate(11deg);
}
.sticker-open {
  bottom: 26px; left: -24px;
  background: var(--cream); color: var(--ink);
  transform: rotate(-9deg);
}
/* On phones the frame fills the column, so a sticker hung off its edge lands
   outside the viewport and gets shaved by the body's overflow clip. Tuck them
   inside — the 11deg rotation adds ~6px to the box on each side, so these
   offsets keep them clear. */
@media (max-width: 560px) {
  .sticker { width: 74px; height: 74px; }
  .sticker b { font-size: .95rem; }
  .sticker small { font-size: .5rem; }
  .sticker-rating { top: -14px; right: 8px; }
  .sticker-open { bottom: 18px; left: 8px; }
}

/* =========================================================
   Marquee strip
   ========================================================= */

.strip {
  background: var(--gold);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  padding: 11px 0;
}
.strip-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: slide 34s linear infinite;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip-track span { display: inline-flex; align-items: baseline; gap: 26px; }
/* the name signed between each phrase — script against the blocky caps */
.strip-track i {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.5em;
  letter-spacing: 0;
  text-transform: none;
  opacity: .72;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* =========================================================
   Sticky bar
   ========================================================= */

.bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20,17,16,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(251,244,230,.12);
}
.bar-in {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 var(--pad);
}
.bar-mark {
  flex: 0 0 auto;
  font-family: var(--script);
  font-size: 1.4rem;
  color: var(--cream);
  text-decoration: none;
}
.bar-cats {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 2px;
  -webkit-overflow-scrolling: touch;
}
.bar-cats::-webkit-scrollbar { display: none; }
/* fades the last chip out, so it reads as scrollable rather than cut off */
.bar-cats {
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
}
.bar-cat {
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: color-mix(in srgb, var(--accent) 85%, var(--cream));
  transition: background .18s, color .18s, transform .18s var(--ease);
}
.bar-cat:hover { transform: translateY(-2px); }
.bar-cat.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.bar-tools { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(251,244,230,.2);
  border-radius: 50%;
  background: none;
  color: var(--cream);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.icon-btn:hover { background: var(--cream); color: var(--ink); }

/* =========================================================
   Menu intro
   ========================================================= */

.menu-intro {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(52px, 9vw, 96px) var(--pad) clamp(30px, 5vw, 46px);
  text-align: center;
}
.menu-ar { font-family: var(--arabic); color: var(--muted); font-size: 0.9rem; margin: 20px 0 0; }
.menu-sub { color: var(--cream2); margin: 8px 0 0; }
.menu-note {
  display: inline-block;
  font-size: 0.74rem;
  color: var(--muted);
  margin: 18px 0 0;
  padding: 9px 16px;
  border: 2px dashed rgba(251,244,230,.18);
  border-radius: 14px;
}

/* =========================================================
   THE BANDS — one full-bleed colour block per category
   ========================================================= */

.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
  padding: clamp(38px, 6vw, 62px) 0 clamp(42px, 6vw, 70px);
  border-top: 3px solid var(--ink);
  scroll-margin-top: calc(var(--bar-h) + 6px);
}
.band:last-child { border-bottom: 3px solid var(--ink); }

/* halftone dots, so each block reads as ink on paper */
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-radial-gradient(circle at 0 0, rgba(23,18,14,.13) 0 1px, transparent 1px 4px);
  background-size: 4px 4px;
  pointer-events: none;
}

/* the painted word running through the list, the way it does on
   the shop's board. Loud on purpose. */
.band-art {
  position: absolute;
  z-index: -1;
  left: -0.06em;
  top: 12%;
  font-family: var(--script);
  font-size: clamp(5rem, 26vw, 13rem);
  line-height: 0.84;
  white-space: nowrap;
  color: color-mix(in srgb, var(--accent) 67%, var(--ink));
  transform: rotate(-7deg);
  transform-origin: left center;
  pointer-events: none;
  user-select: none;
}
.band-art.two {
  left: auto;
  right: -0.06em;
  top: 63%;
  font-size: clamp(3.8rem, 19vw, 9rem);
  transform: rotate(6deg);
  transform-origin: right center;
  opacity: .8;
}

.band-in {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---- band header ---- */
.band-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin: 0 0 22px;
  border-bottom: 3px solid var(--ink);
}
.band:nth-of-type(odd) .band-head { transform: rotate(-0.7deg); }
.band:nth-of-type(even) .band-head { transform: rotate(0.6deg); }

.emblem {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  --i1: var(--ink);
  --i2: color-mix(in srgb, var(--ink) 62%, var(--accent));
  --i3: var(--cream);
}
.band-en {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.band-ar {
  font-family: var(--arabic);
  font-weight: 700;
  font-size: clamp(.95rem, 3vw, 1.2rem);
  margin-left: auto;
  text-align: right;
}
.band-count {
  flex: 0 0 auto;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

/* ---- items ---- */
.items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 46px;
}
/* Fluid, not a fixed breakpoint: long lists split as soon as two columns
   genuinely fit, which lands just under iPad portrait. The min() is load
   bearing — a bare 320px minimum would overflow a 320px phone, since
   auto-fill honours the minimum even when the container is narrower. The
   1120px page cap means this can never produce a third, cramped column. */
.items.split { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }

/* Short categories stay single column. */
.items:not(.split) { max-width: 560px; }

/* Whatever the column count, a row never stretches past this — otherwise the
   dotted leader runs half a tablet wide between the name and the price. Only
   bites in the single-column case; columns are always narrower than this. */
.item { max-width: 560px; }

.item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 2px 12px;
  border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent);
  cursor: pointer;
  background: none;
  border-left: 0; border-right: 0; border-top: 0;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform .16s var(--ease);
}
.item:hover { transform: translateX(4px); }

/* leading square: photo where we have one, emblem where we don't */
.thumb {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border: 2.5px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 72%, var(--ink));
  box-shadow: 3px 3px 0 color-mix(in srgb, var(--ink) 26%, transparent);
  transform: rotate(-2.5deg);
  display: flex; align-items: center; justify-content: center;
  transition: transform .16s var(--ease);
}
/* the button is an only child of its <li>, so the alternation has to be
   counted on the list item, not on .item */
li:nth-child(even) .thumb { transform: rotate(2.5deg); }
.item:hover .thumb { transform: rotate(0deg) scale(1.06); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb svg { width: 26px; height: 26px; --i1: var(--ink); --i2: color-mix(in srgb, var(--ink) 55%, var(--accent)); --i3: var(--cream); }

.item-txt { flex: 1 1 auto; min-width: 0; }
/* nowrap on purpose: a long name like "Chocolate Pistachio Espresso" must
   wrap its own text rather than shove the price onto a second line, which is
   what a wrapping flex line does. The Arabic is a sibling below, not part of
   this row. */
.item-txt { display: flex; flex-direction: column; }
.item-top { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 8px; }
.item-en {
  min-width: 0;              /* lets the name wrap instead of pushing the price */
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.2;
  overflow-wrap: break-word;
}
.dots {
  flex: 1 1 auto;
  min-width: 12px;
  height: 0;
  margin-bottom: 5px;
  border-bottom: 2.5px dotted color-mix(in srgb, var(--ink) 40%, transparent);
}
.price {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price sup {
  font-family: var(--sans);
  font-size: 0.5em;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-left: 3px;
  vertical-align: 0.55em;
  opacity: .68;
}
.item-ar {
  font-family: var(--arabic);
  font-size: 0.86rem;
  line-height: 1.55;
  opacity: .8;
  text-align: right;
}

/* The menu is bilingual, always. There is no language switch — English and
   Arabic are shown together everywhere, the way the printed menu reads. */

/* variants (Karak, Moroccan Tea, Acai) */
.vars { margin: 5px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.var {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.var b { font-family: var(--serif); font-weight: 900; }
.var span[dir="rtl"] { font-family: var(--arabic); opacity: .75; }

/* flavour chips (Crepe, Pancake) */
.flavours {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.flavour {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 16px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 78%, var(--cream));
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 22%, transparent);
}
.flavour b { font-family: var(--serif); font-weight: 700; font-size: .96rem; }
.flavour span { font-family: var(--arabic); font-size: .8rem; opacity: .78; }

/* =========================================================
   Beans
   ========================================================= */

.beans {
  background: var(--night2);
  padding: clamp(58px, 9vw, 100px) var(--pad);
  text-align: center;
  border-bottom: 2px solid rgba(251,244,230,.1);
}
.beans-in { max-width: 660px; margin: 0 auto; }
.beans-in p { color: var(--cream2); margin: 16px 0 0; }
.origins {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
}
.origins li {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 2px solid rgba(251,244,230,.24);
  border-radius: 999px;
  color: var(--cream2);
}

/* =========================================================
   Delivery
   ========================================================= */

.delivery { padding: clamp(48px, 8vw, 84px) var(--pad); text-align: center; }
.delivery-label {
  font-family: var(--script);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: var(--gold);
  margin: 0 0 26px;
  transform: rotate(-2deg);
}
.apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.app {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 14px 26px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(251,244,230,.28);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.app:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 rgba(251,244,230,.34); }
.app-talabat   { background: #ff5a00; }
.app-noon      { background: #feee00; }
.app-deliveroo { background: #00ccbc; }
.app-careem    { background: #4bb543; }

/* =========================================================
   About
   ========================================================= */

.about { padding: clamp(56px, 9vw, 104px) var(--pad); border-top: 2px solid rgba(251,244,230,.1); }
.about-in {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: clamp(34px, 6vw, 68px);
}
@media (min-width: 900px) { .about-in { grid-template-columns: 1.15fr .85fr; align-items: start; } }
.about-copy p { color: var(--cream2); margin: 20px 0 0; max-width: 56ch; }
.ig {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--gold);
  padding: 11px 18px;
  border: 2px solid color-mix(in srgb, var(--gold) 48%, transparent);
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.ig:hover { background: var(--gold); color: var(--ink); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat {
  padding: 22px 18px;
  border: 2.5px solid rgba(251,244,230,.16);
  border-radius: 16px;
  background: var(--night2);
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1;
  color: var(--gold);
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   Catering
   ========================================================= */

.catering {
  background: var(--hot);
  color: var(--cream);
  padding: clamp(56px, 9vw, 104px) var(--pad);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.catering-in { max-width: 720px; margin: 0 auto; text-align: center; }
.catering .eyebrow { color: rgba(251,244,230,.8); }
.catering .big-head em { color: var(--night); }
.catering p { margin: 18px 0 0; }
.catering-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.catering .big-btn { box-shadow: 5px 5px 0 var(--ink); }
.catering .big-btn.ghost { color: var(--cream); border-color: var(--cream); }

/* =========================================================
   Visit
   ========================================================= */

.visit { display: grid; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; } }
.visit-map { min-height: 320px; filter: grayscale(.35) contrast(1.05); }
.visit-map iframe { display: block; height: 100%; min-height: 320px; }
.visit-card { padding: clamp(44px, 7vw, 86px) var(--pad); background: var(--night2); }
.visit-list { margin: 28px 0; display: grid; gap: 18px; }
.visit-list div { display: grid; gap: 4px; }
.visit-list dt {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.visit-list dd { margin: 0; color: var(--cream2); }
.visit-list a { color: var(--gold); text-decoration: none; }
/* the handle is 26 characters — it must be allowed to break on a 320px phone */
.visit-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow-wrap: anywhere;
}
.visit-ig svg { flex: 0 0 auto; }

/* =========================================================
   Foot
   ========================================================= */

.foot { text-align: center; padding: clamp(52px, 8vw, 90px) var(--pad) 120px; }
.enjoy {
  font-family: var(--script);
  font-size: clamp(3.2rem, 17vw, 6.5rem);
  line-height: 1;
  margin: 0;
  color: var(--cream);
  transform: rotate(-8deg);
}
.enjoy-ar { font-family: var(--arabic); color: var(--muted); margin: 22px 0 0; }
.foot-small { font-size: 0.74rem; color: var(--muted); margin: 26px 0 18px; }
.to-top {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream2);
  padding: 11px 20px;
  border: 2px solid rgba(251,244,230,.2);
  border-radius: 999px;
}
.to-top:hover { background: var(--cream); color: var(--ink); }

/* =========================================================
   Floating order button
   ========================================================= */

/* Bottom-centre: it is the main action, and it is the easiest spot to reach
   one-handed on a large phone. */
.order-wrap {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 4vw, 28px);
  transform: translateX(-50%);
  z-index: 70;
}
.order-btn {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .16s var(--ease);
}
.order-btn:hover { transform: translate(-2px,-2px); }
.order-menu {
  position: absolute;
  left: 50%; bottom: calc(100% + 12px);
  display: grid;
  gap: 4px;
  padding: 8px;
  min-width: 190px;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s, visibility .2s, transform .2s var(--ease);
}
.order-menu.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.order-menu a {
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 13px;
  border-radius: 10px;
}
.order-menu a:hover { background: var(--gold); }

/* =========================================================
   Search
   ========================================================= */

.search {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: rgba(20,17,16,.97);
  backdrop-filter: blur(10px);
  padding: 20px var(--pad);
  border-bottom: 3px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .22s, visibility .22s, transform .22s var(--ease);
}
.search.open { opacity: 1; visibility: visible; transform: none; }
.search-in {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
}
.search-in input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  color: var(--cream);
}
.search-in input::placeholder { color: var(--muted); font-weight: 400; }
.search-in button {
  flex: 0 0 auto;
  border: 2px solid rgba(251,244,230,.25);
  background: none;
  color: var(--cream2);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 15px;
  border-radius: 999px;
  cursor: pointer;
}

/* results replace the bands while searching */
body.searching .band,
body.searching .menu-intro,
body.searching .hero,
body.searching .strip,
body.searching .beans,
body.searching .delivery,
body.searching .about,
body.searching .catering,
body.searching .visit,
body.searching .foot { display: none; }

.results { display: none; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 70px; }
body.searching .results { display: block; padding-top: 104px; }
.results .band-head { border-color: rgba(251,244,230,.3); transform: none; }
.results .item { border-bottom-color: rgba(251,244,230,.12); }
.results .item-en, .results .price { color: var(--cream); }
/* variant pills are ink-bordered on the colour bands; on the dark
   results ground that reads as invisible, so re-tint them */
.results .var { border-color: rgba(251,244,230,.32); color: var(--cream); }
.results .dots { border-bottom-color: rgba(251,244,230,.28); }
.results .thumb { border-color: rgba(251,244,230,.5); box-shadow: none; }
.result-count {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
/* each hit is one group: row + its category, ruled off from the next */
.results li {
  padding-bottom: 9px;
  border-bottom: 1.5px solid rgba(251,244,230,.12);
}
.results .item { border-bottom: 0; }
.result-cat {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0 67px;      /* lines up with the name, not the thumb */
}
@media (max-width: 560px) { .result-cat { margin-left: 59px; } }
.no-hits {
  text-align: center;
  padding: 70px 20px;
  font-family: var(--script);
  font-size: 1.8rem;
  color: var(--muted);
}

/* =========================================================
   Item sheet
   ========================================================= */

.sheet-bg {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10,8,7,.66);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s, visibility .24s;
}
.sheet-bg.open { opacity: 1; visibility: visible; }
.sheet {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--accent, var(--cream));
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 9px 9px 0 rgba(0,0,0,.5);
  transform: translateY(14px) rotate(-.6deg);
  transition: transform .26s var(--ease);
}
.sheet-bg.open .sheet { transform: none; }
.sheet-x {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.sheet-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-bottom: 3px solid var(--ink); }
.sheet-img-none {
  aspect-ratio: 16/7;
  border-bottom: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 74%, var(--ink));
}
.sheet-img-none svg { width: 54px; height: 54px; --i1: var(--ink); --i2: color-mix(in srgb, var(--ink) 55%, var(--accent)); --i3: var(--cream); }
.sheet-body { padding: 22px 24px 26px; }
.sheet-cat {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: .7;
  margin: 0 0 8px;
}
.sheet-en { font-family: var(--serif); font-weight: 900; font-size: 1.7rem; line-height: 1.1; margin: 0; }
.sheet-ar { font-family: var(--arabic); font-size: 1rem; margin: 6px 0 0; opacity: .8; }
.sheet-price {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.6rem;
  margin: 14px 0 0;
}
.sheet-price sup { font-family: var(--sans); font-size: .46em; font-weight: 800; vertical-align: .6em; opacity: .68; margin-left: 3px; }
.sheet-vars { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 0; }
.sheet-desc { margin: 16px 0 0; font-size: .94rem; line-height: 1.6; }

/* =========================================================
   Reveal on scroll
   ========================================================= */

.band, .stat, .flavour { --y: 16px; }
.reveal { opacity: 0; transform: translateY(var(--y)); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

/* =========================================================
   Small screens
   ========================================================= */

@media (max-width: 560px) {
  /* the band heading has no room for both languages here; the per-item
     Arabic still shows on every row */
  .band-ar { display: none; }
  .band-count { display: none; }
  .thumb { width: 46px; height: 46px; }
  .item-en { font-size: .98rem; }
  .price { font-size: 1.04rem; }
  .stats { grid-template-columns: 1fr; }
  .order-btn { padding: 13px 20px; font-size: .7rem; }
}

/* =========================================================
   Touch
   ========================================================= */

/* On touch, :hover latches after a tap and the lift effects freeze there,
   which reads as a rendering glitch. Drop the movement; :active still fires. */
@media (hover: none) {
  .item:hover                     { transform: none; }
  .item:hover .thumb              { transform: rotate(-2.5deg); }
  li:nth-child(even) .item:hover .thumb { transform: rotate(2.5deg); }
  .bar-cat:hover,
  .big-btn:hover,
  .app:hover,
  .order-btn:hover                { transform: none; }
  .item:active                    { opacity: .72; }
}

/* 44px minimum on anything tapped. Padding only, so the desktop look is
   untouched — these all sat between 33px and 40px. */
@media (pointer: coarse) {
  .bar-cat      { padding: 11px 15px; }
  .icon-btn     { width: 44px; height: 44px; }
  .hero-nav a   { padding: 12px 16px; }
  .order-menu a { padding: 13px 14px; }
  .to-top       { padding: 13px 22px; }
  .origins li   { padding: 10px 15px; }
}

/* The item card becomes a bottom sheet on phones: full width, rounded top,
   slides up from the edge. Far easier to reach than a box mid-screen. */
@media (max-width: 560px) {
  .sheet-bg { align-items: flex-end; padding: 0; }
  .sheet {
    max-width: 100%;
    max-height: 92svh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    box-shadow: 0 -6px 0 rgba(0,0,0,.45);
    transform: translateY(100%);
  }
  .sheet-x { top: 14px; right: 14px; }
}

/* =========================================================
   Motion / print
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-track { animation: none; }
  .v-brew { animation: none; transform: scaleY(1); }   /* carafe already full */
  .v-drop { animation: none; opacity: 0; }
  .splash-word { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .item:hover, .item:hover .thumb, .big-btn:hover, .app:hover, .bar-cat:hover { transform: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .splash, .bar, .search, .order-wrap, .hero-grain, .band-art, .to-top, .sheet-bg, .strip { display: none !important; }
  .band { background: #fff !important; color: #000; border-top: 1px solid #999; padding: 14px 0; break-inside: avoid; }
  .band::after { display: none; }
  .thumb { display: none; }
  .band-head { transform: none !important; border-bottom-width: 1.5px; }
  .items.split { grid-template-columns: 1fr 1fr; }
  .hero, .beans, .delivery, .about, .catering, .visit, .foot { display: none; }
}
