/* Homepage only. Existing scene hook owns visibility, system preference and pause. */
body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 24px 28px !important;
  border-radius: 14px;
  border-left-width: 3px;
  background: linear-gradient(105deg, #fff6ee, #fffefa 75%) !important;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] > div {
  position: relative;
  z-index: 1;
  gap: 9px;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] .heed-speed-guarantee-label {
  color: #8d4732;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] strong {
  display: block;
  color: #51473f;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: normal;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] .heed-preview-delivery-term {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding-bottom: 5px;
  color: #a63f26;
  font-size: clamp(1.375rem, 2.25vw, 2rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] .heed-preview-delivery-term::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: #c75335;
  opacity: .25;
  transform-origin: left center;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] > p {
  position: relative;
  z-index: 1;
  max-width: 49ch;
  margin: 0;
  color: #62605b;
  font-size: .875rem;
  line-height: 1.7;
  text-wrap: pretty;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"]::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -20% auto -20% 0;
  width: 38%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(105deg, transparent, #efac7d18 45%, #fffefa75 52%, transparent);
  transform: translateX(-130%) skewX(-12deg);
}
/* Assign each animation once; the hook changes only play-state, retaining elapsed time. */
body.heed-luxury main .heed-speed-guarantee[data-heed-motion-active] strong {
  animation: heed-guarantee-rise 580ms cubic-bezier(.22, 1, .36, 1) both;
  animation-play-state: paused;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-motion-active] .heed-preview-delivery-term::after {
  animation: heed-guarantee-rule 680ms 80ms cubic-bezier(.22, 1, .36, 1) both;
  animation-play-state: paused;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-motion-active]::after {
  animation: heed-guarantee-sweep 900ms 40ms cubic-bezier(.4, 0, .2, 1) both;
  animation-play-state: paused;
}
body.heed-luxury main .heed-speed-guarantee[data-heed-motion-active="true"] strong,
body.heed-luxury main .heed-speed-guarantee[data-heed-motion-active="true"] .heed-preview-delivery-term::after,
body.heed-luxury main .heed-speed-guarantee[data-heed-motion-active="true"]::after { animation-play-state: running; }
/* Inactive or paused scenes remain fully readable at their resting position. */
body.heed-luxury main .heed-speed-guarantee[data-heed-motion-active="false"] strong { opacity: 1 !important; transform: none !important; }
body.heed-luxury main .heed-speed-guarantee[data-heed-motion-active="false"] .heed-preview-delivery-term::after { opacity: .25 !important; transform: none !important; }
body.heed-luxury main .heed-speed-guarantee[data-heed-motion-active="false"]::after { opacity: 0 !important; }
@keyframes heed-guarantee-rise { from { opacity: .68; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heed-guarantee-rule { from { opacity: .1; transform: scaleX(.08); } to { opacity: .25; transform: scaleX(1); } }
@keyframes heed-guarantee-sweep { 0% { opacity: 0; transform: translateX(-130%) skewX(-12deg); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(410%) skewX(-12deg); } }
/* Restore a shared center axis and intentional wrapping above the approved table. */
#sample.heed-delivery-sample .heed-delivery-sample-header {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
#sample.heed-delivery-sample .heed-delivery-sample-header h2 {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
#sample.heed-delivery-sample .heed-delivery-sample-header .heed-sample-intro {
  max-width: 58ch;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
#sample.heed-delivery-sample .heed-sample-intro .heed-sample-unbroken { white-space: nowrap; }
@media (max-width: 767px) {
  body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px 20px !important;
  }
  body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] .heed-preview-delivery-term { font-size: 1.5rem; }
  body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] > p { max-width: 55ch; font-size: .8125rem; line-height: 1.65; }
  #sample.heed-delivery-sample .heed-delivery-sample-header .heed-sample-intro { max-width: 42ch; }
}
@media (max-width: 359px) {
  body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] { padding: 20px 16px !important; }
  body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] .heed-preview-delivery-term { font-size: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] strong,
  body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"] .heed-preview-delivery-term::after,
  body.heed-luxury main .heed-speed-guarantee[data-heed-scene="guarantee"]::after { animation: none !important; }
}
