/* ============================================
   VILLA SAGE — style-2026.css
   "10K€ feeling" layer — Dubai private wellness
   ============================================ */

/* CURSOR */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent-pale);
  transition: transform 0.06s linear, opacity 0.2s ease;
}
.cursor-ring {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-accent-pale);
  transition: transform 0.18s var(--ease-out), width 0.25s var(--ease-out),
              height 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
              opacity 0.2s ease, background 0.25s ease;
}
.cursor-ring.hovering {
  width: 60px; height: 60px;
  background: rgba(201, 167, 125, 0.12);
  border-color: var(--color-accent);
}
@media (max-width: 900px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, .btn, input, textarea, select, [role="button"] { cursor: none; }
}

/* SCROLL PROGRESS */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-pale));
  z-index: 9998;
  box-shadow: 0 0 14px var(--color-glow);
  pointer-events: none;
  will-change: width;
  transition: width 0.06s linear;
}

/* HERO POSTER FALLBACK */
.hero-poster-fallback {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: brightness(0.88) saturate(1.05);
}
.hero-video {
  z-index: -3 !important;
}

.hero-title {
  font-variation-settings: "opsz" 120, "wght" 300, "SOFT" 50;
  text-shadow: 0 4px 40px rgba(0,0,0,0.45);
}
.hero-title em {
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 100;
}

/* MARQUEE BAND */
.marquee-band {
  background: var(--color-bg-darker);
  border-top: 1px solid var(--color-line-soft);
  border-bottom: 1px solid var(--color-line-soft);
  overflow: hidden;
  padding: 1.1rem 0;
  position: relative;
}
.marquee-band::before, .marquee-band::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-band::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg-darker), transparent);
}
.marquee-band::after {
  right: 0;
  background: linear-gradient(-90deg, var(--color-bg-darker), transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  animation: marquee-scroll 64s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.02rem;
  color: var(--color-text-muted);
  letter-spacing: 0.005em;
  flex-shrink: 0;
}
.marquee-item strong {
  color: var(--color-accent);
  font-style: normal;
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-right: 0.3rem;
}
.marquee-sep {
  color: var(--color-accent);
  opacity: 0.5;
  font-size: 1.1rem;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* PARALLAX FIGURE */
.about-figure {
  aspect-ratio: 4/5;
  position: relative;
  background: var(--color-bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.about-figure-img,
.about-figure-overlay {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.about-figure-img {
  z-index: 1;
  transition: transform 1.6s var(--ease-out);
}
.about-figure-overlay {
  z-index: 2;
  width: 52%;
  height: 44%;
  bottom: 6%;
  left: 6%;
  top: auto;
  right: auto;
  border-radius: var(--radius);
  border: 6px solid var(--color-bg);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.7);
  object-position: center;
}
.about-figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 22, 18, 0.45));
  pointer-events: none;
  z-index: 3;
}
.about-figure-stamp {
  position: absolute;
  z-index: 4;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201, 167, 125, 0.4);
  background: rgba(15, 22, 18, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-radius: var(--radius);
  text-align: right;
  display: flex; flex-direction: column;
  gap: 0.1rem;
}
.about-figure-stamp em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-accent);
  font-weight: 400;
  line-height: 1;
}
.about-figure-stamp small {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (hover: hover) {
  .about-figure:hover .about-figure-img { transform: scale(1.04); }
}

/* SHOWREEL VIDEO FRAME */
.showreel {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 167, 125, 0.07), transparent 55%),
    var(--color-bg-darker);
  position: relative;
}
.showreel-frame {
  position: relative;
  max-width: 1100px;
  margin: 3rem auto 0;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(201, 167, 125, 0.10);
}
.showreel-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.showreel-corner {
  position: absolute;
  width: 28px; height: 28px;
  z-index: 3;
  pointer-events: none;
}
.showreel-corner-tl { top: 14px; left: 14px; border-top: 1px solid var(--color-accent); border-left: 1px solid var(--color-accent); }
.showreel-corner-tr { top: 14px; right: 14px; border-top: 1px solid var(--color-accent); border-right: 1px solid var(--color-accent); }
.showreel-corner-bl { bottom: 14px; left: 14px; border-bottom: 1px solid var(--color-accent); border-left: 1px solid var(--color-accent); }
.showreel-corner-br { bottom: 14px; right: 14px; border-bottom: 1px solid var(--color-accent); border-right: 1px solid var(--color-accent); }

/* RITUALS 6-COL GRID */
.dishes-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}
@media (max-width: 1000px) {
  .dishes-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .dishes-grid-6 { grid-template-columns: 1fr; }
}

.dish-card {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(239, 231, 215, 0.025), rgba(239, 231, 215, 0.005)),
    var(--color-bg-soft);
}
.dish-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 167, 125, 0), rgba(201, 167, 125, 0.40), rgba(201, 167, 125, 0));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.dish-card > * { position: relative; z-index: 1; }
@media (hover: hover) {
  .dish-card:hover::before { opacity: 1; }
}

