/* =========================================================
   DAISY'S DOG HOUSE
   DAISY MESSAGE + WELCOME EXPERIENCE
========================================================= */

:root {
  --daisy-message-mauve: #8b7185;
  --daisy-message-blush: #c7adb6;
  --daisy-message-purple: #7047a3;
  --daisy-message-gold: #d4ae70;
  --daisy-message-cream: #faf8f6;
  --daisy-message-charcoal: #403a3e;
  --daisy-message-copy: #686065;
  --daisy-message-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   SHARED OVERLAY FOUNDATION
========================================================= */

.daisy-message-overlay,
.daisy-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: rgba(247, 242, 243, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 360ms ease,
    visibility 360ms ease;
}

.daisy-message-overlay.is-visible,
.daisy-welcome-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.daisy-welcome-open {
  overflow: hidden;
}

/* =========================================================
   LOADING MESSAGE CARD
========================================================= */

.daisy-message-card {
  position: relative;
  width: min(760px, 100%);
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(139, 113, 133, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(199, 173, 182, 0.16),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.995),
      rgba(253, 249, 247, 0.985)
    );
  box-shadow:
    0 40px 100px rgba(73, 48, 65, 0.2),
    0 10px 28px rgba(73, 48, 65, 0.08);
  transform: translate3d(0, 26px, 0) scale(0.97);
  transition:
    transform 560ms var(--daisy-message-ease),
    box-shadow 480ms ease;
  isolation: isolate;
}

.daisy-message-card::before {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: 1;
  border: 1px solid rgba(139, 113, 133, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.daisy-message-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      115deg,
      transparent 15%,
      rgba(255, 255, 255, 0.34) 48%,
      transparent 82%
    );
  transform: translateX(-110%);
  animation: daisyCardShimmer 4.8s ease-in-out infinite;
  pointer-events: none;
}

.daisy-message-overlay.is-visible .daisy-message-card {
  transform: translate3d(0, 0, 0) scale(1);
}

.daisy-message-decoration {
  position: absolute;
  top: -130px;
  right: -120px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(199, 173, 182, 0.18),
      transparent 68%
    );
  pointer-events: none;
}

.daisy-message-copy {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 74px 70px 132px;
  text-align: center;
}

.daisy-message-title {
  max-width: 620px;
  margin: 0 auto;
  color: var(--daisy-message-mauve);
  font-family:
    "Italiana",
    "Cormorant Garamond",
    Georgia,
    serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.daisy-message-text {
  max-width: 520px;
  margin: 20px auto 0;
  color: var(--daisy-message-copy);
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 400;
  line-height: 1.7;
  text-wrap: pretty;
}

.daisy-message-signature {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  width: min(178px, 28%);
  max-height: 82px;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(
      0 8px 14px
      rgba(112, 71, 163, 0.08)
    );
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-50%);
}

.daisy-message-overlay.is-visible
.daisy-message-signature,
.daisy-welcome-overlay.is-visible
.daisy-message-signature {
  animation:
    daisySignatureReveal
    650ms
    ease
    120ms
    forwards;
}

