/* ═══════════════════════════════════════════════════════════
   AVORA — homepage (index.html only; scoped to .page-home)
   Identity kept: espresso brown, cream, gold, the arch, Amiri.
   One bold moment: the dark display case («مختارات أفورا»).
   ═══════════════════════════════════════════════════════════ */
.page-home {
  --h-espresso: #2E201B;      /* display case, deepest brown */
  --h-cocoa: #4E342E;         /* brand brown */
  --h-cream: #F5EEE6;
  --h-paper: #FBF8F4;
  --h-gold: #C9A96A;
  --h-gold-deep: #A8873F;
  --h-ink: #2E201B;
  --h-soft: #6B5A52;
  background: var(--h-paper);
}
.page-home main h1, .page-home main h2, .page-home main h3 { font-family: var(--font-display); font-weight: 700; color: var(--h-cocoa); letter-spacing: 0; }
.page-home main h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.15; margin: 0 0 10px; }

/* ── Hero ───────────────────────────────────────────────── */
.h-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); background:
  radial-gradient(60% 70% at 15% 40%, rgba(201, 169, 106, .14), transparent 70%), var(--h-paper); overflow: hidden; }
.h-hero-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 980px) { .h-hero-grid { grid-template-columns: 1.05fr .95fr; } }
.h-mark { width: 74px; height: auto; display: block; margin-bottom: 18px; }
.h-hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.7rem); line-height: 1.08; margin: 0 0 20px; max-width: 13ch; }
.h-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.85; color: var(--h-soft); max-width: 46ch; margin: 0 0 28px; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.h-cta .btn { min-height: 50px; padding-inline: 26px; font-size: 1rem; }

/* today's favourites — a small live price list under the call to action */
.h-today { margin-top: clamp(30px, 4vw, 44px); padding-top: 18px; border-top: 1px solid rgba(168, 135, 63, .35); max-width: 560px; }
.h-today h2 { font-family: var(--font-body) !important; font-size: .95rem !important; font-weight: 600 !important; color: var(--h-soft) !important; margin: 0 0 10px !important; }
.h-today ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.h-today button { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 6px 8px 6px 12px; border: 0; border-radius: 14px; background: transparent; text-align: start; color: var(--h-ink); cursor: pointer; transition: background .2s; }
.h-today button:hover { background: rgba(201, 169, 106, .12); }
.h-today img { width: 56px; height: 42px; object-fit: contain; }
.h-today img.photo { object-fit: cover; border-radius: 10px; }
.h-today .n { font-weight: 600; font-size: 1.02rem; }
.h-today .p { font-weight: 700; color: var(--h-cocoa); white-space: nowrap; }
.h-today .p small, .h-window-foot small { font-weight: 400; color: var(--h-soft); font-size: .78em; }

/* the arch photo */
.h-hero-art { position: relative; margin: 0; padding: 16px; }
.h-arch { position: relative; aspect-ratio: 5 / 6; overflow: hidden; background: #e9d6bf;
  -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.h-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.h-arch-line { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--h-gold); pointer-events: none; }