/* GALLERY MASONRY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.85rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg-elevated);
  margin: 0;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.5s var(--ease);
}
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 22, 18, 0.70));
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.4s var(--ease);
}
.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 1rem;
  left: 1.1rem; right: 1.1rem;
  z-index: 2;
  color: var(--color-text);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  line-height: 1.3;
  opacity: 0.92;
  transform: translateY(0);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.08); filter: brightness(1.05); }
  .gallery-item:hover::before { opacity: 1; }
}

.gallery-item-tall { grid-column: span 2; grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; grid-row: span 1; }
.gallery-grid > .gallery-item:not(.gallery-item-tall):not(.gallery-item-wide) {
  grid-column: span 1; grid-row: span 1;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item-tall { grid-column: span 2; grid-row: span 2; }
  .gallery-item-wide { grid-column: span 2; grid-row: span 1; }
  .gallery-grid > .gallery-item:not(.gallery-item-tall):not(.gallery-item-wide) {
    grid-column: span 1; grid-row: span 1;
  }
}

/* GLASS REVIEW CARDS */
.review-card-glass {
  background:
    linear-gradient(135deg, rgba(239, 231, 215, 0.06), rgba(239, 231, 215, 0.015)),
    rgba(31, 42, 36, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(201, 167, 125, 0.22);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.55);
  transition: all 0.5s var(--ease);
}
@media (hover: hover) {
  .review-card-glass:hover {
    border-color: rgba(201, 167, 125, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 32px 80px -24px rgba(0,0,0,0.65);
  }
}

/* CONTACT MAP */
.contact-map-frame {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.5);
  filter: grayscale(0.15) contrast(1.05);
  background: var(--color-bg-soft);
}
.contact-map-frame iframe {
  width: 100%; height: 100%;
  display: block;
}

/* GRADIENT MESH FINAL CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.final-cta-mesh {
  position: absolute;
  inset: -25%;
  z-index: -1;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      rgba(201, 167, 125, 0.22) 0deg,
      rgba(15, 22, 18, 0.0) 90deg,
      rgba(143, 169, 146, 0.18) 180deg,
      rgba(15, 22, 18, 0.0) 270deg,
      rgba(201, 167, 125, 0.22) 360deg
    );
  filter: blur(70px) saturate(140%);
  animation: mesh-rotate 60s linear infinite;
  will-change: transform;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 60% at 50% 50%, rgba(201, 167, 125, 0.12), transparent 70%),
    var(--color-bg-darker);
}
@keyframes mesh-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .final-cta-mesh { animation: none; }
}

/* FOOTER GRID */
.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1;
}
.footer-brand-em {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 400;
}
.footer-tagline {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 28ch;
}
.footer-signature {
  color: var(--color-accent);
  font-style: italic;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
@media (hover: hover) {
  .footer-signature:hover { border-bottom-color: var(--color-accent); }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.nav.scrolled {
  background: rgba(22, 32, 27, 0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* BUTTON SHIMMER */
.btn-primary {
  background:
    linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-soft) 100%);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(239, 231, 215, 0.25), transparent);
  transition: left 0.7s var(--ease);
}
@media (hover: hover) {
  .btn-primary:hover::before { left: 100%; }
  .btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent-pale) 0%, var(--color-accent) 100%);
  }
}

.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.018em;
}

.quiet::before,
.showreel::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.5;
}

@media (hover: hover) {
  .dish-card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 32px 70px -28px rgba(0,0,0,0.65),
      inset 0 0 0 1px rgba(201, 167, 125, 0.20);
  }
}

.repere-stat {
  text-shadow: 0 0 30px rgba(201, 167, 125, 0.18);
}
.repere-stat em {
  font-style: italic;
  color: var(--color-accent-pale);
  font-size: 0.7em;
  margin-left: 0.15em;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (pointer: fine) {
  body::-webkit-scrollbar { width: 10px; }
  body::-webkit-scrollbar-track { background: var(--color-bg-darker); }
  body::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--color-accent-soft), var(--color-accent));
    border-radius: 5px;
    border: 2px solid var(--color-bg-darker);
  }
}

.sticky-cta {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-soft));
}

/* MENU HERO BG */
.menu-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 6rem);
}
.menu-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.50) saturate(1.1);
}
.menu-hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 22, 18, 0.55) 0%, rgba(15, 22, 18, 0.85) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 167, 125, 0.14) 0%, transparent 55%);
}
.menu-hero > .container { position: relative; z-index: 2; }

/* BOOKING HERO BG SUBTLE */
.booking-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.booking-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 167, 125, 0.12), transparent 60%);
  z-index: 0;
}
.booking-hero > .container { position: relative; z-index: 1; }

/* STEPPER DONE STATE */
.step.done { color: var(--color-text); }
.step.done .step-num {
  background: var(--color-accent);
  color: var(--color-bg-darker);
  border-color: var(--color-accent);
  font-style: normal;
  font-weight: 600;
}
.step.done + .step::before { background: var(--color-accent); opacity: 0.55; }

