/* ================================================================
   DIWAN COFFEE HOUSE — Design System
   Palestinian-owned café · Bellevue, WA
   ================================================================ */

/* 1. DESIGN TOKENS
   ================================================================ */
:root {
  /* Light Mode: Aged Parchment & Warm Sand */
  --c-bg:         #F3EDE2;
  --c-surface:    #EAE2D4;
  --c-surface-2:  #E0D6C5;
  --c-surface-3:  #D5C9B4;
  --c-divider:    #C8BAA2;
  --c-border:     #BAA98F;
  --c-text:       #1A110C;
  --c-text-muted: #63503D;
  --c-text-faint: #9E8B77;
  --c-text-inv:   #F3EDE2;

  /* Brand */
  --c-primary:    #9B4A1C;   /* Burnt terracotta */
  --c-primary-h:  #7C3712;
  --c-primary-a:  #662C0C;
  --c-primary-bg: #F0DDD2;
  --c-gold:       #83703C;
  --c-gold-light: #D4C49A;
  --c-star:       #D4A21A;

  /* Type */
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  --ff-arabic:  'Noto Naskh Arabic', serif;

  /* Fluid Type Scale */
  --t-xs:    clamp(0.72rem,  0.69rem + 0.14vw, 0.8rem);
  --t-sm:    clamp(0.85rem,  0.80rem + 0.22vw, 1rem);
  --t-base:  clamp(1rem,     0.95rem + 0.22vw, 1.125rem);
  --t-md:    clamp(1.1rem,   1.0rem  + 0.5vw,  1.5rem);
  --t-lg:    clamp(1.4rem,   1.1rem  + 1.4vw,  2.5rem);
  --t-xl:    clamp(2rem,     1.4rem  + 3vw,    4.5rem);
  --t-hero:  clamp(3rem,     1rem    + 8vw,    8.5rem);

  /* Spacing (8px grid) */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;
  --s-4: 1rem;     --s-5: 1.25rem;  --s-6: 1.5rem;
  --s-8: 2rem;     --s-10: 2.5rem;  --s-12: 3rem;
  --s-16: 4rem;    --s-20: 5rem;    --s-24: 6rem;
  --s-32: 8rem;

  /* Borders & Radius */
  --r-xs:   2px;
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   14px;
  --r-xl:   22px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 4px rgba(26,17,12,0.05);
  --sh-sm: 0 3px 10px rgba(26,17,12,0.07);
  --sh-md: 0 8px 24px rgba(26,17,12,0.09);
  --sh-lg: 0 16px 48px rgba(26,17,12,0.13);
  --sh-xl: 0 32px 80px rgba(26,17,12,0.18);

  /* Transitions */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --tr-fast:    160ms var(--ease);
  --tr-mid:     280ms var(--ease);
  --tr-slow:    420ms var(--ease);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --c-bg:         #120A04;
  --c-surface:    #1C1108;
  --c-surface-2:  #24180D;
  --c-surface-3:  #2E1F11;
  --c-divider:    #3E2C18;
  --c-border:     #503C24;
  --c-text:       #EDE5D8;
  --c-text-muted: #A8917A;
  --c-text-faint: #7A6450;
  --c-text-inv:   #120A04;
  --c-primary:    #D4922E;
  --c-primary-h:  #E8A840;
  --c-primary-a:  #F5BC52;
  --c-primary-bg: #2E1C08;
  --c-gold:       #C89662;
  --c-gold-light: #3A2814;
  --c-star:       #E8B830;
  --sh-xs: 0 1px 4px rgba(0,0,0,0.25);
  --sh-sm: 0 3px 10px rgba(0,0,0,0.35);
  --sh-md: 0 8px 24px rgba(0,0,0,0.45);
  --sh-lg: 0 16px 48px rgba(0,0,0,0.55);
  --sh-xl: 0 32px 80px rgba(0,0,0,0.65);
}

