/* =========================================================
   Baraka — editorial Levantine kitchen, Lewiston Maine
   ========================================================= */

:root {
  --ink:           #16100C;
  --ink-soft:      #2A211B;
  --bone:          #F5EDE0;
  --paper:         #FAF5EA;
  --cream:         #FFFAF1;
  --pomegranate:   #8B2818;
  --pomegranate-d: #5C1A10;
  --saffron:       #D8943B;
  --saffron-l:     #E8B560;
  --pistachio:     #8FA47C;
  --olive:         #5A6B3D;
  --muted:         #7A6E60;
  --line:          rgba(22, 16, 12, 0.12);
  --line-strong:   rgba(22, 16, 12, 0.28);

  --serif:  "Fraunces", "Georgia", "Times New Roman", serif;
  --sans:   "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Amiri", "Geist", serif;

  --max:    1320px;
  --pad-x:  clamp(20px, 4.6vw, 72px);
  --header-h: 96px;

  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* offset anchor jumps so section headings clear the sticky header */
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* prevent sideways panning on mobile from wide content (e.g. the marquee).
     clip avoids creating a scroll container, so sticky/vertical scroll are unaffected */
  overflow-x: hidden;
  overflow-x: clip;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection { background: var(--pomegranate); color: var(--cream); }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(216, 148, 59, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 110%, rgba(139, 40, 24, 0.10), transparent 60%);
  overflow-x: hidden;
  overflow-x: clip;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.06 0 0 0 0 0.05 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

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

button { font: inherit; }

/* touch + keyboard affordances */
a, button { -webkit-tap-highlight-color: rgba(139, 40, 24, 0.14); }

:focus-visible {
  outline: 2px solid var(--pomegranate);
  outline-offset: 3px;
  border-radius: 6px;
}
.visit :focus-visible { outline-color: var(--saffron); }

.skip {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------------- typography ---------------- */
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; }
p { margin: 0; }

em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--pomegranate);
}

.eyebrow,
.section-index,
.footer-label,
.detail-label,
.hero-card-eyebrow,
.dish-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-index {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 14px 6px 0;
  color: var(--pomegranate);
  border-top: 1px solid currentColor;
  letter-spacing: 0.24em;
}

/* ---------------- brand lockup ---------------- */
.brand { display: block; }

.header .brand {
  display: block;
  width: 200px;
  height: 64px;
}
.header .brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-stacked {
  display: block;
  width: 200px;
  height: 150px;
}
.brand-stacked img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

/* ---------------- header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 16px var(--pad-x);
  background: rgba(250, 245, 234, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  font-size: 0.96rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 8px 2px;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--pomegranate); }
.nav a:hover::after { transform: scaleX(1); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream);
  background: var(--ink);
  border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.cta:hover { background: var(--pomegranate); transform: translateY(-1px); }
.cta:active { transform: scale(0.97); }

.cta-dot {
  width: 7px;
  height: 7px;
  background: var(--saffron);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(216, 148, 59, 0.25);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(216, 148, 59, 0.4); }
  50%      { box-shadow: 0 0 0 7px rgba(216, 148, 59, 0); }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 24px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

[hidden] { display: none !important; }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  padding: 40px var(--pad-x) 60px;
  gap: 18px;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  animation: slideDown 0.35s var(--ease);
}
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .cta {
  font-family: var(--sans);
  font-style: normal;
  font-size: 1rem;
  align-self: flex-start;
  margin-top: 16px;
}
.mobile-address {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--muted);
  line-height: 1.5;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--pad-x) clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  top: -20px;
  right: -40px;
  font-family: var(--arabic);
  font-size: clamp(20rem, 36vw, 38rem);
  line-height: 0.8;
  color: var(--pomegranate);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-copy { position: relative; z-index: 1; max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  color: var(--ink-soft);
}
.eyebrow-rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--pomegranate);
}

h1 {
  font-size: clamp(4.6rem, 12vw, 12rem);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  letter-spacing: -0.045em;
  color: var(--pomegranate);
  margin-bottom: 20px;
  text-wrap: balance;
  line-height: 0.95;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-variation-settings: "opsz" 60;
}

.hero-byline {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  max-width: 22em;
}

.hero-body {
  max-width: 52ch;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 0.96rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.button svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.button:hover svg { transform: translateX(4px); }
.button:active { transform: translateY(0) scale(0.97); }

.button-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 12px 28px -10px rgba(22, 16, 12, 0.4);
}
.button-primary:hover {
  background: var(--pomegranate);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(139, 40, 24, 0.45);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.button-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  margin: 0;
}
.hero-meta div { display: grid; gap: 6px; }
.hero-meta dt {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
}

/* hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px 12px 200px 12px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(87, 48, 24, 0.35),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s var(--ease);
}
.hero-frame:hover img { transform: scale(1.12); }
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(22, 16, 12, 0.35) 100%);
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 92px;
  height: 110px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card {
  position: absolute;
  right: -8px;
  bottom: 32px;
  z-index: 2;
  width: min(280px, 75%);
  padding: 22px 24px;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: 0 20px 50px -10px rgba(87, 48, 24, 0.28);
}
.hero-card-eyebrow { color: var(--pomegranate); margin-bottom: 10px; }
.hero-card-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.hero-card-price sup { font-size: 0.4em; vertical-align: super; }
.hero-card-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 12px;
}
.hero-card a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pomegranate);
  letter-spacing: 0.02em;
}
.hero-card a:hover { color: var(--pomegranate-d); }

/* ---------------- marquee ---------------- */
.marquee {
  margin: clamp(40px, 6vw, 80px) 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--cream), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--cream), transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: scroll 40s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  color: var(--pomegranate);
  font-size: 0.6em;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------------- story ---------------- */
