/* ============================================================
   SF MAKEUP — Atelier de beauté · Kénitra · Rabat
   Luxury editorial · multi-view SPA
   ============================================================ */

:root {
  --bg:        #0c0a08;
  --bg-2:      #14110d;
  --panel:     #181410;
  --ivory:     #f3ead9;
  --ivory-dim: #cbbda6;
  --line:      rgba(201,164,92,0.22);
  --line-soft: rgba(243,234,217,0.10);

  --gold-1: #b8893f;
  --gold-2: #e7c885;
  --gold-3: #f6e3b4;
  --gold-deep: #8a6326;

  --jewel: #6b1f2a;
  --jewel-soft: rgba(107,31,42,0.35);

  --foil: linear-gradient(105deg, var(--gold-deep) 0%, var(--gold-2) 38%, var(--gold-3) 52%, var(--gold-2) 64%, var(--gold-1) 100%);

  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --arab: "Amiri", "Cormorant Garamond", serif;

  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-2); color: #1a1208; }

body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background: radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(0,0,0,0.45) 100%);
  mix-blend-mode: multiply;
}

/* ---------- shared atoms ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.kicker {
  font-family: var(--sans); font-weight: 400; font-size: 12px;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 0.9em;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--foil); display: inline-block; }
.kicker.center { justify-content: center; }
.kicker.center::after { content: ""; width: 34px; height: 1px; background: var(--foil); display: inline-block; }

.foil {
  background: var(--foil); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; line-height: 1.04; }
.serif-italic { font-style: italic; }

.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--sans); font-weight: 400; font-size: 12.5px;
  letter-spacing: 0.28em; text-transform: uppercase; padding: 16px 30px;
  border: 1px solid var(--gold-1); color: var(--gold-3); background: transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--foil);
  transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1;
}
.btn:hover { color: #1a1208; border-color: transparent; }
.btn:hover::before { transform: translateY(0); }
.btn.solid { color: #1a1208; }
.btn.solid::before { transform: translateY(0); }
.btn.solid:hover::before { transform: translateY(-101%); }
.btn.solid:hover { color: var(--gold-3); border-color: var(--gold-1); }

/* reveal base — GSAP animates to visible; fallback class .in too */
.reveal { opacity: 0; transform: translateY(32px); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ============================================================
   CINEMATIC ENTRANCE — curtain reveal
   ============================================================ */
.wipe {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; overflow: hidden;
}
.wipe .curtain {
  position: absolute; left: -2%; right: -2%; height: 51%;
  background: linear-gradient(180deg, #100c09 0%, #0c0a08 55%, #08060455 100%);
  will-change: transform;
}
.wipe .curtain.top { top: 0; background: linear-gradient(0deg, #100c09 0%, #0c0a08 55%, #08060455 100%); border-bottom: 1px solid rgba(231,200,133,0.10); }
.wipe .curtain.bottom { bottom: 0; border-top: 1px solid rgba(231,200,133,0.10); }
.wipe .intro-glow {
  position: absolute; left: 50%; top: 50%; width: 90vmin; height: 90vmin;
  transform: translate(-50%,-50%) scale(0.4); opacity: 0; z-index: 1;
  background: radial-gradient(closest-side, rgba(231,200,133,0.22), rgba(184,137,63,0.08) 45%, transparent 72%);
  pointer-events: none;
}
.wipe .mono { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.wipe .intro-kicker { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 30px; opacity: 0; }
.wipe .mono b {
  font-family: var(--display); font-size: clamp(86px, 16vw, 200px); line-height: 0.84; display: block; font-weight: 400;
  background: linear-gradient(105deg, var(--gold-deep) 0%, var(--gold-2) 34%, #fff6e0 50%, var(--gold-2) 66%, var(--gold-1) 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.wipe .intro-name { display: block; font-family: var(--display); font-style: italic; font-size: clamp(22px, 4vw, 40px); letter-spacing: 0.16em; color: var(--ivory); margin-top: 6px; opacity: 0; }
.wipe .barline { width: 0; height: 1px; background: var(--foil); margin: 30px auto 26px; }
.wipe .intro-tag { font-family: var(--display); font-style: italic; font-size: clamp(18px, 2.6vw, 27px); color: var(--ivory-dim); opacity: 0; max-width: 24ch; }
.wipe .intro-ar { font-family: var(--arab); direction: rtl; font-size: clamp(16px, 2.2vw, 22px); color: var(--gold-2); margin-top: 16px; opacity: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; padding: 22px 40px;
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10,8,6,0.8); backdrop-filter: blur(14px); padding: 14px 40px; border-bottom: 1px solid var(--line); }
.nav .brand { font-family: var(--display); font-size: 24px; letter-spacing: 0.04em; display: flex; align-items: baseline; gap: 0.45em; cursor: pointer; }
.nav .brand b { font-weight: 500; }
.nav .brand span { font-size: 11px; font-family: var(--sans); letter-spacing: 0.4em; text-transform: uppercase; color: var(--ivory-dim); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); position: relative; padding: 6px 0; cursor: pointer; transition: color .4s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--foil); transition: width .45s var(--ease); }
.nav-links a:hover { color: var(--gold-3); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold-3); }
.nav-links a.active::after { width: 100%; }
.nav-cta { border: 1px solid var(--line); padding: 11px 22px !important; color: var(--gold-3) !important; }
.nav-cta::after { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger i { width: 26px; height: 1.5px; background: var(--gold-2); display: block; transition: transform .4s var(--ease), opacity .4s; }
.nav-burger.open i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open i:nth-child(2) { opacity: 0; }
.nav-burger.open i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav { transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease), opacity .9s var(--ease); }
body.intro .nav, body.intro .mobile-menu { opacity: 0 !important; pointer-events: none; }

/* full-screen mobile menu overlay — hidden by default (was an unstyled bug) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 48;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(10,8,6,0.96);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.mobile-menu::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 80vmin; height: 80vmin;
  transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(231,200,133,0.10), transparent 70%);
  pointer-events: none;
}
body.light .mobile-menu { background: rgba(245,238,226,0.97); }
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu a {
  position: relative; font-family: var(--display); font-size: clamp(34px, 9vw, 46px);
  color: var(--ivory); padding: 6px 0; cursor: pointer;
  opacity: 0; transform: translateY(22px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1) { transition-delay: .10s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .16s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .22s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .28s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .34s; }
.mobile-menu a:active { color: var(--gold-3); }
.mobile-menu a.active { color: var(--gold-3); font-style: italic; }
.mobile-menu .mm-cta {
  margin-top: 22px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.28em;
  text-transform: uppercase; border: 1px solid var(--gold-1); color: var(--gold-3);
  padding: 15px 34px;
}

/* ============================================================
   VIEW + GENERIC SECTION
   ============================================================ */
.view { min-height: 60vh; }
section.block { padding: 130px 0; position: relative; }
.page-top { padding: 180px 0 0; }
.sec-head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.sec-title { font-size: clamp(40px, 6vw, 84px); }
.sec-title em { font-style: italic; }
.lead { font-size: 18px; color: var(--ivory-dim); max-width: 56ch; font-weight: 300; }

.page-hero { padding: 170px 0 70px; }
.page-hero h1 { font-size: clamp(54px, 10vw, 132px); line-height: 0.92; }
.page-hero .ph-sub { font-family: var(--display); font-style: italic; font-size: clamp(18px,2.2vw,26px); color: var(--ivory-dim); margin-top: 20px; max-width: 46ch; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ivory-dim); }
.hero-eyebrow b { font-family: var(--display); font-size: 19px; letter-spacing: 0.02em; font-weight: 500; text-transform: none; }
.hero-eyebrow i { width: 26px; height: 1px; background: var(--foil); }
.hero-title { font-family: var(--display); font-size: clamp(50px, 8vw, 122px); line-height: 0.95; letter-spacing: -0.01em; margin: 22px 0 0; font-weight: 400; }
.hero-title em { font-style: italic; font-weight: 400; }
.hero-ar { font-family: var(--arab); direction: rtl; font-size: clamp(20px, 2.6vw, 30px); color: var(--gold-2); margin-top: 18px; }
.hero-sub { font-family: var(--display); font-style: italic; font-size: clamp(18px, 2.1vw, 26px); color: var(--ivory-dim); margin: 16px 0 32px; max-width: 40ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 40px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.hero-trust .ht b { font-family: var(--display); font-size: 34px; color: var(--gold-3); line-height: 1; display: block; }
.hero-trust .ht span { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); margin-top: 8px; display: block; }
.hero-figure { position: relative; }
.hero-photo { position: relative; width: 100%; height: 80vh; max-height: 780px; overflow: hidden; }
.hero-photo image-slot { width: 100%; height: 100%; display: block; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes floaty { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-8deg) translateY(-12px); } }
.hero-frame { position: absolute; inset: 16px; border: 1px solid rgba(231,200,133,0.32); pointer-events: none; z-index: 2; }
.hero-figure .ringlabel { position: absolute; right: -14px; bottom: 44px; writing-mode: vertical-rl; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold-2); background: var(--bg); padding: 14px 8px; z-index: 3; }
.hero-figure .crest { position: absolute; left: -36px; top: -28px; width: 116px; height: 116px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: rgba(12,10,8,0.6); backdrop-filter: blur(4px); text-align: center; transform: rotate(-8deg); animation: floaty 7s ease-in-out infinite; z-index: 4; }
.hero-figure .crest b { font-family: var(--display); font-size: 30px; }
.hero-figure .crest small { display: block; font-size: 8px; letter-spacing: 0.3em; color: var(--gold-2); margin-top: 2px; }
.hero-rating { position: absolute; left: -26px; bottom: 28px; background: rgba(12,10,8,0.82); border: 1px solid var(--line); backdrop-filter: blur(6px); padding: 13px 17px; z-index: 4; }
.hero-rating .stars { display: block; color: var(--gold-2); font-size: 13px; letter-spacing: 3px; }
.hero-rating .rt { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); margin-top: 6px; }
.hero-bgword { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); font-family: var(--display); font-style: italic; font-size: 26vw; line-height: 1; color: rgba(243,234,217,0.035); white-space: nowrap; z-index: 1; pointer-events: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 4; }
.scroll-cue span { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-dim); }
.scroll-cue .ln { width: 1px; height: 46px; background: linear-gradient(var(--gold-2), transparent); }