/* PAYMENT MODAL */
.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: pmFadeIn 0.25s ease-out;
}
.payment-modal[hidden] { display: none; }
@keyframes pmFadeIn { from { opacity: 0; } to { opacity: 1; } }
.pm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.payment-modal .pm-modal-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  width: 100%;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: pmSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pmSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.pm-icon-success {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  animation: pmIconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
@keyframes pmIconPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.payment-modal h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  color: var(--color-text);
}
html[dir="rtl"] .payment-modal h2 { font-family: 'Reem Kufi Fun', 'Tajawal', serif; font-style: normal; }
.pm-confirm-sub {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.pm-demo-note {
  padding: 0.85rem 1rem;
  background: var(--color-bg-darker);
  border: 1px dashed var(--color-line-soft);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-bottom: 1.75rem;
}
.pm-demo-note em { font-style: italic; }
.pm-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
#btn-pay:disabled {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}

/* ============================================ */
/* POLISH 2026-05-18 — Audio toggle, Hero parallax, Cinemagraph, Arabesque */
/* ============================================ */

/* HERO — extra parallax layers */
.hero-haze {
  position: absolute;
  inset: -8% -8% -8% -8%;
  width: 116%;
  height: 116%;
  z-index: -2;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform;
}
.hero-haze svg {
  width: 100%; height: 100%;
  display: block;
}

.hero-grain {
  position: absolute;
  inset: -5%;
  width: 110%; height: 110%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.35) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 1px;
  will-change: transform;
}

.hero-inner {
  position: relative;
  z-index: 1;
  will-change: transform;
}

/* AUDIO TOGGLE — discrete bottom-right of hero */
.audio-toggle {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.25rem);
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(15, 22, 18, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 167, 125, 0.34);
  color: rgba(255, 252, 245, 0.92);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.audio-toggle svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.audio-toggle .ico-sound-on { display: none; }
.audio-toggle[data-muted="false"] .ico-sound-off { display: none; }
.audio-toggle[data-muted="false"] .ico-sound-on { display: block; }
.audio-toggle[data-muted="false"] {
  border-color: rgba(201, 167, 125, 0.75);
  color: var(--color-accent, #c9a77d);
}
@media (hover: hover) {
  .audio-toggle:hover {
    background: rgba(15, 22, 18, 0.7);
    border-color: rgba(201, 167, 125, 0.65);
    transform: translateY(-1px);
  }
}
.audio-toggle:focus-visible {
  outline: 2px solid var(--color-accent, #c9a77d);
  outline-offset: 3px;
}
.audio-toggle-label[data-lang] {
  display: none;
}
html:not([lang="ar"]) .audio-toggle-label[data-lang="en"] { display: inline; }
html[lang="ar"] .audio-toggle-label[data-lang="ar"] { display: inline; }

/* RTL: toggle moves to bottom-left */
html[dir="rtl"] .audio-toggle {
  right: auto;
  left: clamp(1.25rem, 3vw, 2.25rem);
}

@media (max-width: 600px) {
  .audio-toggle {
    padding: 0.55rem 0.7rem;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }
  .audio-toggle-label { display: none !important; }
}

/* CINEMAGRAPH BAND — editorial breathing between sections */
.cinemagraph-band {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--color-bg-darker, #0e1714);
  overflow: hidden;
  position: relative;
}
.cinemagraph-band::before,
.cinemagraph-band::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 40vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 167, 125, 0.5), transparent);
}
.cinemagraph-band::before { top: 2.25rem; }
.cinemagraph-band::after  { bottom: 2.25rem; }

.cinemagraph-frame {
  position: relative;
  width: min(1100px, 92vw);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.cinemagraph-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.cinemagraph-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(14, 23, 20, 0.55) 80%),
    linear-gradient(180deg, rgba(14, 23, 20, 0.18) 0%, rgba(14, 23, 20, 0.55) 100%);
  pointer-events: none;
}
.arabesque-ornament {
  position: absolute;
  bottom: clamp(1.4rem, 4vw, 2.6rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 60%);
  height: auto;
  color: var(--color-accent, #c9a77d);
  opacity: 0.75;
  z-index: 3;
  pointer-events: none;
  animation: arabesque-fade-in 2s ease-out both;
}
@keyframes arabesque-fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 0.75; transform: translateX(-50%) translateY(0); }
}
.cinemagraph-caption {
  position: absolute;
  top: clamp(1.4rem, 4vw, 2.4rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-display, 'Fraunces', serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: rgba(255, 252, 245, 0.86);
  letter-spacing: 0.015em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7);
}
.cinemagraph-caption span[data-lang="ar"] { display: none; }
html[lang="ar"] .cinemagraph-caption span[data-lang="en"] { display: none; }
html[lang="ar"] .cinemagraph-caption span[data-lang="ar"] { display: inline; }

@media (max-width: 700px) {
  .cinemagraph-caption {
    white-space: normal;
    max-width: 88%;
    line-height: 1.4;
  }
  .arabesque-ornament {
    width: 78%;
  }
}

/* Standalone arabesque (could be reused in private spa section) */
.arabesque-divider {
  display: block;
  width: min(320px, 55%);
  margin: clamp(2rem, 4vw, 3.5rem) auto;
  color: var(--color-accent, #c9a77d);
  opacity: 0.55;
}
