/* ============================================
   بثينة سالم العامرية — Portfolio theme
   Matte black, dark brown, gold — RTL default
   ============================================ */

:root {
  --color-bg: #0a0908;
  --color-bg-elevated: #12100e;
  --color-brown: #2a1f18;
  --color-brown-mid: #3d2e24;
  --color-gold: #c9a227;
  --color-gold-soft: #d4af37;
  --color-gold-dim: rgba(201, 162, 39, 0.35);
  --color-text: #e8e2d9;
  --color-text-muted: rgba(232, 226, 217, 0.65);
  --color-border: rgba(201, 162, 39, 0.22);
  --shadow-glow: 0 0 40px rgba(201, 162, 39, 0.08);
  --shadow-card: 0 16px 48px rgba(0, 0, 0, 0.55);
  --font-ar-body: "Amiri", "Noto Naskh Arabic", serif;
  --font-ar-display: "Aref Ruqaa", "Amiri", serif;
  --font-en: "Playfair Display", "Cinzel", Georgia, serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
  font-family: var(--font-ar-body);
  font-style: normal;
}

html[lang="en"] body {
  font-family: var(--font-en);
  font-style: italic;
}

/* --- Background layers: gradient mesh + glitter --- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 162, 39, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(61, 46, 36, 0.45), transparent),
    radial-gradient(ellipse 50% 50% at 0% 80%, rgba(42, 31, 24, 0.6), transparent),
    linear-gradient(180deg, #0a0908 0%, #0f0c0a 40%, #0a0908 100%);
  pointer-events: none;
}

.glitter-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(0.75px 0.75px at 12% 18%, rgba(212, 175, 55, 0.5) 50%, transparent 50%),
    radial-gradient(0.65px 0.65px at 78% 42%, rgba(255, 220, 150, 0.32) 50%, transparent 50%),
    radial-gradient(0.85px 0.85px at 34% 67%, rgba(201, 162, 39, 0.4) 50%, transparent 50%),
    radial-gradient(0.65px 0.65px at 89% 12%, rgba(212, 175, 55, 0.28) 50%, transparent 50%),
    radial-gradient(0.75px 0.75px at 56% 88%, rgba(255, 230, 180, 0.22) 50%, transparent 50%),
    radial-gradient(0.65px 0.65px at 3% 55%, rgba(201, 162, 39, 0.36) 50%, transparent 50%),
    radial-gradient(0.8px 0.8px at 92% 76%, rgba(212, 175, 55, 0.32) 50%, transparent 50%);
  background-size: 100% 100%;
  animation: glitterDrift 32s ease-in-out infinite;
}

.glitter-layer--accent {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(0.65px 0.65px at 22% 44%, rgba(255, 248, 220, 0.45) 50%, transparent 50%),
    radial-gradient(0.75px 0.75px at 66% 28%, rgba(201, 162, 39, 0.36) 50%, transparent 50%),
    radial-gradient(0.55px 0.55px at 48% 72%, rgba(212, 175, 55, 0.3) 50%, transparent 50%);
  animation: glitterDriftSlow 48s ease-in-out infinite reverse;
}

@keyframes glitterDriftSlow {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.18;
  }
  50% {
    transform: translate(-0.6%, 0.9%);
    opacity: 0.28;
  }
}

@keyframes glitterDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  33% {
    transform: translate(1.2%, -0.8%) scale(1.02);
    opacity: 0.48;
  }
  66% {
    transform: translate(-0.8%, 1%) scale(0.98);
    opacity: 0.4;
  }
}

/* --- Page loader --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #1a1510 0%, #0a0908 70%);
  transition: opacity 0.7s var(--transition-smooth), visibility 0.7s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__ring {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(201, 162, 39, 0.2);
  border-top-color: var(--color-gold-soft);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.15);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.page-loader__name {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--color-gold-soft);
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.25);
}

html[lang="ar"] .page-loader__name {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .page-loader__name {
  font-family: var(--font-en);
  font-style: italic;
}

/* --- Layout shell --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.brand {
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand__name {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #f0e6d8 0%, var(--color-gold-soft) 45%, #c9a962 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(201, 162, 39, 0.15);
}

html[lang="ar"] .brand__name {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .brand__name {
  font-family: var(--font-en);
  font-style: italic;
}

.brand__sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.75rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.75rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  position: relative;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  transition: color 0.35s var(--transition-smooth), transform 0.35s var(--transition-smooth);
}

html[lang="ar"] .nav__link {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .nav__link {
  font-style: italic;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-soft), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--transition-smooth);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text);
  transform: translateY(-2px);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--color-gold-soft);
}

.btn-lang {
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: rgba(42, 31, 24, 0.5);
  color: var(--color-gold-soft);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: box-shadow 0.35s, border-color 0.35s, transform 0.25s;
}

html[lang="ar"] .btn-lang {
  font-family: var(--font-ar-body);
}

html[lang="en"] .btn-lang {
  font-style: italic;
}

.btn-lang:hover,
.btn-lang:focus-visible {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.2);
  transform: translateY(-1px);
}

/* Shimmer primary buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: #1a1510;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s;
  background: linear-gradient(120deg, #c9a227 0%, #e8d48b 25%, #c9a227 50%, #a88420 100%);
  background-size: 220% 100%;
  animation: goldShimmer 4s ease-in-out infinite;
  box-shadow: 0 4px 24px rgba(201, 162, 39, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

html[lang="ar"] .btn {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .btn {
  font-style: italic;
  font-family: var(--font-en);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 45%,
    transparent 55%
  );
  transform: translateX(-100%);
  animation: sheen 3.5s ease-in-out infinite;
}

@keyframes goldShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-100%);
  }
  40%,
  100% {
    transform: translateX(100%);
  }
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 36px rgba(201, 162, 39, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn--ghost {
  background: rgba(26, 21, 16, 0.65);
  color: var(--color-gold-soft);
  border-color: var(--color-border);
  animation: none;
  backdrop-filter: blur(10px);
}

.btn--ghost::before {
  animation: sheen 4s ease-in-out infinite;
}

.btn--gold {
  animation: none;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.95), rgba(139, 105, 40, 0.9));
  color: #0a0908;
  border-color: rgba(255, 230, 180, 0.35);
  box-shadow: 0 0 32px rgba(201, 162, 39, 0.22);
}

.btn--gold::before {
  animation: sheen 5s ease-in-out infinite;
  opacity: 0.5;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  box-shadow: 0 0 48px rgba(201, 162, 39, 0.35);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(201, 162, 39, 0.5);
  color: #f5edd8;
}

.btn span {
  position: relative;
  z-index: 1;
}

.site-main {
  flex: 1;
  padding-bottom: 4rem;
}

.site-footer {
  margin-top: auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* --- Hero --- */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  gap: 2rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero__content {
  opacity: 0;
  animation: fadeUp 1s var(--transition-smooth) 0.15s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__greeting {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-dim);
  margin-bottom: 0.75rem;
}