/* 2. RESET & BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tr-fast);
}

button {
  font-family: var(--ff-body);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--tr-mid);
}

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

input, textarea {
  font-family: var(--ff-body);
}

ul { list-style: none; }

/* 3. LAYOUT UTILITIES
   ================================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--s-6);
}

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

/* Reveal Animation System */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 4. TYPOGRAPHY COMPONENTS
   ================================================================ */
.section-eyebrow {
  display: block;
  font-size: var(--t-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-primary);
  margin-bottom: var(--s-3);
}

.section-headline {
  font-size: var(--t-xl);
  margin-bottom: var(--s-4);
}

.section-subline {
  font-size: var(--t-base);
  color: var(--c-text-muted);
  max-width: 52ch;
  line-height: 1.7;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-size: var(--t-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-full);
  background-color: var(--c-surface-2);
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-8);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--tr-mid);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--c-primary);
  color: var(--c-text-inv);
  box-shadow: var(--sh-sm);
}
.btn-primary:hover {
  background-color: var(--c-primary-h);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn-primary:active {
  background-color: var(--c-primary-a);
  transform: translateY(0);
}

.btn-outline {
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
}
.btn-outline:hover {
  background-color: var(--c-surface);
  border-color: var(--c-text-muted);
}

.btn-ghost {
  color: var(--c-primary);
  padding: var(--s-2) 0;
}
.btn-ghost:hover { opacity: 0.75; }

/* 5. TODAY'S SPECIAL BANNER
   ================================================================ */
.special-banner {
  position: relative;
  z-index: 1001;
  background-color: var(--c-primary);
  color: var(--c-text-inv);
  font-size: var(--t-sm);
  font-weight: 500;
  text-align: center;
  padding: var(--s-2) var(--s-12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  overflow: hidden;
}

.banner-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

.banner-close {
  position: absolute;
  right: var(--s-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-inv);
  opacity: 0.7;
  display: flex;
  padding: var(--s-1);
}
.banner-close:hover { opacity: 1; }

.special-banner.hidden {
  display: none;
}

/* 6. NAVIGATION
   ================================================================ */

/* Sticky wrapper for utility bar + main nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ── Utility Bar ── */
.utility-bar {
  background-color: var(--c-surface-3);
  border-bottom: 1px solid var(--c-divider);
  height: 36px;
  display: flex;
  align-items: center;
  transition: background-color var(--tr-slow);
}

[data-theme="dark"] .utility-bar {
  background-color: var(--c-surface-2);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--s-4);
}

.utility-group {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--c-text-muted);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.utility-item a {
  color: var(--c-text-muted);
  font-weight: 500;
  transition: color var(--tr-fast);
}
.utility-item a:hover { color: var(--c-primary); }

.utility-sep {
  width: 1px;
  height: 12px;
  background-color: var(--c-border);
  flex-shrink: 0;
}

.utility-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--c-primary);
  color: var(--c-text-inv) !important;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color var(--tr-fast), transform var(--tr-fast);
}
.utility-pill:hover {
  background-color: var(--c-primary-h) !important;
  transform: translateY(-1px);
}

.utility-open {
  color: #3e8c3e;
  font-weight: 600;
}
[data-theme="dark"] .utility-open { color: #72c172; }

/* Hide middle group on small screens */
@media (max-width: 768px) {
  .utility-mid { display: none; }
}
@media (max-width: 480px) {
  .utility-bar { display: none; }
}

.site-nav {
  background-color: rgba(243, 237, 226, 0.88);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--c-divider);
  transition: background-color var(--tr-slow), box-shadow var(--tr-slow);
}

[data-theme="dark"] .site-nav {
  background-color: rgba(18, 10, 4, 0.88);
}

.site-nav.scrolled {
  box-shadow: var(--sh-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--ff-display);
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-10);
}

