/* ==========================================================================
   Al Ismaili Halwa — الإسماعيلي للحلوى العمانية
   Slogan: مذاق الأجداد يتقنه الأحفاد
   Full-Screen Cinematic Pour Opening + Luxury Omani Responsive Design System
   ========================================================================== */

:root {
  /* Official Brand Palette — Extracted from Al Ismaili Halwa Royal Seal */
  --brand-navy: #013049;
  --brand-navy-mid: #02263b;
  --brand-navy-deep: #011a28;
  --brand-navy-card: #033550;
  --brand-navy-card-deep: #012235;
  --brand-cream: #fcf0d5;

  /* Harmonized Light Surfaces (Warm Parchment echoing #FCF0D5) */
  --bg-ivory: #fcf5e6;
  --bg-limestone: #f3e6cc;

  /* Luxury Champagne Gold Accents bridging Navy & Halwa Warmth */
  --gold-light: #fcf0d5;
  --gold-champagne: #e8cc8d;
  --gold: #cfa556;
  --gold-deep: #8f6a28;
  --whatsapp: #25d366;

  /* Accessible Typography Ink */
  --text-light: #fcf0d5;
  --text-light-muted: #cfd5d3;
  --text-dark: #012539;
  --text-dark-muted: #355162;

  /* Refined Borders & Elevation */
  --border-gold: rgba(252, 240, 213, 0.22);
  --border-gold-strong: rgba(232, 204, 141, 0.48);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-card-light: 0 14px 36px rgba(1, 36, 56, 0.08);

  /* Geometric Kufic Arabic Typography matching the Official Logo */
  --font-display-ar: "Reem Kufi", "Noto Kufi Arabic", sans-serif;
  --font-body-ar: "Noto Kufi Arabic", system-ui, -apple-system, sans-serif;
  --font-display-en: "Cormorant Garamond", Georgia, serif;
  --font-body-en: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --font-display: var(--font-display-ar);
  --font-body: var(--font-body-ar);

  --header-h: 76px;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

html[lang="en"] {
  --font-display: var(--font-display-en);
  --font-body: var(--font-body-en);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--brand-navy-deep);
  color: var(--text-light);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll,
body.intro-active {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1220px, 100% - 2rem);
  margin-inline: auto;
}

.icon-sm { width: 18px; height: 18px; flex-shrink: 0; }
.icon-md { width: 20px; height: 20px; flex-shrink: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.82rem 1.55rem;
  border: 1px solid transparent;
  transition: transform 0.28s var(--ease-luxury), box-shadow 0.28s var(--ease-luxury), background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.54rem 1.1rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.94rem 1.85rem;
}

.btn-full {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, #fcf0d5 0%, #e1c07a 52%, #bc9040 100%);
  color: #012235;
  box-shadow: 0 10px 28px rgba(1, 20, 32, 0.38), 0 4px 18px rgba(232, 204, 141, 0.22);
}

.btn-gold:hover {
  box-shadow: 0 14px 36px rgba(1, 20, 32, 0.45), 0 6px 24px rgba(252, 240, 213, 0.34);
  filter: brightness(1.04);
}

.btn-outline {
  background: rgba(1, 32, 50, 0.52);
  backdrop-filter: blur(8px);
  border-color: var(--border-gold-strong);
  color: var(--brand-cream);
}

.btn-outline:hover {
  background: rgba(252, 240, 213, 0.14);
  border-color: var(--brand-cream);
}

.btn-ghost-gold {
  background: transparent;
  border-color: rgba(252, 240, 213, 0.28);
  color: var(--text-light-muted);
  font-size: 0.88rem;
  padding: 0.72rem 1.25rem;
}

.btn-ghost-gold:hover {
  border-color: var(--gold-champagne);
  color: var(--brand-cream);
  background: rgba(252, 240, 213, 0.09);
}

.btn-gold-outline {
  background: rgba(252, 240, 213, 0.06);
  border-color: rgba(232, 204, 141, 0.42);
  color: var(--brand-cream);
}