html[lang="ar"] .hero__title {
  font-family: var(--font-ar-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  font-style: normal;
}

html[lang="en"] .hero__title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero__tagline {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 36ch;
  margin-bottom: 2rem;
}

html[lang="ar"] .hero__tagline {
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
  perspective: 1200px;
  opacity: 0;
  animation: fadeUp 1.1s var(--transition-smooth) 0.45s forwards;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.5), rgba(42, 31, 24, 0.3), rgba(201, 162, 39, 0.25));
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--transition-smooth);
}

.hero__frame-inner {
  border-radius: calc(var(--radius-lg) - 1px);
  overflow: hidden;
  background: rgba(18, 16, 14, 0.85);
  backdrop-filter: blur(12px);
  aspect-ratio: 4/5;
  max-height: 520px;
}

.hero__frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.hero__orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, transparent 70%);
  filter: blur(2px);
  z-index: -1;
  inset-inline-end: -40px;
  top: -30px;
  pointer-events: none;
}

/* --- Glass cards / sections --- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem);
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
  background: linear-gradient(90deg, #e8e2d9, var(--color-gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[lang="ar"] .section__title {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .section__title {
  font-family: var(--font-en);
  font-style: italic;
}

.section__title--sub {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.section__lead {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 50ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: rgba(18, 16, 14, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s, border-color 0.35s;
  cursor: pointer;
  transform-style: preserve-3d;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-8px) scale(1.02) rotateX(2deg);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 162, 39, 0.12);
}

.feature-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth), filter 0.4s;
  filter: brightness(0.92) saturate(0.95);
}

.feature-card:hover .feature-card__img img,
.feature-card:focus-within .feature-card__img img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.05);
}

.feature-card__cap {
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}

html[lang="en"] .feature-card__cap {
  font-style: italic;
}

/* --- About page --- */
.about-hero {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.glass-panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--color-border);
  background: linear-gradient(160deg, rgba(30, 24, 20, 0.75), rgba(12, 10, 9, 0.85));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.prose p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 162, 39, 0.15);
  background: rgba(42, 31, 24, 0.35);
  transition: transform 0.35s var(--transition-smooth), border-color 0.35s;
}

@media (min-width: 640px) {
  .timeline__item {
    grid-template-columns: 160px 1fr;
    align-items: baseline;
  }
}

.timeline__item:hover {
  transform: translateX(4px);
  border-color: rgba(201, 162, 39, 0.35);
}

html[dir="rtl"] .timeline__item:hover {
  transform: translateX(-4px);
}