.daisy-message-animation {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

/* =========================================================
   SUCCESS + ERROR STATES
========================================================= */

.daisy-message-overlay.is-success .daisy-message-title {
  color: #607c68;
}

.daisy-message-overlay.is-error .daisy-message-title {
  color: #8b5f68;
}

.daisy-message-overlay:not(.is-loading) .daisy-message-card {
  min-height: 410px;
}

.daisy-message-overlay:not(.is-loading) .daisy-message-copy {
  padding-bottom: 126px;
}

/* =========================================================
   HOME — WALKING PAW PRINTS
========================================================= */

.daisy-animation--pawprints .daisy-paw {
  position: absolute;
  bottom: 26px;
  left: -60px;
  display: block;
  color: rgba(112, 71, 163, 0.58);
  font-size: 1.55rem;
  opacity: 0;
  transform: rotate(-12deg) scale(0.84);
  animation: daisyPawWalk 3.5s ease-in-out infinite;
}

.daisy-animation--pawprints .daisy-paw--1 {
  animation-delay: 0ms;
}

.daisy-animation--pawprints .daisy-paw--2 {
  bottom: 52px;
  animation-delay: 420ms;
}

.daisy-animation--pawprints .daisy-paw--3 {
  animation-delay: 840ms;
}

.daisy-animation--pawprints .daisy-paw--4 {
  bottom: 52px;
  animation-delay: 1260ms;
}

.daisy-animation--pawprints .daisy-paw--5 {
  animation-delay: 1680ms;
}

/* =========================================================
   BOARDING — CLOUDS + ZZZ
========================================================= */

.daisy-animation--sleep .daisy-cloud {
  position: absolute;
  display: block;
  width: 88px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    20px -15px 0 4px rgba(255, 255, 255, 0.86),
    48px -6px 0 1px rgba(255, 255, 255, 0.86),
    0 8px 24px rgba(139, 113, 133, 0.08);
  opacity: 0;
  animation: daisyCloudDrift 9s ease-in-out infinite;
}

.daisy-animation--sleep .daisy-cloud--1 {
  top: 28px;
  left: -140px;
}

.daisy-animation--sleep .daisy-cloud--2 {
  top: 112px;
  left: -180px;
  transform: scale(0.7);
  animation-delay: 2.8s;
}

.daisy-animation--sleep .daisy-cloud--3 {
  top: 190px;
  left: -150px;
  transform: scale(0.5);
  animation-delay: 5.5s;
}

.daisy-animation--sleep .daisy-zzz {
  position: absolute;
  right: 32%;
  bottom: 42%;
  color: rgba(112, 71, 163, 0.76);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  opacity: 0;
  animation: daisyZzzFloat 3.2s ease-in-out infinite;
}

.daisy-animation--sleep .daisy-zzz--2 {
  right: 27%;
  bottom: 49%;
  font-size: 2rem;
  animation-delay: 680ms;
}

.daisy-animation--sleep .daisy-zzz--3 {
  right: 21%;
  bottom: 57%;
  font-size: 2.5rem;
  animation-delay: 1360ms;
}

/* =========================================================
   GROOMING — SCISSORS + SPARKLES
========================================================= */

.daisy-animation--grooming .daisy-scissors {
  position: absolute;
  top: 52px;
  right: 42%;
  color: rgba(112, 71, 163, 0.78);
  font-size: 2.25rem;
  transform-origin: center;
  animation: daisyScissorsSnip 2.8s ease-in-out infinite;
}

.daisy-animation--grooming .daisy-sparkle {
  position: absolute;
  color: rgba(212, 174, 112, 0.88);
  opacity: 0;
  animation: daisySparkle 2.6s ease-in-out infinite;
}

.daisy-animation--grooming .daisy-sparkle--1 {
  top: 42px;
  right: 29%;
  font-size: 1.55rem;
}

.daisy-animation--grooming .daisy-sparkle--2 {
  top: 118px;
  right: 37%;
  font-size: 1.1rem;
  animation-delay: 720ms;
}

.daisy-animation--grooming .daisy-sparkle--3 {
  top: 88px;
  right: 20%;
  font-size: 1.8rem;
  animation-delay: 1320ms;
}

.daisy-animation--grooming .daisy-comb {
  position: absolute;
  top: 168px;
  right: 35%;
  width: 62px;
  height: 12px;
  border-radius: 8px;
  background: rgba(112, 71, 163, 0.64);
  transform: rotate(-14deg);
  opacity: 0.74;
  animation: daisyCombGlint 3.4s ease-in-out infinite;
}

.daisy-animation--grooming .daisy-comb::after {
  content: "";
  position: absolute;
  inset: 10px 5px auto;
  height: 24px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(112, 71, 163, 0.64) 0 2px,
      transparent 2px 6px
    );
}

/* =========================================================
   SPA — BUBBLES + RIPPLE
========================================================= */