.story {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 130px) var(--pad-x);
}

#story-title {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 400;
  margin-bottom: 80px;
  max-width: 22ch;
}
.story-arabic {
  font-family: var(--arabic);
  font-size: 1.1em;
  color: var(--pomegranate);
  margin-right: 18px;
  vertical-align: -0.05em;
}
.story-def {
  font-style: italic;
  color: var(--pomegranate);
  font-weight: 500;
}
.story-tail {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 0.4em;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 38ch;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-pillar {
  padding: 36px 28px;
  background: var(--paper);
  transition: background 0.3s var(--ease);
}
.story-pillar:hover { background: var(--cream); }
.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 500;
  color: var(--pomegranate);
  margin-bottom: 14px;
  line-height: 1;
}
.pillar-label {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------------- featured ---------------- */
.featured {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.featured-image {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 200px 12px 12px 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(87, 48, 24, 0.28);
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s var(--ease);
}
.featured-image:hover img { transform: scale(1.12); }

.featured-copy h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  margin-bottom: 24px;
}
.featured-copy p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 24px;
}
.featured-price {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1;
  color: var(--pomegranate);
  margin-bottom: 32px;
}
.featured-price sup { font-size: 0.35em; vertical-align: super; }

/* ---------------- menu ---------------- */
.menu {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) var(--pad-x);
}

.menu-head { margin-bottom: 48px; max-width: 760px; }
.menu-head h2 {
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  font-weight: 400;
  margin-bottom: 22px;
}
.menu-intro {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  margin-bottom: 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
}
.filter {
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.filter:hover { color: var(--pomegranate); }
.filter:active { transform: scale(0.96); }
.filter.is-active {
  background: var(--ink);
  color: var(--cream);
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dish {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
}
.dish:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -16px rgba(87, 48, 24, 0.22);
  border-color: var(--line-strong);
}

.dish-hero {
  grid-column: span 2;
  flex-direction: row;
}
.dish-hero .dish-photo { flex: 1.1; min-height: 320px; }
.dish-hero .dish-body  { flex: 1; }

.dish-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bone);
}
.dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.dish:hover .dish-photo img { transform: scale(1.06); }

.dish-body {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 28px;
  flex-grow: 1;
}

.dish-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 11px;
  color: var(--cream);
  background: var(--pomegranate);
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
.dish-tag-green { background: var(--olive); }
.dish-tag-gold  { color: var(--ink); background: var(--saffron); }
.dish-tag-muted { background: var(--muted); }

.dish h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60;
}
.dish-body p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}
.dish-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--pomegranate);
  margin-top: auto;
  padding-top: 18px;
  line-height: 1;
}
.dish-price sup { font-size: 0.55em; vertical-align: super; }

.dish-soon { opacity: 0.78; }
.dish-soon .dish-price { color: var(--muted); }

.dish.is-hidden { display: none; }

.menu-note {
  margin-top: 40px;
  font-size: 0.96rem;
  color: var(--muted);
  text-align: center;
}
.menu-note a {
  color: var(--pomegranate);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---------------- visit ---------------- */
.visit {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
  padding: clamp(70px, 10vw, 140px) 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.visit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'><g fill='none' stroke='%23D8943B' stroke-width='0.6' opacity='0.18'><path d='M28 0 L56 28 L28 56 L0 28 Z'/><circle cx='28' cy='28' r='6'/><path d='M28 14 L42 28 L28 42 L14 28 Z'/></g></svg>");
  background-size: 56px 56px;
  opacity: 0.4;
  pointer-events: none;
}

.visit-grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.visit .section-index { color: var(--saffron); border-color: var(--saffron); }

.visit-copy h2 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 400;
  margin-bottom: 24px;
}
.visit-copy em { color: var(--saffron); }

.visit-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 300;
  color: rgba(245, 237, 224, 0.78);
  margin-bottom: 50px;
  max-width: 36ch;
  font-variation-settings: "opsz" 60;
}

.visit-details {
  display: grid;
  gap: 32px;
}
.visit-details > div {
  padding-top: 24px;
  border-top: 1px solid rgba(245, 237, 224, 0.18);
}
.detail-label { color: var(--saffron); margin-bottom: 10px; }
.detail-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: 8px;
  font-variation-settings: "opsz" 60;
}
.detail-value a:hover { color: var(--saffron); }
.detail-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--saffron-l);
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
}
.detail-link:hover { color: var(--saffron); }

.detail-hours dl { display: grid; gap: 8px; margin: 0; }
.detail-hours div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.detail-hours dt { color: rgba(245, 237, 224, 0.78); }
.detail-hours dd { margin: 0; color: var(--cream); font-variant-numeric: tabular-nums; }

.visit-map {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px 12px 12px 200px;
  overflow: hidden;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.5);
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) saturate(0.9) contrast(1.05);
}
.map-overlay {
  position: absolute;
  bottom: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.map-overlay svg { width: 14px; height: 14px; }
.map-overlay:hover { background: var(--saffron); transform: translateY(-2px); }

/* ---------------- footer ---------------- */
.footer {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'><g fill='none' stroke='%238B2818' stroke-width='0.6' opacity='0.15'><path d='M28 0 L56 28 L28 56 L0 28 Z'/><circle cx='28' cy='28' r='6'/><path d='M28 14 L42 28 L28 42 L14 28 Z'/></g></svg>");
  background-size: 56px 56px;
  opacity: 0.5;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px var(--pad-x) 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  font-variation-settings: "opsz" 60;
}
.footer-col { font-size: 0.96rem; line-height: 1.65; }
.footer-label { color: var(--pomegranate); margin-bottom: 12px; }
.footer-col a {
  display: inline-block;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--pomegranate); border-color: var(--pomegranate); }
.footer-col .muted { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

.footer-base {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--muted);
}
.footer-base p { margin: 0; }
.footer-base [lang="ar"] { color: var(--pomegranate); font-size: 1.05em; }
.footer-base a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-base a:hover { color: var(--pomegranate); border-color: var(--pomegranate); }

/* ---------------- mobile order bar ---------------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 28;
  display: none;
  gap: 10px;
  padding: 10px var(--pad-x);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 245, 234, 0.9);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-bar-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  background: var(--pomegranate);
  border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(139, 40, 24, 0.7);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.mobile-bar-call svg { width: 18px; height: 18px; }
.mobile-bar-call:active { transform: scale(0.98); background: var(--pomegranate-d); }
.mobile-bar-dir {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 52px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.mobile-bar-dir svg { width: 21px; height: 21px; }
.mobile-bar-dir:active { transform: scale(0.96); background: var(--bone); }

/* hide the bar while the full-screen mobile nav is open */
body.nav-open .mobile-bar { display: none; }

/* ---------------- reveal animations ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.header[data-reveal]:not(.is-visible) { transform: translateY(-12px); }

/* ---------------- responsive ---------------- */

/* --- Laptop & small desktop --- */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 48px); }
  h1 { font-size: clamp(4rem, 11vw, 9.5rem); }
  .featured { gap: clamp(28px, 4vw, 56px); }
}

/* --- Tablet landscape (≤1024) --- */
@media (max-width: 1024px) {
  .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dish-hero { grid-column: span 2; }
  .dish-hero .dish-photo { min-height: 260px; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { gap: clamp(32px, 4vw, 56px); }
}

/* --- Tablet portrait & large phone (≤880) --- */
@media (max-width: 880px) {
  :root { --pad-x: clamp(20px, 5vw, 48px); }
  /* leave room for the fixed mobile order bar */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .header { grid-template-columns: auto 1fr auto; gap: 16px; padding: 12px var(--pad-x); }
  .header .brand { width: 168px; height: 56px; }
  .header .nav, .header .cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { padding-top: 28px; }
  .mobile-bar { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
    gap: 40px;
  }
  .hero-watermark { font-size: 22rem; right: -10vw; top: 30%; opacity: 0.05; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-meta dd { font-size: 1rem; }

  .hero-frame { aspect-ratio: 5 / 4; }
  .hero-mark { width: 80px; height: 96px; top: 14px; left: 14px; }
  .hero-card { right: 20px; bottom: 24px; width: min(260px, 70%); }

  .featured { grid-template-columns: 1fr; gap: 36px; }
  .featured-image { aspect-ratio: 5 / 4; border-radius: 120px 12px 12px 12px; }

  .visit-grid { grid-template-columns: 1fr; }
  .visit-map { aspect-ratio: 4 / 3; border-radius: 12px 12px 12px 120px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .brand-stacked { width: 168px; height: 124px; }
}

/* --- Phone (≤600) --- */
@media (max-width: 600px) {
  body { font-size: 15px; }

  .hero { padding-top: 12px; gap: 32px; }
  .hero-frame { border-radius: 10px 10px 100px 10px; aspect-ratio: 5 / 6; }
  .hero-mark { width: 64px; height: 76px; padding: 4px; top: 12px; left: 12px; }
  .hero-card { right: 12px; bottom: 12px; padding: 16px 18px; width: min(220px, 62%); }
  .hero-card-price { font-size: 2rem; }
  .hero-card-desc { font-size: 0.84rem; margin-bottom: 8px; }

  .hero-tagline { font-size: clamp(1.15rem, 4.6vw, 1.5rem); }
  .hero-byline { font-size: 0.7rem; letter-spacing: 0.24em; padding-bottom: 22px; margin-bottom: 24px; }
  .hero-body { font-size: 0.98rem; margin-bottom: 28px; }
  .hero-actions { gap: 10px; margin-bottom: 36px; }
  .button { padding: 13px 20px; font-size: 0.9rem; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px 22px; padding-top: 22px; }
  .hero-meta div:last-child { display: none; }
  .hero-meta dd { font-size: 0.96rem; }

  .marquee { margin: 36px 0; padding: 20px 0; }
  .marquee-track { font-size: clamp(1.6rem, 7vw, 2.4rem); gap: 32px; }

  #story-title { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 44px; }
  .story-tail { font-size: 0.42em; line-height: 1.55; }
  .story-grid { grid-template-columns: 1fr; }
  .story-pillar { padding: 28px 22px; }

  .featured-copy h2 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .featured-price { font-size: clamp(3rem, 13vw, 4rem); margin-bottom: 26px; }

  .menu-head { margin-bottom: 36px; }
  .menu-head h2 { font-size: clamp(2.2rem, 9vw, 3rem); }

  /* Keep the elegant pill capsule, but let chips scroll horizontally
     instead of wrapping to a second row (which broke the pill shape). */
  .menu-filters {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* subtle fade on the right edge to hint at more content */
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  .menu-filters::-webkit-scrollbar { display: none; }
  .filter {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.88rem;
  }

  .menu-list { grid-template-columns: 1fr; gap: 14px; }
  .dish-hero { grid-column: auto; flex-direction: column; }
  .dish-hero .dish-photo { min-height: 220px; }
  .dish-body { padding: 22px 22px 24px; }

  .visit-copy h2 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .visit-lede { font-size: 1.1rem; margin-bottom: 38px; }
  .detail-value { font-size: 1.2rem; }
  .visit-map { aspect-ratio: 5 / 4; border-radius: 10px 10px 10px 90px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 48px var(--pad-x) 28px; }
  .footer-base { flex-direction: column; gap: 8px; padding-top: 20px; padding-bottom: 28px; align-items: flex-start; }
  .visit-details > div { padding-top: 18px; }
}

/* --- Small phone (≤400) --- */
@media (max-width: 400px) {
  :root { --pad-x: 18px; }
  .header .brand { width: 148px; height: 50px; }
  .menu-toggle { width: 40px; height: 40px; }
  .menu-toggle span { left: 11px; right: 11px; }
  .menu-toggle span:nth-child(1) { top: 14px; }
  .menu-toggle span:nth-child(2) { top: 22px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1),
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 18px; }

  h1 { font-size: clamp(3.4rem, 18vw, 4.6rem); margin-bottom: 16px; }
  .hero-tagline { font-size: 1.15rem; margin-bottom: 12px; }
  .hero-mark { width: 56px; height: 68px; }
  .hero-card { width: min(195px, 68%); padding: 14px 16px; }
  .hero-card-price { font-size: 1.7rem; }
  .hero-card-desc { display: none; }

  .button { padding: 12px 18px; font-size: 0.88rem; }
  .button svg { width: 16px; height: 16px; }

  .featured-image { border-radius: 80px 8px 8px 8px; }
  .featured-price { font-size: clamp(2.6rem, 14vw, 3.2rem); }

  .menu-filters { padding: 4px; }

  .visit-details > div { padding-top: 16px; }
  .visit-map { aspect-ratio: 1 / 1; border-radius: 8px 8px 8px 60px; }
  .map-overlay { left: 14px; bottom: 14px; padding: 10px 14px; font-size: 0.82rem; }

  .section-index { font-size: 0.66rem; letter-spacing: 0.2em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .cta-dot { animation: none; }
}