.timeline__year {
  color: var(--color-gold-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

html[lang="ar"] .timeline__year {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .timeline__year {
  font-style: italic;
}

.timeline__text {
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Portfolio --- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: rgba(26, 21, 16, 0.6);
  color: var(--color-text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  transition: all 0.35s var(--transition-smooth);
}

html[lang="ar"] .filter-btn {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .filter-btn {
  font-style: italic;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: rgba(201, 162, 39, 0.45);
  color: var(--color-text);
}

.filter-btn.is-active {
  background: rgba(201, 162, 39, 0.15);
  border-color: rgba(201, 162, 39, 0.55);
  color: var(--color-gold-soft);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.12);
}

.portfolio-section {
  margin-bottom: 3rem;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.portfolio-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.portfolio-section__title {
  margin: 0;
  font-size: 1.35rem;
  color: var(--color-text);
}

html[lang="ar"] .portfolio-section__title {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .portfolio-section__title {
  font-family: var(--font-en);
  font-style: italic;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--color-brown);
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s, border-color 0.35s;
  transform-style: preserve-3d;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(201, 162, 39, 0.15);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--transition-smooth), filter 0.4s;
  filter: brightness(0.9);
}

.portfolio-card:hover img,
.portfolio-card:focus-visible img {
  transform: scale(1.1);
  filter: brightness(1);
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.portfolio-card:hover::after,
.portfolio-card:focus-visible::after {
  opacity: 1;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 4, 3, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--transition-smooth), visibility 0.45s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

.lightbox__content {
  position: relative;
  z-index: 2;
  max-width: min(92vw, 1200px);
  max-height: 90vh;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(201, 162, 39, 0.08);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.5s var(--transition-smooth);
}

.lightbox.is-open .lightbox__content {
  transform: scale(1) translateY(0);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(18, 16, 14, 0.85);
  color: var(--color-gold-soft);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.25s, box-shadow 0.25s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.25);
}

.lightbox__close {
  top: 1rem;
  inset-inline-end: 1rem;
}

.lightbox__nav--prev {
  inset-inline-start: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  inset-inline-end: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev:hover,
.lightbox__nav--next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* --- Mobile nav toggle (optional compact) --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-gold-soft);
  border-radius: 2px;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 9, 8, 0.96);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--transition-smooth), opacity 0.35s, visibility 0.35s;
    z-index: 99;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav {
    gap: 0.75rem;
  }
}

/* --- Page transition curtain --- */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: radial-gradient(ellipse at center, #1a1510 0%, #050403 75%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--transition-smooth);
}

.page-curtain.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Cinematic home --- */
.hero--cinematic .hero__content,
.hero--cinematic .hero__visual {
  animation: none;
}

.hero__title--display {
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero__preview,
.hero__intro {
  margin: 0 0 2rem;
  max-width: 40ch;
  font-size: 1.12rem;
  line-height: 2;
  color: var(--color-text-muted);
  white-space: pre-line;
  border-inline-start: 3px solid rgba(201, 162, 39, 0.45);
  padding-inline-start: 1.35rem;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.06), transparent);
}

html[lang="en"] .hero__preview,
html[lang="en"] .hero__intro {
  max-width: 48ch;
}

/* --- Three.js canvas (story) --- */
.particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.story-page .particles-canvas {
  z-index: 1;
}

.story-main {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.site-header--story {
  background: rgba(10, 9, 8, 0.55);
}

.site-footer--story {
  position: relative;
  z-index: 2;
}

/* --- Story scenes --- */
.story-scene {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4.5rem, 10vw, 6rem) clamp(1rem, 4vw, 2rem);
  position: relative;
  overflow: hidden;
}

.story-scene__inner {
  width: 100%;
  max-width: 42rem;
  position: relative;
  z-index: 2;
}

.story-scene__inner--center {
  text-align: center;
  max-width: 52rem;
}

.story-kicker {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-dim);
  margin: 0 0 1.25rem;
}

html[lang="ar"] .story-kicker {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .story-kicker {
  font-style: italic;
}

.story-name {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.12;
  background: linear-gradient(135deg, #fdf8f0 0%, var(--color-gold-soft) 42%, #a88420 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(201, 162, 39, 0.12));
}

html[lang="ar"] .story-name {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .story-name {
  font-family: var(--font-en);
  font-style: italic;
}

.story-scroll-hint {
  margin: 2.5rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.story-block {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 2;
  color: var(--color-text-muted);
  margin: 0 0 1.35rem;
}

.story-block--words {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 2.1;
  color: var(--color-text);
  text-align: center;
}

.story-word {
  display: inline-block;
  margin: 0 0.12em 0.35em;
  padding: 0.08em 0.14em;
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.06);
}

html[lang="en"] .story-block--words,
html[lang="en"] #story-split-words {
  direction: ltr;
  text-align: center;
}

.story-scene__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1.5rem;
  color: var(--color-gold-soft);
}

html[lang="ar"] .story-scene__title {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .story-scene__title {
  font-style: italic;
}

.story-journey__title {
  margin: 2.25rem 0 1rem;
  font-size: 1.35rem;
  color: var(--color-text);
}

html[lang="ar"] .story-journey__title {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .story-journey__title {
  font-style: italic;
}

/* Scene 3 — charcoal */
.story-s3--charcoal {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(42, 31, 24, 0.9), transparent 55%),
    linear-gradient(180deg, #060504 0%, #12100e 50%, #0a0908 100%);
}

.story-s3--charcoal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.charcoal-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 80%, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
  animation: charcoalDrift 14s ease-in-out infinite;
}

@keyframes charcoalDrift {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-3%) scale(1.03);
    opacity: 0.65;
  }
}