/* ============================================================
   MARQUEE
   ============================================================ */
.no-marquee .marquee { display: none; }
.light body::after, body.light::after { background: radial-gradient(120% 90% at 50% 0%, transparent 60%, rgba(60,40,15,0.16) 100%); }
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 0; white-space: nowrap; width: max-content; animation: slidex 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-style: italic; font-size: 30px; padding: 0 30px; color: var(--ivory-dim); }
.marquee-track .sep { color: var(--gold-2); font-style: normal; }
@keyframes slidex { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ATELIER / ABOUT
   ============================================================ */
.atelier { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 80px; align-items: center; }
.atelier image-slot { width: 100%; height: 640px; }
.atelier .figcol { position: relative; }
.atelier .sig { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 42px; color: var(--gold-2); margin-top: 28px; }
.atelier .body p { margin: 0 0 22px; color: var(--ivory-dim); font-size: 17px; }
.atelier .body p strong { color: var(--ivory); font-weight: 400; }

/* ---- L'Artiste : portrait + bio (redesigned) ---- */
.artist-intro { padding-bottom: 120px; }
.artist { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 76px; align-items: center; }
.artist-figure { position: relative; }
.artist-photo { position: relative; width: 100%; }
.artist-photo image-slot { width: 100%; height: 660px; }
.artist-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; z-index: 4; }
.artist-badge { position: absolute; top: 16px; left: 16px; width: 82px; height: 82px; border-radius: 50%;
  border: 1px solid var(--gold-1); background: rgba(8,6,4,0.5); backdrop-filter: blur(6px);
  display: grid; place-items: center; text-align: center; z-index: 5; }
