/* ==========================================================================
   Nasser AlDhaheri Portfolio – Main Stylesheet
   Bilingual: English (LTR) & Arabic (RTL)
   Colors sampled from PDF cover + UAE Heritage Tokens
   ========================================================================== */

/* Fonts are loaded via preconnected <link> tags in document <head> for zero-render-blocking performance */
/* @import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap'); */


/* --- Design Tokens --- */
:root {
  --sand: #F1EBE4;        /* PDF cover background – main page bg */
  --dune: #CEBDA5;        /* PDF section-bar light tone – cards, borders */
  --gold: #9A7648;        /* PDF heading gold – large headings, lines, icons (NEVER small text on sand) */
  --gold-bright: #C9A24D; /* gold on dark sections / glow */
  --brown: #6C5C47;       /* PDF cover brown – secondary text (5.4:1 on sand) */
  --brown-deep: #58391B;  /* PDF Arabic-title brown – headings on sand */
  --ink: #2B2118;         /* body text on sand (13:1 contrast) */
  --palm: #1F3D2B;        /* oasis / palm green – dark sections */
  --night: #14110E;       /* near-black – film pages, footer, cinema */
  --sadu: #8E2F25;        /* Al-Sadu weaving red – tiny accents only */

  /* Semantic Theme Variables */
  --bg-page: var(--sand);
  --text-main: var(--ink);
  --text-muted: var(--brown);
  --text-heading: var(--brown-deep);
  --card-bg: rgba(255, 255, 255, 0.65);
  --card-border: var(--dune);
  --header-bg: rgba(241, 235, 228, 0.88);
  --header-border: rgba(206, 189, 165, 0.5);

  /* Typography */
  --font-en-head: "Cormorant Garamond", Georgia, serif;
  --font-en-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ar-head: "Amiri", "Traditional Arabic", serif;
  --font-ar-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  /* Defaults for LTR (English) */
  --font-heading: var(--font-en-head);
  --font-body: var(--font-en-body);
  --line-height-body: 1.65;
  --letter-spacing-eyebrow: 0.14em;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 5.5rem;
  --space-2xl: 8rem;

  --max-w: 1280px;
  --max-w-narrow: 920px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RTL (Arabic) Overrides */
[dir="rtl"] {
  --font-heading: var(--font-ar-head);
  --font-body: var(--font-ar-body);
  --line-height-body: 1.85; /* Arabic body strictly 1.8+ per rules */
  --letter-spacing-eyebrow: 0; /* Zero letter-spacing in Arabic to maintain cursive ligatures */
}

/* Dark Palette Overrides (e.g., Single Film Page) */
body.theme-night {
  --bg-page: var(--night);
  --text-main: var(--sand);
  --text-muted: var(--dune);
  --text-heading: var(--gold-bright);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(201, 162, 77, 0.22);
  --header-bg: rgba(20, 17, 14, 0.88);
  --header-border: rgba(201, 162, 77, 0.2);
}

/* --- Base Reset & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Accessibility: Visible Focus Ring */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Accessibility: Skip to Main Content Link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-page);
  color: var(--gold-bright);
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  outline: none;
}

[dir="rtl"] .skip-link {
  left: auto;
  right: 1rem;
}

/* Anti-Spam Honeypot Field */
.hp-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}


html {
  font-size: 16px;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.15;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
  line-height: 1.35;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p {
  margin-bottom: 1.25rem;
}
p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-eyebrow);
  color: var(--gold);
  margin-bottom: 0.75rem;
}
body.theme-night .eyebrow {
  color: var(--gold-bright);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--max-w-narrow);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   Header & Global Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  background-color: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--header-border);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: var(--letter-spacing-eyebrow);
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding-block: 0.35rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
}
body.theme-night .nav-link:hover, body.theme-night .nav-link.active {
  color: var(--gold-bright);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
  background-color: #ffffff;
  border: 1.5px solid var(--gold);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.theme-night .lang-switch {
  color: var(--gold-bright);
  background-color: rgba(20, 24, 28, 0.9);
  border-color: var(--gold);
}

.lang-switch:hover,
.lang-switch:focus-visible {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #121619;
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--dune);
  background-color: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Drawer */
.mobile-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: fixed;
  inset-block-start: 4.75rem;
  inset-inline: 0;
  inset-block-end: 0;
  background-color: var(--bg-page);
  padding: 2rem 1.5rem;
  z-index: 45;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-block-start: 1px solid var(--card-border);
}

.mobile-nav.is-open {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.5rem;
}

