/* Rivigalin Kennel — shared utilities */

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.material-symbols-outlined.fill,
.material-symbols-outlined[data-fill="1"] {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Soft tonal shadow tuned to the warm palette */
.organic-shadow {
  box-shadow: 0 20px 40px -10px rgba(107, 94, 76, 0.08);
}
.soft-shadow {
  box-shadow: 0 10px 30px rgba(107, 94, 76, 0.08);
}

/* Animated blob shapes */
.blob-shape,
.organic-blob {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morph 12s ease-in-out infinite;
}
.organic-shape {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph-alt 14s ease-in-out infinite;
}
.organic-shape-alt {
  border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
  animation: morph 11s ease-in-out infinite reverse;
}
@keyframes morph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}
@keyframes morph-alt {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 70% 70% 30% / 50% 40% 60% 50%; }
}

/* Dotted paw-spaced pattern (matches Stitch radial-dot styling) */
.bg-paw-pattern {
  background-image: radial-gradient(#dbdad6 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}

/* Floating variant switcher pill (Home + Our Dogs) */
.variant-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e4e2de;
  border-radius: 9999px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(107, 94, 76, 0.12);
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.variant-switcher .vs-label {
  padding: 0 12px 0 8px;
  color: #4d4636;
  text-transform: uppercase;
  font-size: 11px;
}
.variant-switcher button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #4d4636;
  padding: 8px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font: inherit;
}
.variant-switcher button:hover { color: #1b1c1a; }
.variant-switcher button.is-active {
  background: #735c00;
  color: #fff;
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(27, 28, 26, 0.4);
  backdrop-filter: blur(4px);
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(82vw, 360px);
  background: #fbf9f5;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu a {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1b1c1a;
  text-decoration: none;
}
.mobile-menu a.active { color: #735c00; }

/* Subtle scroll-up affordance on the nav once you scroll */
header[data-nav].scrolled {
  box-shadow: 0 4px 18px -8px rgba(107, 94, 76, 0.15);
}

/* Force the snap of slow-loading Google image hosts to keep layout */
img[loading="lazy"] {
  background: linear-gradient(135deg, #f5f3ef 0%, #efeeea 100%);
}

/* Language switcher (FI / EN) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1.5px solid #e4e2de;
  background: #fbf9f5;
  border-radius: 9999px;
  padding: 3px;
}
.lang-switcher button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #918370;
  padding: 6px 10px;
  border-radius: 9999px;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s, color 0.2s;
  letter-spacing: inherit;
}
.lang-switcher button:hover { color: #1b1c1a; }
.lang-switcher button.is-active {
  background: #735c00;
  color: #ffffff;
}
.lang-switcher .sep {
  color: #d0c6b0;
  font-size: 12px;
  pointer-events: none;
}
.lang-switcher--block {
  align-self: flex-start;
}