.artist-badge b { font-family: var(--display); font-size: 25px; line-height: 1; font-weight: 500; }
.artist-badge span { display: block; font-size: 8px; letter-spacing: 0.2em; color: var(--ivory-dim); margin-top: 3px; }
.artist-nameplate { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 34px 26px 24px;
  background: linear-gradient(0deg, rgba(8,6,4,0.92), rgba(8,6,4,0.4) 60%, transparent); }
.artist-nameplate .an-name { display: block; font-family: var(--display); font-size: 36px; color: var(--ivory); line-height: 1; }
.artist-nameplate .an-role { display: block; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); margin-top: 11px; }
.artist-body .artist-lead { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2.4vw, 28px);
  color: var(--ivory); line-height: 1.4; margin: 16px 0 24px; }
.artist-body > p { color: var(--ivory-dim); font-size: 16.5px; line-height: 1.75; margin: 0 0 18px; }
.artist-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); margin: 32px 0 28px; }
.afact { background: var(--bg); padding: 18px 22px; }
.af-k { display: block; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 7px; }
.af-v { display: block; font-family: var(--display); font-size: 19px; color: var(--gold-3); }
.artist-sign { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 40px; color: var(--gold-2); }
@media (max-width: 860px) {
  .artist { grid-template-columns: 1fr; gap: 38px; }
  .artist-figure { order: -1; }
  .artist-photo image-slot { height: 70vh; max-height: 560px; }
  .artist-nameplate .an-name { font-size: 30px; }
}
.mini-stats { display: flex; gap: 46px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.mini-stats .n { font-family: var(--display); font-size: 46px; line-height: 1; }
.mini-stats .lbl { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory-dim); margin-top: 8px; }

/* steps timeline */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 70px; }
.step { padding: 0 28px; border-left: 1px solid var(--line); position: relative; }
.step:first-child { padding-left: 0; border-left: none; }
.step .n { font-family: var(--display); font-style: italic; font-size: 54px; color: var(--gold-2); line-height: 1; }
.step h3 { font-size: 26px; margin: 16px 0 10px; }
.step p { font-size: 14px; color: var(--ivory-dim); }