.btn-gold-outline:hover {
  background: linear-gradient(135deg, #fcf0d5 0%, #dfbe78 100%);
  color: #012235;
  border-color: transparent;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2be06f 0%, #1ea952 100%);
  color: #072211;
}

/* ==========================================================================
   Header & Navigation (Hidden during opening pour, glides in gracefully after)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(1, 32, 50, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(252, 240, 213, 0.14);
  transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury), background 0.3s ease, border-color 0.3s ease;
}

body.intro-active .site-header {
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
}

.site-header.is-scrolled {
  background: rgba(1, 30, 47, 0.94);
  border-bottom-color: rgba(252, 240, 213, 0.24);
  box-shadow: 0 10px 30px rgba(0, 12, 20, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(252, 240, 213, 0.34);
  box-shadow: 0 4px 16px rgba(0, 14, 24, 0.42);
  transition: transform 0.3s var(--ease-luxury), border-color 0.3s ease;
}

.brand:hover .brand-emblem {
  transform: scale(1.04);
  border-color: rgba(252, 240, 213, 0.65);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-main {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-cream);
}

.brand-sub {
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--gold-champagne);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.55rem;
}

.desktop-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light-muted);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  inset-inline: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.28s var(--ease-luxury);
}

.desktop-nav a:hover {
  color: var(--gold-light);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(252, 240, 213, 0.08);
  color: var(--brand-cream);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lang-btn:hover {
  background: rgba(252, 240, 213, 0.18);
  border-color: var(--gold-champagne);
}

.icon-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-gold);
  background: rgba(252, 240, 213, 0.05);
  color: var(--brand-cream);
  transition: all 0.25s ease;
}

.icon-pill:hover {
  background: rgba(252, 240, 213, 0.16);
  border-color: var(--brand-cream);
  transform: translateY(-1px);
}

.header-wa-btn {
  display: none;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  background: rgba(252, 240, 213, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1.8px;
  background: var(--brand-cream);
  border-radius: 2px;
}

/* Mobile & Tablet Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(1, 18, 28, 0.76);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(320px, 86vw);
  z-index: 100;
  background: linear-gradient(180deg, #013049 0%, #011926 100%);
  border-inline-start: 1px solid var(--border-gold);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(105%);
  transition: transform 0.35s var(--ease-luxury);
}

html[dir="rtl"] .mobile-drawer {
  transform: translateX(-105%);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-gold);
}

.drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(252, 240, 213, 0.35);
  flex-shrink: 0;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: transparent;
  color: var(--brand-cream);
  font-size: 1rem;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-block: 1.5rem auto;
}

.drawer-links a {
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 1px solid rgba(252, 240, 213, 0.09);
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-links a:hover {
  background: rgba(252, 240, 213, 0.1);
  color: var(--gold-champagne);
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ==========================================================================
   FULL-SCREEN CINEMATIC POURING OPENING & HERO REVEAL (100vw x 100svh)
   ========================================================================== */
.hero-cinema {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--brand-navy-deep);
}

.cinema-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.cinema-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: opacity, transform;
}

.cinema-img-settled {
  object-position: 64% 65%;
  opacity: 0;
  z-index: 1;
}

.cinema-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.cinema-pour-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  will-change: opacity;
}

/* Subtle cinematic vignette: minimal during pour so the entire top-down vessel shines,
   deepening behind the editorial text side once revealed so typography is effortless to read */
.cinema-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1, 26, 40, 0.16) 0%, rgba(1, 26, 40, 0.0) 35%, rgba(1, 26, 40, 0.74) 100%);
  transition: background 1.1s var(--ease-luxury), opacity 1.1s ease;
}

body.intro-complete .cinema-vignette {
  background:
    linear-gradient(180deg, rgba(1, 27, 42, 0.9) 0%, rgba(1, 40, 62, 0.7) 44%, rgba(1, 27, 42, 0.36) 72%, rgba(1, 22, 34, 0.86) 100%);
}

/* Full-Screen Opening HUD (Shows ONLY during the pour ritual, fades away cleanly before hero details appear) */
.intro-hud {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 2rem 1.5rem 2.7rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.85s var(--ease-luxury), visibility 0.85s ease;
}

body.intro-complete .intro-hud {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-skip-btn {
  position: absolute;
  top: 1.4rem;
  inset-inline-end: 1.4rem;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 240, 213, 0.38);
  background: rgba(1, 48, 73, 0.65);
  backdrop-filter: blur(10px);
  color: var(--brand-cream);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.intro-skip-btn:hover {
  background: rgba(252, 240, 213, 0.18);
  border-color: var(--brand-cream);
}

.intro-caption {
  text-align: center;
  max-width: 580px;
  padding: 0.9rem 1.5rem;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(1, 30, 47, 0.76) 0%, rgba(1, 30, 47, 0) 78%);
}

.intro-logo {
  width: clamp(68px, 11vw, 90px);
  height: clamp(68px, 11vw, 90px);
  border-radius: 50%;
  margin: 0 auto 0.7rem;
  border: 1.5px solid rgba(252, 240, 213, 0.45);
  box-shadow: 0 12px 34px rgba(0, 14, 24, 0.65);
}