@media (max-width: 979px) { .h-hero-art { max-width: 440px; margin-inline: auto; width: 100%; } }
/* one load sequence: text settles, then the arch opens */
@media (prefers-reduced-motion: no-preference) {
  .h-hero-text > * { animation: hRise .9s var(--ease) both; }
  .h-hero-text > :nth-child(2) { animation-delay: .06s; } .h-hero-text > :nth-child(3) { animation-delay: .12s; }
  .h-hero-text > :nth-child(4) { animation-delay: .18s; } .h-hero-text > :nth-child(5) { animation-delay: .3s; }
  .h-arch { animation: hOpen 1.3s var(--ease) .1s both; }
}
@keyframes hRise { from { opacity: 0; transform: translateY(14px); } }
@keyframes hOpen { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ── The display case (the bold moment) ─────────────────── */
.h-vitrine { position: relative; background: var(--h-espresso); color: var(--h-cream); padding: clamp(64px, 8vw, 110px) 0; overflow: hidden; }
.h-vitrine::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, rgba(201, 169, 106, .16), transparent 70%); pointer-events: none; }
.h-vitrine-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.h-vitrine-head h2 { color: var(--h-cream) !important; margin: 0; }
.h-vitrine-head p { margin: 0; color: rgba(245, 238, 230, .72); max-width: 42ch; line-height: 1.8; }
.h-windows { position: relative; display: grid; gap: clamp(18px, 2.4vw, 30px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.h-window { display: flex; flex-direction: column; }
.h-window-glass { position: relative; aspect-ratio: 4 / 5; border: 0; padding: 0; cursor: pointer;
  background: radial-gradient(70% 55% at 50% 62%, #fff6e8 0%, #f1e2cc 55%, #e2c9a8 100%);
  -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.h-window-glass::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -40px 60px -30px rgba(46, 32, 27, .35); }
.h-window-glass img { position: absolute; inset: auto 8% 12% 8%; width: 84%; height: auto; transition: transform .5s var(--ease); filter: drop-shadow(0 16px 18px rgba(46, 32, 27, .25)); }
.h-window-glass img.photo { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.h-window-glass:hover img, .h-window-glass:focus-visible img { transform: translateY(-6px) scale(1.03); }
.h-window-glass:focus-visible { outline: none; }
.h-window-glass:focus-visible::after { box-shadow: inset 0 0 0 3px var(--h-gold); }
.h-window-tag { padding: 16px 4px 0; border-top: 1px solid rgba(201, 169, 106, .45); margin-top: 14px; display: flex; flex-direction: column; flex: 1; }
.page-home .h-window-tag h3 { color: var(--h-cream); font-size: 1.45rem; margin: 0 0 4px; }
.h-window-tag p { color: rgba(245, 238, 230, .62); font-size: .9rem; line-height: 1.7; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-window-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.h-window-foot .money { color: var(--h-gold); font-weight: 700; font-size: 1.08rem; }
.h-window-foot .money small { color: rgba(245, 238, 230, .6); }
.h-window-foot s { color: rgba(245, 238, 230, .45); font-weight: 400; font-size: .85em; }
.h-add { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(201, 169, 106, .7); background: transparent; color: var(--h-cream); font-weight: 600; font-size: .9rem; cursor: pointer; transition: background .2s, color .2s; }
.h-add svg { width: 16px; height: 16px; flex-shrink: 0; }
.h-add:hover, .h-add:focus-visible { background: var(--h-gold); color: var(--h-espresso); outline: none; }

/* ── Offers ─────────────────────────────────────────────── */
.h-offers { padding: clamp(44px, 6vw, 72px) 0 0; }
.h-offers-band { display: grid; gap: 18px; align-items: center; padding: 22px clamp(18px, 3vw, 32px); border: 1px solid rgba(168, 135, 63, .45); border-radius: 22px; background: #fff; }
@media (min-width: 800px) { .h-offers-band { grid-template-columns: 220px 1fr; } }
.h-offers-band h2 { font-size: 1.9rem !important; margin: 0 !important; }
.h-offers-list { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.h-offer { flex: 0 0 auto; display: grid; grid-template-columns: 76px auto; grid-template-rows: auto auto auto; column-gap: 12px; align-items: center; text-align: start; padding: 10px 16px 10px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--h-paper); cursor: pointer; color: var(--h-ink); }
.h-offer img { grid-row: 1 / 4; width: 76px; height: 58px; object-fit: contain; }
.h-offer .b { font-size: .75rem; font-weight: 700; color: var(--h-gold-deep); }
.h-offer strong { font-size: 1rem; }
.h-offer .money { font-weight: 700; color: var(--h-cocoa); }
.h-offer s { color: var(--h-soft); font-weight: 400; font-size: .85em; }

/* ── The printed menu ───────────────────────────────────── */
.h-menu { padding: clamp(64px, 8vw, 110px) 0; background: var(--h-cream); }
.h-menu-card { position: relative; max-width: 1080px; margin: 0 auto; background: #fffdf9; border-radius: 6px; padding: clamp(28px, 5vw, 64px) clamp(18px, 5vw, 72px);
  box-shadow: 0 30px 60px -30px rgba(46, 32, 27, .35); outline: 1px solid rgba(168, 135, 63, .55); outline-offset: -14px; }
.h-menu-head { text-align: center; margin-bottom: 26px; }
.h-menu-head img { width: 58px; height: auto; margin: 0 auto 8px; display: block; }
.h-menu-head p { color: var(--h-soft); margin: 0; }
.h-menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 0 auto 34px; padding-bottom: 14px; border-bottom: 1px solid rgba(168, 135, 63, .35); }
.h-menu-tabs button { border: 0; background: none; padding: 6px 2px; font: 600 1rem var(--font-body); color: var(--h-soft); cursor: pointer; border-bottom: 2px solid transparent; }
.h-menu-tabs button[aria-pressed="true"] { color: var(--h-cocoa); border-bottom-color: var(--h-gold); }
.h-menu-tabs button:focus-visible { outline: 2px solid var(--h-gold-deep); outline-offset: 3px; }
.h-menu-body { columns: 1; column-gap: clamp(36px, 5vw, 72px); }
@media (min-width: 860px) { .h-menu-body { columns: 2; } }
.h-cat { break-inside: avoid; margin: 0 0 34px; }
.page-home .h-cat h3 { font-size: 1.7rem; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(168, 135, 63, .4); }
.h-cat ul { list-style: none; margin: 0; padding: 0; }
.h-cat li button { width: 100%; display: block; text-align: start; padding: 11px 0; border: 0; background: none; color: var(--h-ink); cursor: pointer; }
.h-cat li + li button { border-top: 1px dotted rgba(107, 90, 82, .25); }
.h-cat li button:hover .h-name, .h-cat li button:focus-visible .h-name { color: var(--h-gold-deep); }
.h-cat li button:focus-visible { outline: 2px solid var(--h-gold-deep); outline-offset: 2px; border-radius: 4px; }
.h-line { display: flex; align-items: baseline; gap: 8px; }
.h-name { font-weight: 700; font-size: 1.06rem; transition: color .2s; }
.h-name em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--h-gold-deep); border: 1px solid currentColor; border-radius: 999px; padding: 0 8px; margin-inline-start: 8px; vertical-align: 2px; }
.h-name em.out { color: var(--danger); }
.h-dots { flex: 1; border-bottom: 2px dotted rgba(168, 135, 63, .55); transform: translateY(-4px); min-width: 20px; }
.h-price { font-weight: 700; color: var(--h-cocoa); white-space: nowrap; font-size: 1.04rem; }
.h-price s { color: var(--h-soft); font-weight: 400; font-size: .85em; }
.h-desc { display: block; color: var(--h-soft); font-size: .88rem; line-height: 1.6; margin-top: 2px; }
.h-sizes { display: block; font-size: .82rem; color: var(--h-soft); margin-top: 3px; }
.h-sizes b { color: var(--h-cocoa); font-weight: 600; }
.h-sizes i { font-style: normal; color: rgba(168, 135, 63, .7); padding: 0 4px; }
.h-cat li.is-off button { cursor: not-allowed; opacity: .55; }
.h-menu-foot { text-align: center; color: var(--h-soft); font-size: .88rem; margin: 6px 0 0; }

/* ── About + ways to enjoy ──────────────────────────────── */
.h-about { padding: clamp(64px, 8vw, 110px) 0; }
.h-about-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .h-about-grid { grid-template-columns: .8fr 1.2fr; } }
.h-about-art { aspect-ratio: 5 / 6; background: linear-gradient(180deg, #fcf3e7, #f1e2cc); -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; display: flex; align-items: flex-end; max-width: 420px; width: 100%; margin-inline: auto; }
.h-about-art img { width: 100%; height: auto; }
.h-about-text > p { font-size: 1.12rem; line-height: 1.95; color: var(--h-soft); max-width: 52ch; margin: 0 0 28px; }
.h-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid rgba(168, 135, 63, .35); }
@media (min-width: 640px) { .h-ways { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.h-ways li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(168, 135, 63, .25); }
.h-ways .ic { flex: 0 0 42px; height: 42px; display: grid; place-items: center; color: var(--h-gold-deep); border: 1px solid rgba(168, 135, 63, .45); border-radius: 50% 50% 12px 12px; }
.h-ways .ic svg { width: 21px; height: 21px; }
.page-home .h-ways h3 { font-family: var(--font-body); font-size: 1.02rem; margin: 2px 0 4px; color: var(--h-ink); }
.h-ways p { margin: 0; color: var(--h-soft); font-size: .92rem; line-height: 1.7; }

/* ── Reserve + visit ────────────────────────────────────── */
.h-visit { padding: 0 0 clamp(64px, 8vw, 110px); }
.h-visit-grid { display: grid; gap: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(46, 32, 27, .45); }
@media (min-width: 900px) { .h-visit-grid { grid-template-columns: 1fr 1fr; } }
.h-reserve { background: var(--h-cocoa); color: var(--h-cream); padding: clamp(32px, 5vw, 60px); position: relative; overflow: hidden; }
.h-reserve::after { content: ""; position: absolute; inset-inline-end: -40px; bottom: -60px; width: 220px; height: 260px; border: 1px solid rgba(201, 169, 106, .45); -webkit-mask: none; border-radius: 110px 110px 0 0; pointer-events: none; }
.page-home .h-reserve h2 { color: var(--h-cream); }
.h-reserve p { color: rgba(245, 238, 230, .78); line-height: 1.85; max-width: 40ch; margin: 0 0 26px; }
.h-contact { background: #fff; padding: clamp(32px, 5vw, 60px); }
.h-contact dl { margin: 0; display: grid; gap: 0; }
.h-contact dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.h-contact dl > div:last-child { border-bottom: 0; }
.h-contact dt { color: var(--h-soft); font-size: .9rem; }
.h-contact dd { margin: 0; font-weight: 600; color: var(--h-ink); line-height: 1.7; }
.h-contact dd a { color: var(--h-cocoa); }
.h-link { display: inline-block; margin-inline-start: 8px; font-weight: 600; font-size: .88rem; color: var(--h-gold-deep) !important; text-decoration: underline; text-underline-offset: 3px; }

/* skeletons while the menu loads */
.h-skel { background: linear-gradient(90deg, rgba(201, 169, 106, .12), rgba(201, 169, 106, .24), rgba(201, 169, 106, .12)); background-size: 200% 100%; border-radius: 14px; min-height: 52px; animation: hShimmer 1.4s linear infinite; list-style: none; }
.h-window.h-skel { aspect-ratio: 4 / 5; }
@keyframes hShimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .h-skel { animation: none; } }

/* phones: the display case becomes a swipeable row; smaller art */
@media (max-width: 699px) {
  .h-windows { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .h-windows::-webkit-scrollbar { display: none; }
  .h-window { scroll-snap-align: start; }
  .h-about-art { max-width: 260px; }
  .h-hero-art { max-width: 340px; }
  .h-contact dl > div { grid-template-columns: 90px 1fr; }
}

/* English: the Latin display face already loaded with the site, a calmer size */
html[lang="en"] .page-home main h1, html[lang="en"] .page-home main h2, html[lang="en"] .page-home main h3:not(.h-ways h3) { font-family: 'Cormorant Garamond', var(--font-display); font-weight: 600; }
html[lang="en"] .h-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); max-width: 17ch; line-height: 1.05; }