/* savoir-faire signature grid (replaces before/after on L'Artiste) */
.siggrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; margin-top: 56px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.sigcard { background: var(--bg); padding: 34px 28px; transition: background .5s var(--ease); }
.sigcard:hover { background: var(--bg-2); }
.sc-idx { font-family: var(--display); font-style: italic; font-size: 26px; color: var(--gold-2); }
.sigcard h3 { font-family: var(--display); font-size: 25px; margin: 14px 0 10px; font-weight: 400; }
.sigcard p { font-size: 14px; color: var(--ivory-dim); line-height: 1.6; margin: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-list { margin-top: 64px; border-top: 1px solid var(--line-soft); }
.svc { display: grid; grid-template-columns: 100px 1fr auto; gap: 40px; align-items: center; padding: 38px 14px; border-bottom: 1px solid var(--line-soft); transition: background .5s var(--ease), padding .5s var(--ease); position: relative; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--foil); opacity: 0.07; transition: width .5s var(--ease); }
.svc:hover { padding-left: 34px; }
.svc:hover::before { width: 100%; }
.svc .num { font-family: var(--display); font-size: 22px; color: var(--gold-2); }
.svc .nm { font-family: var(--display); font-size: clamp(30px, 4vw, 50px); transition: color .4s var(--ease); }
.svc:hover .nm { color: var(--gold-3); }
.svc .dx { color: var(--ivory-dim); font-size: 15px; max-width: 40ch; }
.svc .ar { font-family: var(--arab); font-size: 26px; color: var(--gold-2); direction: rtl; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 46px; }
.filters button { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); background: transparent; border: 1px solid var(--line); padding: 11px 20px; cursor: pointer; transition: all .4s var(--ease); }
.filters button:hover { color: var(--gold-3); border-color: var(--gold-1); }
.filters button.on { background: var(--foil); color: #1a1208; border-color: transparent; }
.masonry { display: flex; gap: 22px; align-items: flex-start; }
.mcol { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.card { position: relative; overflow: hidden; cursor: pointer; background: var(--panel); border: 1px solid var(--line-soft); }
.card image-slot { width: 100%; }
.card.t1 image-slot { height: 460px; }
.card.t2 image-slot { height: 560px; }
.card.t3 image-slot { height: 360px; }
.card .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; opacity: 0; transition: opacity .5s var(--ease); background: linear-gradient(to top, rgba(8,6,4,0.92) 0%, rgba(8,6,4,0.2) 60%, transparent 100%); pointer-events: none; }
.card:hover .ov { opacity: 1; }
.card .ov .cap { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.2; }
.card .ov .cap.ar { font-family: var(--arab); font-style: normal; direction: rtl; }
.card .ov .mr { display: flex; gap: 16px; align-items: center; margin-top: 12px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.card .corner { position: absolute; top: 14px; right: 14px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-3); background: rgba(8,6,4,0.55); padding: 6px 10px; border: 1px solid var(--line); opacity: 0; transition: opacity .5s var(--ease); }
.card:hover .corner { opacity: 1; }

/* ============================================================
   WORDS / PRAISE
   ============================================================ */
.words { text-align: center; }
.words-plaque { position: relative; max-width: 1000px; margin: 0 auto; padding: 60px clamp(28px, 6vw, 72px) 56px;
  border: 1px solid var(--line); background: radial-gradient(130% 120% at 50% 0%, rgba(231,200,133,0.07), transparent 62%), var(--bg-2); }
.words-mark { display: block; font-family: var(--display); font-style: italic; font-size: 130px; line-height: 0.34;
  color: var(--gold-2); opacity: 0.5; height: 54px; }
.words .kicker.center { display: block; margin-bottom: 26px; }
.quote-wrap { max-width: 840px; margin: 0 auto; min-height: 1px; }
.words .quote { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(27px, 4.2vw, 50px);
  line-height: 1.18; animation: qfade .8s var(--ease); }
.quote.ar { font-family: var(--arab); font-style: normal; direction: rtl; }
.quote-by { margin-top: 24px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-dim); }
.quote-dots { display: flex; gap: 12px; justify-content: center; margin-top: 38px; }
.quote-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-1); background: transparent; cursor: pointer; padding: 0; transition: background .3s; }
.quote-dots button.on { background: var(--foil); }
.wcorner { position: absolute; width: 16px; height: 16px; border: 1px solid var(--gold-1); }
.wcorner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.wcorner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.wcorner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.wcorner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
@keyframes qfade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   STATS BAND
   ============================================================ */
.statsband { background: var(--jewel); position: relative; overflow: hidden; }
.statsband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 50% -20%, rgba(247,227,180,0.18), transparent 60%); }
.statsrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.statcell { text-align: center; padding: 18px 20px; border-right: 1px solid rgba(247,227,180,0.18); }
.statcell:last-child { border-right: none; }
.statcell .n { font-family: var(--display); font-size: clamp(44px, 6vw, 78px); line-height: 1; color: var(--gold-3); }
.statcell .lbl { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(243,234,217,0.8); margin-top: 12px; }

/* ============================================================
   PACKAGES (prestations)
   ============================================================ */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.pkg { border: 1px solid var(--line); background: var(--bg-2); padding: 40px 34px; position: relative; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .5s var(--ease); }
.pkg:hover { transform: translateY(-8px); border-color: var(--gold-1); }
.pkg.feat { background: linear-gradient(180deg, rgba(107,31,42,0.28), var(--bg-2)); border-color: var(--gold-1); }
.pkg .pk-tag { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.pkg .pk-name { font-family: var(--display); font-size: 38px; }
.pkg .pk-ar { font-family: var(--arab); font-size: 20px; color: var(--gold-2); direction: rtl; margin-top: 4px; }
.pkg .pk-desc { color: var(--ivory-dim); font-size: 15px; margin: 18px 0 24px; }
.pkg .pk-price { font-family: var(--display); font-style: italic; font-size: 30px; color: var(--gold-3); margin-bottom: 22px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 13px; }
.pkg li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ivory); }
.pkg li::before { content: "✦"; color: var(--gold-2); font-size: 12px; line-height: 1.5; }
.pkg .btn { margin-top: auto; justify-content: center; }

