/* ==========================================================================
   Wen — marketing site. One stylesheet, logical properties throughout so the
   same rules serve Arabic (RTL, default) and English (LTR).
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL — see assets/fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: 'Wen Arabic';
  src: url('../fonts/readex-arabic.woff2') format('woff2');
  font-weight: 160 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF,
    U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Wen Latin';
  src: url('../fonts/jakarta-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Wen Latin';
  src: url('../fonts/jakarta-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --rausch: #f7485d; /* brand pink — matches the PO's logo and the app */
  --rausch-deep: #e31c5f;
  --rausch-dark: #7a1b33;
  --rausch-ink: #4a0d1f;
  --rausch-light: #ffebf0;
  --ink: #222222;
  --muted: #6a6a6a;
  --line: #ebebeb;
  --snow: #f7f7f7;
  --cream: #fdf7f2;
  --cream-2: #f8ece1;
  --gold: #ffb400;
  --green: #008a05;
  --white: #ffffff;

  --font: 'Wen Arabic', 'Wen Latin', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.05), 0 24px 60px rgba(122, 27, 51, 0.18);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  line-height: 1.12;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3,
html[lang='ar'] h4 {
  letter-spacing: 0; /* never letter-space Arabic — it breaks the joins */
  line-height: 1.3;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--rausch);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--rausch);
  color: var(--white);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Bilingual switching ----------
   Every translatable string exists twice with a lang attribute; the html lang
   decides which one shows. Works without JS (Arabic default). */
html[lang='ar'] body [lang='en'],
html[lang='en'] body [lang='ar'] {
  display: none !important;
}

/* Cross-document view transitions (progressive: Chromium today). */
@view-transition {
  navigation: auto;
}

/* Decorative bleed (hero map, tilted marquee) must never create sideways scroll.
   `clip` (not hidden) so position: sticky inside still works. */