/* Scene 4 — light beams */
.story-s4--light {
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.14), transparent 55%), #080706;
}

.light-beam {
  position: absolute;
  top: -20%;
  width: 12%;
  height: 140%;
  background: linear-gradient(
    180deg,
    rgba(255, 245, 220, 0.35) 0%,
    rgba(201, 162, 39, 0.12) 45%,
    transparent 100%
  );
  filter: blur(14px);
  transform-origin: top center;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.light-beam--a {
  inset-inline-start: 18%;
  transform: rotate(-8deg);
}

.light-beam--b {
  left: 50%;
  margin-inline-start: -6%;
  transform: rotate(2deg);
  width: 14%;
}

.light-beam--c {
  inset-inline-end: 16%;
  transform: rotate(10deg);
}

/* Scene 5 — lens + grid */
.story-s5__grid {
  max-width: 1100px;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .story-s5__grid {
    grid-template-columns: 1fr minmax(280px, 360px);
  }
}

.story-lens-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: radial-gradient(circle at 40% 35%, rgba(201, 162, 39, 0.12), rgba(10, 9, 8, 0.92));
  box-shadow: 0 0 60px rgba(201, 162, 39, 0.15), inset 0 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 800px;
}

#lens-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 50%;
}

.lens-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.25) 0%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  animation: lensPulse 4s ease-in-out infinite;
}

@keyframes lensPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

/* Scene 6 — finale */
.story-s6--finale {
  background: radial-gradient(ellipse at 50% 120%, rgba(201, 162, 39, 0.12), transparent 50%), #0a0908;
  padding-bottom: 5rem;
}

.story-finale {
  margin: 2.5rem 0 2rem;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  line-height: 2;
  text-align: center;
  color: var(--color-gold-soft);
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.25);
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius-lg);
  background: rgba(18, 16, 14, 0.65);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 50px rgba(201, 162, 39, 0.08);
}

html[lang="ar"] .story-finale {
  font-family: var(--font-ar-display);
  font-style: normal;
}

html[lang="en"] .story-finale {
  font-style: italic;
}

.story-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

/* --- Masonry portfolio --- */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  grid-auto-flow: dense;
}

@media (min-width: 768px) {
  .masonry-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.masonry-item.portfolio-card {
  aspect-ratio: 1;
  min-height: 0;
}

.masonry-item--tall.portfolio-card {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
  min-height: 200px;
}

.masonry-item--wide.portfolio-card {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
  min-height: 180px;
}

@media (max-width: 767px) {
  .masonry-item--wide.portfolio-card {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}

.section--portfolio {
  max-width: 1200px;
}

/* --- Lightbox zoom --- */
.lightbox__stage {
  transform-origin: center center;
  transition: transform 0.2s ease-out;
  will-change: transform;
  cursor: grab;
}

.lightbox__stage img {
  display: block;
  max-width: min(96vw, 100%);
  max-height: min(86vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}

.lightbox__toolbar {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.lightbox__tool {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.25);
  background: rgba(26, 21, 16, 0.8);
  color: var(--color-gold-soft);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lightbox__tool:hover {
  transform: scale(1.06);
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.2);
}

/* --- Space starfield (parallax via JS) --- */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.starfield-layer {
  position: absolute;
  inset: -12%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.starfield-layer--far {
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.12) 50%, transparent 50%),
    radial-gradient(1px 1px at 80% 40%, rgba(201, 162, 39, 0.1) 50%, transparent 50%),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.08) 50%, transparent 50%);
  background-size: 280px 280px;
  opacity: 0.35;
}

.starfield-layer--mid {
  background-image: radial-gradient(1.2px 1.2px at 50% 50%, rgba(212, 175, 55, 0.25) 50%, transparent 50%);
  background-size: 120px 120px;
  opacity: 0.2;
}

.starfield-layer--near {
  background-image: radial-gradient(1.5px 1.5px at 30% 60%, rgba(255, 236, 200, 0.2) 50%, transparent 50%);
  background-size: 200px 200px;
  opacity: 0.18;
}

body:not(.story-page) .site-main {
  position: relative;
  z-index: 2;
}

body:not(.story-page) .site-header {
  z-index: 101;
}

body:not(.story-page) .particles-canvas {
  z-index: 1;
}

/* Interactive pearl specks (2D); pointer-events none — clicks pass through */
.pearl-touch-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
}

/* خلف مشهد المتحف ثلاثي الأبعاد */
.page-museum-3d .pearl-touch-canvas {
  z-index: 1;
  opacity: 0.92;
}

body:not(.story-page) .site-footer {
  position: relative;
  z-index: 2;
}

/* --- Exhibition grid (uniform cells, full-quality thumbs) --- */
.section--exhibition {
  position: relative;
  z-index: 2;
}