.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 70px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.addon { background: var(--bg); padding: 30px; }
.addon h4 { font-family: var(--display); font-size: 24px; margin: 0 0 8px; }
.addon p { font-size: 13.5px; color: var(--ivory-dim); margin: 0; }

/* ============================================================
   BOOKING / CONTACT
   ============================================================ */
.book-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
.book-card { border: 1px solid var(--line); padding: 48px; background: var(--bg-2); }
.book-row { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.book-row:last-child { border-bottom: none; }
.book-row .ic { width: 40px; height: 40px; border: 1px solid var(--gold-1); border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--gold-2); }
.book-row .k { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ivory-dim); }
.book-row .v { font-family: var(--display); font-size: 24px; margin-top: 3px; }
.book-row .v a:hover { color: var(--gold-3); }
.book-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hours { margin-top: 30px; border: 1px solid var(--line); }
.hours .hr { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.hours .hr:last-child { border-bottom: none; }
.hours .hr .d { color: var(--ivory-dim); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; align-self: center; }
.hours .hr .h { font-family: var(--display); font-style: italic; font-size: 19px; }

.field { margin-bottom: 22px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 10px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 1px solid var(--line); color: var(--ivory); font-family: var(--sans); font-size: 15px; padding: 14px 16px; outline: none; transition: border-color .4s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-2); }
.field select option { background: var(--bg-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--ivory-dim); margin-top: 6px; }
.sent-msg { color: var(--gold-3); font-family: var(--display); font-style: italic; font-size: 22px; }

/* ============================================================
   CTA band
   ============================================================ */
.ctaband { text-align: center; position: relative; }
.cta-inner { position: relative; max-width: 1040px; margin: 0 auto; padding: clamp(56px, 8vw, 90px) clamp(28px, 6vw, 64px);
  border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, rgba(107,31,42,0.24), transparent 72%), var(--bg-2); }
.cta-inner::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% -8%, rgba(231,200,133,0.13), transparent 60%); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner .ornament { margin-bottom: 20px; }
.cta-h { font-size: clamp(40px, 7vw, 90px); margin: 6px 0 0; line-height: 1; }
.ctaband .sub { color: var(--ivory-dim); margin: 20px auto 32px; font-size: 18px; max-width: 52ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-ar { font-family: var(--arab); direction: rtl; font-size: clamp(18px, 2.4vw, 26px); color: var(--gold-2); margin-top: 32px; opacity: 0.92; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; }
.foot-brand { font-family: var(--display); font-size: 56px; cursor: pointer; }
.foot-links { display: flex; gap: 26px; }
.foot-links a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); cursor: pointer; }
.foot-links a:hover { color: var(--gold-3); }
.foot-base { margin-top: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; letter-spacing: 0.14em; color: rgba(203,189,166,0.55); text-transform: uppercase; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6,5,4,0.94); display: none; align-items: center; justify-content: center; padding: 5vh 6vw; backdrop-filter: blur(8px); }
.lightbox.on { display: flex; }
.lightbox .lb-inner { max-width: 560px; width: 100%; text-align: center; }
.lightbox image-slot { width: 100%; height: 72vh; }
.lightbox .lb-cap { font-family: var(--display); font-style: italic; font-size: 26px; margin-top: 22px; }
.lightbox .lb-cap.ar { font-family: var(--arab); font-style: normal; direction: rtl; }
.lightbox .lb-meta { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); margin-top: 10px; }
.lightbox .lb-close { position: absolute; top: 28px; right: 34px; font-size: 30px; color: var(--ivory); cursor: pointer; font-family: var(--display); }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 40px; color: var(--gold-2); cursor: pointer; user-select: none; padding: 20px; }
.lightbox .lb-prev { left: 2vw; }
.lightbox .lb-next { right: 2vw; }

/* ============================================================
   FULL-BLEED BANNER (parallax)
   ============================================================ */
.banner { position: relative; height: 86vh; min-height: 560px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.banner image-slot { position: absolute; inset: -12% 0; width: 100%; height: 124%; }
.banner image-slot::part(frame) { border: none; }
.banner .bn-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,6,4,0.5), rgba(8,6,4,0.3) 40%, rgba(8,6,4,0.7)); z-index: 1; }
.banner .bn-inner { position: relative; z-index: 2; max-width: 900px; padding: 0 30px; }
.banner .bn-inner h2 { font-size: clamp(36px, 6vw, 86px); color: var(--ivory); }
.banner .bn-inner .bn-sub { margin-top: 20px; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-2); }

/* ============================================================
   HORIZONTAL PINNED SIGNATURE SCROLL
   ============================================================ */