main {
  overflow-x: clip;
}
html,
body {
  overflow-x: clip;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--rausch);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.35s var(--spring), box-shadow 0.3s var(--ease), background 0.2s;
  box-shadow: 0 6px 18px rgba(255, 56, 92, 0.32);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 56, 92, 0.42);
  background: var(--rausch-deep);
}
.btn:active {
  transform: scale(0.98);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(34, 34, 34, 0.18);
}
.btn--ghost:hover {
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--light {
  --bg: var(--white);
  --fg: var(--rausch-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.btn--light:hover {
  background: var(--cream);
}
.btn[aria-disabled='true'] {
  opacity: 0.55;
  pointer-events: none;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9em;
  color: var(--muted);
  box-shadow: inset 0 0 0 1.5px var(--line);
  background: rgba(255, 255, 255, 0.6);
}
.soon b {
  color: var(--ink);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--rausch-light);
  color: var(--rausch-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
html[lang='ar'] .tag {
  letter-spacing: 0;
}
.tag--soon {
  background: #fff4dc;
  color: #8a6106;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled {
  background: rgba(253, 247, 242, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
}
.brand svg {
  width: 30px;
  height: auto;
}
.brand:hover .mark-pin {
  animation: pin-hop 0.6s var(--spring);
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav__links a:hover {
  background: rgba(0, 0, 0, 0.05);
}
.lang-toggle {
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border: 0;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  min-width: 48px;
  transition: box-shadow 0.2s;
}
.lang-toggle:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.nav .btn {
  padding: 10px 18px;
  font-size: 0.92rem;
}
@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .nav .lang-toggle {
    margin-inline-start: auto;
  }
}
@media (max-width: 420px) {
  .nav .btn span {
    display: none;
  }
  .nav .btn {
    padding: 10px 12px;
  }
}

/* Scroll progress — a thin Tigris-red line */
.progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  z-index: 60;
  background: var(--rausch);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
html[dir='rtl'] .progress {
  transform-origin: 100% 50%;
}
@supports (animation-timeline: scroll()) {
  .progress {
    animation: grow linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes grow {
  to {
    transform: scaleX(1);
  }
}

/* ---------- Logo mark ---------- */
.mark-q {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes pin-hop {
  0%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-14%);
  }
}
.mark-pin {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

/* ==========================================================================
   HERO — "Baghdad asks وين؟"
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 120px);
  isolation: isolate;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rausch-dark);
  background: var(--white);
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
html[dir='rtl'] .hero__eyebrow {
  padding: 8px 10px 8px 16px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 138, 5, 0.5);
  animation: ping 2s infinite;
}
@keyframes ping {
  70% {
    box-shadow: 0 0 0 10px rgba(0, 138, 5, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 138, 5, 0);
  }
}
.hero__title {
  margin-block: 28px 20px;
  font-size: clamp(3.2rem, 9.2vw, 8.6rem);
  line-height: 0.95;
  font-weight: 800;
}
html[lang='ar'] .hero__title {
  line-height: 1.12;
}
.hero__title .big {
  display: flex;
  align-items: flex-end;
  gap: 0.08em;
}
.hero__title .q-mark {
  width: 0.62em;
  height: auto;
  margin-block-end: 0.08em;
  flex: none;
}
html[lang='ar'] .hero__title .q-mark {
  margin-block-end: 0.18em;
}
/* the cycling dialect line */
.cycler {
  display: block;
  font-size: 0.42em;
  line-height: 1.25;
  min-height: 1.3em;
  color: var(--rausch);
  font-weight: 700;
}
.cycler__line {
  display: inline;
}
.cycler .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(4deg);
  filter: blur(6px);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--spring), filter 0.5s var(--ease);
}
.cycler .w.in {
  opacity: 1;
  transform: none;
  filter: none;
}
.cycler .w.out {
  opacity: 0;
  transform: translateY(-0.5em) rotate(-3deg);
  filter: blur(6px);
  transition-duration: 0.35s;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.3vw + 0.6rem, 1.3rem);
  color: #444;
  max-width: 34ch;
  margin-bottom: 28px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero__meta {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* The map behind the phone */
.hero__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  width: 100%;
  justify-self: center;
}
.hero__map {
  position: absolute;
  top: -16%;
  left: -34%;
  z-index: -1;
  width: 168%;
  height: 132%;
  pointer-events: none;
  /* soft edges — the city fades into the page instead of ending in a hard line */
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.river {
  fill: none;
  stroke: url(#riverGrad);
  stroke-width: 20;
  stroke-linecap: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 2.4s 0.2s var(--ease) forwards;
}
.river-glint {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 60 900;
  animation: glint 7s 2.6s linear infinite;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes glint {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -2000;
  }
}
.street {
  fill: none;
  stroke: rgba(122, 27, 51, 0.1);
  stroke-width: 2;
  stroke-dasharray: 4 7;
}
.area-label {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  fill: rgba(122, 27, 51, 0.45);
}
.map-pin {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: pin-drop 0.7s var(--spring) forwards;
}
@keyframes pin-drop {
  0% {
    opacity: 0;
    transform: translateY(-60px) scale(0.6);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Phone ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(145deg, #2a2a2a, #0d0d0d);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.phone::before {
  /* speaker notch */
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  width: 26%;
  height: 20px;
  border-radius: 20px;
  background: #0d0d0d;
  z-index: 3;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--white);
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero .phone {
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 62%;
  rotate: -4deg;
  animation: float 7s ease-in-out infinite;
}
html[dir='rtl'] .hero .phone {
  translate: 50% -50%;
  rotate: 4deg;
}
@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}

/* floating chips around the phone */
.chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  animation: chip-in 0.8s var(--spring) forwards;
}
.chip small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.75rem;
}
.chip__icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: var(--rausch-light);
}
.chip--a {
  top: 8%;
  inset-inline-start: -4%;
  animation-delay: 1.4s;
}
.chip--b {
  top: 44%;
  inset-inline-end: -8%;
  animation-delay: 1.7s;
}
.chip--c {
  bottom: 8%;
  inset-inline-start: 0;
  animation-delay: 2s;
}
@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.stars {
  color: var(--gold);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__stage {
    max-width: 420px;
    margin-top: 12px;
  }
  .hero__lead {
    max-width: none;
  }
}
@media (max-width: 480px) {
  .chip {
    font-size: 0.76rem;
    padding: 8px 10px;
  }
  .chip__icon {
    width: 30px;
    height: 30px;
  }
  .chip--b {
    inset-inline-end: -2%;
  }
}

/* ==========================================================================
   Dish marquee
   ========================================================================== */
.marquee {
  background: var(--rausch);
  color: var(--white);
  overflow: hidden;
  padding-block: 18px;
  rotate: -1.5deg;
  margin-block: 8px 0;
  margin-inline: -2%;
  box-shadow: 0 16px 40px rgba(255, 56, 92, 0.25);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
/* In RTL the track hugs the right edge, so it must travel the other way. */
html[dir='rtl'] .marquee__track {
  animation-name: marquee-rtl;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-inline: 18px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  white-space: nowrap;
}
.marquee__item span {
  font-size: 0.5em;
  font-weight: 500;
  opacity: 0.8;
}
.marquee__item svg {
  width: 0.7em;
  height: auto;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes marquee-rtl {
  to {
    transform: translateX(50%);
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding-block: clamp(72px, 10vw, 140px);
}
.section__head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section__head.center {
  margin-inline: auto;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-weight: 700;
  color: var(--rausch);
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
}
.h2 em {
  font-style: normal;
  color: var(--rausch);
}
.lead {
  font-size: clamp(1.05rem, 1vw + 0.7rem, 1.25rem);
  color: #4a4a4a;
  margin-top: 18px;
}

/* Reveal on scroll (JS adds .is-in; CSS view-timeline where supported) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Story: sticky phone + steps ---------- */
.story {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.story__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
}
.story__sticky {
  position: sticky;
  top: 96px;
  height: min(78vh, 680px);
  display: grid;
  place-items: center;
}
.story__sticky .phone {
  width: min(300px, 70%);
}
.story__screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.story__screen.is-active {
  opacity: 1;
  transform: none;
}
.story__halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 56, 92, 0.22), transparent 65%);
  filter: blur(10px);
  z-index: 0;
  transition: background 0.8s;
}
.story__steps {
  padding-block: 8vh 20vh;
}
.step {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.28;
  transition: opacity 0.5s var(--ease);
}
.step.is-active {
  opacity: 1;
}
.step__num {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--rausch);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.step__num::after {
  content: '';
  height: 2px;
  width: 48px;
  background: currentColor;
  border-radius: 2px;
}
.step h3 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.step p {
  font-size: 1.12rem;
  color: #4a4a4a;
  max-width: 44ch;
}
.step__phone {
  display: none;
}
@media (max-width: 860px) {
  .story__grid {
    grid-template-columns: 1fr;
  }
  .story__sticky {
    display: none;
  }
  .story__steps {
    padding-block: 0;
  }
  .step {
    min-height: auto;
    opacity: 1;
    padding-block: 40px;
    border-top: 1px solid var(--line);
  }
  .step__phone {
    display: block;
    width: min(240px, 70%);
    margin-top: 24px;
  }
}

/* ---------- Bento ---------- */
.bento-section {
  background: var(--white);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 16px;
}
.tile {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--snow);
  padding: clamp(22px, 2.4vw, 32px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--spring), box-shadow 0.4s var(--ease);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tile h3 {
  font-size: clamp(1.3rem, 1.6vw + 0.6rem, 1.8rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.tile p {
  color: #555;
  font-size: 0.98rem;
  max-width: 36ch;
  margin: 0;
}
.tile--menu {
  grid-column: span 3;
  grid-row: span 2;
  background: var(--cream);
}
.tile--reels {
  grid-column: span 3;
  grid-row: span 2;
  background: #111;
  color: var(--white);
}
.tile--reels p {
  color: rgba(255, 255, 255, 0.72);
}
.tile--rating {
  grid-column: span 2;
}
.tile--lists {
  grid-column: span 2;
  background: #f1ecff;
}
.tile--reserve {
  grid-column: span 2;
  background: #e6f4ea;
}
.tile--offers {
  grid-column: span 3;
  background: var(--rausch);
  color: var(--white);
}
.tile--offers p {
  color: rgba(255, 255, 255, 0.85);
}
.tile--search {
  grid-column: span 3;
  background: #fff6db;
}
@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile--menu,
  .tile--reels,
  .tile--offers,
  .tile--search {
    grid-column: span 2;
  }
  .tile--rating,
  .tile--lists,
  .tile--reserve {
    grid-column: span 1;
  }
  .tile--reserve {
    grid-column: span 2;
  }
}
@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .tile--menu,
  .tile--reels,
  .tile--offers,
  .tile--search,
  .tile--rating,
  .tile--lists,
  .tile--reserve {
    grid-column: span 1;
    grid-row: auto;
  }
}

/* menu tile — an honest receipt */
.receipt {
  margin-top: 28px;
  background: var(--white);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  max-width: 380px;
  position: relative;
  rotate: -2deg;
  transition: rotate 0.5s var(--spring);
}
html[dir='rtl'] .receipt {
  rotate: 2deg;
}
.tile--menu:hover .receipt {
  rotate: 0deg;
}
.receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 9px;
  border-bottom: 1.5px dashed var(--line);
  font-weight: 600;
}
.receipt__row:last-of-type {
  border-bottom: 0;
}
.receipt__row b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.receipt__head {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--rausch);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
html[lang='ar'] .receipt__head {
  letter-spacing: 0;
}
.stamp {
  position: absolute;
  inset-inline-end: -14px;
  bottom: -22px;
  rotate: -12deg;
  border: 3px solid var(--green);
  color: var(--green);
  border-radius: 12px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  line-height: 1.3;
  scale: 0;
  transition: scale 0.5s var(--spring) 0.3s;
}
.is-in .stamp,
.no-js .stamp {
  scale: 1;
}

/* reels tile */
.reel {
  position: absolute;
  inset-inline-end: clamp(16px, 4vw, 48px);
  bottom: -40px;
  width: min(220px, 46%);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  rotate: 6deg;
  transition: rotate 0.6s var(--spring);
}
html[dir='rtl'] .reel {
  rotate: -6deg;
}
.tile--reels:hover .reel {
  rotate: 0deg;
}
.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 14s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.25) translate(-4%, 3%);
  }
}
.reel__ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7));
  font-size: 0.72rem;
  font-weight: 600;
}
.reel__rail {
  position: absolute;
  inset-inline-end: 10px;
  bottom: 70px;
  display: grid;
  gap: 12px;
  justify-items: center;
  font-size: 0.66rem;
}
.reel__heart {
  width: 26px;
  height: 26px;
  fill: var(--rausch);
  animation: heartbeat 2.4s infinite;
}
@keyframes heartbeat {
  0%,
  60%,
  100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.25);
  }
}
.tile--reels .copy {
  max-width: 52%;
}
@media (max-width: 560px) {
  .tile--reels {
    min-height: 460px;
  }
  .tile--reels .copy {
    max-width: none;
  }
  .reel {
    width: 180px;
  }
}

