:root {
  --clay: #BE5C3F;
  --clay-deep: #9A4227;
  --gold: #E8AE5E;
  --cream: #F7EFE4;
  --sand: #E9D8C2;
  --roast: #3A2016;
  --foam: #FBF6EE;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  color: var(--roast);
  background: var(--cream);
  scroll-padding-top: 80px;
}

html.js {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Alexandria', system-ui, sans-serif;
  font-weight: 700;
  margin-top: 0;
}

h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); margin-bottom: 0.5em; line-height: 1.2; }
h2, .branches-title { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 0.5em; line-height: 1.2; }
h3 { font-size: 1.3rem; margin-bottom: 0.5em; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 3rem);
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.menu-intro {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.menu-intro .container {
  padding-bottom: 0;
}
.menu-category .container {
  padding-top: 2.5rem;
  padding-bottom: 0;
}
.menu-intro + .menu-category .container {
  padding-top: 2rem;
}
.menu-category:last-of-type {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.block-max {
  max-width: 720px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 3px solid var(--clay);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem clamp(1rem, 4vw, 3rem);
  min-height: 80px;
}

.site-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Alexandria', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clay);
  font-size: 1.2rem;
}

.site-mark svg {
  width: 2.5rem;
  height: auto;
  fill: currentColor;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--roast);
  padding: 0.5rem;
}

.site-nav a[aria-current="page"] {
  color: var(--clay);
}


.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clay);
  color: var(--foam);
  padding: 0.5rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  min-height: 44px;
}

.pill-outline {
  background: transparent;
  color: var(--clay);
  border: 2px solid var(--clay);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--clay);
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

.nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--clay);
  color: var(--foam);
  padding: 1rem;
}