.hscroll { overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hscroll-intro { padding: 90px 40px 0; max-width: var(--maxw); margin: 0 auto; }
.hscroll-track { display: flex; gap: 30px; padding: 50px 40px 90px; width: max-content; align-items: stretch; }
.hpanel { width: 38vw; min-width: 340px; max-width: 460px; display: flex; flex-direction: column; }
.hpanel image-slot { width: 100%; height: 60vh; max-height: 600px; }
.hpanel .hp-meta { display: flex; align-items: baseline; gap: 16px; margin-top: 22px; }
.hpanel .hp-idx { font-family: var(--display); font-style: italic; font-size: 34px; color: var(--gold-2); }
.hpanel .hp-t { font-family: var(--display); font-size: 34px; }
.hpanel .hp-cap { color: var(--ivory-dim); font-size: 15px; margin-top: 8px; }
.hscroll-hint { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ivory-dim); display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.hscroll-hint::after { content: "→"; color: var(--gold-2); font-size: 16px; }

/* ============================================================
   COLLABORATIONS
   ============================================================ */
.collabs { padding: 70px 0; border-top: 1px solid var(--line-soft); }
.collabs .ct { text-align: center; font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 38px; }
.collab-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.collab-row a { font-family: var(--display); font-size: clamp(20px, 2.6vw, 32px); color: var(--ivory-dim); transition: color .4s var(--ease); position: relative; }
.collab-row a:hover { color: var(--gold-3); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.avis-card { border: 1px solid var(--line); padding: 38px 32px; background: var(--bg-2); display: flex; flex-direction: column; }
.avis-card .mark { font-family: var(--display); font-style: italic; font-size: 70px; line-height: 0.6; color: var(--gold-2); height: 34px; }
.avis-card .q { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.32; margin: 18px 0 24px; }
.avis-card .who { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); border-top: 1px solid var(--line-soft); padding-top: 18px; }
.avis-card .who b { color: var(--gold-2); font-weight: 400; }
.stars { color: var(--gold-2); letter-spacing: 2px; font-size: 13px; }

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.ba { position: relative; width: 100%; height: 620px; overflow: hidden; border: 1px solid var(--line); user-select: none; cursor: ew-resize; }
.ba .ba-layer { position: absolute; inset: 0; }
.ba .ba-layer image-slot { width: 100%; height: 100%; }
.ba .ba-after { z-index: 2; overflow: hidden; }
.ba .ba-tag { position: absolute; bottom: 18px; z-index: 4; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-3); background: rgba(8,6,4,0.6); border: 1px solid var(--line); padding: 7px 13px; }
.ba .ba-tag.l { left: 18px; }
.ba .ba-tag.r { right: 18px; }
.ba .ba-handle { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--foil); z-index: 5; transform: translateX(-1px); }
.ba .ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold-1); color: var(--gold-2); display: grid; place-items: center; font-size: 16px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 880px; margin: 56px auto 0; border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 6px; cursor: pointer; font-family: var(--display); font-size: clamp(21px, 2.6vw, 30px); transition: color .4s var(--ease); }
.faq-q:hover { color: var(--gold-3); }
.faq-q .pl { color: var(--gold-2); font-size: 24px; transition: transform .45s var(--ease); flex: none; }
.faq-item.open .faq-q .pl { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a .inner { padding: 0 6px 28px; color: var(--ivory-dim); font-size: 16px; max-width: 64ch; }

@media (max-width: 1080px) {
  .avis { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 860px) {
  .hpanel { width: 76vw; min-width: 260px; scroll-snap-align: start; }
  .hpanel image-slot { height: 48vh; }
  /* mobile perf: native horizontal swipe (no GSAP pin) + drop scroll-heavy effects */
  .hscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .hero-photo image-slot { animation: none; }
  .sparkles { display: none; }
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10,8,6,0.95); }
  .ba { height: 460px; }
  .banner { height: 70vh; }
}