/* rating tile */
.ratings {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.rating {
  flex: 1;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}
.rating__src {
  font-weight: 800;
  font-size: 1.1rem;
}
.rating__val {
  font-size: 1.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* lists tile */
.stack {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}
.stack__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--spring);
}
.tile--lists:hover .stack__item:nth-child(1) {
  transform: translateX(8px);
}
.tile--lists:hover .stack__item:nth-child(2) {
  transform: translateX(16px);
}
.tile--lists:hover .stack__item:nth-child(3) {
  transform: translateX(24px);
}
html[dir='rtl'] .tile--lists:hover .stack__item {
  transform: none;
}
html[dir='rtl'] .tile--lists:hover .stack__item:nth-child(1) {
  transform: translateX(-8px);
}
html[dir='rtl'] .tile--lists:hover .stack__item:nth-child(2) {
  transform: translateX(-16px);
}
html[dir='rtl'] .tile--lists:hover .stack__item:nth-child(3) {
  transform: translateX(-24px);
}
.stack__item small {
  margin-inline-start: auto;
  color: var(--muted);
  font-weight: 500;
}

/* reserve tile — a ticket */
.ticket {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.ticket__date {
  text-align: center;
  line-height: 1.1;
  padding-inline-end: 16px;
  border-inline-end: 2px dashed var(--line);
}
.ticket__date b {
  display: block;
  font-size: 1.8rem;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #fff4dc;
  color: #8a6106;
  transition: background 0.4s, color 0.4s;
}
.status.is-confirmed {
  background: #e3f4e4;
  color: var(--green);
}

/* offers tile */
.coupons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.coupon {
  background: var(--white);
  color: var(--rausch-dark);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  rotate: -3deg;
  transition: rotate 0.4s var(--spring), transform 0.4s var(--spring);
}
.coupon:nth-child(2) {
  rotate: 2deg;
}
.coupon:nth-child(3) {
  rotate: -1deg;
}
.coupon small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}
.tile--offers:hover .coupon {
  rotate: 0deg;
  transform: translateY(-4px);
}