.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

@media (min-width: 640px) {
  .exhibition-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .exhibition-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.art-card {
  position: relative;
  border-radius: var(--radius-md);
  outline: none;
  animation: artCardFloat 7s ease-in-out infinite;
}

.art-card:nth-child(3n + 1) {
  animation-delay: 0s;
}

.art-card:nth-child(3n + 2) {
  animation-delay: 1.2s;
}

.art-card:nth-child(3n) {
  animation-delay: 2.4s;
}

@keyframes artCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.art-card__inner {
  position: relative;
  overflow: visible;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.42), rgba(42, 31, 24, 0.35), rgba(201, 162, 39, 0.2));
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.55),
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  transition:
    box-shadow 0.45s var(--transition-smooth),
    filter 0.45s var(--transition-smooth);
  will-change: transform;
}

.art-card:hover .art-card__inner,
.art-card:focus-visible .art-card__inner {
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.6),
    0 0 36px rgba(201, 162, 39, 0.22),
    0 0 0 1px rgba(201, 162, 39, 0.35);
  filter: drop-shadow(0 0 12px rgba(201, 162, 39, 0.15));
}

.art-card__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 35% 20%, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 3;
}

.art-card:hover .art-card__shine,
.art-card:focus-visible .art-card__shine {
  opacity: 1;
  animation: goldPulse 2.8s ease-in-out infinite;
}

@keyframes goldPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}

.art-card__img-wrap {
  position: relative;
  border-radius: calc(var(--radius-md) - 1px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-brown);
}

.art-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.65s var(--transition-smooth), filter 0.5s;
  filter: brightness(0.93) saturate(0.96);
  will-change: transform;
}

.art-card:hover .art-card__img,
.art-card:focus-visible .art-card__img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.02);
}

.art-card__reflect {
  position: absolute;
  left: 5%;
  right: 5%;
  height: 18%;
  bottom: -14%;
  border-radius: 40%;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08), transparent);
  filter: blur(10px);
  transform: scaleY(0.35);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.art-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 0.75rem;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 4, 3, 0.75));
  opacity: 0;
  transition: opacity 0.5s var(--transition-smooth);
  pointer-events: none;
  z-index: 2;
  border-radius: calc(var(--radius-md) - 1px);
}

.art-card:hover .art-card__overlay,
.art-card:focus-visible .art-card__overlay {
  opacity: 1;
}

.art-card__label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
}

html[lang="ar"] .art-card__label {
  font-family: var(--font-ar-display);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.04em;
}

html[lang="en"] .art-card__label {
  font-style: italic;
}

/* --- Footer (luxury) --- */
.site-footer--lux {
  margin-top: auto;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.4) 0%, #060504 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.site-footer__inner {
  max-width: 36rem;
  margin: 0 auto;
}

.site-footer__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  background: linear-gradient(90deg, #f0e8dc, var(--color-gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.2));
}

html[lang="ar"] .site-footer__title {
  font-family: var(--font-ar-display);
  font-style: normal;
}

.site-footer__bio {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.95;
  color: rgba(232, 226, 217, 0.72);
}

.site-footer__rights {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: rgba(201, 162, 39, 0.55);
  letter-spacing: 0.06em;
}

.site-footer__credit {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(212, 175, 55, 0.65);
  letter-spacing: 0.04em;
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.15);
}

html[lang="en"] .site-footer__bio,
html[lang="en"] .site-footer__credit {
  font-style: italic;
}

/* --- About scene 1 — poetic --- */
.story-s1__stack {
  padding: 0 clamp(0.5rem, 3vw, 2rem);
}

.story-s1-line {
  max-width: 44rem;
  margin-inline: auto;
}

.story-kicker--poetic {
  line-height: 2.1;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  letter-spacing: 0.24em;
  text-shadow:
    0 0 40px rgba(201, 162, 39, 0.35),
    0 0 80px rgba(201, 162, 39, 0.12);
}

.story-name--poetic {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  text-shadow:
    0 0 50px rgba(201, 162, 39, 0.25),
    0 0 100px rgba(201, 162, 39, 0.08);
}

.story-s1 .story-scroll-hint {
  line-height: 2;
  opacity: 0.85;
}

/* --- Cinematic lightbox --- */
.lightbox--cinematic .lightbox__backdrop {
  background: radial-gradient(ellipse at center, rgba(18, 14, 10, 0.55) 0%, rgba(3, 2, 2, 0.96) 70%);
  backdrop-filter: blur(14px);
}

.lightbox__content--cinematic {
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.lightbox__caption {
  margin: 0;
  max-width: min(40rem, 92vw);
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.85);
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.2);
}

html[lang="ar"] .lightbox__caption {
  font-family: var(--font-ar-display);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.06em;
}