.mobile-nav .nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  padding-block: 0.75rem;
  padding-inline: 0.75rem;
  border-block-end: 1px solid rgba(206, 189, 165, 0.3);
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.2s ease, background-color 0.2s ease, padding-inline-start 0.2s ease;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link:focus-visible,
.mobile-nav .nav-link.active {
  color: var(--gold-bright);
  background-color: rgba(201, 162, 77, 0.08);
  padding-inline-start: 1rem;
}

.mobile-lang-switch {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
}

.mobile-lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 500;
}

/* ==========================================================================
   Effect 1: Hero Glow + Ken Burns + Sand Particles + Star Drawing
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--sand);
  overflow: hidden;
  contain: paint;
  width: 100%;
  max-width: 100vw;
  padding-block: 7rem 4rem;
  padding-inline: 1.5rem;
  background-color: var(--night);
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  animation: kenBurns 22s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

/* Golden Hour Glow Overlay */
.hero-glow-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(70% 55% at 50% 82%, rgba(201, 162, 77, 0.65) 0%, rgba(154, 118, 72, 0.35) 45%, transparent 75%),
    linear-gradient(180deg, rgba(20, 17, 14, 0.75) 0%, rgba(31, 61, 43, 0.55) 50%, rgba(20, 17, 14, 0.9) 100%);
  pointer-events: none;
}

/* Drifting Sand Particles Canvas */
.hero-sand-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  z-index: 2;
  pointer-events: none;
}

/* Islamic Eight-Point Star SVG */
.hero-star-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.hero-star-svg path, .hero-star-svg circle {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 1.25;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  opacity: 0.45;
  animation: drawStar 3.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawStar {
  to { stroke-dashoffset: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--dune);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  color: var(--sand);
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

.hero-title .letter-span {
  display: inline-block;
  will-change: transform;
}

.hero-roles {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--gold-bright);
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--gold-bright);
  color: var(--night);
  border: 1px solid var(--gold-bright);
}
.btn-primary:hover {
  background-color: #d8b25d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 162, 77, 0.35);
}

.btn-outline {
  background-color: rgba(20, 17, 14, 0.45);
  color: var(--sand);
  border: 1px solid rgba(206, 189, 165, 0.45);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background-color: rgba(206, 189, 165, 0.2);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  inset-block-end: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--dune);
  font-size: 0.75rem;
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  opacity: 0.85;
}

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

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Effect 3: Sadu Weaving Band Divider
   ========================================================================== */
.sadu-divider {
  width: 100%;
  height: 18px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s cubic-bezier(0.65, 0, 0.2, 1);
  background: repeating-linear-gradient(
    90deg,
    var(--sadu) 0 18px,
    var(--night) 18px 26px,
    var(--sand) 26px 34px,
    var(--gold-bright) 34px 42px,
    var(--night) 42px 50px
  );
  margin-block: 0;
  z-index: 5;
  position: relative;
}

[dir="rtl"] .sadu-divider {
  transform-origin: right;
}

.sadu-divider.is-visible {
  transform: scaleX(1);
}

/* ==========================================================================
   Statement Section (Verholy-Style Dark Palm Oasis)
   ========================================================================== */
.statement-section {
  background-color: var(--palm);
  color: var(--sand);
  padding-block: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.statement-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(var(--sand) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.statement-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.statement-badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: rgba(201, 162, 77, 0.15);
  border: 1px solid rgba(201, 162, 77, 0.35);
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-eyebrow);
  margin-bottom: 2rem;
}

.statement-text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.2vw, 2.35rem);
  line-height: 1.5;
  color: var(--sand);
  margin-bottom: 2rem;
  max-width: 980px;
  margin-inline: auto;
}

[dir="rtl"] .statement-text {
  line-height: 1.7;
}

.statement-duration {
  font-size: 1.05rem;
  color: var(--dune);
  font-weight: 500;
}

/* ==========================================================================
   Stats Badges Section (Scroll Animated Counters)
   ========================================================================== */
.stats-section {
  padding-block: var(--space-xl);
  background-color: var(--sand);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2.25rem 1.5rem;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(43, 33, 24, 0.04);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--brown);
  line-height: 1.45;
  font-weight: 500;
}

/* ==========================================================================
   Offset Photo Panels (Verholy-Style Alternating Rhythm)
   ========================================================================== */