.daisy-animation--spa .daisy-bubble {
  position: absolute;
  bottom: -40px;
  display: block;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(139, 113, 133, 0.4);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.85) 0 12%,
      rgba(199, 173, 182, 0.18) 44%,
      transparent 70%
    );
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.5),
    0 6px 14px rgba(112, 71, 163, 0.08);
  opacity: 0;
  animation: daisyBubbleRise 4.6s ease-in infinite;
}

.daisy-animation--spa .daisy-bubble--1 {
  left: 12%;
}

.daisy-animation--spa .daisy-bubble--2 {
  left: 28%;
  width: 38px;
  height: 38px;
  animation-delay: 780ms;
}

.daisy-animation--spa .daisy-bubble--3 {
  left: 45%;
  width: 18px;
  height: 18px;
  animation-delay: 1480ms;
}

.daisy-animation--spa .daisy-bubble--4 {
  left: 63%;
  width: 30px;
  height: 30px;
  animation-delay: 2140ms;
}

.daisy-animation--spa .daisy-bubble--5 {
  left: 79%;
  width: 21px;
  height: 21px;
  animation-delay: 2860ms;
}

.daisy-animation--spa .daisy-ripple {
  position: absolute;
  left: 16%;
  bottom: 24px;
  width: 210px;
  height: 34px;
  border: 2px solid rgba(139, 113, 133, 0.2);
  border-radius: 50%;
  opacity: 0;
  animation: daisyRipple 3.6s ease-out infinite;
}

/* =========================================================
   PURPOSE — HEARTS + SOFT GLOW
========================================================= */

.daisy-animation--hearts .daisy-heart,
.daisy-animation--team .daisy-team-heart {
  position: absolute;
  bottom: -38px;
  display: block;
  color: rgba(139, 113, 133, 0.58);
  opacity: 0;
  animation: daisyHeartFloat 4.8s ease-in-out infinite;
}

.daisy-animation--hearts .daisy-heart--1 {
  left: 10%;
  font-size: 1.2rem;
}

.daisy-animation--hearts .daisy-heart--2 {
  left: 27%;
  font-size: 1.7rem;
  animation-delay: 900ms;
}

.daisy-animation--hearts .daisy-heart--3 {
  left: 48%;
  font-size: 1rem;
  animation-delay: 1780ms;
}

.daisy-animation--hearts .daisy-heart--4 {
  left: 68%;
  font-size: 1.5rem;
  animation-delay: 2540ms;
}

.daisy-heart-glow {
  position: absolute;
  top: 44px;
  right: 16%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(199, 173, 182, 0.18),
      transparent 68%
    );
  animation: daisyGlowPulse 4.2s ease-in-out infinite;
}

/* =========================================================
   TEAM — WAVING PAWS + HEARTS
========================================================= */

.daisy-animation--team .daisy-wave-paw {
  position: absolute;
  top: 42px;
  color: rgba(112, 71, 163, 0.56);
  font-size: 1.65rem;
  transform-origin: bottom center;
  animation: daisyPawWave 2.8s ease-in-out infinite;
}

.daisy-animation--team .daisy-wave-paw--1 {
  left: 24%;
}

.daisy-animation--team .daisy-wave-paw--2 {
  left: 34%;
  top: 82px;
  font-size: 1.25rem;
  animation-delay: 820ms;
}

.daisy-animation--team .daisy-team-heart--1 {
  left: 16%;
  font-size: 1.25rem;
}

.daisy-animation--team .daisy-team-heart--2 {
  left: 42%;
  font-size: 1rem;
  animation-delay: 1200ms;
}

.daisy-animation--team .daisy-team-sparkle {
  position: absolute;
  top: 32px;
  right: 24%;
  color: rgba(212, 174, 112, 0.82);
  font-size: 1.55rem;
  animation: daisySparkle 2.6s ease-in-out infinite;
}

/* =========================================================
   CONTACT — ENVELOPES + PHONE + PENCIL
========================================================= */

