/* The hero halo fades to zero on every edge of its container. */
.hero-playground { background: none; }
.hero-playground::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse closest-side, #dff2d9c4 0%, #dcedea69 49%, transparent 100%);
  pointer-events: none;
}

.pet-v7 .pet-cloud { transition: d .62s cubic-bezier(.22, .8, .24, 1); }
.pet-v7.is-chat .pet-cloud { d: var(--cloud-outline); }

.pet-v7 .pet-eyes-v6 {
  translate: var(--look-x, 0px) var(--look-y, 0px);
  transition: translate .2s ease-out, scale .18s ease-out;
}

.pet-v7.is-chat .pet-eyes-v6 {
  translate: calc(var(--look-x, 0px) * .4) calc(var(--look-y, 0px) * .4);
}

.pet-v7 .pet-eye-white {
  transform-origin: center;
  transform-box: fill-box;
  transition: scale .25s ease;
}

.pet-v7.is-chat .pet-eye-white { scale: 1.18 1.04; }
.pet-v7[data-channel="wechat"] .pet-eye-white { scale: 1.55 1.08; }
.pet-v7 .pet-eye-detail { transform: none; }
.pet-v7 .pet-chat-mark { scale: .87; }
.pet-v7 .pet-channel-mark { opacity: 0; transition: opacity .22s ease; }
.pet-v7[data-channel="phone"] .pet-channel-mark--phone,
.pet-v7[data-channel="email"] .pet-channel-mark--email { opacity: 1; }
.pet-v7:is(.is-chat, .is-winking).is-blinking .pet-eyes-v6 { scale: 1; }

@media (prefers-reduced-motion: no-preference) {
  .pet-v7.is-winking:not(.is-chat) .pet-eyes-v6 > g:last-child .pet-eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: pet-wink .56s cubic-bezier(.3, .65, .4, 1) both;
  }
  .pet-v7.is-winking:not(.is-chat) .pet-grin { opacity: 1; }
  .hero.in-view .hero-fields span { animation: hero-field-drift 5.4s ease-in-out var(--drift-delay, 0s) infinite; }
  .hero-fields span:nth-child(2) { --drift-delay: -1.8s; }
  .hero-fields span:nth-child(3) { --drift-delay: -3.6s; }
  .document-hidden .hero .hero-fields span { animation-play-state: paused; }
  @keyframes pet-wink {
    0%, 100% { scale: 1; }
    29%, 58% { scale: 1 .13; }
  }
  @keyframes hero-field-drift {
    0%, 100% { translate: 0 0; }
    35% { translate: 3px -9px; }
    70% { translate: -2px 4px; }
  }
}

.hero .pet-v7 .pet-speech {
  top: 1%;
  right: auto;
  bottom: auto;
  left: -4%;
  border-radius: 16px;
}

.pet-v7 .pet-speech::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 12px;
  right: 23px;
  bottom: -10px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 77% 100%);
}

.contact-pet .pet-v7 .pet-speech {
  top: 49%;
  right: 83%;
  left: auto;
  border-radius: 16px;
}