.offset-panels-section {
  padding-block: var(--space-2xl);
  background-color: var(--sand);
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.panel-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.panel-row:last-child {
  margin-bottom: 0;
}

.panel-row.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.panel-row.reverse .panel-media {
  order: 2;
}

.panel-row.reverse .panel-text {
  order: 1;
}

/* ==========================================================================
   Effect 4: Mashrabiya Lattice Reveal on Posters / Gallery Images
   ========================================================================== */
@property --lattice-r {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 26%;
}

.mashrabiya-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(43, 33, 24, 0.12);
  background-color: var(--dune);
}

.mashrabiya-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mashrabiya-overlay-lattice {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  --lattice-r: 26%;
  background: linear-gradient(145deg, rgba(201, 162, 77, 0.4), rgba(88, 57, 27, 0.65));
  -webkit-mask: radial-gradient(circle, #000 var(--lattice-r), transparent calc(var(--lattice-r) + 1.2%)) 0 0 / 28px 28px;
  mask: radial-gradient(circle, #000 var(--lattice-r), transparent calc(var(--lattice-r) + 1.2%)) 0 0 / 28px 28px;
  transition: --lattice-r 0.85s ease, opacity 0.5s ease;
  pointer-events: none;
}

.mashrabiya-frame:hover .mashrabiya-overlay-lattice,
.mashrabiya-frame:focus-within .mashrabiya-overlay-lattice {
  --lattice-r: 80%;
  opacity: 0.2;
}

.mashrabiya-frame:hover .mashrabiya-img {
  transform: scale(1.03);
}

.panel-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

[dir="rtl"] .panel-text {
  align-items: flex-start;
}

.panel-title {
  margin-bottom: 1rem;
}

.panel-desc {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: var(--line-height-body);
  margin-bottom: 1.5rem;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.meta-tag {
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: rgba(206, 189, 165, 0.35);
  color: var(--brown-deep);
  font-weight: 500;
}

body.theme-night .meta-tag {
  background-color: rgba(201, 162, 77, 0.15);
  color: var(--gold-bright);
  border: 1px solid rgba(201, 162, 77, 0.25);
}

/* ==========================================================================
   Single Film Page Styles (Night Cinema Atmosphere)
   ========================================================================== */
.film-hero {
  padding-block-start: 8rem;
  padding-block-end: 4rem;
  background: linear-gradient(180deg, var(--night) 0%, rgba(31, 61, 43, 0.2) 60%, var(--night) 100%);
}

.film-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.film-poster-wrap {
  position: sticky;
  top: 6.5rem;
}

.film-title-block {
  margin-bottom: 2rem;
}

.film-tagline {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin-top: 0.5rem;
  font-style: italic;
}

[dir="rtl"] .film-tagline {
  font-style: normal;
}

.film-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-block: 2rem;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: var(--letter-spacing-eyebrow);
}

.spec-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sand);
}

.film-synopsis-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(241, 235, 228, 0.92);
  margin-bottom: 2.5rem;
}

.film-gallery-section {
  padding-block: var(--space-xl);
  background-color: var(--night);
  border-block-start: 1px solid rgba(201, 162, 77, 0.15);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 162, 77, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-caption {
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--dune);
}

/* ==========================================================================
   About Page Styles (Biography & Timeline)
   ========================================================================== */
.about-hero {
  padding-block-start: 8rem;
  padding-block-end: 4rem;
  background: linear-gradient(180deg, var(--sand) 0%, rgba(206, 189, 165, 0.3) 100%);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.about-portrait-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(43, 33, 24, 0.12);
  border: 1px solid var(--dune);
}

.about-portrait-card img {
  width: 100%;
  height: auto;
}

.timeline-section {
  padding-block: var(--space-xl);
  background-color: var(--sand);
}

.timeline-group {
  margin-bottom: 3.5rem;
}

.timeline-group:last-child {
  margin-bottom: 0;
}

.timeline-group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1.2rem, 3.5vw, 1.75rem);
  overflow-wrap: break-word;
}

.timeline-group-title::after {
  content: "";
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
[dir="rtl"] .timeline-group-title::after {
  background: linear-gradient(270deg, var(--gold), transparent);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-inline-start: 2px solid var(--dune);
  padding-inline-start: 1.75rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset-inline-start: calc(-1.75rem - 6px);
  inset-block-start: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gold);
  border: 2px solid var(--sand);
}

.timeline-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.timeline-item-desc {
  font-size: 0.95rem;
  color: var(--brown);
}

/* Press Spotlight Callout Box */
.spotlight-quote {
  margin-block: 3.5rem;
  padding: 2.5rem;
  background-color: var(--palm);
  color: var(--sand);
  border-radius: var(--radius-md);
  position: relative;
}