.daisy-animation--contact .daisy-envelope {
  position: absolute;
  bottom: -42px;
  color: rgba(139, 113, 133, 0.62);
  font-size: 1.6rem;
  opacity: 0;
  animation: daisyEnvelopeFloat 4.8s ease-in-out infinite;
}

.daisy-animation--contact .daisy-envelope--1 {
  left: 12%;
}

.daisy-animation--contact .daisy-envelope--2 {
  left: 34%;
  font-size: 1.2rem;
  animation-delay: 1550ms;
}

.daisy-animation--contact .daisy-phone {
  position: absolute;
  top: 48px;
  right: 24%;
  color: rgba(112, 71, 163, 0.72);
  font-size: 2rem;
  transform-origin: center;
  animation: daisyPhoneRing 3.3s ease-in-out infinite;
}

.daisy-animation--contact .daisy-pencil {
  position: absolute;
  left: 32%;
  bottom: 42px;
  color: rgba(212, 174, 112, 0.86);
  font-size: 1.75rem;
  animation: daisyPencilWrite 3.8s ease-in-out infinite;
}

/* =========================================================
   LUCIDE ICONS + CSS DECORATIVE SHAPES
========================================================= */

.daisy-animation svg,
.daisy-welcome-paw-trail svg,
.daisy-welcome-paw-backdrop svg,
.daisy-welcome-close svg,
.daisy-welcome-checkbox__box svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.daisy-animation--pawprints .daisy-paw,
.daisy-animation--team .daisy-wave-paw {
  width: 28px;
  height: 28px;
}

.daisy-animation--grooming .daisy-scissors {
  width: 38px;
  height: 38px;
}

.daisy-animation--contact .daisy-envelope {
  width: 29px;
  height: 29px;
}

.daisy-animation--contact .daisy-phone {
  width: 34px;
  height: 34px;
}

.daisy-animation--contact .daisy-pencil {
  width: 30px;
  height: 30px;
}

.daisy-animation--grooming .daisy-sparkle,
.daisy-animation--team .daisy-team-sparkle {
  width: 18px;
  height: 18px;
  background:
    linear-gradient(
      45deg,
      transparent 42%,
      currentColor 43% 57%,
      transparent 58%
    ),
    linear-gradient(
      -45deg,
      transparent 42%,
      currentColor 43% 57%,
      transparent 58%
    );
}

.daisy-animation--grooming .daisy-sparkle--2 {
  width: 13px;
  height: 13px;
}

.daisy-animation--grooming .daisy-sparkle--3 {
  width: 21px;
  height: 21px;
}

.daisy-animation--hearts .daisy-heart,
.daisy-animation--team .daisy-team-heart {
  width: 22px;
  height: 20px;
  background: currentColor;
  clip-path: polygon(
    50% 92%,
    8% 50%,
    2% 31%,
    7% 14%,
    20% 4%,
    36% 5%,
    50% 19%,
    64% 5%,
    80% 4%,
    93% 14%,
    98% 31%,
    92% 50%
  );
}

.daisy-animation--hearts .daisy-heart--2 {
  width: 28px;
  height: 25px;
}

.daisy-animation--hearts .daisy-heart--3,
.daisy-animation--team .daisy-team-heart--2 {
  width: 17px;
  height: 15px;
}

.daisy-animation--hearts .daisy-heart--4 {
  width: 25px;
  height: 22px;
}

/* =========================================================
   FIRST-VISIT WELCOME CARD
========================================================= */

.daisy-welcome-card {
  position: relative;
  width: min(780px, 92vw);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(139, 113, 133, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 90% 8%,
      rgba(199, 173, 182, 0.17),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #ffffff,
      #fdf9f7
    );
  box-shadow:
    0 44px 110px rgba(73, 48, 65, 0.23),
    0 10px 28px rgba(73, 48, 65, 0.08);
  transform:
    translate3d(0, 30px, 0)
    scale(0.965);
  transition:
    transform 620ms
    var(--daisy-message-ease);
  isolation: isolate;
}