.nav-links a {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--c-text-muted);
  position: relative;
  padding-block: var(--s-1);
  transition: color var(--tr-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--c-primary);
  transition: width var(--tr-mid);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  color: var(--c-text-muted);
  transition: all var(--tr-fast);
}
.nav-icon-btn:hover {
  background-color: var(--c-surface);
  color: var(--c-text);
}

.nav-cta {
  background-color: var(--c-primary);
  color: var(--c-text-inv);
  padding: var(--s-2) var(--s-5);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--tr-fast);
}
.nav-cta:hover {
  background-color: var(--c-primary-h);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  border-radius: var(--r-sm);
}
.menu-btn:hover { background-color: var(--c-surface); }

/* Mobile Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26,17,12,0.5);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-slow);
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100dvh;
  background-color: var(--c-bg);
  z-index: 1002;
  box-shadow: var(--sh-xl);
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  gap: var(--s-8);
  transition: right 0.35s var(--ease);
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.drawer-nav a {
  font-family: var(--ff-display);
  font-size: var(--t-md);
  font-weight: 700;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--c-text);
}
.drawer-nav a:hover { color: var(--c-primary); }

.drawer-footer {
  margin-top: auto;
}

/* 7. HERO
   ================================================================ */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #F3EDE2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('photos/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(18, 8, 3, 0.62) 0%,
    rgba(18, 8, 3, 0.48) 50%,
    rgba(18, 8, 3, 0.70) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: var(--s-6);
}

.hero-arabic {
  display: block;
  font-family: var(--ff-arabic);
  font-size: var(--t-lg);
  color: var(--c-gold-light);
  direction: rtl;
  margin-bottom: var(--s-4);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease) 0.2s forwards;
}

.hero-h1 {
  font-size: var(--t-hero);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-5);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease) 0.45s forwards;
}

.hero-tagline {
  font-size: var(--t-sm);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243,237,226,0.75);
  margin-bottom: var(--s-10);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease) 0.65s forwards;
}

.hero-ctas {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease) 0.85s forwards;
}

.hero-btn-primary {
  background-color: var(--c-primary);
  color: #F3EDE2;
  padding: var(--s-4) var(--s-10);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: var(--t-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--tr-mid);
  box-shadow: 0 4px 20px rgba(155,74,28,0.4);
}
.hero-btn-primary:hover {
  background-color: var(--c-primary-h);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(155,74,28,0.5);
}

.hero-btn-outline {
  border: 1.5px solid rgba(243,237,226,0.55);
  color: #F3EDE2;
  padding: var(--s-4) var(--s-10);
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: var(--t-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--tr-mid);
  backdrop-filter: blur(4px);
}
.hero-btn-outline:hover {
  background-color: rgba(243,237,226,0.15);
  border-color: rgba(243,237,226,0.85);
}

/* Hero Steam */
.hero-steam {
  position: absolute;
  bottom: var(--s-12);
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 120px;
  pointer-events: none;
  opacity: 0.3;
}

.steam-line {
  fill: none;
  stroke: #F3EDE2;
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: steamRise 5s infinite linear;
}
.steam-line:nth-child(2) { animation-delay: 1.7s; stroke-width: 2; }
.steam-line:nth-child(3) { animation-delay: 3.4s; stroke-width: 3; }

@keyframes steamRise {
  0%   { stroke-dasharray: 0 140; stroke-dashoffset: 0;    opacity: 0; }
  10%  { opacity: 0.5; }
  70%  { opacity: 0.15; }
  100% { stroke-dasharray: 80 60; stroke-dashoffset: -140; opacity: 0; }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--s-8);
  right: var(--s-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  color: rgba(243,237,226,0.5);
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  animation: fadeSlideUp 1s var(--ease) 1.2s backwards;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(243,237,226,0.5));
  animation: lineGrow 2s ease-in-out infinite;
}

@keyframes lineGrow {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 0.7; }
}

/* 8. STORY SECTION
   ================================================================ */
.story-section {
  padding: var(--s-24) 0;
  background-color: var(--c-surface);
  position: relative;
  overflow: hidden;
}

.story-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z M40 15L65 40L40 65L15 40Z' fill='%231A110C' fill-rule='evenodd' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-6);
}

.story-h2 {
  font-size: var(--t-xl);
  margin-bottom: var(--s-5);
  color: var(--c-text);
}

.story-body {
  font-size: var(--t-base);
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--s-5);
}

.story-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--t-md);
  line-height: 1.5;
  color: var(--c-text);
  border-left: 3px solid var(--c-primary);
  padding-left: var(--s-5);
  margin: var(--s-8) 0;
}
.story-quote cite {
  display: block;
  font-style: normal;
  font-size: var(--t-sm);
  font-family: var(--ff-body);
  color: var(--c-text-faint);
  margin-top: var(--s-2);
  font-weight: 500;
}

.story-image-wrap {
  position: relative;
}

.story-image-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4/5;
}

.story-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.story-image-frame:hover img {
  transform: scale(1.03);
}

.story-stat-pill {
  position: absolute;
  bottom: var(--s-6);
  left: -var(--s-6);
  background-color: var(--c-bg);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
  box-shadow: var(--sh-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-30px);
}

.stat-number {
  font-family: var(--ff-display);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--c-primary);
}

.stat-label {
  font-size: var(--t-xs);
  color: var(--c-text-muted);
  font-weight: 500;
}

/* 9. MENU SECTION
   ================================================================ */
.menu-section {
  padding: var(--s-24) 0;
  background-color: var(--c-bg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--s-16);
}

/* Featured Items Bento Grid */
.menu-featured {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-16);
}

.feat-card {
  background-color: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  border: 1px solid var(--c-divider);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-3);
  transition: transform var(--tr-slow), box-shadow var(--tr-slow);
  cursor: default;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.feat-card-1 {
  grid-column: span 7;
  background-color: var(--c-primary-bg);
  border-color: rgba(155,74,28,0.2);
}

.feat-card-2 { grid-column: span 5; }
.feat-card-3 { grid-column: span 5; }

.feat-card-4 {
  grid-column: span 7;
  background-color: var(--c-surface-2);
}

.feat-card-title {
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--c-text);
}

.feat-card-arabic {
  font-family: var(--ff-arabic);
  font-size: var(--t-base);
  color: var(--c-gold);
  direction: rtl;
  display: block;
}

.feat-card-desc {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  flex: 1;
}

.feat-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-2);
}

.feat-card-price {
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--c-primary);
  font-family: var(--ff-body);
}

/* Menu Tabs */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-8);
}

.tab-btn {
  padding: var(--s-2) var(--s-5);
  border-radius: var(--r-full);
  font-size: var(--t-sm);
  font-weight: 500;
  border: 1.5px solid var(--c-border);
  color: var(--c-text-muted);
  transition: all var(--tr-fast);
}

.tab-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.tab-btn.active {
  background-color: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-text-inv);
}

.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-3);
  animation: fadeIn 0.3s var(--ease);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4);
  background-color: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--c-divider);
  transition: all var(--tr-fast);
}

.menu-item:hover {
  background-color: var(--c-surface-2);
  border-color: var(--c-border);
}

.menu-item-info { flex: 1; }
.menu-item-name {
  font-weight: 600;
  font-size: var(--t-base);
  margin-bottom: 2px;
}
.menu-item-arabic {
  font-family: var(--ff-arabic);
  font-size: var(--t-sm);
  color: var(--c-gold);
  direction: rtl;
  display: block;
}
.menu-item-desc {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  margin-top: var(--s-1);
  line-height: 1.5;
}
.menu-item-price {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--c-primary);
  font-size: var(--t-base);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-cta-wrap {
  text-align: center;
  margin-top: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid var(--c-divider);
}

.menu-halal-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  margin-top: var(--s-4);
}

