:root {
  --bg: #ffffff;
  --surface: #fff7f0;
  --orange: #e8641c;
  --orange-deep: #b8480e;
  --ink: #241a14;
  --muted: #6f6058;
  --line: rgba(232, 100, 28, .22);
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: "Cairo", sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .018; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 4px; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.skip { position: fixed; z-index: 2000; inset: 10px auto auto 10px; transform: translateY(-160%); padding: 10px 16px; background: var(--orange-deep); color: var(--bg); }
.skip:focus { transform: none; }
.top-anchor { display: block; height: 0; }

.header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); }
.nav-shell { min-height: 132px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.logo { display: flex; align-items: center; color: var(--orange-deep); text-decoration: none; }
.logo img { width: 132px; height: 132px; object-fit: contain; }
.nav-links { display: flex; justify-content: center; gap: 30px; }
.nav-links a { position: relative; color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; right: 0; left: 0; bottom: -11px; height: 1px; background: var(--orange); transform: scaleX(0); transition: .2s; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.gold-button, .black-button, .ghost-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 900; text-decoration: none; cursor: pointer; transition: .2s; }
.gold-button { background: var(--orange-deep); color: var(--bg); box-shadow: 0 10px 28px rgba(232, 100, 28, .2); }
.gold-button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.black-button { border-color: var(--orange-deep); background: var(--bg); color: var(--orange-deep); }
.black-button:hover { background: var(--orange-deep); color: var(--bg); }
.ghost-button { border-color: rgba(255, 255, 255, .72); color: var(--bg); }
.header-cta { min-height: 42px; padding-inline: 18px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--orange-deep); font-size: 20px; cursor: pointer; }

.hero { position: relative; min-height: 720px; display: flex; align-items: center; isolation: isolate; background: url("img/hero.jpg") center 66% / cover no-repeat; color: var(--bg); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 5, 3, .9) 0%, rgba(7, 5, 3, .72) 38%, rgba(7, 5, 3, .18) 70%, rgba(7, 5, 3, .4) 100%), linear-gradient(0deg, rgba(8, 6, 4, .75), transparent 50%); }
.hero-inner { display: grid; grid-template-columns: minmax(350px, 520px) 1fr; }
.hero-copy { padding-block: 72px; }
.ornament-label { display: inline-flex; align-items: center; gap: 12px; color: var(--orange-deep); font-size: 11px; font-weight: 800; }
.ornament-label::before { content: "✦"; color: var(--orange); }
.hero .ornament-label { color: var(--bg); }
.hero h1 { margin: 16px 0 18px; font-family: "Amiri", serif; font-size: clamp(68px, 7vw, 108px); line-height: .9; font-weight: 700; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy > p { max-width: 500px; margin: 0; color: var(--surface); font-size: 15px; line-height: 2; }
.hero-copy > .discount-badge { width: fit-content; max-width: 100%; margin-top: 6px; padding: 4px 12px; border: 1px solid var(--orange); border-radius: 4px; background: rgba(255, 247, 240, .96); color: var(--orange-deep); font-size: 12px; line-height: 1.5; }
.discount-badge b { font-weight: 900; }
.discount-badge + .hero-actions { margin-top: 10px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; gap: 22px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .3); color: var(--surface); font-size: 9px; }
.hero-trust span { display: grid; gap: 3px; }
.hero-trust b { color: var(--bg); font-size: 15px; }