.daisy-welcome-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid
    rgba(139, 113, 133, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.daisy-welcome-overlay.is-visible
.daisy-welcome-card {
  transform:
    translate3d(0, 0, 0)
    scale(1);
}

.daisy-welcome-copy {
  position: relative;
  z-index: 6;
  width: 62%;
  padding:
    48px
    20px
    42px
    48px;
}

.daisy-welcome-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #a68492;
  font-family:
    "Poppins",
    sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.daisy-welcome-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      var(--daisy-message-gold),
      transparent
    );
}

.daisy-welcome-copy h2 {
  max-width: 470px;
  margin: 0;
  color: var(--daisy-message-mauve);
  font-family:
    "Italiana",
    "Cormorant Garamond",
    Georgia,
    serif;
  font-size:
    clamp(
      2.9rem,
      5vw,
      4.25rem
    );
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-wrap: balance;
}

.daisy-welcome-lead {
  margin: 17px 0 0;
  color: var(--daisy-message-mauve);
  font-family:
    var(
      --font-script,
      "Cormorant Garamond"
    ),
    cursive;
  font-size:
    clamp(
      1.9rem,
      3vw,
      2.65rem
    );
  font-weight: 400;
  line-height: 0.95;
}

.daisy-welcome-body {
  max-width: 450px;
  margin: 19px 0 0;
  color: var(--daisy-message-copy);
  font-family:
    "Poppins",
    sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
}

.daisy-welcome-copy
.daisy-message-signature {
  position: static;
  left: auto;
  bottom: auto;
  width: 132px;
  max-height: 66px;
  margin: 18px 0 0;
  object-fit: contain;
  object-position: left center;
  transform: none;
}

.daisy-welcome-character {
  position: absolute;
  right: 7px;
  bottom: 14px;
  z-index: 5;
  width: min(43%, 330px);
  max-height: 440px;
  object-fit: contain;
  object-position: right bottom;
  filter:
    drop-shadow(
      0 26px 34px
      rgba(66, 40, 58, 0.16)
    );
  opacity: 0;
  transform:
    translate3d(34px, 14px, 0)
    scale(0.97);
  transition:
    opacity 560ms ease 180ms,
    transform 840ms
      var(--daisy-message-ease)
      180ms;
}

.daisy-welcome-overlay.is-visible
.daisy-welcome-character {
  opacity: 1;
  transform:
    translate3d(0, 0, 0)
    scale(1);
}

.daisy-welcome-paw-backdrop {
  position: absolute;
  right: -58px;
  bottom: -62px;
  z-index: 2;
  width: 390px;
  height: 390px;
  display: grid;
  place-items: center;
  color: rgba(112, 71, 163, 0.075);
  transform: rotate(-12deg);
  pointer-events: none;
}

.daisy-welcome-paw-backdrop svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.1;
}

.daisy-welcome-close {
  position: absolute;
  top: 22px;
  right: 23px;
  z-index: 10;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid
    rgba(139, 113, 133, 0.16);
  border-radius: 50%;
  background:
    rgba(255, 255, 255, 0.84);
  color: var(--daisy-message-mauve);
  cursor: pointer;
  transition:
    transform 280ms
      var(--daisy-message-ease),
    background-color 280ms ease,
    box-shadow 280ms ease;
}

.daisy-welcome-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.daisy-welcome-close:hover {
  transform:
    translateY(-2px)
    rotate(4deg);
  background: #fff;
  box-shadow:
    0 10px 20px
    rgba(73, 48, 65, 0.1);
}

.daisy-welcome-close:focus-visible,
.daisy-welcome-enter:focus-visible,
.daisy-welcome-checkbox__input:focus-visible
+ .daisy-welcome-checkbox__box {
  outline:
    3px solid
    rgba(112, 71, 163, 0.28);
  outline-offset: 3px;
}

.daisy-welcome-checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 410px;
  margin: 18px 0 0;
  color: #746b70;
  font-family:
    "Poppins",
    sans-serif;
  font-size: 0.78rem;
  line-height: 1.42;
  cursor: pointer;
}

