:root {
  --gold: rgb(218, 185, 110);
  --gold-soft: rgba(218, 185, 110, 0.22);
  --ink: #1a1612;
  --cream: #f4efe6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background: var(--cream);
  color: var(--ink);
}

.font-display {
  font-family: "Cormorant Garamond", "Vazirmatn", serif;
}

.page-enter {
  animation: fade 0.8s ease both;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.glass {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 18px 50px rgba(26, 22, 18, 0.08);
}

.glass-dark {
  background: rgba(26, 22, 18, 0.42);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(218, 185, 110, 0.28);
  box-shadow: 0 24px 60px rgba(26, 22, 18, 0.28);
}

.glass-gold {
  background: rgba(218, 185, 110, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(218, 185, 110, 0.38);
}

.nav-glass {
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 40px rgba(26, 22, 18, 0.08);
}

.nav-glass.compact {
  background: rgba(244, 239, 230, 0.72);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.d1 {
  transition-delay: 0.08s;
}
.d2 {
  transition-delay: 0.16s;
}
.d3 {
  transition-delay: 0.24s;
}

.svc-item {
  border-bottom: 1px solid rgba(26, 22, 18, 0.08);
  transition: color 0.25s ease, padding-right 0.25s ease;
}

.svc-item:last-child {
  border-bottom: 0;
}

.svc-item:hover {
  color: #9a7a38;
  padding-right: 6px;
}

.ba-slider {
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  aspect-ratio: 3 / 4;
  background: #eee6d6;
}

.ba-slider > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%;
  overflow: hidden;
}

.ba-before-wrap img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: var(--ba-w, 100%);
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  width: 1px;
  background: rgb(218, 185, 110);
  transform: translateX(50%);
  pointer-events: none;
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: #1a1612;
  border: 2px solid rgb(218, 185, 110);
  transform: translate(-50%, -50%);
}

.menu-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(26, 22, 18, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
}

.menu-screen.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-screen a {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin: 0.5rem 0;
  color: #f4efe6;
}

.menu-screen a:hover {
  color: rgb(218, 185, 110);
}

.map-frame {
  filter: grayscale(0.45) sepia(0.18) saturate(0.8);
}

.pin-photo {
  height: 420px;
}

@media (min-width: 1024px) {
  .pin-photo {
    height: min(72vh, 540px);
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