@media (max-width: 759px) {
  html.js .site-nav {
    display: none;
  }
  html.js .nav-toggle {
    display: block;
  }
  .nav-drawer[aria-expanded="true"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .nav-drawer a {
    display: flex;
    align-items: center;
    min-height: 56px;
    color: var(--foam);
    font-weight: 600;
  }
  html:not(.js) .site-nav {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
  }
}

/* Footer */
.site-footer {
  background: var(--clay);
  color: var(--foam);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
}

.site-footer h3 {
  color: var(--foam);
}
.site-footer a { color: var(--foam); }
@media (max-width: 759px) {
  .site-footer a {
    padding: 0.75rem 0;
    margin: -0.75rem 0;
  }
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 1160px;
  margin: 0 auto;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-right, .footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-branch p { margin: 0; opacity: 0.9; }

/* Focus */
*:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-footer *:focus-visible,
.site-header .site-mark:focus-visible {
  outline-color: var(--gold);
}

/* Circle mask */
.circle-mask {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--clay);
}

.tray-band {
  background: var(--sand);
  padding: 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.tray-fact { display: flex; align-items: center; gap: 0.5rem; }
.tray-fact svg { width: 1.5rem; fill: var(--clay); }

.clay-bg { background: var(--clay); color: var(--foam); }
.cream-bg { background: var(--cream); }
.sand-bg { background: var(--sand); }

.gold-tag {
  background: var(--gold);
  color: var(--roast);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: 'Alexandria', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.open-pill {
  display: none;
  background: var(--gold);
  color: var(--roast);
  padding: 0.2rem 0.8rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  align-self: flex-start;
}
.open-pill.is-open { display: inline-flex; }

.hero-text .open-pill {
  margin-top: 0.75rem;
}

.open-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Hero Disc */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.hero-text { z-index: 2; }
.hero-disc-wrap { position: relative; z-index: 1; }

.hero-disc {
  position: relative;
  width: 78vw;
  height: 78vw;
  max-width: 640px;
  max-height: 640px;
  background: var(--clay);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 760px) {
  .hero-disc {
    width: 62vmin;
    height: 62vmin;
    margin-right: auto;
    margin-left: 0;
  }
}

.hero-photo {
  width: 58%;
  height: 58%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.hero-video {
  display: block;
}
.hero-video + img.hero-photo {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none !important;
  }
  .hero-video + img.hero-photo {
    display: block;
  }
}

.hero-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 70s linear infinite;
  z-index: 1;
  overflow: visible;
}

.hero-ring text {
  fill: var(--gold);
  font-family: 'Alexandria', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 4.8px; /* viewBox units: text length matches the r=45 circumference */
}

.hero-sticker {
  position: absolute;
  bottom: 10%;
  right: 10%;
  background: var(--gold);
  color: var(--roast);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transform: rotate(-5deg);
  z-index: 3;
}

/* Reveal */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
html.js .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.rise-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 600ms ease-out forwards;
}

.settle-in {
  animation: settle 900ms ease-out forwards;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes riseIn { 100% { opacity: 1; transform: translateY(0); } }
@keyframes settle { 0% { transform: scale(0.96); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Menu rows */
.menu-row {
  background: var(--sand);
  border-radius: 18px;
  border: 2px solid color-mix(in srgb, var(--clay) 25%, transparent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* very soft shadow, NO hex black/white */
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 900px) {
  .menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .menu-row { margin-bottom: 0; }
}

.menu-thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.menu-thumb-empty {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--clay);
  flex-shrink: 0;
}

.menu-thumb-empty svg {
  width: 36px;
  height: auto;
  stroke: var(--clay);
  stroke-width: 2;
  fill: none;
}

.menu-info { flex-grow: 1; }
.menu-info h3 { margin: 0; font-size: 1.15rem; }
.menu-cal { font-size: 0.85rem; opacity: 0.7; margin: 0; }
.menu-price { flex-shrink: 0; }

.jump-list {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 759px) {
  .jump-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .jump-list::-webkit-scrollbar { display: none; }
}
.jump-list a {
  background: var(--sand);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  white-space: nowrap;
  font-weight: 600;
}

/* Home Signature Tray */
.sig-tray {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}
.sig-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sig-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--clay);
  transition: transform 250ms ease;
}
@media (min-width: 760px) {
  .sig-thumb {
    width: 220px;
    height: 220px;
  }
  .sig-thumb:hover { transform: rotate(4deg); }
  .sig-tray { gap: 1rem; justify-content: space-around; align-items: flex-start; }
}

/* Saucers */
.saucers-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.saucer {
  background: var(--sand);
  color: var(--roast);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  transition: transform 200ms ease;
}
@media (min-width: 760px) {
  /* One dense row across the full container: the earlier scattered placement left large voids */
  .saucers-grid { align-items: center; }
  .saucer:hover { transform: translateY(-6px); }
  .s1 { grid-column: 1 / 5; aspect-ratio: 1 / 1; width: 100%; }
  .s2 { grid-column: 5 / 9; aspect-ratio: 1 / 1; width: 100%; margin-top: 3rem; }
  .s3 { grid-column: 9 / 13; aspect-ratio: 1 / 1; width: 100%; margin-top: -1.5rem; }
  .saucer { animation: floatY 7s ease-in-out infinite; }
  .s2 { animation-delay: -2.3s; }
  .s3 { animation-delay: -4.6s; }
}
@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@media (max-width: 759px) {
  .saucers-grid { display: flex; flex-direction: column; }
  .saucer { border-radius: 32px; height: auto; }
}

.kicker { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; color: var(--clay); margin-bottom: 0.5rem; }
.saucer .kicker { color: var(--clay); }

.band-heading {
  background: var(--clay);
  color: var(--foam);
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.band-heading h2 { margin: 0; font-size: 1.5rem; }
.band-heading svg { width: 1.5rem; fill: currentColor; }

table.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
}
.hours-table td, .hours-table th {
  padding: 0.6rem 0.75rem;
  text-align: right;
}
.hours-table th {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 600;
}
.hours-table tr:nth-child(even) {
  background: var(--cream);
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .branches-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.home-branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .home-branches-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
.branch-card {
  background: var(--sand);
  border-radius: 24px;
  padding: 1.5rem;
}

/* Contact tiles */
.contact-tiles {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-tile {
  background: var(--sand);
  padding: 1.5rem;
  border-radius: 16px;
  flex: 1 1 auto;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Rating strip */
.rating-strip { max-width: 720px; }
.rating-stars { color: var(--gold); display: inline-flex; gap: 0.2rem; align-items: center; }
.rating-stars svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }

/* Tap targets */
@media (max-width: 759px) {
  a, button {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }
.pt-0 { padding-top: 0; }
.pt-4 { padding-top: 2rem; }
.mt-10 { margin-top: 5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mb-6 { margin-bottom: 3rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 1rem; }

.grid-cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-thirds { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.grid-thirds img { width: 100%; height: 340px; object-fit: cover; }
@media (max-width: 759px) {
  .grid-thirds { grid-template-columns: 1fr 1fr; }
  .grid-thirds img { height: 220px; }
  .grid-thirds img:first-child { grid-column: 1 / -1; height: 260px; }
}

.overflow-hidden { overflow: hidden; }
.radius-24 { border-radius: 24px; }
.img-120 { width: 120px; height: 120px; }

.op-70 { opacity: 0.7; }
.op-80 { opacity: 0.8; }
.op-90 { opacity: 0.9; }

.font-sm { font-size: 0.9rem; }
.font-md { font-size: 1.1rem; }
.font-lg { font-size: 1.2rem; }
.font-xl { font-size: 1.5rem; }
.font-xxl { font-size: 1.8rem; }
.font-xxxl { font-size: 2rem; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.color-roast { color: var(--roast); }
.color-clay { color: var(--clay); }
.border-clay { border-color: var(--clay); }

.max-w-200 { max-width: 200px; margin-left: auto; margin-right: auto; }
.max-w-180 { max-width: 180px; margin-left: auto; margin-right: auto; }
.max-w-240 { max-width: 240px; margin-left: auto; margin-right: auto; }

.delay-60 { animation-delay: 60ms; }
.delay-120 { animation-delay: 120ms; transition-delay: 120ms; }
.delay-180 { animation-delay: 180ms; }
.delay-240 { animation-delay: 240ms; transition-delay: 240ms; }
.delay-300 { animation-delay: 300ms; }



.sig-tray {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 759px) {
  .sig-tray {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 760px) {
  .about-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.tall-pill {
  border-radius: 32px;
  max-height: 560px;
  width: 100%;
  object-fit: cover;
}
.p-4 { padding: 1.5rem; }
html, body { overflow-x: clip; }

/* Visual header order in RTL: CTA at the start (right), nav center, Latin wordmark at the end (left) */
.site-nav-container {
  order: 2;
  display: flex;
  align-items: center;
  position: static;
}
.site-mark { order: 3; }
.site-cta { order: 1; }
