/* =============================================================
   MAISON AMIRA — Fine Patisserie
   Design system: Blush & Gold Patisserie
   Cormorant Garamond (display) · Montserrat (UI) · Amiri (Arabic)
============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --cream:        #FCF8F3;
  --cream-2:      #F7EFE4;
  --sand:         #F1E5D6;
  --blush:        #F4DEE2;
  --blush-2:      #ECC7CE;

  /* Rose */
  --rose:         #C5859A;
  --rose-deep:    #A8617A;

  /* Ink */
  --wine:         #4A2A31;   /* primary text */
  --espresso:     #3A2129;
  --ink:          #2A1A20;
  --muted:        #7B5A5C;   /* body-muted, AA on cream */
  --muted-2:      #9A7E7A;

  /* Gold */
  --gold:         #B08C4A;
  --gold-soft:    #C6A667;
  --gold-deep:    #96702F;
  --gold-foil:    linear-gradient(115deg,#9C7433 0%,#C7A45E 22%,#F0DCA0 42%,#B98F42 60%,#E7CE8E 78%,#9C7433 100%);

  /* Lines */
  --line:         #EADFD0;
  --line-soft:    #F0E7DA;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arab:  "Amiri", "Cormorant Garamond", serif;

  /* Rhythm */
  --container: 1220px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --shadow-sm: 0 2px 10px rgba(74,42,49,.06);
  --shadow-md: 0 18px 45px -20px rgba(74,42,49,.28);
  --shadow-lg: 0 40px 80px -30px rgba(74,42,49,.35);

  --nav-h: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--wine);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--blush-2); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; color: var(--espresso); letter-spacing: .002em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.3vw, 1.75rem); font-weight: 600; }
em { font-style: italic; }