.intro-brand {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.38;
  color: var(--brand-cream);
  text-shadow: 0 4px 24px rgba(0, 12, 20, 0.8);
}

.intro-slogan {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.3vw, 1.32rem);
  font-weight: 600;
  line-height: 1.48;
  color: var(--gold-champagne);
  text-shadow: 0 2px 18px rgba(0, 12, 20, 0.82);
}

.intro-phase {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-light-muted);
  letter-spacing: 0.02em;
}

.intro-progress-track {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 3px;
  background: rgba(252, 240, 213, 0.16);
}

.intro-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #b88c3b, #fcf0d5, #d4af63);
  transform-origin: left center;
  transform: scaleX(0);
}

html[dir="rtl"] .intro-progress-fill {
  transform-origin: right center;
}

/* Post-Pour Hero Details Reveal */
.hero-reveal-container {
  position: relative;
  z-index: 8;
  padding-top: calc(var(--header-h) + 1.8rem);
  padding-bottom: 5.5rem;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 1.05s var(--ease-luxury) 0.15s, transform 1.05s var(--ease-luxury) 0.15s;
}

body.intro-complete .hero-reveal-container {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-content {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.44rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 240, 213, 0.36);
  background: rgba(1, 48, 73, 0.66);
  backdrop-filter: blur(10px);
  color: var(--brand-cream);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.3rem;
}

.gold-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-champagne);
  box-shadow: 0 0 10px var(--gold);
}

/* FIXED ARABIC & ENGLISH HEADLINE — Generous line-height & Kufic geometry */
.hero-title {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.title-primary {
  display: block;
  font-size: clamp(2.75rem, 7.6vw, 4.7rem);
  font-weight: 700;
  line-height: 1.32;
  padding-block: 0.04em;
  color: var(--brand-cream);
  text-shadow:
    0 2px 26px rgba(232, 204, 141, 0.25),
    0 6px 26px rgba(1, 20, 32, 0.78);
}

.title-secondary {
  display: block;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--gold-champagne);
  text-shadow: 0 4px 20px rgba(1, 20, 32, 0.78);
}

html[lang="en"] .hero-title {
  gap: 0.15rem;
}

html[lang="en"] .title-primary {
  line-height: 1.12;
  letter-spacing: 0.01em;
}

html[lang="en"] .title-secondary {
  line-height: 1.22;
}

/* Official Brand Slogan: «مذاق الأجداد يتقنه الأحفاد» */
.hero-slogan {
  margin: 0 auto 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.52rem 1.25rem;
  border-radius: 999px;
  background: rgba(1, 48, 73, 0.56);
  border: 1px solid rgba(252, 240, 213, 0.34);
  backdrop-filter: blur(8px);
}

.slogan-line {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-champagne), transparent);
  flex-shrink: 0;
}

.slogan-text {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.8vw, 1.42rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--brand-cream);
}

.hero-subtitle {
  margin: 0 auto 1.85rem;
  max-width: 545px;
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  color: #dce1df;
  line-height: 1.95;
  text-shadow: 0 2px 14px rgba(1, 20, 32, 0.72);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.95rem;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(252, 240, 213, 0.22);
  font-size: 0.83rem;
  color: #d8dfdd;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-diamond {
  color: var(--gold-champagne);
  font-size: 0.65rem;
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: var(--gold-light);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease 0.55s;
}

body.intro-complete .scroll-cue {
  opacity: 0.85;
  pointer-events: auto;
}

.scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
  animation: scrollDrop 2s infinite;
}

@keyframes scrollDrop {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.2; }
}

/* ==========================================================================
   Shared Sections
   ========================================================================== */
.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.section-light {
  background: linear-gradient(180deg, var(--bg-ivory) 0%, var(--bg-limestone) 100%);
  color: var(--text-dark);
}

.section-dark {
  background: linear-gradient(180deg, #011f30 0%, #012b42 52%, #012133 100%);
  color: var(--text-light);
}

.section-header {
  max-width: 700px;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-deep);
  margin-bottom: 0.65rem;
}

.section-dark .section-eyebrow,
.section-royal-banner .section-eyebrow {
  color: var(--gold-champagne);
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.1vw, 2.8rem);
  font-weight: 700;
  line-height: 1.38;
}

html[lang="en"] .section-title {
  line-height: 1.2;
}

.section-lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-dark-muted);
  line-height: 1.9;
}

.section-dark .section-lead,
.section-royal-banner .section-lead {
  color: var(--text-light-muted);
}