/* ---------- image-slot empty styling ---------- */
image-slot { color: rgba(243,234,217,0.62); font-family: var(--sans) !important; }
image-slot::part(frame) { background: radial-gradient(120% 100% at 50% 0%, rgba(231,200,133,0.10), transparent 60%), var(--panel); border: 1px solid var(--line); }
.card image-slot::part(frame) { border: none; }
image-slot::part(empty) { letter-spacing: 0.04em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .masonry { columns: 2; }
  .pkgs { grid-template-columns: 1fr; max-width: 520px; }
  .addons { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .nav { padding: 16px 22px; }
  .nav.scrolled { padding: 12px 22px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-figure { order: -1; }
  .hero-photo { height: 56vh; }
  .hero-figure .crest { left: auto; right: 14px; top: 14px; width: 90px; height: 90px; }
  .hero-trust { gap: 30px; margin-top: 34px; padding-top: 24px; }
  .hero-rating { left: 12px; bottom: 12px; }
  .hero-frame { inset: 12px; }
  .scroll-cue { display: none; }
  .atelier { grid-template-columns: 1fr; gap: 40px; }
  .atelier image-slot { height: 460px; }
  .svc { grid-template-columns: 50px 1fr; gap: 18px; }
  .svc .ar { display: none; }
  .statsrow { grid-template-columns: 1fr 1fr; }
  .statcell { border-bottom: 1px solid rgba(247,227,180,0.18); }
  .statcell:nth-child(2) { border-right: none; }
  .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .masonry { columns: 1; }
  .addons { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .step:first-child { border-top: none; padding-top: 0; }
  .foot-brand { font-size: 40px; }
  section.block { padding: 84px 0; }
}

/* ============================================================
   ENHANCEMENTS — scroll progress, cursor, magnetic, a11y, polish
   ============================================================ */

/* top scroll-progress bar (gold foil) */
.scrollbar {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 70;
  background: var(--foil); box-shadow: 0 0 12px rgba(231,200,133,0.5);
  pointer-events: none;
}
body.intro .scrollbar { opacity: 0; }

/* burger is a <button> now — strip native chrome */
.nav-burger { appearance: none; -webkit-appearance: none; background: transparent; border: 0; }

/* the mobile dark/light toggle: hidden on desktop, shown on mobile bar.
   Specificity must beat .iconbtn { display:flex } which is declared later. */
.iconbtn.m-mode { display: none; }
@media (max-width: 860px) { .iconbtn.m-mode { display: flex; align-items: center; } }

/* magnetic / interactive buttons get a smooth transform */
.btn, .nav-cta, .filters button { will-change: transform; }
.btn { transition: color .5s var(--ease), border-color .5s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn:hover { box-shadow: 0 14px 40px -18px rgba(231,200,133,0.55); }
.btn:active { transform: scale(0.97); }

/* keyboard accessibility — visible focus ring everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 2px;
}
.btn:focus-visible { outline-offset: 4px; }

/* foil stays static (no gaudy looping shimmer); a slow sheen only on the
   big hero wordmark, once-ish, for a hint of life */
.hero-title .foil { animation: foilsheen 9s var(--ease) infinite; }
@keyframes foilsheen { 0%, 70%, 100% { background-position: 0% center; } 35% { background-position: 140% center; } }

/* gallery cards: gentle lift + image zoom on hover */
.card { transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
.card image-slot { transition: transform .8s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); z-index: 2; }
.card:hover image-slot { transform: scale(1.06); }

/* clip-path image reveal — used by GSAP on [data-imgreveal] */
[data-imgreveal] { clip-path: inset(0 0 100% 0); will-change: clip-path; }

/* NOTE: no global smooth scroll — it made the route-change scroll-to-top
   animate and the curtain reopened mid-scroll ("page starts from bottom"). */

/* tiny dot pulse on scroll cue line */
.scroll-cue .ln { position: relative; overflow: hidden; }
.scroll-cue .ln::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: linear-gradient(var(--gold-3), transparent);
  animation: cuefall 1.8s var(--ease) infinite;
}
@keyframes cuefall { 0% { top: -50%; opacity: 0; } 30% { opacity: 1; } 100% { top: 110%; opacity: 0; } }

/* ---- custom gold cursor (desktop, enabled via JS body.has-cursor) ---- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none; border-radius: 50%; opacity: 0;
  transition: opacity .3s var(--ease); will-change: transform; }
.cursor-dot { width: 5px; height: 5px; background: var(--gold-2); }
.cursor-ring { width: 28px; height: 28px; border: 1px solid rgba(201,164,92,0.55);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s var(--ease),
    border-color .35s var(--ease), opacity .3s var(--ease); }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button, body.has-cursor [role="link"],
body.has-cursor input, body.has-cursor select, body.has-cursor textarea,
body.has-cursor .card, body.has-cursor .ba, body.has-cursor .faq-q { cursor: none; }
/* shown only after the first real pointer move (JS adds .on) — otherwise a
   stray ring sits frozen at screen-center on load */
body.has-cursor .cursor-dot.on, body.has-cursor .cursor-ring.on { opacity: 1; }
.cursor-ring.hot { width: 56px; height: 56px; background: rgba(231,200,133,0.08);
  border-color: var(--gold-2); }
.cursor-ring.down { width: 22px; height: 22px; }

/* ---- floating gold dust in the hero (cheap, CSS-only) ---- */
.sparkles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.sparkles i { position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,227,180,0.9), rgba(231,200,133,0) 70%);
  opacity: 0; animation: dust linear infinite; }
@keyframes dust {
  0% { transform: translateY(20px) scale(0.6); opacity: 0; }
  20% { opacity: 0.55; }
  80% { opacity: 0.4; }
  100% { transform: translateY(-120px) scale(1.1); opacity: 0; }
}

/* ---- gallery 3D tilt (set via JS transform) ---- */
.card { transform-style: preserve-3d; }

/* ---- film grain overlay — instant premium atmosphere ---- */
body::before {
  content: ""; position: fixed; inset: -50%; z-index: 62; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainshift 8s steps(6) infinite;
}
@keyframes grainshift {
  0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-3%); } 60% { transform: translate(-3%,4%); }
  80% { transform: translate(4%,-2%); } 100% { transform: translate(0,0); }
}
body.light::before { opacity: 0.03; }