/* Tooltip */
.tooltip-wrap {
  position: relative;
  display: inline-block;
  cursor: help;
  border-bottom: 1.5px dotted var(--c-text-muted);
}

.tooltip-content {
  position: absolute;
  bottom: calc(100% + var(--s-2));
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--c-text);
  color: var(--c-text-inv);
  font-size: var(--t-xs);
  font-family: var(--ff-body);
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-md);
  width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-fast), transform var(--tr-fast);
  transform: translateX(-50%) translateY(4px);
  z-index: 10;
  box-shadow: var(--sh-lg);
}

.tooltip-wrap:hover .tooltip-content,
.tooltip-wrap:focus-within .tooltip-content {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 10. PROVERB SECTION
   ================================================================ */
.proverb-section {
  background-color: var(--c-primary);
  color: var(--c-text-inv);
  padding: var(--s-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.proverb-ornament {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
  font-family: var(--ff-arabic);
  font-size: 20rem;
  font-weight: 700;
  color: currentColor;
  user-select: none;
  line-height: 1;
}

.proverb-ornament-left {
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  direction: rtl;
}

.proverb-ornament-right {
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
}

.proverb-stage {
  max-width: 780px;
  margin: 0 auto;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.proverb-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transform: translateY(8px);
}

.proverb-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateY(0);
}

.proverb-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--t-lg);
  line-height: 1.55;
  margin-bottom: var(--s-5);
  opacity: 0.97;
}

.proverb-attr {
  font-family: var(--ff-body);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}

.proverb-dots {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-8);
  position: relative;
  z-index: 1;
}

.proverb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all var(--tr-fast);
  border: none;
}

.proverb-dot.active {
  background-color: rgba(255,255,255,0.9);
  width: 24px;
  border-radius: var(--r-full);
}

/* 11. GALLERY SECTION
   ================================================================ */
.gallery-section {
  padding: var(--s-24) 0;
  background-color: var(--c-surface-2);
  overflow: hidden;
}

.polaroid-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-8) 0;
  flex-wrap: wrap;
}

.polaroid {
  background-color: #FFFEF9;
  padding: var(--s-3) var(--s-3) var(--s-8) var(--s-3);
  box-shadow: var(--sh-md);
  width: 200px;
  border-radius: var(--r-xs);
  cursor: zoom-in;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), z-index 0s;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .polaroid { background-color: var(--c-surface-3); }

.polaroid:nth-child(1) { transform: rotate(-4.5deg) translateY(8px); }
.polaroid:nth-child(2) { transform: rotate(2.5deg) translateY(-5px); }
.polaroid:nth-child(3) { transform: rotate(-1.5deg) translateY(4px); }
.polaroid:nth-child(4) { transform: rotate(5deg) translateY(10px); }
.polaroid:nth-child(5) { transform: rotate(-3deg) translateY(-2px); }

.polaroid:hover {
  transform: rotate(0deg) translateY(-12px) scale(1.08) !important;
  box-shadow: var(--sh-xl);
  z-index: 10;
}

.polaroid-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.polaroid-caption {
  text-align: center;
  margin-top: var(--s-2);
  font-size: var(--t-xs);
  color: #888;
  font-family: var(--ff-body);
  min-height: 2em;
}

/* 12. VISIT / HOURS SECTION
   ================================================================ */
.visit-section {
  padding: var(--s-24) 0;
  background-color: var(--c-bg);
}

.visit-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s-10);
  align-items: start;
}

.visit-card {
  background-color: var(--c-surface);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  border: 1px solid var(--c-divider);
  box-shadow: var(--sh-sm);
}

.visit-card-title {
  font-size: var(--t-lg);
  margin-bottom: var(--s-3);
}

.visit-subtitle {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--s-6);
  line-height: 1.6;
}

.hours-table {
  margin-bottom: var(--s-6);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-divider);
  font-size: var(--t-sm);
}