.daisy-welcome-checkbox__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.daisy-welcome-checkbox__box {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 1px solid
    rgba(139, 113, 133, 0.36);
  border-radius: 7px;
  background: #fff;
  color: #fff;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    transform 240ms
      var(--daisy-message-ease);
}

.daisy-welcome-checkbox__box svg {
  width: 15px;
  height: 15px;
  opacity: 0;
  transform: scale(0.72);
  transition:
    opacity 200ms ease,
    transform 240ms
      var(--daisy-message-ease);
}

.daisy-welcome-checkbox__input:checked
+ .daisy-welcome-checkbox__box {
  border-color:
    var(--daisy-message-mauve);
  background:
    var(--daisy-message-mauve);
  transform: scale(1.03);
}

.daisy-welcome-checkbox__input:checked
+ .daisy-welcome-checkbox__box svg {
  opacity: 1;
  transform: scale(1);
}

.daisy-welcome-checkbox__label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.daisy-welcome-checkbox__nowrap {
  white-space: nowrap;
}

.daisy-welcome-enter {
  min-width: 190px;
  margin-top: 18px;
}

.daisy-welcome-paw-trail {
  position: absolute;
  right: 32%;
  bottom: 30px;
  z-index: 4;
  display: flex;
  gap: 17px;
  color: rgba(112, 71, 163, 0.25);
  transform: rotate(-12deg);
  pointer-events: none;
}

.daisy-welcome-paw-trail span {
  display: block;
  opacity: 0;
  animation:
    daisyWelcomePaw
    2.8s
    ease-in-out
    infinite;
}

.daisy-welcome-paw-trail svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.daisy-welcome-paw-trail
span:nth-child(2) {
  transform: translateY(-12px);
  animation-delay: 380ms;
}

.daisy-welcome-paw-trail
span:nth-child(3) {
  animation-delay: 760ms;
}

/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes daisyCardShimmer {
  0%,
  72%,
  100% {
    transform: translateX(-110%);
  }

  86% {
    transform: translateX(110%);
  }
}

@keyframes daisySignatureReveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes daisyPawWalk {
  0% {
    left: -50px;
    opacity: 0;
    transform: translateY(7px) rotate(-12deg) scale(0.82);
  }

  15% {
    opacity: 0.72;
  }

  72% {
    opacity: 0.72;
  }

  100% {
    left: calc(100% + 35px);
    opacity: 0;
    transform: translateY(-5px) rotate(9deg) scale(1);
  }
}

@keyframes daisyCloudDrift {
  0% {
    left: -170px;
    opacity: 0;
  }

  16% {
    opacity: 0.78;
  }

  78% {
    opacity: 0.78;
  }

  100% {
    left: calc(100% + 120px);
    opacity: 0;
  }
}

@keyframes daisyZzzFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.82);
  }

  30% {
    opacity: 0.74;
  }

  76% {
    opacity: 0.74;
  }

  100% {
    opacity: 0;
    transform: translate3d(14px, -30px, 0) scale(1.08);
  }
}

@keyframes daisyScissorsSnip {
  0%,
  100% {
    transform: rotate(-7deg) scale(1);
  }

  45% {
    transform: rotate(8deg) scale(1.04);
  }

  55% {
    transform: rotate(-2deg) scale(0.97);
  }
}

@keyframes daisySparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.68) rotate(0deg);
  }

  45% {
    opacity: 0.92;
    transform: scale(1.08) rotate(14deg);
  }

  70% {
    opacity: 0.5;
  }
}

@keyframes daisyCombGlint {
  0%,
  100% {
    opacity: 0.42;
    filter: brightness(1);
  }

  50% {
    opacity: 0.82;
    filter: brightness(1.35);
  }
}

@keyframes daisyBubbleRise {
  0% {
    bottom: -48px;
    opacity: 0;
    transform: translateX(0) scale(0.72);
  }

  18% {
    opacity: 0.76;
  }

  72% {
    opacity: 0.68;
  }

  100% {
    bottom: calc(100% + 26px);
    opacity: 0;
    transform: translateX(24px) scale(1.08);
  }
}