h1 em, h2 em {
  font-style: italic;
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--light { color: #F3D9DE; }
.eyebrow--light::before { background: var(--gold-soft); }

/* ---------- Layout ---------- */
.section {
  padding: var(--section-y) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.section__head { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__lead { color: var(--muted); font-size: 1.05rem; margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn__icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--gold {
  background: var(--gold-foil);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(150,112,47,.6);
  background-position: 0% center;
}
.btn--gold:hover { transform: translateY(-3px); background-position: 100% center; box-shadow: 0 18px 34px -12px rgba(150,112,47,.7); }

.btn--line {
  border: 1px solid var(--gold);
  color: var(--gold-deep);
}
.btn--line:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }

.btn--line-light {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
}
.btn--line-light:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-3px); }

.btn--ghost {
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  padding: .7rem 1.4rem;
}
.btn--ghost:hover { background: var(--gold); color: #fff; }

/* ---------- Emblem (logo mark) ---------- */
.emblem { display: block; }
.emblem__ring { stroke: var(--gold); stroke-width: 1.4; }
.emblem__ring--thin { stroke-width: .8; opacity: .55; }
.emblem__sprig { stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.emblem__leaf { fill: var(--gold); }
.emblem__star { fill: var(--gold-soft); }
.emblem__mono { font-family: var(--serif); font-weight: 600; font-size: 46px; fill: var(--gold-deep); }
.emblem--sm { width: 42px; height: 42px; }
.emblem--md { width: 74px; height: 74px; }
.emblem--lg { width: 128px; height: 128px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease), visibility .9s var(--ease);
  /* Failsafe: if JS never runs, the intro still clears and reveals the page. */
  animation: loaderFailsafe .8s ease 5s forwards;
}
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader::after { /* soft blush glow behind mark */
  content: ""; position: absolute; width: 60vmin; height: 60vmin;
  background: radial-gradient(circle, rgba(236,199,206,.5), transparent 65%);
  filter: blur(20px);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { position: relative; text-align: center; }

.loader .emblem__ring   { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.15s var(--ease-out) forwards; }
.loader .emblem__ring--thin { animation-delay: .12s; stroke-dasharray: 300; stroke-dashoffset: 300; }
.loader .emblem__sprig  { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease-out) .5s forwards; }
.loader .emblem__leaf,
.loader .emblem__star   { opacity: 0; animation: fadeIn .5s ease .8s forwards; }
.loader .emblem__mono   { opacity: 0; transform-origin: 60px 60px; transform: scale(.6); animation: pop .7s var(--ease-out) .55s forwards; }

.loader__word { margin-top: 1.5rem; overflow: hidden; }
.loader__name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--espresso);
  opacity: 0; transform: translateY(18px);
  animation: rise .9s var(--ease-out) .95s forwards;
}
.loader__ar {
  display: block;
  font-family: var(--arab);
  font-size: 1.35rem;
  color: var(--gold-deep);
  margin-top: .2rem;
  opacity: 0; transform: translateY(14px);
  animation: rise .9s var(--ease-out) 1.15s forwards;
}

@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pop    { to { opacity: 1; transform: scale(1); } }
@keyframes rise   { to { opacity: 1; transform: translateY(0); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}
.nav__wrap {
  max-width: 1360px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--gutter);
  transition: padding .5s var(--ease);
}
.nav.scrolled {
  background: rgba(252,248,243,.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -22px rgba(74,42,49,.4);
}
.nav.scrolled .nav__wrap { padding-top: .85rem; padding-bottom: .85rem; }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: .04em; color: var(--espresso);
}
.brand__ar { font-family: var(--arab); font-size: .95rem; color: var(--gold-deep); margin-top: 2px; }

/* Nav on transparent hero (before scroll) */
.nav:not(.scrolled) .brand__name { color: #fff; text-shadow: 0 1px 14px rgba(58,33,41,.35); }
.nav:not(.scrolled) .brand__ar { color: #F2D8DD; }
.nav:not(.scrolled) .emblem__ring,
.nav:not(.scrolled) .emblem__sprig { stroke: var(--gold-soft); }
.nav:not(.scrolled) .emblem__mono { fill: #fff; }
.nav:not(.scrolled) .emblem__star { fill: #fff; }
.nav:not(.scrolled) .nav__links > a { color: rgba(255,255,255,.92); }
.nav:not(.scrolled) .nav__links > a:not(.btn)::after { background: var(--gold-soft); }
.nav:not(.scrolled) .nav__cta { border-color: rgba(255,255,255,.6); color: #fff; }
.nav:not(.scrolled) .nav__cta:hover { background: rgba(255,255,255,.15); }

.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links > a:not(.btn) {
  position: relative;
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wine); padding: .3rem 0;
  transition: color .3s var(--ease);
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__links > a:not(.btn):hover::after,
.nav__links > a.active::after { transform: scaleX(1); }
.nav__links > a.active { color: var(--gold-deep); }

/* Hamburger */
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 1.6px; background: var(--espresso); transition: transform .4s var(--ease), opacity .3s var(--ease), background .3s; }
.nav:not(.scrolled) .nav__toggle span { background: #fff; }
body.menu-open .nav__toggle span { background: var(--espresso); }
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 850;
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .5s var(--ease), visibility .5s var(--ease), transform .5s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.mobile-menu__links > a:not(.btn) {
  font-family: var(--serif); font-size: 2rem; color: var(--espresso); font-weight: 500;
}
.mobile-menu__ar { font-family: var(--arab); font-size: 1.6rem; color: var(--gold-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) var(--gutter) 5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: -8% 0 0; z-index: -3; }
.hero__video, .hero__kenburns {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__kenburns {
  background-color: var(--sand);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: kenburns 22s ease-in-out infinite alternate;
}
/* If the <video> has no source, it renders its poster; the kenburns layer
   sits behind as a guaranteed, animated fallback. */
.hero__video { z-index: 1; }
@keyframes kenburns {
  from { transform: scale(1.04) translate(0,0); }
  to   { transform: scale(1.16) translate(-1.5%, -2%); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(42,26,32,.62) 0%, rgba(42,26,32,.34) 42%, rgba(42,26,32,.05) 70%),
    linear-gradient(180deg, rgba(42,26,32,.42) 0%, rgba(42,26,32,.2) 34%, rgba(58,33,41,.4) 80%, rgba(42,26,32,.62) 100%),
    radial-gradient(120% 90% at 28% 34%, rgba(58,33,41,.18), rgba(58,33,41,.5));
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero__content { max-width: 800px; }
.hero__title {
  font-size: clamp(2.9rem, 7.2vw, 6rem);
  font-weight: 500; color: #fff; line-height: 1.08;
  text-shadow: 0 2px 40px rgba(42,26,32,.4);
  margin-bottom: 1.6rem;
}
.hero__title em { -webkit-text-fill-color: transparent; background-size: 220% auto; }

/* Line-mask reveal wrappers */
.hero__title .line { display: block; overflow: hidden; padding: .1em 0; margin: -.06em 0; }
.hero__title .line__inner { display: block; }
.hero__sub {
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  color: rgba(255,255,255,.9);
  font-weight: 300; max-width: 40ch; line-height: 1.7;
  margin-bottom: 2.4rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Hero entrance choreography ---------- */
/* Hidden state + transition apply only with JS; the visible end-states below are
   static rules, so content resolves to visible even if the transition never runs. */
.js .hero__title .line__inner {
  transform: translateY(115%);
  transition: transform 1.15s var(--ease-out);
}
.js .hero__title .line:nth-child(1) .line__inner { transition-delay: .20s; }
.js .hero__title .line:nth-child(2) .line__inner { transition-delay: .34s; }

.js .hero__el {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.js .eyebrow.hero__el  { transition-delay: .06s; }
.js .hero__sub.hero__el { transition-delay: .54s; }
.js .hero__cta.hero__el { transition-delay: .70s; }

.js .hero__scroll { opacity: 0; transition: opacity 1s var(--ease-out) 1.05s; }

/* Visible end-states — cued as the loader lifts (body.hero-ready) */
.hero-ready .hero__title .line__inner { transform: translateY(0); }
.hero-ready .hero__el { opacity: 1; transform: none; }
.hero-ready .hero__scroll { opacity: 1; }

/* Gold sweep across the accent word as it enters (decorative only) */
.hero-ready .hero__title em { animation: goldSweep 2.4s var(--ease) .75s 1; }
@keyframes goldSweep { 0% { background-position: 120% center; } 100% { background-position: -20% center; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.8);
  font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
}
.hero__scroll svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; animation: bob 2s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--espresso);
  color: var(--cream);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--espresso), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--espresso), transparent); }
.marquee__track { display: flex; width: max-content; animation: scroll 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__group > span {
  font-family: var(--serif); font-style: italic;
  font-size: 1.5rem; padding: 0 .3rem; white-space: nowrap; color: #F3E9DA;
}
.blossom {
  width: 20px; height: 20px; margin: 0 1.4rem; flex: none;
  background: var(--gold-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l1.6 3.2L17 3.6l-1.4 3.5L19 8l-3 2 3 2-3.4.9L17 16.4l-3.4-1.6L12 18l-1.6-3.2L7 16.4l1.4-3.5L5 12l3-2-3-2 3.4-.9L7 3.6l3.4 1.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l1.6 3.2L17 3.6l-1.4 3.5L19 8l-3 2 3 2-3.4.9L17 16.4l-3.4-1.6L12 18l-1.6-3.2L7 16.4l1.4-3.5L5 12l3-2-3-2 3.4-.9L7 3.6l3.4 1.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Image frame ---------- */
.img-frame {
  position: relative; overflow: hidden; border-radius: 6px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--sand) 60%, var(--gold-soft) 140%);
}
.img-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.1s var(--ease);
}
.img-frame img.img-failed { opacity: 0; }
.img-frame--tall { aspect-ratio: 4/5; }
.img-frame--map  { aspect-ratio: 4/3.4; }
.img-frame--map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9) contrast(1.02); }

/* ---------- Story ---------- */
.story { position: relative; }
.story__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center;
}
.story__media { position: relative; }
.story__media .img-frame { box-shadow: var(--shadow-lg); }
.story__badge {
  position: absolute; bottom: -26px; right: -18px;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid; place-content: center; text-align: center;
}
.story__badge::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid var(--gold); opacity: .5;
}
.story__badge-year { font-family: var(--sans); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose-deep); display: block; }
.story__badge-num  { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--gold-deep); line-height: 1; }