.dark-texture { position: relative; background-color: var(--surface); background-image: radial-gradient(circle at 15% 30%, rgba(232, 100, 28, .07), transparent 27%), radial-gradient(circle at 85% 70%, rgba(232, 100, 28, .045), transparent 25%), linear-gradient(rgba(232, 100, 28, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 100, 28, .025) 1px, transparent 1px); background-size: auto, auto, 32px 32px, 32px 32px; }
.category-band { padding: 78px 0 88px; border-block: 1px solid var(--line); }
.section-heading { max-width: 720px; margin: 0 auto 42px; color: var(--ink); text-align: center; }
.section-heading.light { color: var(--ink); }
.section-heading > span { color: var(--orange-deep); font-size: 10px; font-weight: 900; }
.section-heading h2 { margin: 8px 0 10px; font-family: "Amiri", serif; font-size: clamp(37px, 4vw, 55px); line-height: 1.2; }
.section-heading h2 { color: var(--orange); }
.section-heading i { width: 90px; height: 1px; display: block; position: relative; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--orange), transparent); }
.section-heading i::after { content: "◆"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); padding: 0 8px; color: var(--orange); font-size: 7px; background: inherit; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.category { min-height: 154px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); text-align: center; cursor: pointer; transition: .25s; }
.category:hover, .category[aria-selected="true"] { transform: translateY(-5px); border-color: var(--orange); background: var(--surface); }
.category svg { width: 48px; height: 48px; margin-bottom: 15px; fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.category b { color: var(--orange-deep); font-family: "Amiri", serif; font-size: 19px; }
.category small { margin-top: 5px; color: var(--muted); font-size: 8px; }

.paper-section { position: relative; padding: 88px 0; background-color: var(--surface); background-image: radial-gradient(circle at 15% 20%, rgba(232, 100, 28, .06), transparent 24%), radial-gradient(circle at 80% 75%, rgba(232, 100, 28, .04), transparent 30%), linear-gradient(90deg, transparent 96%, rgba(232, 100, 28, .04) 100%); color: var(--ink); }
.paper-section::before, .paper-section::after { content: ""; position: absolute; right: 0; left: 0; height: 18px; background: linear-gradient(135deg, transparent 8px, var(--orange) 0) 0 0 / 18px 18px repeat-x; opacity: .1; }
.paper-section::before { top: 0; transform: rotate(180deg); }
.paper-section::after { bottom: 0; }
.menu-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: -8px 0 30px; }
.menu-status { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.menu-toggle { flex: 0 0 auto; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dish-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg); color: var(--ink); box-shadow: 0 18px 38px rgba(36, 26, 20, .12); }
.dish-card.is-star::before { content: "اختيار الحضرة"; position: absolute; top: 14px; right: 14px; z-index: 2; padding: 6px 10px; background: var(--orange-deep); color: var(--bg); font-size: 8px; font-weight: 900; }
.dish-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish-card-body { min-height: 175px; position: relative; padding: 22px; }
.dish-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.dish-card h3 { margin: 0 0 9px; color: var(--orange-deep); font-family: "Amiri", serif; font-size: 23px; line-height: 1.25; }
.dish-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.dish-card .price { flex: 0 0 auto; color: var(--orange-deep); font-size: 12px; font-weight: 900; white-space: nowrap; }
.dish-card .price small { display: block; color: var(--muted); font-size: 7px; }
.dish-card .tag { display: inline-block; margin-top: 12px; padding: 5px 8px; border: 1px solid var(--line); color: var(--orange-deep); font-size: 8px; }
.dish-card.no-media .dish-card-body { min-height: 142px; }
.dish-card.no-media { box-shadow: none; background: var(--surface); }
.menu-note { margin: 28px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.about { padding: 98px 0; border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.photo-stack { min-height: 580px; position: relative; }
.photo-stack figure { overflow: hidden; border: 8px solid var(--bg); box-shadow: 0 24px 60px rgba(36, 26, 20, .2); }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; }
.photo-main { width: 68%; height: 530px; position: absolute; right: 0; top: 0; transform: rotate(3deg); }
.photo-small { width: 52%; height: 380px; position: absolute; left: 0; bottom: 0; transform: rotate(-3deg); }
.about-copy h2 { margin: 14px 0 20px; color: var(--orange); font-family: "Amiri", serif; font-size: clamp(48px, 5vw, 70px); line-height: 1.05; }
.about-copy > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 2.1; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0; }
.facts span { min-height: 95px; display: grid; align-content: center; padding: 12px; border: 1px solid var(--line); text-align: center; }
.facts b { color: var(--orange-deep); font-size: 13px; }
.facts small { margin-top: 6px; color: var(--muted); font-size: 8px; }