@keyframes daisyRipple {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  28% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes daisyHeartFloat {
  0% {
    bottom: -34px;
    opacity: 0;
    transform: translateX(0) scale(0.76);
  }

  20% {
    opacity: 0.62;
  }

  74% {
    opacity: 0.56;
  }

  100% {
    bottom: calc(100% + 24px);
    opacity: 0;
    transform: translateX(18px) scale(1.08);
  }
}

@keyframes daisyGlowPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}

@keyframes daisyPawWave {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }

  45% {
    transform: rotate(12deg) translateY(-4px);
  }
}

@keyframes daisyEnvelopeFloat {
  0% {
    bottom: -38px;
    opacity: 0;
    transform: rotate(-8deg) scale(0.8);
  }

  22% {
    opacity: 0.68;
  }

  74% {
    opacity: 0.58;
  }

  100% {
    bottom: calc(100% + 20px);
    opacity: 0;
    transform: translateX(22px) rotate(7deg) scale(1.06);
  }
}

@keyframes daisyPhoneRing {
  0%,
  72%,
  100% {
    transform: rotate(0deg);
  }

  78% {
    transform: rotate(-9deg);
  }

  84% {
    transform: rotate(9deg);
  }

  90% {
    transform: rotate(-5deg);
  }

  96% {
    transform: rotate(5deg);
  }
}

@keyframes daisyPencilWrite {
  0%,
  100% {
    transform: translateX(0) rotate(-10deg);
  }

  45% {
    transform: translateX(28px) rotate(-4deg);
  }

  55% {
    transform: translateX(24px) rotate(-13deg);
  }
}