.hours-row:last-child { border-bottom: none; }

.hours-row.featured {
  font-weight: 600;
  color: var(--c-primary);
}

.hours-badge {
  font-size: var(--t-xs);
  background-color: var(--c-primary-bg);
  color: var(--c-primary);
  padding: 2px var(--s-2);
  border-radius: var(--r-full);
  font-weight: 600;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-divider);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-sm);
  color: var(--c-text-muted);
}

.contact-item a:hover { color: var(--c-primary); }

.contact-icon {
  color: var(--c-primary);
  flex-shrink: 0;
}

.map-wrapper {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-sm);
  height: 100%;
  min-height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  border: 0;
}

/* 13. REVIEWS SECTION
   ================================================================ */
.reviews-section {
  padding: var(--s-24) 0;
  background-color: var(--c-surface);
}

.reviews-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  margin-bottom: var(--s-12);
  flex-wrap: wrap;
}

.reviews-score {
  font-family: var(--ff-display);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-text);
}

.reviews-stars {
  display: flex;
  gap: 3px;
  color: var(--c-star);
  font-size: var(--t-lg);
}

.reviews-count {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}

.review-card {
  background-color: var(--c-bg);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  border: 1px solid var(--c-divider);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform var(--tr-slow), box-shadow var(--tr-slow);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.review-header {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--c-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--c-primary);
  font-size: var(--t-base);
  flex-shrink: 0;
}

.review-meta { flex: 1; }
.review-name {
  font-weight: 600;
  font-size: var(--t-sm);
}
.review-location {
  font-size: var(--t-xs);
  color: var(--c-text-faint);
}

.review-stars-sm {
  display: flex;
  gap: 2px;
  color: var(--c-star);
  font-size: var(--t-sm);
}

.review-text {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.review-cta {
  text-align: center;
}

/* 14. INSTAGRAM SECTION
   ================================================================ */
.insta-section {
  padding: var(--s-24) 0;
  background-color: var(--c-bg);
}

.insta-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin-bottom: var(--s-2);
}

.insta-handle a {
  font-weight: 600;
  color: var(--c-primary);
  font-size: var(--t-base);
}
.insta-handle a:hover { text-decoration: underline; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-8);
}

.insta-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background-color: var(--c-surface-2);
}

.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(155, 74, 28, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--tr-mid);
  color: #fff;
}

.insta-tile:hover img { transform: scale(1.08); }
.insta-tile:hover .insta-overlay { opacity: 1; }

.insta-cta {
  text-align: center;
  margin-top: var(--s-8);
}

/* 15. COMMUNITY CTA
   ================================================================ */
.community-cta {
  padding: var(--s-20) 0;
  background-color: var(--c-surface-3);
  text-align: center;
}

.community-cta .section-headline {
  font-size: var(--t-xl);
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--s-4);
}

.community-cta .section-subline {
  margin-inline: auto;
  margin-bottom: var(--s-8);
}

/* 16. NEWSLETTER
   ================================================================ */
.newsletter-section {
  background-color: var(--c-primary);
  color: var(--c-text-inv);
  padding: var(--s-16) 0;
}

.newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-size: var(--t-lg);
  margin-bottom: var(--s-2);
}

.newsletter-inner p {
  opacity: 0.8;
  font-size: var(--t-sm);
  margin-bottom: var(--s-6);
}

.newsletter-form {
  display: flex;
  gap: var(--s-3);
}

.newsletter-input {
  flex: 1;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.25);
  background-color: rgba(255,255,255,0.12);
  color: var(--c-text-inv);
  font-size: var(--t-sm);
  backdrop-filter: blur(4px);
  transition: border-color var(--tr-fast);
}

.newsletter-input::placeholder {
  color: rgba(243,237,226,0.55);
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.7);
  background-color: rgba(255,255,255,0.18);
}