/* search tile — typing field */
.searchbox {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 999px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 1.1rem;
  max-width: 440px;
}
.searchbox svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--rausch);
  margin-inline-start: 2px;
  vertical-align: -0.2em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.results {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.results span {
  background: var(--white);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* ==========================================================================
   Baghdad map
   ========================================================================== */
.city {
  background: var(--rausch-ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.city .lead {
  color: rgba(255, 255, 255, 0.75);
}
.city .kicker {
  color: #ff8fa3;
}
.city__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.citymap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 640px;
}
.citymap svg {
  width: 100%;
  height: 100%;
}
.citymap .river {
  stroke-width: 26;
  animation: none;
  stroke-dashoffset: 2400;
  transition: stroke-dashoffset 2.6s var(--ease);
}
.city.is-in .citymap .river {
  stroke-dashoffset: 0;
}
.citymap .area-label {
  fill: rgba(255, 255, 255, 0.4);
  font-size: 18px;
}
.citymap .street {
  stroke: rgba(255, 255, 255, 0.08);
}
.vpin {
  cursor: pointer;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform 0.35s var(--spring);
}
.city.is-in .vpin {
  animation: pin-drop 0.7s var(--spring) forwards;
}
.vpin:hover,
.vpin:focus-visible,
.vpin.is-active {
  transform: scale(1.3);
  outline: none;
}
.vpin .pin-body {
  fill: var(--rausch);
  stroke: var(--white);
  stroke-width: 3;
}
.vpin.is-active .pin-body {
  fill: var(--gold);
}
.venue-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  min-height: 132px;
  transition: opacity 0.3s;
}
.venue-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
}
.venue-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}
.venue-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.venue-card .meta {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
}
.venue-card .meta span {
  background: var(--snow);
  border-radius: 999px;
  padding: 4px 10px;
}
.city__note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 14px;
}
.city__stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .city__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Coming soon
   ========================================================================== */