.spotlight-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.55;
  color: var(--sand);
  margin-bottom: 1.25rem;
}

.spotlight-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gold-bright);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}

/* ==========================================================================
   Effect 2: Arch Page Transition Overlay
   ========================================================================== */
.arch-transition {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  background-color: var(--palm);
  border-radius: 999px 999px 0 0;
  z-index: 999;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  overflow: hidden;
  pointer-events: none;
  transition: width 0.8s cubic-bezier(0.7, 0, 0.2, 1),
              height 0.8s cubic-bezier(0.7, 0, 0.2, 1),
              border-radius 0.8s ease;
}

.arch-transition.is-active {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  pointer-events: auto;
}

.arch-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s 0.6s, transform 0.4s 0.6s;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-bright);
  text-align: center;
  padding-inline: 1.5rem;
}

.arch-transition.is-active .arch-title {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Desktop Star Cursor Follower
   ========================================================================== */
.star-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.1s ease-out;
}

.star-cursor svg {
  width: 100%;
  height: 100%;
  animation: cursorSpin 9s linear infinite;
}

@keyframes cursorSpin {
  to { transform: rotate(360deg); }
}

@media (hover: none) or (pointer: coarse) {
  .star-cursor { display: none !important; }
}

/* ==========================================================================
   Reveal Animations on Scroll (Progressive Enhancement)
   Rule: Never hide content by default. Only below-the-fold elements get will-reveal.
   ========================================================================== */
.rv {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.rv.will-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.rv.is-revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: var(--night);
  color: var(--sand);
  padding-block-start: var(--space-xl);
  padding-block-end: 2.5rem;
  position: relative;
  overflow: hidden;
  border-block-start: 1px solid rgba(201, 162, 77, 0.2);
}

/* Faint Geometric Islamic Motif Background */
.footer-geometric-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 20px),
                    repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 20px);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 3.5rem;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.footer-brand-sub {
  font-size: 0.9rem;
  color: var(--dune);
  max-width: 360px;
  line-height: 1.6;
}

.footer-nav-title {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-eyebrow);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--sand);
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-start: 2rem;
  border-block-start: 1px solid rgba(206, 189, 165, 0.15);
  font-size: 0.82rem;
  color: var(--dune);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Responsive Adaptations (390px, 768px, 1440px)
   ========================================================================== */