.newsletter-submit {
  background-color: var(--c-text);
  color: var(--c-text-inv);
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: var(--t-sm);
  letter-spacing: 0.05em;
  transition: all var(--tr-fast);
  white-space: nowrap;
}

.newsletter-submit:hover { opacity: 0.85; }

.newsletter-success {
  display: none;
  padding: var(--s-4);
  background-color: rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  font-weight: 500;
  animation: fadeIn 0.4s var(--ease);
}

/* 17. FOOTER
   ================================================================ */
.site-footer {
  background-color: #0F0704;
  color: #E8DDD0;
  padding: var(--s-16) 0 var(--s-8) 0;
  border-top: 1px solid #2A1C10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-12);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid #2A1C10;
}

.footer-brand {}

.footer-brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--s-4);
  filter: brightness(0.9) sepia(0.2);
}

.footer-brand-name {
  font-family: var(--ff-display);
  font-size: var(--t-lg);
  color: #EDE5D8;
  margin-bottom: var(--s-4);
  line-height: 1;
}

.footer-brand-desc {
  font-size: var(--t-sm);
  color: #8A7566;
  line-height: 1.7;
  max-width: 28ch;
}

.footer-col-title {
  font-family: var(--ff-body);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-gold);
  margin-bottom: var(--s-4);
  font-weight: 600;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.footer-col-links a {
  color: #8A7566;
  font-size: var(--t-sm);
  transition: color var(--tr-fast);
}

.footer-col-links a:hover { color: #EDE5D8; }

.footer-address {
  font-size: var(--t-sm);
  color: #8A7566;
  line-height: 1.8;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.footer-legal {
  font-size: var(--t-xs);
  color: #5E4E40;
}

.footer-certifications {
  display: flex;
  gap: var(--s-2);
}

.cert-tag {
  font-size: var(--t-xs);
  padding: 2px var(--s-2);
  border-radius: var(--r-full);
  border: 1px solid #3A2818;
  color: #7A6550;
  font-weight: 500;
}

/* 18. ANIMATIONS
   ================================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 19. RESPONSIVE BREAKPOINTS
   ================================================================ */

/* Tablet and below (992px) */
@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--s-10);
  }

  .story-image-wrap {
    order: -1;
  }

  .story-image-frame {
    aspect-ratio: 16/9;
  }

  .story-stat-pill {
    display: none;
  }

  .menu-featured {
    grid-template-columns: 1fr 1fr;
  }

  .feat-card-1,
  .feat-card-2,
  .feat-card-3,
  .feat-card-4 {
    grid-column: span 1;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    min-height: 320px;
  }

  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero-scroll {
    display: none;
  }

  .menu-featured {
    grid-template-columns: 1fr;
  }

  .feat-card-1,
  .feat-card-2,
  .feat-card-3,
  .feat-card-4 {
    grid-column: span 1;
  }

  .polaroid-stack {
    gap: var(--s-4);
  }

  .polaroid {
    width: 160px;
  }

  .polaroid:nth-child(n) {
    transform: rotate(0deg) translateY(0) !important;
  }
}

/* Small Mobile (576px) */
@media (max-width: 576px) {
  .container {
    padding-inline: var(--s-4);
  }

  .polaroid-stack {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding-inline: var(--s-4);
    gap: var(--s-3);
    scrollbar-width: none;
  }

  .polaroid-stack::-webkit-scrollbar { display: none; }

  .polaroid {
    flex-shrink: 0;
    scroll-snap-align: center;
    width: 180px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-submit {
    width: 100%;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-base {
    flex-direction: column;
    text-align: center;
  }
}

/* 20. ACCESSIBILITY
   ================================================================ */
@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;
  }

  .hero-bg {
    animation: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .proverb-stage {
    position: static;
    flex-direction: column;
    gap: var(--s-8);
  }

  .proverb-slide {
    position: static;
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s-4);
  background-color: var(--c-primary);
  color: var(--c-text-inv);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--s-4);
}