/* ==========================================================================
   Craft Section
   ========================================================================== */
.craft-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.luxury-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(1, 48, 73, 0.24);
  box-shadow: 0 24px 55px rgba(1, 32, 50, 0.22);
}

.luxury-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}

.luxury-photo-frame:hover img {
  transform: scale(1.035);
}

.photo-caption-bar {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(0deg, rgba(1, 27, 42, 0.94) 0%, rgba(1, 48, 73, 0.56) 72%, transparent 100%);
  color: var(--brand-cream);
  font-size: 0.84rem;
  font-weight: 500;
}

.craft-steps {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.craft-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 245, 0.82);
  border: 1px solid rgba(1, 48, 73, 0.13);
  transition: transform 0.28s var(--ease-luxury), border-color 0.28s ease, box-shadow 0.28s ease;
}

.craft-step:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 48, 73, 0.36);
  box-shadow: 0 14px 30px rgba(1, 48, 73, 0.08);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.15;
  min-width: 2.3rem;
}

.craft-step h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.craft-step p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   Signature Collection
   ========================================================================== */
.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.65rem;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(175deg, var(--brand-navy-card) 0%, var(--brand-navy-card-deep) 100%);
  border: 1px solid rgba(252, 240, 213, 0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-luxury), border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 204, 141, 0.52);
  box-shadow: 0 24px 55px rgba(0, 14, 24, 0.55);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-luxury);
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.95rem;
  inset-inline-start: 0.95rem;
  padding: 0.34rem 0.88rem;
  border-radius: 999px;
  background: rgba(1, 48, 73, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(252, 240, 213, 0.42);
  color: var(--brand-cream);
  font-size: 0.74rem;
  font-weight: 600;
}

.product-body {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-champagne);
  margin-bottom: 0.45rem;
}

.product-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--brand-cream);
  line-height: 1.4;
}

.product-price {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.7rem;
  padding: 0.22rem 0.78rem;
  border-radius: 999px;
  background: rgba(232, 204, 141, 0.14);
  border: 1px solid rgba(232, 204, 141, 0.36);
  color: var(--gold-champagne);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-desc {
  margin: 0 0 1.4rem;
  font-size: 0.88rem;
  color: var(--text-light-muted);
  flex: 1;
}

.custom-order-banner {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, rgba(1, 48, 73, 0.92) 0%, rgba(4, 58, 86, 0.76) 55%, rgba(212, 175, 99, 0.15) 100%);
  border: 1px solid rgba(252, 240, 213, 0.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.custom-order-banner h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.48rem;
  line-height: 1.4;
  color: var(--brand-cream);
}

.custom-order-banner p {
  margin: 0;
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Heritage Pillars
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.pillar-card {
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 245, 0.84);
  border: 1px solid rgba(1, 48, 73, 0.13);
  box-shadow: var(--shadow-card-light);
  transition: transform 0.3s var(--ease-luxury), border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 48, 73, 0.38);
  box-shadow: 0 18px 42px rgba(1, 48, 73, 0.12);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #013049 0%, #022033 100%);
  border: 1px solid rgba(232, 204, 141, 0.45);
  color: var(--brand-cream);
  box-shadow: 0 8px 20px rgba(1, 48, 73, 0.18);
  margin-bottom: 1.15rem;
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
}

.pillar-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.34rem;
  line-height: 1.4;
  color: var(--text-dark);
}

.pillar-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   Royal Hospitality Banner
   ========================================================================== */
.section-royal-banner {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(252, 240, 213, 0.13), transparent 58%),
    radial-gradient(circle at 50% 100%, rgba(212, 175, 99, 0.09), transparent 55%),
    linear-gradient(180deg, #013049 0%, #012134 100%);
  border-block: 1px solid rgba(252, 240, 213, 0.2);
}

.royal-banner-inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.royal-banner-logo {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 1.5px solid rgba(252, 240, 213, 0.38);
  box-shadow: 0 14px 36px rgba(0, 14, 24, 0.45);
}

.banner-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.contact-card {
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(175deg, var(--brand-navy-card) 0%, var(--brand-navy-card-deep) 100%);
  border: 1px solid rgba(252, 240, 213, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s var(--ease-luxury), border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-wa:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 211, 102, 0.65);
  box-shadow: 0 20px 45px rgba(37, 211, 102, 0.14);
}

.contact-card-ig:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 48, 108, 0.65);
  box-shadow: 0 20px 45px rgba(225, 48, 108, 0.14);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.wa-icon {
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #37e278;
}