.next {
  background: var(--cream);
}
.next__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.feature h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 800;
  margin-block: 14px 10px;
}
.feature p {
  color: #555;
  margin: 0;
}
.chat {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}
.bubble {
  max-width: 85%;
  padding: 10px 16px;
  border-radius: 20px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--spring);
}
.is-in .bubble {
  opacity: 1;
  transform: none;
}
.is-in .bubble:nth-child(2) {
  transition-delay: 0.9s;
}
.is-in .bubble:nth-child(3) {
  transition-delay: 1.5s;
}
.no-js .bubble {
  opacity: 1;
  transform: none;
}
.bubble--me {
  justify-self: end;
  background: var(--rausch);
  color: var(--white);
  border-end-end-radius: 6px;
}
.bubble--wen {
  justify-self: start;
  background: var(--snow);
  border-end-start-radius: 6px;
}
.bubble--wen b {
  color: var(--rausch-deep);
}
.poll {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.poll__row {
  position: relative;
  border-radius: 14px;
  background: var(--snow);
  padding: 12px 16px;
  font-weight: 600;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}
.poll__row::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 0;
  background: var(--rausch-light);
  z-index: 0;
  transition: width 1.4s var(--ease);
}
.poll__row > * {
  position: relative;
  z-index: 1;
}
.is-in .poll__row::before,
.no-js .poll__row::before {
  width: var(--v);
}
.poll__row.win::before {
  background: #ffd3dc;
}
.mini {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.mini span {
  background: var(--snow);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.9rem;
}
@media (max-width: 760px) {
  .next__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   For restaurants band + Download
   ========================================================================== */
.owners {
  background: var(--white);
}
.owners__card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(135deg, #1b1b1b, #2c1219);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
  position: relative;
}
.owners__card .lead {
  color: rgba(255, 255, 255, 0.75);
}
.owners__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}
.owners__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.owners__list li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--rausch)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.owners__visual {
  position: relative;
  display: grid;
  gap: 12px;
}
.kpi {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px 20px;
  backdrop-filter: blur(6px);
}
.kpi b {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.kpi span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.kpi small {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  margin-top: 4px;
}
@media (max-width: 860px) {
  .owners__card {
    grid-template-columns: 1fr;
  }
}

.download {
  background: var(--rausch);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.download .h2 {
  font-size: clamp(2.6rem, 7vw, 6rem);
}
.download .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 40ch;
  margin-inline: auto;
}
.download__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.download .soon {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}
.download .soon b {
  color: var(--white);
}
.download__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  opacity: 0.12;
}
.download__bg svg,
.download__bg img {
  height: auto;
  width: min(70vw, 620px);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translateY(-4%) rotate(4deg);
  }
}
.download__mark {
  width: 96px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.2));
  animation: pin-hop 2.8s var(--spring) infinite;
}
.download__mark .mark-pin {
  animation: pin-hop 2.8s var(--spring) infinite;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #141414;
  color: rgba(255, 255, 255, 0.72);
  padding-block: 64px 32px;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-footer a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: var(--white);
}
.site-footer .brand {
  color: var(--white);
  margin-bottom: 14px;
}
.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.site-footer .lang-toggle {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
}
@media (max-width: 800px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__about {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Content pages (legal, support, delete account, owners)
   ========================================================================== */
.page-hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(28px, 4vw, 48px);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  margin-block: 14px 12px;
}
.page-hero p {
  color: var(--muted);
  max-width: 60ch;
}
.doc {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(24px, 5vw, 72px);
  padding-bottom: 96px;
  align-items: start;
}
.doc__side {
  position: sticky;
  top: 96px;
}
.toc {
  font-size: 0.9rem;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
  counter-reset: toc;
}
.toc a {
  display: block;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 10px;
  color: var(--muted);
  border-inline-start: 2px solid transparent;
  transition: background 0.2s, color 0.2s;
}
.toc a:hover,
.toc a.is-current {
  color: var(--ink);
  background: var(--white);
  border-inline-start-color: var(--rausch);
}
.prose {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 56px);
  box-shadow: var(--shadow);
  max-width: 820px;
}
.prose h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  margin-block: 40px 14px;
  scroll-margin-top: 96px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.1rem;
  margin-block: 22px 8px;
}
.prose ul,
.prose ol {
  padding-inline-start: 1.3em;
  margin: 0 0 1em;
}
.prose li {
  margin-bottom: 6px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 0.93rem;
}
.prose th,
.prose td {
  text-align: start;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  background: var(--snow);
  font-weight: 700;
}
.table-scroll {
  overflow-x: auto;
}
.note {
  background: var(--rausch-light);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.note--plain {
  background: var(--snow);
}
.cfg-placeholder {
  background: #fff4dc;
  color: #8a6106;
  border-radius: 6px;
  padding: 0 4px;
}
@media (max-width: 900px) {
  .doc {
    grid-template-columns: 1fr;
  }
  .doc__side {
    position: static;
  }
  .toc {
    background: var(--white);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
  }
}

/* FAQ accordion */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rausch);
  transition: rotate 0.3s var(--spring);
}
.faq details[open] summary::after {
  rotate: 45deg;
}
.faq details > div {
  padding: 0 22px 20px;
  color: #4a4a4a;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card p {
  color: #555;
  margin-bottom: 14px;
}
.card .icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* Forms (delete account, contact) */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-weight: 700;
  font-size: 0.92rem;
}
.field input {
  font: inherit;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #d6d6d6;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus {
  outline: none;
  border-color: var(--rausch);
  box-shadow: 0 0 0 4px rgba(255, 56, 92, 0.15);
}
.field input[aria-invalid='true'] {
  border-color: #c13515;
}
.field .hint {
  font-size: 0.82rem;
  color: var(--muted);
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--rausch);
  flex: none;
}
.alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}
.alert--error {
  background: #fdecea;
  color: #a1260d;
}
.alert--ok {
  background: #e3f4e4;
  color: #0b6b10;
}
.btn--danger {
  --bg: #c13515;
  box-shadow: 0 6px 18px rgba(193, 53, 21, 0.3);
}
.btn--danger:hover {
  background: #a1260d;
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-bottom: 96px;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.keep-list li::marker {
  color: var(--rausch);
}

/* 404 */
.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 64px;
}
.lost svg {
  width: 140px;
  margin: 0 auto 24px;
}
.lost .mark-pin {
  animation: lost-sway 3s ease-in-out infinite;
}
@keyframes lost-sway {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
}

