.scroll-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    var(--lavender-3),
    var(--lavender-1),
    var(--sage-2)
  );
  box-shadow: 0 0 16px rgba(160, 102, 160, 0.38);
  pointer-events: none;
  will-change: transform;
}

.site-header {
  transition:
    min-height 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.site-header.is-scrolled {
  border-color: rgba(70, 81, 44, 0.12);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 38px rgba(70, 81, 44, 0.09);
}

.animations-enabled .reveal-item {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.72, 0.25, 1),
    transform 0.9s cubic-bezier(0.2, 0.72, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.animations-enabled .reveal-up {
  transform: translate3d(0, 34px, 0);
}

.animations-enabled .reveal-left {
  transform: translate3d(-38px, 0, 0);
}

.animations-enabled .reveal-right {
  transform: translate3d(38px, 0, 0);
}

.animations-enabled .reveal-scale {
  transform: scale(0.94);
}

.animations-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-orbit {
  transition: transform 0.6s cubic-bezier(0.2, 0.72, 0.25, 1);
  will-change: transform;
}

.hero-sticker {
  animation: sticker-drift 5.8s ease-in-out infinite;
}

.about-badge {
  animation: badge-drift 7s ease-in-out infinite;
}

.personal-stickers img:first-child {
  animation: note-drift 6.2s ease-in-out infinite;
}

.personal-stickers img:last-child {
  animation: connection-drift 6.8s ease-in-out -1.4s infinite;
}

.benefit-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
}

.animations-enabled .benefit-card.reveal-item.is-visible {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.animations-enabled .benefit-card.reveal-item.is-visible:hover {
  transform: perspective(900px) translateY(-6px) rotateX(var(--tilt-x))
    rotateY(var(--tilt-y));
}

.benefit-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--glow-x) var(--glow-y),
    rgba(210, 177, 203, 0.2),
    transparent 42%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.benefit-card:hover::after {
  opacity: 1;
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: translateX(-105%);
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  content: "";
  transition: transform 0.65s ease;
}

.button:hover::before {
  transform: translateX(105%);
}

.faq-list details[open] > p {
  animation: faq-answer 0.45s cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin: 26px 0 22px;
}

.contact-link {
  min-height: 66px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 3px 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.social-icon-box {
  grid-column: 1;
  grid-row: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.social-icon {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.social-copy {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 2px;
}

.contact-link .social-copy > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-link .social-copy > strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}

.contact-link b {
  grid-column: 3;
  grid-row: 1;
  color: var(--lavender-1);
  font-size: 1.2rem;
  font-weight: 500;
}

.contact-link-primary {
  border-color: var(--lavender-1);
  background: var(--lavender-1);
}

.contact-link-primary .social-copy > span,
.contact-link-primary .social-copy > strong,
.contact-link-primary b {
  color: var(--sage-4);
}

.contact-link-primary .social-icon-box {
  border-color: var(--sage-4);
  background: var(--sage-4);
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.contact-link-primary:hover,
.contact-link-primary:focus-visible {
  border-color: #fff;
  background: #e0c6dc;
}

.footer-right {
  display: grid;
  justify-items: end;
  gap: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--lavender-1);
  background: rgba(210, 177, 203, 0.15);
  transform: translateY(-3px);
}

.footer-social img {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.footer-handle {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-handle:hover,
.footer-handle:focus-visible {
  color: var(--lavender-1);
}

@keyframes sticker-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-11px) rotate(-2deg);
  }
}

@keyframes badge-drift {
  0%,
  100% {
    transform: translateY(0) rotate(7deg);
  }
  50% {
    transform: translateY(-12px) rotate(10deg);
  }
}

@keyframes note-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes connection-drift {
  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(9px) rotate(2deg);
  }
}

@keyframes faq-answer {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 840px) {
  .animations-enabled .reveal-left,
  .animations-enabled .reveal-right {
    transform: translate3d(0, 28px, 0);
  }

  .animations-enabled .reveal-item.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .footer-right {
    justify-items: start;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  .animations-enabled .reveal-item,
  .animations-enabled .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-sticker,
  .about-badge,
  .personal-stickers img:first-child,
  .personal-stickers img:last-child {
    animation: none;
  }
}