.ig-icon {
  background: linear-gradient(135deg, rgba(245, 133, 41, 0.18), rgba(221, 42, 123, 0.22));
  border: 1px solid rgba(225, 48, 108, 0.45);
  color: #f7779c;
}

.gold-icon {
  background: rgba(252, 240, 213, 0.12);
  border: 1px solid rgba(252, 240, 213, 0.38);
  color: var(--brand-cream);
}

.contact-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.38;
  color: var(--brand-cream);
}

.contact-handle {
  margin: 0 0 0.55rem;
  font-weight: 700;
  color: var(--gold-champagne);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.contact-desc {
  margin: 0 0 1.2rem;
  font-size: 0.88rem;
  color: var(--text-light-muted);
}

.contact-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 240, 213, 0.34);
  color: var(--brand-cream);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #011521;
  border-top: 1px solid rgba(252, 240, 213, 0.16);
  padding-block: 2.5rem 5.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.footer-logo {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(252, 240, 213, 0.32);
  box-shadow: 0 8px 24px rgba(0, 10, 18, 0.45);
  margin-bottom: 0.25rem;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-light-muted);
  font-size: 0.94rem;
}

.footer-sep {
  color: var(--gold-champagne);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--brand-cream);
}

.footer-social a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(207, 213, 211, 0.65);
}

/* ==========================================================================
   Floating Direct Contact Dock (Hidden during opening pour, fades in after)
   ========================================================================== */
.floating-dock {
  position: fixed;
  bottom: 1.25rem;
  inset-inline-end: 1.2rem;
  z-index: 85;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: opacity 0.85s var(--ease-luxury) 0.35s, transform 0.85s var(--ease-luxury) 0.35s;
}

body.intro-active .floating-dock {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.dock-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease-luxury), box-shadow 0.25s ease;
}

.dock-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.dock-btn svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 2;
}

.dock-whatsapp {
  background: linear-gradient(135deg, #2ce071 0%, #1da851 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.dock-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: dockRing 2.6s infinite;
}

@keyframes dockRing {
  0% { transform: scale(0.95); opacity: 0.85; }
  75% { transform: scale(1.26); opacity: 0; }
  100% { transform: scale(1.26); opacity: 0; }
}

.dock-instagram {
  width: 48px;
  height: 48px;
  align-self: center;
  background: linear-gradient(135deg, #023b59 0%, #012133 100%);
  border: 1px solid rgba(252, 240, 213, 0.42);
  color: var(--brand-cream);
}

.dock-instagram svg {
  width: 22px;
  height: 22px;
}

.dock-instagram:hover {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
  border-color: transparent;
  color: #ffffff;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-luxury), transform 0.7s var(--ease-luxury);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Tablet Responsive Breakpoint (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .container {
    width: min(1220px, 100% - 3rem);
  }

  .header-wa-btn {
    display: inline-flex;
  }

  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .custom-order-banner {
    flex-direction: row;
    align-items: center;
  }

  .site-footer {
    padding-block: 2.5rem;
  }
}

/* ==========================================================================
   Desktop Responsive Breakpoint (>= 1024px)
   Side-by-side full-bleed art direction: gleaming Black Halwa bowl shines on one
   side while crisp editorial Arabic/English text sits on pure dark obsidian space!
   ========================================================================== */
@media (min-width: 1024px) {
  .brand-emblem {
    width: 54px;
    height: 54px;
  }

  .desktop-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .cinema-img-settled {
    object-position: 50% 56%;
  }

  /* Directional royal-navy veil keeps the gleaming black halwa bowl vivid while framing text cleanly */
  body.intro-complete .cinema-vignette {
    background: linear-gradient(
      to left,
      rgba(1, 27, 42, 0.95) 0%,
      rgba(1, 38, 59, 0.84) 38%,
      rgba(1, 32, 50, 0.28) 64%,
      rgba(1, 22, 34, 0.14) 100%
    );
  }

  html[dir="ltr"] body.intro-complete .cinema-vignette {
    background: linear-gradient(
      to right,
      rgba(1, 27, 42, 0.95) 0%,
      rgba(1, 38, 59, 0.84) 38%,
      rgba(1, 32, 50, 0.28) 64%,
      rgba(1, 22, 34, 0.14) 100%
    );
  }

  .hero-content {
    margin-inline: 0;
    text-align: start;
    max-width: 580px;
  }

  .hero-slogan {
    margin-inline: 0;
  }

  .hero-subtitle {
    margin-inline: 0;
  }

  .hero-cta-row,
  .hero-trust-strip {
    justify-content: flex-start;
  }

  .craft-layout {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 3.5rem;
  }

  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
