/* Fonts: Amiri, IBM Plex Sans Arabic, Cinzel. SIL Open Font License 1.1 */
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/amiri-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/amiri-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cinzel-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --red: #7a1218;
  --red-deep: #5e0d12;
  --cream: #f3e9d2;
  --ivory: #faf5ea;
  --brown: #5c2e1e;
  --ink: #2b1712;
  --mute: #7b5d52;
  --gold: #d9b98c;
  --f-display: "Amiri", "Sakkal Majalla", "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", "SF Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif;
  --f-latin: "Cinzel", "Sitka Display", Constantia, Georgia, serif;
  --pad: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--ivory); line-height: 1.75; font-size: 16px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }

.display { font-family: var(--f-display); font-weight: 400; }
.lat { font-family: var(--f-latin); }
.kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--cream); color: var(--red); padding: 8px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 12px var(--pad); background: var(--red); }
.brand img { height: 36px; width: auto; }
.nav-desk { display: none; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 2px; }
.menu summary::-webkit-details-marker { display: none; }
.bars { display: block; width: 26px; height: 14px; border-top: 1.5px solid var(--cream); border-bottom: 1.5px solid var(--cream); position: relative; transition: transform .25s; }
.bars::after { content: ""; position: absolute; inset-inline: 0 8px; top: 5px; border-top: 1.5px solid var(--cream); }
.menu[open] .bars { transform: scaleX(.75); }
.menu nav { position: absolute; inset-inline: 0; top: 100%; background: var(--red-deep); padding: 8px var(--pad) 18px; display: grid; }
.menu nav a { color: var(--cream); text-decoration: none; font-family: var(--f-display); font-size: 26px; padding: 8px 0; border-bottom: 1px solid rgba(243, 233, 210, .12); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--red); color: var(--cream); text-align: center; padding: 34px var(--pad) 0; }
.hero .kicker { color: var(--cream); opacity: .7; }
.hero h1 { font-size: clamp(40px, 11vw, 64px); line-height: 1.2; margin: 6px 0 12px; }
.lead { font-size: 15px; opacity: .85; max-width: 320px; margin: 0 auto 30px; }
.arches { position: absolute; inset-inline: -40px; bottom: 120px; width: calc(100% + 80px); stroke: var(--cream); stroke-width: 1.2; opacity: .13; pointer-events: none; }
.arch { position: relative; width: 250px; height: 330px; margin: 0 auto; padding: 8px 8px 0; border: 1px solid rgba(243, 233, 210, .4); border-bottom: 0; border-radius: 125px 125px 0 0; }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 117px 117px 0 0; }

section { padding: 56px var(--pad); }
h2.display { font-size: clamp(36px, 9vw, 52px); line-height: 1.2; color: var(--red); margin: 6px 0 16px; }