html[lang="en"] .lightbox__caption {
  font-style: italic;
  text-transform: none;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .glitter-layer,
  .btn,
  .btn::before,
  .page-loader__ring {
    animation: none !important;
  }

  .hero__content,
  .hero__visual {
    animation: none !important;
    opacity: 1 !important;
  }

  .charcoal-dust,
  .lens-glow {
    animation: none !important;
  }

  .hero--cinematic .hero__greeting,
  .hero--cinematic .hero__title,
  .hero--cinematic .hero__tagline,
  .hero--cinematic .hero__intro,
  .hero--cinematic .hero__preview,
  .hero--cinematic .hero__actions .btn,
  .hero--cinematic .hero__visual {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .glitter-layer--accent {
    animation: none !important;
  }

  .art-card {
    animation: none !important;
  }

  .art-card__inner {
    transform: none !important;
  }
}

/* --- Home: luxury hero --- */
.hero--lux .hero__actions {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section--home-works {
  padding-top: 2rem;
}

.home-works__cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* --- Subtle scroll parallax on main (CSS; starfield handled in JS) --- */
@media (prefers-reduced-motion: no-preference) {
  .site-main--parallax {
    will-change: transform;
  }
}

/* --- About: two balanced panels --- */
.site-main--about {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) 1.25rem 4rem;
  flex: 1;
}

.about-panel {
  margin-bottom: clamp(3rem, 8vw, 5rem);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(26, 21, 16, 0.55), rgba(10, 9, 8, 0.35));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.about-panel__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-ar-display);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-gold-soft);
  letter-spacing: 0.06em;
}

html[lang="en"] .about-panel__title {
  font-family: var(--font-en);
  font-style: italic;
}

.about-panel__body {
  margin: 0;
  font-size: clamp(1.02rem, 2.4vw, 1.12rem);
  line-height: 2;
  color: var(--color-text);
  text-align: center;
}

.about-panel__body--pre {
  white-space: pre-line;
}

.about-panel__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* --- Home: welcome hero, name, intro, collections --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-main--home {
  flex: 1;
  width: 100%;
}

.welcome-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: clamp(14rem, 42vh, 32rem);
  max-height: min(85vh, 56rem);
  border: none;
  box-shadow: none;
  background: var(--color-bg);
}

@media (min-width: 768px) {
  .welcome-hero {
    min-height: clamp(18rem, 52vh, 40rem);
  }
}

.welcome-hero__inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.welcome-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform-origin: center center;
  display: block;
  border: none;
  outline: none;
  box-shadow: none;
}

.welcome-hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(6, 5, 4, 0.2) 0%, rgba(10, 9, 8, 0.45) 38%, rgba(10, 9, 8, 0.82) 100%),
    radial-gradient(ellipse 100% 85% at 50% 40%, transparent 0%, rgba(10, 9, 8, 0.25) 65%, rgba(10, 9, 8, 0.72) 100%);
}

.welcome-hero__goldwash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  mix-blend-mode: soft-light;
  background: radial-gradient(ellipse 75% 58% at 50% 28%, rgba(201, 162, 39, 0.28), transparent 72%);
}

.welcome-hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(42%, 14rem);
  pointer-events: none;
  background: linear-gradient(to top, var(--color-bg) 0%, rgba(10, 9, 8, 0.94) 42%, transparent 100%);
}

@media (min-width: 900px) {
  .welcome-hero__fade {
    height: min(38%, 18rem);
  }
}

.home-bio-block {
  padding: clamp(1.35rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.home-bio-block__title {
  margin: 0 0 clamp(1rem, 3vw, 1.5rem);
  font-family: var(--font-ar-display);
  font-size: clamp(1.65rem, 5.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.32;
  background: linear-gradient(185deg, #faf4e8 0%, var(--color-gold-soft) 48%, #b89220 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 36px rgba(201, 162, 39, 0.18));
}

html[lang="en"] .home-bio-block__title {
  font-family: var(--font-en);
  font-style: italic;
}

.home-bio-block__text {
  margin: 0;
  font-size: clamp(1.02rem, 2.5vw, 1.12rem);
  line-height: 1.95;
  color: var(--color-text-muted);
}

.section--home-gallery {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 5rem);
  max-width: 80rem;
  margin: 0 auto;
}

.section--home-gallery .section__title,
.section--home-gallery .section__lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section--home-gallery .section__lead {
  max-width: 36rem;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2.2vw, 1.15rem);
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

@media (min-width: 640px) {
  .home-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.9rem, 2vw, 1.25rem);
  }
}

@media (min-width: 1024px) {
  .home-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-gallery-museum-cta {
  margin: clamp(2rem, 5vw, 2.75rem) 0 0;
  text-align: center;
}

.home-gallery-museum-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-ar-display);
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-gold-soft);
  text-decoration: none;
  border: 1px solid rgba(201, 162, 39, 0.42);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(42, 31, 24, 0.55), rgba(14, 12, 10, 0.88));
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 230, 180, 0.06) inset;
  transition:
    transform 0.45s var(--transition-smooth),
    border-color 0.45s,
    box-shadow 0.45s var(--transition-smooth),
    color 0.35s;
}

html[lang="en"] .home-gallery-museum-cta__link {
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: 0.02em;
}