.story__body p:not(.eyebrow) { color: var(--muted); margin-top: 1.1rem; max-width: 52ch; }
.story__body h2 { margin-bottom: .3rem; }

.pull-quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem,2.4vw,1.75rem);
  color: var(--espresso); line-height: 1.35;
  border-left: 2px solid var(--gold); padding-left: 1.4rem;
  margin: 2rem 0; max-width: 46ch;
}
.pull-quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-deep); margin-top: .9rem; }

.story__stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 2rem;
  margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.story__stats li { display: flex; flex-direction: column; }
.story__stats strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--gold-deep); }
.story__stats span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- Menu ---------- */
.menu { position: relative; }
.menu__featured {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-bottom: clamp(3rem,6vw,4.5rem);
}
.feat {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feat:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feat__img { aspect-ratio: 4/3.2; }
.feat:hover .feat__img img { transform: scale(1.07); }
.feat__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(252,248,243,.92); backdrop-filter: blur(4px);
  color: var(--gold-deep); font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 100px; border: 1px solid var(--line);
}
.feat__body { padding: 1.5rem 1.6rem 1.8rem; }
.feat__body h3 { color: var(--espresso); margin-bottom: .5rem; }
.feat__body p { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.feat__price {
  display: inline-block; margin-top: 1.1rem;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.feat__price em { font-family: var(--sans); font-style: normal; font-size: .72rem; color: var(--muted); letter-spacing: .1em; }

.menu__lists {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,5rem);
  max-width: 1000px; margin: 0 auto;
}
.menu__cat {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.7rem; color: var(--rose-deep); margin-bottom: 1.4rem;
  text-align: center; position: relative; padding-bottom: 1rem;
}
.menu__cat::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 40px; height: 1px; background: var(--gold); }
.menu__list { list-style: none; }
.menu__list li { display: flex; align-items: baseline; gap: .6rem; padding: .95rem 0; border-bottom: 1px dashed var(--line); }
.menu__name { font-family: var(--serif); font-size: 1.25rem; color: var(--espresso); font-weight: 500; }
.menu__dots { flex: 1; border-bottom: 1px dotted var(--muted-2); transform: translateY(-4px); opacity: .55; }
.menu__price { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--gold-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 2.6rem; font-style: italic; }

