@property --promise-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Motion lives on the frame and jewel; the promise stays still and legible. */
.boutique-home .boutique-note.customer-promise {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: calc(100% - 2.5rem);
  max-width: 840px;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4rem);
  border: 1px solid #d8e8e5;
  border-radius: 2rem;
  background: linear-gradient(135deg, #164f58, #123f49 55%, #205664);
  color: #fffaf3;
}
.customer-promise::before,
.customer-promise::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}
.customer-promise::before {
  padding: 4px;
  background: conic-gradient(from var(--promise-angle), #b8f2eb, #e5baf6, #fff1c9, #b3dbf5, #f2c7de, #b8f2eb);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: promise-shimmer 9s linear infinite;
}
.customer-promise::after {
  inset: -9px;
  border: 1px solid #d4e8ef;
  opacity: .35;
  animation: promise-breathe 4.8s ease-in-out infinite;
}
.customer-promise .promise-jewel {
  display: block;
  width: 46px;
  height: 46px;
  margin: 0 auto 1.25rem;
  color: #e6d6f1;
  animation: promise-jewel-float 4.8s ease-in-out infinite;
}
.boutique-home .customer-promise h2 {
  color: #fff8ea;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.4rem;
}
.boutique-home .boutique-note.customer-promise .promise-belief {
  color: #fff8ea;
  margin-bottom: 1.25rem;
}
.boutique-home .boutique-note.customer-promise .promise-description {
  color: #e1eeee;
}
.boutique-home .customer-promise > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1.35rem;
  border: 1px solid #e6d6f1;
  border-radius: 999px;
  background: #f4efea;
  color: #164b54;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .2s ease;
}
.boutique-home .customer-promise > a:hover { background: #dfedeb; }
.boutique-home .customer-promise > a:focus-visible {
  outline: 3px solid #fff1c9;
  outline-offset: 5px;
}
@keyframes promise-shimmer { to { --promise-angle: 360deg; } }
@keyframes promise-breathe {
  0%, 100% { transform: scale(1); opacity: .25; }
  50% { transform: scale(1.012, 1.025); opacity: .7; }
}
@keyframes promise-jewel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .customer-promise::before,
  .customer-promise::after,
  .customer-promise .promise-jewel { animation: none; }
  .customer-promise::after { opacity: .4; }
}