.contact-pet .pet-v7 .pet-speech::after {
  top: 50%;
  right: -10px;
  bottom: auto;
  width: 12px;
  height: 17px;
  transform: translateY(-50%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

body .site-header .header-inner .header-contact,
.colleague-note .note-link,
.knowledge-project .project-caption .knowledge-cta {
  color: #fff;
  background: #1c2025;
  border: 0;
  border-radius: 14px;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}

body .site-header .header-inner .header-contact:focus-visible,
.colleague-note:focus-visible .note-link,
.knowledge-project:focus-visible .project-caption .knowledge-cta {
  color: #192214;
  background: var(--lime);
  box-shadow: 0 7px 20px #96b95c2b;
}

@media (hover: hover) {
  body .site-header .header-inner .header-contact:hover,
  .colleague-note .note-link:hover,
  .knowledge-project .project-caption .knowledge-cta:hover {
    color: #192214;
    background: var(--lime);
    box-shadow: 0 7px 20px #96b95c2b;
  }
}

body .site-header .header-inner .header-contact {
  min-height: 46px;
  padding: 12px 19px;
  font-size: 14px;
  font-weight: 650;
}

.colleague-note {
  position: relative;
  margin-top: clamp(53px, 6vw, 88px);
  min-height: 294px;
  padding-block: 48px;
  column-gap: 30px;
}

.note-kudos {
  position: absolute;
  z-index: 1;
  top: -43px;
  right: clamp(26px, 4.1vw, 62px);
  width: clamp(106px, 12vw, 147px);
  height: auto;
  pointer-events: none;
  transform: rotate(5deg);
  filter: drop-shadow(0 10px 12px #92701622);
}

.colleague-note .note-symbol { align-self: flex-start; margin-top: 39px; }
.colleague-note h3 {
  margin: 17px 0 13px;
  font-size: clamp(26px, 2.55vw, 36px);
  line-height: 1.38;
  letter-spacing: -.03em;
}
.colleague-note .small-label { font-size: 13px; }
.colleague-note .note-description {
  color: #4e6051;
  font-size: 14px;
  line-height: 1.75;
}
.colleague-note .note-author { margin-top: 25px; color: #586958; }
.colleague-note .note-link { padding-inline: 20px; }

.home-page :is(.colleague-note, .project-card):focus-visible { outline: none; }
.home-page .colleague-note:focus-visible .note-link,
.home-page .knowledge-project:focus-visible .knowledge-cta,
.home-page .project-card:focus-visible .card-action {
  outline: 2px solid #31483c;
  outline-offset: 3px;
}

.knowledge-project {
  margin-top: clamp(18px, 2.6vw, 34px);
  padding: clamp(18px, 2.25vw, 32px);
  gap: clamp(22px, 3.5vw, 46px);
  border: 0;
  border-radius: 34px;
  background: radial-gradient(ellipse at 15% 20%, #f9f8f3, transparent 58%),
    linear-gradient(121deg, #f1f0f5, #e5e9f5 88%);
}

.home-page .hero .ink-stroke { bottom: -.1em; height: .32em; }
.home-page .hero .ink-stroke path { stroke-width: 12; }
.home-page .hero .ink-stroke path:nth-child(2) { stroke-width: 3; }

.related-media:has(> img[src*="knowledge-cover.svg"]) {
  background: linear-gradient(132deg, #f9f8f3, #e5e9f5);
}

.home-page .knowledge-project .media-knowledge {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .media-knowledge picture,
.home-page .media-knowledge img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-page .knowledge-project .media-knowledge::after { content: none; }

.knowledge-project .project-caption { gap: 15px; padding: 0; }
.knowledge-project .project-company { color: #4b568e; }
.knowledge-project .project-caption h3 { margin: 0; }
.knowledge-project .project-caption p { max-width: 28em; margin: 0; color: #42495d; line-height: 1.8; }
.knowledge-project .project-caption .knowledge-cta { margin-top: 11px; }

.knowledge-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.knowledge-highlights span {
  background: #fbfcffb5;
  color: #3f4e7a;
  border: 1px solid #cfd6e9;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-section .contact-layout .qr-card:hover {
    transform: translateY(-5px) rotate(2.4deg);
  }
}

@media (min-width: 641px) {
  .case-page .detail-header .header-inner .header-contact,
  body .site-header .header-inner .header-contact { gap: 16px; }
}

@media (max-width: 640px) {
  body .site-header .header-inner .header-contact {
    min-height: 36px;
    padding: 9px;
    border-radius: 11px;
    font-size: 12px;
  }
  .hero .pet-v7 .pet-speech { left: 0; }
  .contact-pet .pet-v7 .pet-speech { top: 86%; right: 0; left: auto; }
  .contact-pet .pet-v7 .pet-speech::after {
    top: -9px;
    right: 30px;
    width: 16px;
    height: 11px;
    transform: none;
    clip-path: polygon(55% 0, 100% 100%, 0 100%);
  }
  .contact-section .contact-layout { margin-top: 62px; }
  .colleague-note { min-height: 0; padding: 30px 24px; }
  .colleague-note .note-symbol { margin-top: 0; }
  .colleague-note h3 { margin-top: 12px; font-size: 25px; }
  .colleague-note .note-author { margin-top: 19px; }
  .note-kudos { top: -29px; right: 16px; width: 96px; }
  .knowledge-project { padding: 17px; border-radius: 26px; }
  .knowledge-project .project-caption { gap: 12px; padding: 18px 0 3px; }
}

@media (max-width: 360px) {
  .colleague-note h3 { text-wrap: balance; }
}

@media (prefers-reduced-motion: reduce) {
  .pet-v7 *,
  .pet-v7 .pet-cloud,
  .contact-section .qr-card { transition: none; }
  .contact-section .contact-layout .qr-card:hover { transform: none; }
}