/* ---------- Gallery ---------- */
.gallery { max-width: 1360px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gcard { position: relative; cursor: pointer; border-radius: 8px; overflow: hidden; }
.gcard .img-frame { aspect-ratio: 1/1; border-radius: 8px; }
.gcard:nth-child(1), .gcard:nth-child(6) { grid-row: span 1; }
.gcard:nth-child(4) .img-frame { aspect-ratio: 1/1; }
.gcard::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(42,26,32,.6), transparent 55%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.gcard:hover::after { opacity: 1; }
.gcard:hover img { transform: scale(1.08); }
.gcard figcaption {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
  color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gcard figcaption::after {
  content: ""; display: block; width: 0; height: 1px; background: var(--gold-soft); margin-top: .35rem;
  transition: width .5s var(--ease) .05s;
}
.gcard:hover figcaption { opacity: 1; transform: none; }
.gcard:hover figcaption::after { width: 42px; }

/* larger, editorial spans */
@media (min-width: 720px) {
  .gallery__grid { grid-auto-rows: 1fr; }
  .gcard:nth-child(1) { grid-column: span 2; }
  .gcard:nth-child(1) .img-frame { aspect-ratio: 2/1; }
}

/* ---------- Visit ---------- */
.visit { position: relative; }
.visit::before { /* soft blush wash */
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1);
  background: linear-gradient(180deg, transparent, var(--cream-2) 40%, var(--cream-2) 100%);
  z-index: -1;
}
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,4.5rem); align-items: center; }
.visit__details { list-style: none; margin: 2rem 0; }
.visit__details li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.visit__details .ico { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold-deep); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.visit__details strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--espresso); }
.visit__details span { font-size: .85rem; color: var(--muted); }
.visit__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.visit__map .img-frame { box-shadow: var(--shadow-lg); }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: #EBD9DD; padding: clamp(3.5rem,7vw,5.5rem) var(--gutter) 2rem; }
.footer__top {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; align-items: start;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(235,217,221,.14);
}
.footer .emblem__ring, .footer .emblem__sprig { stroke: var(--gold-soft); }
.footer .emblem__mono { fill: var(--gold-soft); }
.footer .emblem__star { fill: var(--gold-soft); }
.footer__name { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; color: #fff; margin-top: 1rem; letter-spacing: .04em; }
.footer__ar { font-family: var(--arab); font-size: 1.2rem; color: var(--gold-soft); margin-top: .1rem; }
.footer__tag { color: rgba(235,217,221,.6); font-size: .88rem; margin-top: .8rem; max-width: 30ch; }
.footer__nav { display: flex; flex-direction: column; gap: 1rem; }
.footer__nav a { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(235,217,221,.8); transition: color .3s, padding-left .3s; width: fit-content; }
.footer__nav a:hover { color: var(--gold-soft); padding-left: 6px; }
.footer__label { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; }
.footer__social { display: flex; gap: .8rem; margin-bottom: 1.4rem; }
.footer__social a {
  width: 42px; height: 42px; border: 1px solid rgba(235,217,221,.22); border-radius: 50%;
  display: grid; place-items: center; transition: background .35s var(--ease), border-color .35s, transform .35s;
}
.footer__social svg { width: 18px; height: 18px; fill: none; stroke: #EBD9DD; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer__social a:hover svg { stroke: #fff; }
.footer__addr { font-size: .84rem; color: rgba(235,217,221,.6); line-height: 1.7; }
.footer__bottom {
  max-width: var(--container); margin: 0 auto; padding-top: 2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  font-size: .76rem; color: rgba(235,217,221,.5); letter-spacing: .04em;
}
.footer__bottom [lang="ar"] { font-family: var(--arab); font-size: .95rem; color: var(--gold-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(42,26,32,.9); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 5vw;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .45s var(--ease-out); }
.lightbox.open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 1.6rem; right: 1.6rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: background .3s, transform .3s; }
.lightbox__close:hover { background: rgba(255,255,255,.14); transform: rotate(90deg); }
.lightbox__close svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }

/* ---------- Custom cursor ---------- */
.cursor-layer { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 100000; }
.cursor, .cursor__dot { position: absolute; top: 0; left: 0; border-radius: 50%; opacity: 0; }
.cursor {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease),
              background-color .4s var(--ease), border-color .4s var(--ease), opacity .35s var(--ease);
}
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--gold);
  transition: opacity .35s var(--ease), background-color .4s var(--ease);
}
.cursor.is-visible, .cursor__dot.is-visible { opacity: 1; }