@keyframes daisyWelcomePaw {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(0.82);
  }

  45% {
    opacity: 0.72;
    transform: scale(1);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 820px) {
  .daisy-message-card {
    width: min(690px, 100%);
  }

  .daisy-message-copy {
    width: 100%;
    min-height: 450px;
    padding:
      68px
      54px
      126px;
  }

  .daisy-welcome-card {
    width: min(720px, 94vw);
  }

  .daisy-welcome-copy {
    width: 63%;
    padding-left: 40px;
  }

  .daisy-welcome-character {
    right: -6px;
    width: min(44%, 315px);
  }

  .daisy-welcome-paw-backdrop {
    right: -72px;
    bottom: -64px;
    width: 360px;
    height: 360px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {
  .daisy-message-overlay,
  .daisy-welcome-overlay {
    align-items: center;
    padding: 12px;
  }

  .daisy-message-card {
    width: 100%;
    min-height: 430px;
    border-radius: 28px;
  }

  .daisy-message-card::before {
    inset: 9px;
    border-radius: 20px;
  }

  .daisy-message-copy {
    width: 100%;
    min-height: 430px;
    padding:
      52px
      24px
      114px;
  }

  .daisy-message-title {
    max-width: 340px;
    font-size:
      clamp(
        2.55rem,
        12vw,
        3.7rem
      );
    line-height: 1;
  }

  .daisy-message-text {
    max-width: 330px;
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .daisy-message-signature {
    left: 50%;
    bottom: 22px;
    width: 118px;
    max-height: 56px;
    object-position: center;
    transform: translateX(-50%);
  }

  .daisy-animation--sleep .daisy-zzz {
    right: 24%;
    bottom: 32%;
  }

  .daisy-animation--grooming .daisy-scissors,
  .daisy-animation--contact .daisy-phone {
    top: 34px;
    right: auto;
    left: 28px;
  }

  .daisy-animation--grooming
  .daisy-sparkle--1 {
    top: 38px;
    right: 29px;
  }

  .daisy-animation--grooming
  .daisy-sparkle--2 {
    top: 92px;
    right: 48px;
  }

  .daisy-animation--grooming
  .daisy-sparkle--3 {
    top: 70px;
    right: 96px;
  }

  .daisy-animation--grooming
  .daisy-comb {
    display: none;
  }

  .daisy-heart-glow {
    top: 92px;
    right: 4%;
  }

  .daisy-welcome-card {
    width: 100%;
    min-height:
      min(
        720px,
        calc(100vh - 24px)
      );
    max-height:
      calc(100vh - 24px);
    overflow-y: auto;
    border-radius: 28px;
  }

  .daisy-welcome-card::before {
    inset: 9px;
    border-radius: 20px;
  }

  .daisy-welcome-copy {
    width: 100%;
    padding:
      40px
      23px
      310px;
    text-align: center;
  }

  .daisy-welcome-kicker {
    justify-content: center;
    margin-bottom: 13px;
    font-size: 0.64rem;
  }

  .daisy-welcome-copy h2 {
    max-width: 100%;
    font-size:
      clamp(
        2.7rem,
        13vw,
        4rem
      );
    line-height: 1;
  }

  .daisy-welcome-lead {
    font-size:
      clamp(
        2rem,
        10vw,
        2.8rem
      );
  }

  .daisy-welcome-body {
    max-width: 360px;
    margin-inline: auto;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .daisy-welcome-copy
  .daisy-message-signature {
    width: 130px;
    margin:
      16px
      auto
      0;
    transform: none;
  }

  .daisy-welcome-checkbox {
    justify-content: center;
    max-width: 340px;
    margin:
      20px
      auto
      0;
    text-align: left;
    font-size: 0.76rem;
  }

  .daisy-welcome-checkbox__label {
    align-items: flex-start;
  }

  .daisy-welcome-checkbox__nowrap {
    white-space: nowrap;
  }

  .daisy-welcome-enter {
    width: min(100%, 300px);
    margin-top: 20px;
  }

  .daisy-welcome-character {
    right: 50%;
    bottom: 9px;
    width: min(72%, 310px);
    max-height: 290px;
    transform:
      translate3d(
        50%,
        18px,
        0
      )
      scale(0.97);
  }

  .daisy-welcome-overlay.is-visible
  .daisy-welcome-character {
    transform:
      translate3d(
        50%,
        0,
        0
      )
      scale(1);
  }

  .daisy-welcome-paw-backdrop {
    right: 50%;
    bottom: -34px;
    width: 310px;
    height: 310px;
    transform:
      translateX(50%)
      rotate(-12deg);
  }

  .daisy-welcome-close {
    top: 17px;
    right: 17px;
    width: 38px;
    height: 38px;
  }

  .daisy-welcome-paw-trail {
    right: auto;
    left: 18px;
    bottom: 22px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
  .daisy-message-copy {
    padding-inline: 18px;
  }

  .daisy-message-title {
    font-size: 2.45rem;
  }

  .daisy-welcome-copy {
    padding-inline: 19px;
  }

  .daisy-welcome-copy h2 {
    font-size: 2.75rem;
  }

  .daisy-welcome-checkbox {
    font-size: 0.72rem;
  }

  .daisy-welcome-checkbox__nowrap {
    white-space: normal;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .daisy-message-overlay,
  .daisy-welcome-overlay,
  .daisy-message-card,
  .daisy-welcome-card,
  .daisy-welcome-character,
  .daisy-message-signature,
  .daisy-animation *,
  .daisy-welcome-paw-trail span {
    animation: none !important;
    transition: none !important;
  }

  .daisy-message-overlay.is-visible,
  .daisy-welcome-overlay.is-visible,
  .daisy-welcome-overlay.is-visible
  .daisy-welcome-character,
  .daisy-message-overlay.is-visible
  .daisy-message-signature,
  .daisy-welcome-overlay.is-visible
  .daisy-message-signature {
    opacity: 1 !important;
    visibility: visible !important;
    clip-path: none !important;
  }

  .daisy-welcome-overlay.is-visible
  .daisy-welcome-character {
    transform:
      translate3d(50%, 0, 0)
      scale(1) !important;
  }

  .daisy-animation {
    display: none;
  }
}