html {
  scrollbar-gutter: stable;
}

.wv-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(6px);
  will-change: opacity, transform;
}

.wv-reveal[data-dir='left']  { transform: translateX(-40px); }
.wv-reveal[data-dir='right'] { transform: translateX(40px); }
.wv-reveal[data-dir='down']  { transform: translateY(-28px); }
.wv-reveal[data-dir='scale'] { transform: scale(0.94); }
.wv-reveal[data-dir='none']  { transform: none; }

.wv-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.wv-curtain {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.wv-curtain.is-visible {
  clip-path: inset(0 0 0 0);
}

.wv-line {
  display: block;
  overflow: hidden;
}

.wv-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-visible > .wv-line > span,
.wv-line.is-visible > span {
  transform: translateY(0);
}

.wv-rule {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.wv-rule.is-visible {
  transform: scaleX(1);
}

@keyframes wv-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes wv-marquee-rev {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

@keyframes wv-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(0, -18px, 0) rotate(1.5deg); }
}

@keyframes wv-breathe {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.12); opacity: 0.85; }
}

@keyframes wv-shimmer-sweep {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}

@keyframes wv-scroll-hint {
  0%        { transform: translateY(0); opacity: 0; }
  25%       { opacity: 1; }
  75%       { opacity: 1; }
  100%      { transform: translateY(16px); opacity: 0; }
}

@keyframes wv-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

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

@keyframes wv-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wv-ken-burns {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.16) translate3d(0, -1.5%, 0); }
}

.wv-marquee-track {
  display: flex;
  width: max-content;
  animation: wv-marquee var(--wv-marquee-duration, 40s) linear infinite;
}

.wv-marquee-track[data-reverse='true'] {
  animation-name: wv-marquee-rev;
}

.wv-marquee:hover .wv-marquee-track {
  animation-play-state: paused;
}

.wv-drift   { animation: wv-drift 9s ease-in-out infinite; }
.wv-breathe { animation: wv-breathe 7s ease-in-out infinite; }
.wv-rotate-slow { animation: wv-rotate 48s linear infinite; }
.wv-scroll-hint { animation: wv-scroll-hint 2.2s ease-in-out infinite; }
.wv-ken-burns   { animation: wv-ken-burns 18s ease-out alternate infinite; }
.wv-rise        { animation: wv-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.wv-fade-in     { animation: wv-fade-in 1.2s ease-out both; }

.wv-grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wv-bloom {
  background-image: radial-gradient(
    ellipse at 25% 15%,
    rgba(201, 169, 97, 0.1),
    transparent 60%
  );
}

.wv-duotone {
  filter: grayscale(1) contrast(1.06) brightness(1.02);
  mix-blend-mode: luminosity;
}

.wv-tint-ink::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 14, 0.15) 0%,
    rgba(15, 15, 14, 0.45) 55%,
    rgba(15, 15, 14, 0.82) 100%
  );
}

.wv-tint-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(184, 149, 74, 0.28), rgba(15, 15, 14, 0.55));
  mix-blend-mode: multiply;
}

.wv-hairline {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-gold-400),
    transparent
  );
}

.wv-link {
  position: relative;
  display: inline-block;
}

.wv-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.wv-link:hover::after,
.wv-link[data-active='true']::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.wv-sweep {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.wv-sweep > .wv-sweep-light {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
}

.wv-sweep:hover > .wv-sweep-light {
  animation: wv-shimmer-sweep 0.85s ease-out;
}

.wv-lift {
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s ease;
}

.wv-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gold-300);
}

.wv-zoom-frame { overflow: hidden; }

.wv-zoom-frame img {
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.wv-zoom-frame:hover img,
.wv-lift:hover .wv-zoom-frame img,
.group:hover .wv-zoom-frame img {
  transform: scale(1.07);
}

.wv-display-hero {
  font-size: clamp(2.75rem, 8.5vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.wv-display-xl {
  font-size: clamp(2.25rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.wv-display-lg {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.wv-display-md {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.wv-lead {
  font-size: clamp(1rem, 1.25vw, 1.175rem);
  line-height: 1.75;
}

.wv-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
}

.wv-regional {
  font-family: 'Noto Serif Telugu', 'Noto Serif Kannada', 'Nirmala UI', 'Noto Sans', serif;
  line-height: 1.7;
}

.wv-outline-text {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-ink-300);
}

.wv-outline-text-gold {
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 97, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .wv-reveal,
  .wv-curtain,
  .wv-line > span,
  .wv-rule {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .wv-marquee-track,
  .wv-drift,
  .wv-breathe,
  .wv-rotate-slow,
  .wv-scroll-hint,
  .wv-ken-burns,
  .wv-rise,
  .wv-fade-in {
    animation: none !important;
  }

  .wv-lift:hover { transform: none; }
  .wv-zoom-frame img { transition: none; }
}

.leaflet-container {
  font-family: inherit;
  background: var(--color-ink-100);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  border-radius: 0;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.16);
  background: var(--color-ink-50);
}

.leaflet-popup-content {
  margin: 0;
}

.wv-pop {
  padding: 1rem 1.15rem 0.9rem;
}

.wv-pop-city {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-600);
  margin: 0 0 0.15rem;
}

.wv-pop-branch {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-ink-800);
  margin: 0 0 0.5rem;
}

.wv-pop-line {
  font-size: 12px;
  line-height: 1.55;
  color: var(--color-ink-600);
  margin: 0 0 0.15rem;
}

.wv-pop-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--color-ink-200);
}

.wv-pop-actions a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-saffron-600);
  text-decoration: none;
  transition: color 0.3s;
}

.wv-pop-actions a:hover {
  color: var(--color-gold-600);
}

.leaflet-control-attribution {
  font-size: 9px;
  background: rgb(250 250 248 / 0.85);
  color: var(--color-ink-500);
}

.leaflet-control-attribution a {
  color: var(--color-ink-600);
}

.opacity-40 {
  opacity: 0.4;
}

.py-24 {
  padding-block: calc(var(--spacing) * 24);
}