/* Story */
.story-grid { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.year { font-size: 64px; line-height: .9; color: var(--red); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .05em; }
.story-grid p:not(.year) { font-size: 16px; color: #4a3028; }

/* Counter rail */
.counter { padding-top: 0; }
.rail { display: flex; gap: 14px; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 10px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.card { flex: 0 0 200px; scroll-snap-align: start; }
.card .ph { height: 250px; border-radius: 100px 100px 6px 6px; overflow: hidden; background: var(--cream); }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 27px; line-height: 1.3; margin-top: 10px; color: var(--brown); }
.card p { font-size: 13px; color: var(--mute); }

/* Quote */
.quote { background: var(--cream); text-align: center; padding: 52px var(--pad); }
.quote p { font-size: clamp(30px, 8vw, 44px); line-height: 1.4; color: var(--red); }
.quote footer { margin-top: 10px; font-size: 13px; color: var(--mute); }

/* Gallery */
.gallery { padding: 56px 0 6px; }
.pad { padding: 0 var(--pad); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; grid-auto-flow: dense; gap: 6px; padding: 0 6px; }
.mosaic .tall { grid-row: span 2; }
.mosaic li:last-child { grid-row: span 1; grid-column: span 2; }
.mosaic li:last-child img { object-position: center 70%; }
.mosaic button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; overflow: hidden; }
.mosaic button:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic button:hover img { transform: scale(1.04); }

.viewer { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.viewer::backdrop { background: rgba(20, 6, 6, .88); }
.viewer img { max-width: 96vw; max-height: 88vh; object-fit: contain; }
.viewer .close { position: fixed; top: 14px; inset-inline-end: 16px; width: 44px; height: 44px; border: 1px solid rgba(243, 233, 210, .5); border-radius: 50%; background: transparent; color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; }

/* Visit */
.visit { background: var(--red-deep); color: var(--cream); }
.visit .kicker { color: var(--gold); }
.visit h2.display { color: var(--cream); }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(243, 233, 210, .18); font-size: 15px; }
.row dt { opacity: .65; font-size: 13px; padding-top: 2px; flex: none; }
.row dd { text-align: end; }
.row a { text-decoration: none; }
.actions { display: grid; gap: 10px; margin-top: 26px; }
.btn { display: block; text-align: center; padding: 14px; border: 1px solid var(--cream); color: var(--cream); text-decoration: none; font-size: 15px; transition: background .2s, color .2s; }
.btn:hover, .btn.solid { background: var(--cream); color: var(--red-deep); }
.btn.solid:hover { background: transparent; color: var(--cream); }

.site-foot { background: var(--red-deep); color: rgba(243, 233, 210, .6); text-align: center; font-size: 12px; padding: 4px var(--pad) calc(28px + env(safe-area-inset-bottom)); }
.site-foot img { height: 56px; width: auto; margin: 0 auto 12px; opacity: .9; }
.site-foot a { color: var(--cream); }
.fine { margin-top: 6px; font-size: 11px; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 24px; padding: 40px var(--pad); }
.notfound img { width: 200px; height: auto; }
.notfound h1 { font-size: clamp(32px, 8vw, 48px); margin: 0; }

/* Larger screens */
@media (min-width: 900px) {
  .brand img { height: 42px; }
  .menu { display: none; }
  .nav-desk { display: flex; gap: 32px; }
  .nav-desk a { color: var(--cream); text-decoration: none; font-size: 15px; opacity: .9; }
  .nav-desk a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

  .hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; text-align: start; padding-top: 70px; min-height: 620px; }
  .hero-text { align-self: center; padding-bottom: 60px; }
  .lead { margin-inline: 0; max-width: 420px; font-size: 17px; }
  .arch { width: 380px; height: 500px; border-radius: 190px 190px 0 0; }
  .arch img { border-radius: 182px 182px 0 0; }
  .arches { bottom: 160px; }

  section { padding-block: 90px; }
  .story { max-width: 900px; margin: 0 auto; }
  .story-grid { gap: 48px; }
  .year { font-size: 110px; }
  .story-grid p:not(.year) { font-size: 18px; }

  .counter { max-width: 1240px; margin: 0 auto; padding-top: 0; }
  .rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; overflow: visible; margin: 0; padding: 0; }
  .card .ph { height: 360px; border-radius: 180px 180px 6px 6px; }

  .gallery { max-width: 1240px; margin: 0 auto; padding-bottom: 90px; }
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 10px; padding: 0 var(--pad); }

  .notfound { grid-template-columns: 1fr; text-align: center; }
  .visit > *, .visit > h2.display { max-width: 760px; margin-inline: auto; }
  .mosaic { grid-template-rows: repeat(3, 230px); grid-auto-flow: row; }
  .mosaic li:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
  .mosaic li:nth-child(7) { grid-area: 3 / 1; }
  .mosaic li:nth-child(2) { grid-area: 1 / 2; }
  .mosaic li:nth-child(3) { grid-area: 2 / 2; }
  .mosaic li:nth-child(8) { grid-area: 3 / 2; }
  .mosaic li:nth-child(6) { grid-area: 1 / 3 / 3 / 4; }
  .mosaic li:nth-child(4) { grid-area: 3 / 3; }
  .mosaic li:nth-child(9) { grid-area: 1 / 4 / 3 / 5; }
  .mosaic li:nth-child(5) { grid-area: 3 / 4; }
  .actions { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Home: links to full menu */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.more { flex: none; color: var(--red); text-decoration: none; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more span { display: inline-block; transition: transform .2s; }
.more:hover span { transform: translateX(-4px); }
.btn-line { display: block; margin-top: 26px; text-align: center; padding: 13px; border: 1px solid var(--red); color: var(--red); text-decoration: none; font-size: 15px; transition: background .2s, color .2s; }
.btn-line:hover { background: var(--red); color: var(--ivory); }
.nav-desk a[aria-current], .menu nav a[aria-current] { opacity: 1; color: var(--gold); }

/* Full menu page */
.menu-hero { background: var(--red); color: var(--cream); text-align: center; padding: 44px var(--pad) 40px; }
.menu-hero .kicker { color: var(--cream); opacity: .7; }
.menu-hero h1 { font-size: clamp(44px, 12vw, 72px); line-height: 1.2; margin: 4px 0 6px; }
.menu-hero .lead { margin-bottom: 0; }
.chips { position: sticky; top: 60px; z-index: 10; display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--pad); background: rgba(250, 245, 234, .96); border-bottom: 1px solid #eadfca; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 6px 14px; border: 1px solid #dcc9a8; border-radius: 99px; color: var(--brown); text-decoration: none; font-size: 13px; background: var(--ivory); }
.chips a:hover { border-color: var(--red); color: var(--red); }
.cat { padding: 44px var(--pad) 8px; scroll-margin-top: 120px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; margin-bottom: 16px; }
.cat-head h2.display { margin: 0; }
.cat-head p { font-size: 14px; color: var(--mute); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.grid li { display: grid; gap: 6px; }
.grid button { all: unset; display: block; cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 70px 70px 4px 4px; background: var(--cream); }
.grid .wide { grid-column: span 2; }
.grid .wide button { aspect-ratio: 16 / 10; border-radius: 4px; }
.grid button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.grid button:hover img { transform: scale(1.04); }
.grid span { font-family: var(--f-display); font-size: 21px; line-height: 1.3; color: var(--brown); }
.ice-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.menu-end { text-align: center; padding: 64px var(--pad); }
.menu-end .display { font-size: clamp(26px, 7vw, 38px); line-height: 1.4; color: var(--red); max-width: 560px; margin: 0 auto; }
.menu-end .btn { border-color: var(--red); color: var(--red); }
.menu-end .btn.solid { background: var(--red); color: var(--cream); }
.menu-end .btn:hover { background: var(--red); color: var(--cream); }
.menu-end .btn.solid:hover { background: transparent; color: var(--red); }

@media (min-width: 900px) {
  .btn-line { display: none; }
  .chips { top: 66px; justify-content: center; }
  .cat { max-width: 1240px; margin: 0 auto; padding-top: 64px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 26px 24px; max-width: 980px; margin-inline: auto; }
  .grid.g4 { grid-template-columns: repeat(4, 1fr); max-width: none; }
  .cat-head { max-width: 980px; margin-inline: auto; }
  .cat:has(.g4) .cat-head { max-width: none; }
  .grid .wide { grid-column: auto; }
  .grid .wide button { aspect-ratio: 4 / 5; border-radius: 70px 70px 4px 4px; }
  .grid button { border-radius: 120px 120px 4px 4px; }
  .ice-img img { aspect-ratio: 21 / 9; }
  .menu-end .actions { grid-template-columns: 1fr 1fr; max-width: 640px; margin-inline: auto; }
}

/* Social links + ice cream block */
.social { display: flex; justify-content: center; gap: 22px; margin: 4px 0 10px; font-size: 14px; }
.social a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(243, 233, 210, .35); padding-bottom: 2px; }
.social a:hover { border-color: var(--cream); }
.ice-grid li:last-child button { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .ice-grid { grid-template-columns: 1fr 1fr; max-width: 760px; } }