/* ==========================================================================
   Reduced motion — everything still works, nothing moves on its own.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .marquee__track,
  .reel img,
  .download__bg svg,
  .hero .phone {
    animation: none !important;
  }
  .river {
    stroke-dashoffset: 0 !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* reservation status copy swaps with the state */
.status .s-ok {
  display: none;
}
.status.is-confirmed .s-wait {
  display: none;
}
.status.is-confirmed .s-ok {
  display: inline;
}

@media (max-width: 700px) {
  .cycler {
    min-height: 2.5em; /* longer phrases wrap on phones — reserve the second line */
  }
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 19vw;
  }
  .cycler {
    font-size: 0.4em;
  }
  .chip--b {
    inset-inline-end: 0;
  }
  .chip--a {
    inset-inline-start: 0;
  }
}

/* Config values (emails, addresses, placeholders) may be Latin inside Arabic text:
   isolate them so the bidi algorithm can't split or reorder them. */
[data-cfg] {
  unicode-bidi: plaintext;
}
/* Emails and phone numbers are always left-to-right, even inside Arabic. */
[data-cfg$='EMAIL'],
[data-cfg='WHATSAPP'] {
  direction: ltr;
  unicode-bidi: isolate;
}

/* ==========================================================================
   PO amendments (Oct 2026): brand assets, store badges, explore grid,
   new bento cards, weekend row, static Baghdad map, shared lists, join form
   ========================================================================== */