/* ---- editorial page hero (inner pages) ---- */
.page-hero { position: relative; overflow: hidden; padding: 184px 0 60px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .ph-word {
  position: absolute; right: -2%; top: 6%; z-index: 0; pointer-events: none;
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(150px, 30vw, 460px); line-height: 0.74; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(231,200,133,0.06);
}
body.light .page-hero .ph-word { -webkit-text-stroke-color: rgba(138,99,38,0.12); }
.ph-top { display: flex; align-items: center; gap: 20px; }
.ph-idx { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--gold-2); line-height: 1; }
.ph-title { font-size: clamp(54px, 10vw, 132px); line-height: 0.92; margin: 22px 0 0; }
.page-hero .ph-ar { font-family: var(--arab); direction: rtl; font-size: clamp(20px, 3vw, 32px); color: var(--gold-2); margin-top: 22px; }
.page-hero .ph-sub { font-family: var(--display); font-style: italic; font-size: clamp(18px,2.2vw,26px); color: var(--ivory-dim); margin-top: 18px; max-width: 46ch; }

/* ---- package cards with photo headers + ribbon ---- */
.pkg { padding: 0; overflow: hidden; }
.pk-photo { position: relative; width: 100%; height: 240px; overflow: hidden; }
.pk-photo image-slot { width: 100%; height: 100%; transition: transform .9s var(--ease); }
.pkg:hover .pk-photo image-slot { transform: scale(1.06); }
.pk-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-2) 2%, rgba(20,17,13,0.1) 55%, transparent); }
.pk-body { padding: 30px 32px 36px; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; }
.pkg.feat { background: var(--bg-2); }
.pkg.feat .pk-body { background: linear-gradient(180deg, rgba(107,31,42,0.30), transparent 60%); }
.pk-ribbon { position: absolute; top: 16px; right: 16px; z-index: 3;
  background: var(--foil); color: #1a1208; font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 7px 13px; }

/* ---- nav icon buttons (theme toggle) ---- */
.iconbtn { appearance: none; -webkit-appearance: none; background: transparent; border: 0;
  color: var(--gold-2); cursor: pointer; display: flex; align-items: center; padding: 6px;
  transition: color .3s var(--ease), transform .4s var(--ease); }
.iconbtn:hover { color: var(--gold-3); transform: rotate(18deg); }
.nav-links .iconbtn { padding: 6px 0; }

/* ---- rich footer ---- */
.foot-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-soft); }
.footer .foot-brand { font-family: var(--display); font-size: 50px; cursor: pointer;
  display: inline-block; line-height: 1; }
.footer .foot-brand em { color: var(--gold-2); }
.foot-tag { color: var(--ivory-dim); font-size: 15px; max-width: 44ch; margin: 20px 0 26px; }
.foot-social { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-social a { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line);
  padding: 11px 17px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory-dim); transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.foot-social a:hover { color: var(--gold-3); border-color: var(--gold-1); transform: translateY(-3px); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; }
.foot-col h4 { font-family: var(--display); font-size: 21px; font-weight: 400; margin: 0 0 18px; color: var(--ivory); }
.foot-col a, .foot-col span { display: block; color: var(--ivory-dim); font-size: 14px; margin-bottom: 13px;
  letter-spacing: 0.02em; transition: color .3s var(--ease); cursor: pointer; }
.foot-col a:hover { color: var(--gold-3); }
.foot-loc { color: rgba(203,189,166,0.5) !important; cursor: default !important; }
.footer .foot-base { margin-top: 36px; }

@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr; gap: 44px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 150px 0 40px; }
  .pk-photo { height: 200px; }
}

/* respect reduced-motion: kill non-essential motion, reveal content */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-photo image-slot { animation: none !important; }
  .marquee-track { animation: none !important; }
  .scroll-cue .ln::after { display: none; }
  [data-imgreveal] { clip-path: none !important; }
  .sparkles, .cursor-dot, .cursor-ring { display: none !important; }
}

/* very small phones: tighten hero + headings so nothing overflows */
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .hero { min-height: auto; padding: 130px 0 50px; }
  .hero-photo { height: 64vh; max-height: 520px; }
  .hero-trust { gap: 22px; flex-wrap: wrap; }
  .hero-trust .ht b { font-size: 27px; }
  .hero-rating { display: none; }
  .crest { display: none; }
  .ringlabel { display: none; }
  .marquee-track span { font-size: 22px; padding: 0 18px; }
  .book-card { padding: 30px 22px; }
  .pkg { padding: 32px 26px; }
  .lightbox { padding: 4vh 4vw; }
  .lightbox .lb-nav { padding: 12px; font-size: 32px; }
}

/* ===== Sticky WhatsApp booking button ===== */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 47;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 21px 13px 17px; border-radius: 999px;
  background: var(--foil); color: #1a1208;
  font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: 0.02em;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(246,227,180,0.4);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
  animation: waFabIn .5s .8s cubic-bezier(.2,.8,.2,1) both;
}
.wa-fab svg { width: 22px; height: 22px; flex: none; }
.wa-fab span { white-space: nowrap; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(246,227,180,0.6); }
.wa-fab:active { transform: translateY(0); }
@keyframes waFabIn { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 560px) {
  .wa-fab { right: 15px; bottom: 15px; padding: 14px; gap: 0; }
  .wa-fab span { display: none; }
  .wa-fab svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }
