.hero-animation-container {
	position: relative;
	overflow: hidden;
}

#hero-animation-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.25;
	z-index: 1;
}

/* Ensure hero content stays above canvas */
.hero-animation-container > * {
	position: relative;
	z-index: 10;
}

.scale-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scale-popup-overlay.is-visible {
  display: flex;
}

.scale-popup-box {
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border: 1px solid #b08d57;
  border-radius: 28px;
  padding: 42px 38px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  text-align: center;
  position: relative;
  font-family: inherit;
}

.scale-popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: #1c3322;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.scale-popup-box h2 {
  color: #1c3322;
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 18px;
}

.scale-popup-box p {
  color: #5f6b63;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.scale-popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #136142;
  color: #ffffff !important;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.scale-popup-button:hover {
  background: #1e5c43;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
}

.scale-popup-dismiss {
  display: inline-block;
  margin-top: 18px;
  color: #6d766f;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: underline;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.scale-popup-dismiss:hover {
  color: #1c3322;
}

@media (max-width: 640px) {
  .scale-popup-box {
    padding: 36px 24px;
    border-radius: 22px;
  }

  .scale-popup-box p {
    font-size: 16px;
  }

  .scale-popup-button {
    width: 100%;
  }
}