.brand__logo {
  height: 38px;
  width: auto;
}
.site-footer .brand__logo {
  height: 44px;
}
.hero__title .big {
  align-items: center;
  gap: 0.12em;
}
.hero__title .wordmark {
  height: 0.95em;
  width: auto;
}
html[lang='en'] .hero__title .big {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.hero__title .q-mark {
  width: 0.62em;
  margin: 0;
}
html[lang='ar'] .hero__title .q-mark {
  margin: 0;
}
.hero__meta a {
  color: var(--rausch-deep);
  font-weight: 700;
}

/* store badges */
.stores {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  padding: 9px 16px 9px 12px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  border: 1px solid #a6a6a6;
  direction: ltr;
  cursor: default;
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.85;
}
.store b {
  font-size: 1.12rem;
  font-weight: 700;
  font-family: 'Wen Latin', system-ui, sans-serif;
}

/* marquee pin */
.marquee__item img {
  width: 0.62em;
  height: auto;
}

/* "Where are we going today?" — the app's home grid */
.explore {
  background: var(--white);
  padding-block: clamp(56px, 7vw, 96px) 0;
}
.explore__title {
  text-align: center;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.explore__card {
  max-width: 980px;
  margin-inline: auto;
}
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.cat {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--rausch);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  transition: transform 0.4s var(--spring);
}
.cat img {
  width: clamp(64px, 9vw, 112px);
  height: clamp(64px, 9vw, 112px);
  object-fit: contain;
}
.cat:hover {
  transform: translateY(-6px);
}
.explore__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.explore__tab {
  font: inherit;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: var(--snow);
  color: #555;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.explore__tab.is-active {
  background: #ffe3e3;
  color: var(--rausch);
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.icon-grid[hidden] {
  display: none;
}
.icon-tile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 14px 6px 12px;
  border-radius: 16px;
  background: var(--white);
  border: 1.5px solid #f2f2f2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: transform 0.35s var(--spring), box-shadow 0.3s;
}
.icon-tile img {
  width: 64px;
  height: 56px;
  object-fit: contain;
}
.icon-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
@media (max-width: 760px) {
  .icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .icon-tile img {
    width: 48px;
    height: 44px;
  }
  .icon-tile {
    font-size: 0.82rem;
  }
}
@media (max-width: 420px) {
  .cats {
    gap: 4px;
  }
  .icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* "Where to this weekend?" */
.weekend {
  background: var(--white);
  padding-top: 0;
}
.icon-grid--row {
  max-width: 1000px;
  margin-inline: auto;
}
@media (max-width: 760px) {
  .icon-grid--row {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* new bento cards */
.tile--friends,
.tile--favorites,
.tile--events {
  grid-column: span 2;
}
.tile--friends {
  background: #e6f4ea;
}
.tile--favorites {
  background: #f1ecff;
}
.tile--events {
  background: #f2f2f2;
}
.tile--friends h3,
.tile--favorites h3,
.tile--events h3 {
  font-size: clamp(1.15rem, 1.2vw + 0.6rem, 1.45rem);
}
.tile--friends p,
.tile--favorites p,
.tile--events p {
  font-size: 0.9rem;
}
.mini-card {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--spring);
}
.tile:hover .mini-card {
  transform: translateY(-4px);
}
.mini-card__icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--rausch);
}
.mini-card__icon svg {
  width: 24px;
  height: 24px;
}
.mini-card b {
  display: block;
  font-size: 0.98rem;
}
.mini-card small {
  color: var(--muted);
  font-size: 0.8rem;
}
.tile--search .searchbox {
  margin-top: 18px;
}
@media (max-width: 1000px) {
  .tile--friends,
  .tile--favorites {
    grid-column: span 1;
  }
  .tile--events {
    grid-column: span 2;
  }
}
@media (max-width: 560px) {
  .bento > .tile {
    grid-column: 1 / -1;
  }
}

/* Baghdad: static map (PO asset 9) */
.citymap {
  aspect-ratio: auto;
  max-height: none;
}
.citymap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.city .venue-card {
  margin-top: 28px;
  text-decoration: none;
}
.city__tagline {
  margin-top: 32px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--white);
}