.gallery-section { padding-block: 70px; }
.gallery-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line); }
.gallery-strip { scrollbar-width: none; }
.gallery-strip::-webkit-scrollbar { display: none; }

.contact { padding: 74px 0; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.contact h2 { margin: 12px 0; color: var(--orange); font-family: "Amiri", serif; font-size: 44px; }
.contact p { max-width: 580px; margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.contact ul { margin: 0; padding: 0; list-style: none; }
.contact li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.contact li b { color: var(--orange-deep); }
.contact li span { color: var(--ink); }
.contact li a { color: var(--orange-deep); text-decoration: none; }

.footer { padding: 58px 0 24px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; }
.footer-grid > div { display: grid; align-content: start; gap: 9px; }
.footer-grid b { color: var(--orange-deep); font-size: 12px; }
.footer-grid a { color: var(--orange-deep); font-size: 10px; text-decoration: none; }
.footer-grid span { color: var(--muted); font-size: 10px; text-decoration: none; }
.footer-brand img { width: 96px; height: 96px; object-fit: contain; }
.footer-brand > b { font-family: "Amiri", serif; font-size: 24px; }
.footer > p { margin: 44px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.order-fab { position: fixed; left: 18px; bottom: 18px; z-index: 90; display: none; padding: 14px 18px; border-radius: 5px; background: var(--orange-deep); color: var(--bg); font-size: 11px; font-weight: 900; text-decoration: none; box-shadow: 0 12px 30px rgba(36, 26, 20, .2); }

@media (max-width: 980px) {
  .nav-links { gap: 18px; }
  .header-cta { display: none; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .photo-stack { order: 2; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 104px; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-shell { min-height: 96px; grid-template-columns: 1fr auto; }
  .logo img { width: 92px; height: 92px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 14px; left: 14px; display: none; padding: 12px; border: 1px solid var(--line); background: var(--bg); }
  .header.is-open .nav-links { display: grid; }
  .nav-links a { padding: 12px; border-bottom: 1px solid var(--line); }
  .hero { min-height: 690px; background-position: center 70%; }
  .hero-shade { background: linear-gradient(0deg, rgba(7, 5, 3, .96) 0%, rgba(7, 5, 3, .72) 52%, rgba(7, 5, 3, .16) 100%); }
  .hero-inner { grid-template-columns: 1fr; align-items: end; }
  .hero-copy { align-self: end; padding: 260px 0 48px; }
  .hero h1 { font-size: 66px; }
  .hero-copy > p { font-size: 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-trust { gap: 10px; justify-content: space-between; }
  .category-band, .paper-section, .about { padding-block: 68px; }
  .category { min-height: 135px; }
  .menu-toolbar { align-items: stretch; flex-direction: column; text-align: center; }
  .menu-grid { grid-template-columns: 1fr; }
  .dish-card.has-media { display: grid; grid-template-columns: minmax(128px, 42%) 1fr; }
  .dish-card.has-media .dish-media, .dish-card.has-media .dish-media img { height: 100%; }
  .dish-card.has-media .dish-media img { aspect-ratio: auto; }
  .dish-card-body { min-height: 155px; padding: 18px; }
  .dish-card h3 { font-size: 21px; }
  .about-grid { gap: 40px; }
  .photo-stack { min-height: 450px; }
  .photo-main { height: 400px; }
  .photo-small { height: 280px; }
  .facts { gap: 6px; }
  .facts span { padding-inline: 6px; }
  .gallery-strip { display: flex; margin-inline: -14px; padding-inline: 14px; overflow-x: auto; }
  .gallery-strip img { flex: 0 0 72%; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact li { grid-template-columns: 85px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .order-fab { display: block; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 59px; }
  .hero-trust { font-size: 8px; }
  .category b { font-size: 17px; }
  .dish-card.has-media { grid-template-columns: 40% 1fr; }
  .dish-card-body { padding: 15px; }
  .photo-stack { min-height: 410px; }
  .photo-main { width: 72%; height: 360px; }
  .photo-small { width: 55%; height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