/* dark-section theme */
.cursor.is-dark { border-color: var(--gold-soft); }
.cursor__dot.is-dark { background: var(--gold-soft); }

/* over links & buttons: ring swells, dot recedes */
.cursor.is-active { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(176,140,74,.10); }
.cursor__dot.is-hidden { opacity: 0; }

/* over gallery: cream "View" disc */
.cursor__label {
  font-family: var(--sans); font-size: .56rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep);
  opacity: 0; transform: scale(.7); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cursor.is-view { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(252,248,243,.92); border-color: transparent; }
.cursor.is-view .cursor__label { opacity: 1; transform: none; }

/* hide native cursor only while the custom one is active */
body.has-cursor, body.has-cursor * { cursor: none !important; }

/* touch / coarse pointers keep the native cursor */
@media (hover: none), (pointer: coarse) { .cursor-layer { display: none !important; } }

/* ---------- Reveal animations ---------- */
/* Hidden only when JS is active (html.js), so content is never invisible if scripts fail. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.in-view { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }
[data-reveal-delay="3"] { transition-delay: .36s; }

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .story__grid { grid-template-columns: 1fr; gap: 3rem; }
  .story__media { max-width: 460px; margin: 0 auto; }
  .visit__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .menu__featured { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; margin-bottom: 3rem; }
  .menu__lists { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .gcard figcaption { opacity: 1; transform: none; font-size: .95rem; }
  .gcard figcaption::after { width: 30px; }
  .gcard::after { opacity: .7; }
}

@media (max-width: 520px) {
  .brand__name { font-size: 1.25rem; }
  .brand__ar { font-size: .8rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .footer__top { grid-template-columns: 1fr; }
  .story__stats { gap: 1.4rem; }
  .story__badge { width: 96px; height: 96px; right: 0; }
}

/* =============================================================
   REDUCED MOTION
============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .js .hero__el, .js .hero__title .line__inner { opacity: 1 !important; transform: none !important; }
  .js .hero__scroll { opacity: 1 !important; }
  .hero__title em { animation: none !important; }
  .cursor-layer { display: none !important; }
  .hero__kenburns { animation: none; transform: scale(1.05); }
  .marquee__track { animation: none; }
  .hero__scroll svg { animation: none; }
  .loader .emblem__ring, .loader .emblem__ring--thin, .loader .emblem__sprig { stroke-dashoffset: 0; }
  .loader .emblem__mono, .loader .emblem__leaf, .loader .emblem__star, .loader__name, .loader__ar { opacity: 1; transform: none; }
}