@media (max-width: 1024px) {
  .panel-row, .panel-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .panel-row.reverse .panel-media {
    order: unset;
  }
  .panel-row.reverse .panel-text {
    order: unset;
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-portrait-card {
    max-width: 420px;
    margin-inline: auto;
  }
  .about-portrait-card img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
  }
  .film-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .film-poster-wrap {
    position: static;
    max-width: 480px;
    margin-inline: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .nav-container {
    height: 4.25rem;
    padding-inline: 1rem;
  }
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-block: 5.5rem 3rem;
    padding-inline: 1rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.85rem);
    word-break: normal;
    overflow-wrap: break-word;
  }
  .hero-roles {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .film-specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-container {
    padding-inline: 0.75rem;
    height: 4rem;
  }
  .brand-lockup {
    max-width: 175px;
  }
  .brand-name {
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-tagline {
    display: none !important; /* Hide secondary tagline on small phones to prevent header cramping */
  }
  .nav-actions {
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .lang-switch {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }
  .menu-toggle {
    width: 2.35rem;
    height: 2.35rem;
  }
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    white-space: normal;
  }
  .hero-title {
    font-size: clamp(1.35rem, 6vw, 1.85rem) !important;
    line-height: 1.35;
    padding-inline: 0.25rem;
    word-break: normal;
  }
  .hero-roles {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .about-portrait-card {
    max-width: 290px;
  }
  .about-portrait-card img {
    aspect-ratio: 3 / 4;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .container, .container-narrow {
    padding-inline: 1rem;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .spotlight-quote {
    padding: 1.5rem 1.25rem;
  }
  .timeline-group-title {
    font-size: 1.25rem !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   PORTRAIT RULE (RULES.md & PORTRAIT_AND_POLISH_PROMPT.md)
   Home Hero / Teaser Arch Mask & About Framed Portrait
   ========================================================================== */
.hero-portrait-teaser {
  padding-block: var(--space-xl);
  background: linear-gradient(180deg, var(--sand) 0%, rgba(206, 189, 165, 0.25) 100%);
  position: relative;
}

.portrait-teaser-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .portrait-teaser-split {
    grid-template-columns: 1.05fr 1.2fr;
    gap: var(--space-xl);
  }
}

.hero-portrait-arch {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  border-radius: 220px 220px 16px 16px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 20px 45px rgba(43, 33, 24, 0.16), 0 0 0 1px rgba(154, 118, 72, 0.25);
  background-color: var(--dune);
}

.hero-portrait-arch img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-portrait-arch:hover img {
  transform: scale(1.04);
}

.portrait-arch-badge {
  position: absolute;
  inset-block-end: 1.25rem;
  inset-inline-start: 1.25rem;
  background: rgba(20, 17, 14, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 162, 77, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
}

/* Framed Portrait on About Page */
.portrait-frame-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.portrait-frame-bg {
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: linear-gradient(135deg, rgba(154, 118, 72, 0.15), rgba(206, 189, 165, 0.35));
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: 1;
}

[dir="rtl"] .portrait-frame-bg {
  inset: 16px 16px -16px -16px;
}

.portrait-frame-media {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 24px 48px rgba(43, 33, 24, 0.14);
  background-color: var(--dune);
}

.portrait-frame-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.portrait-frame-caption {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ==========================================================================
   PORTFOLIO TABS & ANIMATED FILTER SECTIONS
   ========================================================================== */
.portfolio-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-block: var(--space-md) var(--space-lg);
}

.portfolio-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--dune);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.95);
}

.portfolio-tab-btn.is-active {
  background: var(--palm);
  color: var(--sand);
  border-color: var(--palm);
  box-shadow: 0 4px 16px rgba(31, 61, 43, 0.22);
}

.portfolio-tab-panel {
  display: none;
  animation: fadeInTab 0.4s ease forwards;
}

.portfolio-tab-panel.is-active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FULL-SCREEN ANIMATED OVERLAY MODAL (?film= / ?book=)
   ========================================================================== */
.portfolio-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.portfolio-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.portfolio-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.portfolio-overlay-dialog {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 960px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--sand);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  padding: var(--space-md);
  transform: translateY(25px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay.is-open .portfolio-overlay-dialog {
  transform: translateY(0) scale(1);
}

.portfolio-overlay-close {
  position: absolute;
  inset-block-start: 1.25rem;
  inset-inline-end: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(43, 33, 24, 0.08);
  border: 1px solid var(--dune);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.25s ease;
  z-index: 10;
}

.portfolio-overlay-close:hover {
  background: var(--palm);
  color: var(--sand);
  border-color: var(--palm);
}

.overlay-hero-media {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  background-color: var(--night);
}

.overlay-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-block: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--dune);
  border-radius: var(--radius-md);
}

.overlay-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.overlay-meta-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.overlay-meta-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
}

.overlay-stills-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.overlay-still-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--dune);
}

.overlay-still-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   prefers-reduced-motion: reduce (Full Accessibility Compliance)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg-img {
    animation: none !important;
    transform: none !important;
  }

  .hero-star-svg path, .hero-star-svg circle {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  .sadu-divider {
    transform: scaleX(1) !important;
    transition: none !important;
  }

  .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .arch-transition {
    display: none !important;
  }

  .star-cursor {
    display: none !important;
  }

  .mashrabiya-overlay-lattice {
    display: none !important;
  }
}


/* ==========================================================================
   Arabic RTL & Mobile Responsive Polish (Phase 1 & 2)
   ========================================================================== */
html[dir="rtl"], body.is-ar, body.rtl {
  direction: rtl;
  text-align: right;
  font-family: 'IBM Plex Sans Arabic', 'Amiri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.85;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
body.is-ar h1, body.is-ar h2, body.is-ar h3, body.is-ar h4 {
  font-family: 'Amiri', 'IBM Plex Sans Arabic', serif;
  line-height: 1.4;
  letter-spacing: normal;
}

@media (max-width: 900px) {
  .nav-menu {
    display: none !important;
  }
  .menu-toggle {
    display: flex !important;
  }
  .hero {
    min-height: 100svh !important;
    height: auto !important;
  }
  .mobile-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .mobile-nav.is-open {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
  }
  .mobile-nav-links .nav-link {
    font-size: 1.25rem;
    padding: 0.75rem 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-block-end: 1px solid rgba(206, 189, 165, 0.3);
    text-decoration: none;
    color: var(--text-main);
  }
  .mobile-nav-links .nav-link.active {
    color: var(--gold-bright);
    background-color: rgba(201, 162, 77, 0.08);
    font-weight: 700;
  }
}

/* Fail-safe Mobile Content Visibility Guarantee */
@media (max-width: 768px) {
  .rv.will-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