/* Plan your outings together — shared lists */
.plan {
  background: var(--white);
}
.plan__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.plan__card {
  background: #f4efea;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  gap: 12px;
}
.plan__row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 16px;
  border: 2px solid transparent;
  transition: transform 0.4s var(--spring);
}
.plan__row.is-active {
  border-color: var(--rausch);
}
.plan__row:hover {
  transform: translateX(-6px);
}
html[dir='ltr'] .plan__row:hover {
  transform: translateX(6px);
}
.plan__row img {
  flex: none;
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 6px;
  border-radius: 50%;
  background: var(--rausch-light);
}
.plan__row b {
  display: block;
}
.plan__row small {
  color: var(--muted);
  font-size: 0.82rem;
}
.avatars {
  margin-inline-start: auto;
  display: flex;
  direction: ltr;
}
.avatars i {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-inline-start: -6px;
  border: 2px solid var(--white);
  background: #ffe1d6;
}
.avatars i:nth-child(2) {
  background: #e3dcff;
}
.avatars i:nth-child(3) {
  background: #fff1c9;
}
.avatars i.more {
  background: #d9f2df;
}
@media (max-width: 900px) {
  .plan__grid {
    grid-template-columns: 1fr;
  }
}

/* Join form (for-restaurants) */
.narrow {
  max-width: 640px;
}
.join-form select,
.join-form textarea {
  font: inherit;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--white);
  width: 100%;
}
.join-form textarea {
  resize: vertical;
}
.lost img {
  margin: 0 auto 16px;
}

/* How it works — compact rows (PO design): each step's screen beside its text */
.srows {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  max-width: 900px;
  margin-inline: auto;
}
.srow {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.srow .phone {
  width: 100%;
  max-width: 240px;
  border-radius: 38px;
  padding: 8px;
}
.srow .phone__screen {
  border-radius: 30px;
}
.srow__copy h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.srow__copy p {
  font-size: 1.08rem;
  color: #4a4a4a;
  max-width: 42ch;
  margin: 0;
}
@media (max-width: 640px) {
  .srow {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .srow .phone {
    max-width: 220px;
  }
  .srow__copy .step__num {
    justify-content: center;
  }
}
/* tighter rhythm between the new sections */
.story {
  padding-bottom: clamp(40px, 5vw, 72px);
}
.explore {
  padding-top: clamp(32px, 4vw, 56px);
}
.weekend {
  padding-bottom: clamp(48px, 6vw, 88px);
}
.plan {
  padding-block: clamp(56px, 7vw, 100px);
}

/* ==========================================================================
   PO amendments (Nov 2026): language logos, PO artwork in "How it works"
   ========================================================================== */
.hero__title .hero-logo {
  height: 1.15em;
  width: auto;
  max-width: 100%;
}
.srow--art {
  grid-template-columns: minmax(0, 1.1fr) 1fr;
}
.srow__art {
  display: flex;
  justify-content: center;
}
.srow__art img {
  width: 100%;
  max-width: 440px;
  height: auto;
}
@media (max-width: 640px) {
  .srow--art {
    grid-template-columns: 1fr;
  }
  .srow__art img {
    max-width: 340px;
  }
}