.home-gallery-museum-cta__link:hover,
.home-gallery-museum-cta__link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.62);
  color: #f5edd8;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.48),
    0 0 40px rgba(201, 162, 39, 0.18),
    0 0 0 1px rgba(255, 230, 180, 0.12) inset;
  outline: none;
}

.home-gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
  transition:
    transform 0.5s var(--transition-smooth),
    box-shadow 0.5s var(--transition-smooth),
    filter 0.45s;
}

.home-gallery__inner {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: linear-gradient(145deg, rgba(42, 31, 24, 0.5), rgba(10, 9, 8, 0.85));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.home-gallery__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 248, 220, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s;
}

.home-gallery__item:hover .home-gallery__shine,
.home-gallery__item:focus-visible .home-gallery__shine {
  opacity: 1;
}

.home-gallery__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-brown);
}

.home-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.65s var(--transition-smooth), filter 0.5s;
  filter: brightness(0.9) saturate(0.96);
}

.home-gallery__item:hover .home-gallery__img,
.home-gallery__item:focus-visible .home-gallery__img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.02);
}

.home-gallery__item:hover,
.home-gallery__item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), 0 0 36px rgba(201, 162, 39, 0.18);
}

.home-gallery__item:hover .home-gallery__inner,
.home-gallery__item:focus-visible .home-gallery__inner {
  border-color: rgba(212, 175, 55, 0.45);
}

.home-gallery__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.85rem;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 4, 3, 0.78));
  opacity: 0;
  transition: opacity 0.45s var(--transition-smooth);
  pointer-events: none;
}

.home-gallery__item:hover .home-gallery__overlay,
.home-gallery__item:focus-visible .home-gallery__overlay {
  opacity: 1;
}

.home-gallery__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-gold-soft);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

html[lang="ar"] .home-gallery__label {
  font-family: var(--font-ar-display);
  letter-spacing: 0.04em;
}

html[lang="en"] .home-gallery__label {
  font-family: var(--font-en);
  font-style: italic;
}

.section--home-intro {
  padding: clamp(1rem, 3.5vw, 2.25rem) clamp(1rem, 4vw, 2rem);
  max-width: 44rem;
  margin: 0 auto;
}

.home-intro-poetic {
  text-align: center;
}

.home-intro-poetic p {
  margin: 0 0 1.35rem;
  font-size: clamp(1.02rem, 2.6vw, 1.14rem);
  line-height: 2;
  color: var(--color-text-muted);
}

.home-intro-poetic p:last-child {
  margin-bottom: 0;
}

.section--intro-home {
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem 1rem;
  max-width: 40rem;
  margin: 0 auto;
}

.home-intro-text {
  margin: 0;
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.18rem);
  line-height: 1.95;
  color: var(--color-text-muted);
}

.section--gallery-cta {
  padding: clamp(1.75rem, 4vw, 2.5rem) 1.25rem clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.gallery-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

.section--museum-visit {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 1.75rem) clamp(3rem, 8vw, 5rem);
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}

.museum-visit-card {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.65rem) clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.32);
  background: linear-gradient(158deg, rgba(42, 31, 24, 0.62), rgba(10, 9, 8, 0.92));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(201, 162, 39, 0.06);
  transition:
    transform 0.5s var(--transition-smooth),
    box-shadow 0.5s var(--transition-smooth),
    border-color 0.45s var(--transition-smooth);
}

.museum-visit-card__glow {
  position: absolute;
  inset: -45%;
  background: radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.28), transparent 58%);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.5s var(--transition-smooth);
}

.museum-visit-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.museum-visit-card__eyebrow {
  font-size: clamp(0.68rem, 1.8vw, 0.75rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-gold-dim);
}

html[lang="ar"] .museum-visit-card__eyebrow {
  letter-spacing: 0.12em;
  text-transform: none;
}

.museum-visit-card__title {
  font-family: var(--font-ar-display);
  font-size: clamp(1.45rem, 4.8vw, 2.2rem);
  font-weight: 700;
  color: var(--color-gold-soft);
  text-shadow: 0 0 32px rgba(201, 162, 39, 0.22);
  line-height: 1.25;
}

html[lang="en"] .museum-visit-card__title {
  font-family: var(--font-en);
  font-style: italic;
}

.museum-visit-card__hint {
  font-size: clamp(0.9rem, 2.2vw, 1.02rem);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 24rem;
}

.museum-visit-card:hover,
.museum-visit-card:focus-visible {
  transform: scale(1.028);
  border-color: rgba(212, 175, 55, 0.52);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.58),
    0 0 52px rgba(201, 162, 39, 0.2),
    0 0 0 1px rgba(255, 230, 180, 0.1);
}

.museum-visit-card:hover .museum-visit-card__glow,
.museum-visit-card:focus-visible .museum-visit-card__glow {
  opacity: 0.92;
}

.home-secondary-cta {
  margin-top: 1.65rem;
  display: flex;
  justify-content: center;
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.02rem;
}

.section--category-gallery {
  padding: 2.5rem 1.25rem 4.5rem;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.35rem;
  max-width: 72rem;
  margin: 2rem auto 0;
}

.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.55s var(--transition-smooth),
    box-shadow 0.55s var(--transition-smooth),
    border-color 0.45s;
  aspect-ratio: 3 / 4;
  max-height: 22rem;
  margin: 0 auto;
  width: 100%;
}

.category-card__image-wrap {
  position: absolute;
  inset: 0;
  background: #0a0908;
}

.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.65s var(--transition-smooth);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 5, 4, 0.75) 100%);
  pointer-events: none;
}

.category-card__title {
  font-family: var(--font-ar-display);
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  font-weight: 700;
  color: #f5edd8;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8), 0 0 20px rgba(201, 162, 39, 0.35);
  text-align: center;
  line-height: 1.3;
}

html[lang="en"] .category-card__title {
  font-family: var(--font-en);
  font-style: italic;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 230, 180, 0.45);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55), 0 0 48px rgba(201, 162, 39, 0.18);
}

.category-card:hover .category-card__img,
.category-card:focus-visible .category-card__img {
  transform: scale(1.08);
}

/* ——— Museum 3D (WebGL) ——— */
.is-hidden {
  display: none !important;
}

.page-museum-3d {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #060504;
}

.page-museum-3d .site-header--museum-3d {
  position: relative;
  z-index: 30;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(8, 7, 5, 0.96) 0%, rgba(8, 7, 5, 0.82) 100%);
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
}

.museum-3d-app {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.museum-webgl-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 4.5rem);
  min-height: calc(100dvh - 4.5rem);
  touch-action: none;
  cursor: grab;
  outline: none;
}

.museum-webgl-canvas:active {
  cursor: grabbing;
}

.museum-wall-nav {
  position: absolute;
  left: auto;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  transform: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  z-index: 12;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.72);
  border: 1px solid rgba(201, 162, 39, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  max-width: min(96vw, 22rem);
  pointer-events: auto;
}

/* في LTR زر الأمام يمين الشاشة — نرفع الشريط قليلاً لتفادي التداخل */
html[dir="ltr"] .museum-wall-nav {
  bottom: max(4.5rem, calc(env(safe-area-inset-bottom) + 3.75rem));
}

.museum-wall-nav__btn {
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: rgba(30, 24, 18, 0.65);
  color: rgba(255, 248, 235, 0.82);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.museum-wall-nav__btn:hover,
.museum-wall-nav__btn:focus-visible {
  outline: none;
  border-color: rgba(212, 175, 85, 0.55);
  color: #fff8ec;
  background: rgba(50, 40, 28, 0.85);
}

.museum-wall-nav__btn.is-active {
  border-color: rgba(212, 175, 85, 0.65);
  background: rgba(201, 162, 39, 0.2);
  color: #fff4dc;
}

.museum-3d-hud__hint--touch-only {
  display: none;
}

@media (hover: none) and (pointer: coarse) {
  .museum-3d-hud__hint--touch-only {
    display: block;
  }
}

.museum-3d-hud {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.museum-3d-reticle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 240, 210, 0.35);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.45);
  opacity: 0.85;
}

.museum-3d-hud__hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(90vw, 22rem);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(232, 220, 200, 0.4);
  margin: 0;
}

.museum-3d-hud__hint--desktop {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .museum-3d-hud__hint--desktop {
    display: block;
  }
}

@media (hover: none) and (pointer: coarse) {
  .museum-3d-hud__hint--desktop {
    display: none !important;
  }
}

.museum-mobile-ui {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.museum-btn-fwd {
  position: absolute;
  bottom: max(1rem, env(safe-area-inset-bottom));
  right: max(1rem, env(safe-area-inset-right));
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(18, 14, 10, 0.85);
  color: var(--color-gold-soft, #e8d4a8);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

html[dir="rtl"] .museum-btn-fwd {
  right: auto;
  left: max(1rem, env(safe-area-inset-left));
}

.museum-btn-fwd:active {
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .museum-mobile-ui {
    opacity: 0.35;
  }

  .museum-mobile-ui:hover {
    opacity: 1;
  }
}

body.museum-3d-active .site-footer--museum-3d {
  display: none;
}

.museum-2d-fallback {
  flex: 1;
  min-height: 0;
}

.museum-2d-fallback .site-main {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

@media (prefers-reduced-motion: reduce) {
  .category-card,
  .category-card__img {
    transition: none;
  }

  .category-card:hover,
  .category-card:focus-visible {
    transform: none;
  }

  .welcome-hero__img {
    transform: none !important;
  }

  .museum-visit-card {
    transition: none;
  }

  .museum-visit-card:hover,
  .museum-visit-card:focus-visible {
    transform: none;
  }

  .home-gallery__item,
  .home-gallery__img {
    transition: none;
  }

  .home-gallery__item:hover,
  .home-gallery__item:focus-visible {
    transform: none;
  }
}
