/* Human is held only within this pair while the client perspective rises. */
.human-client-sequence { position: relative; z-index: 4; isolation: isolate; background: #fff; }
.human-client-sequence[data-human-handoff] > .human-chapter { position: sticky; top: var(--human-pin-top, 0px); z-index: 1; }
.human-client-fog { z-index: 3; opacity: .65; }
.human-chapter {
  --human-ink: #183b43;
  --human-berry: #9b2b66;
  --human-paper: #faf7f2;
  --human-split-distance: clamp(48px, 7vw, 112px);
  --human-split-direction: 1;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  min-height: var(--scene-height, 100svh);
  padding: 32px clamp(24px, 6vw, 104px);
  background: var(--human-paper);
  color: var(--human-ink);
  isolation: isolate;
  overflow: clip;
  outline: none;
  scroll-margin-top: 0;
}
.human-chapter::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #faf7f2; }
.human-chapter::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 55%; pointer-events: none; background: linear-gradient(transparent, #faf7f2); opacity: var(--human-edge, 0); }
.human-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(40px, 6vw, 96px);
  max-width: 1376px;
  width: 100%;
  min-height: min(780px, calc(var(--scene-height, 100svh) - 160px));
  margin: auto;
  align-content: center;
  opacity: calc(1 - var(--human-outro, 0));
}
.human-chapter:dir(rtl) { --human-split-direction: -1; }
.human-portrait { transform: translate3d(calc(var(--human-outro, 0) * var(--human-split-distance) * var(--human-split-direction) * -1), 0, 0); }
.human-heading, .human-steps { transform: translate3d(calc(var(--human-outro, 0) * var(--human-split-distance) * var(--human-split-direction)), 0, 0); }
.human-heading { grid-column: 2; align-self: center; padding-block: 8px 24px; }
.human-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: 11px; font-weight: 500; letter-spacing: .13em; }
.human-mark { width: 29px; height: 29px; background: var(--human-berry); mask: url('/assets/wellist-mark.svg') center / contain no-repeat; -webkit-mask: url('/assets/wellist-mark.svg') center / contain no-repeat; }
.human-heading h2 { margin: 0; font: 500 clamp(42px, 4.7vw, 72px)/1.13 Sora, Arial, sans-serif; letter-spacing: -.065em; }
.human-heading h2 span { color: var(--human-berry); }
.human-intro { margin: 20px 0 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.65; color: #576568; text-wrap: balance; }
.human-portrait { grid-area: 1 / 1 / 3 / 2; display: flex; flex-direction: column; align-self: stretch; margin: 0; min-width: 0; }
.human-photo-frame { position: relative; flex: 1; min-height: 420px; max-height: 740px; overflow: hidden; border-radius: 8px 88px 8px 8px; background: #d5d5c9; }
.human-photo-frame > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 51% 50%; }
.human-portrait figcaption { display: flex; align-items: center; gap: 22px; padding-top: 20px; font-size: 13px; color: #576568; }
.human-caption-line { flex: 1; height: 1px; background: #183b4324; }
.human-conversation { position: absolute; inset-inline-start: 24px; bottom: 24px; display: grid; place-items: center; width: 116px; height: 94px; background: var(--human-paper); border-radius: 4px 24px 4px 4px; }
.human-conversation-art { width: 88px; height: 64px; overflow: visible; }
.human-bubble-back { fill: #bddbce; stroke: var(--human-ink); stroke-width: 1.4; }
.human-bubble-front { fill: var(--human-paper); stroke: var(--human-ink); stroke-width: 1.4; }
.human-sound path { fill: none; stroke: var(--human-berry); stroke-width: 2.5; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: human-listening 2.4s ease-in-out infinite; animation-play-state: paused; }
.human-sound path:nth-child(2) { animation-delay: -.6s; }
.human-sound path:nth-child(3) { animation-delay: -1.2s; }
.human-sound path:nth-child(4) { animation-delay: -1.8s; }
.human-response { fill: none; stroke: var(--human-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.human-steps { grid-column: 2; align-self: end; padding-bottom: 20px; }
.human-step { border-top: 1px solid #183b4326; }
.human-step:last-child { border-bottom: 1px solid #183b4326; }
.human-step summary { display: flex; align-items: center; gap: 18px; min-height: 76px; padding: 16px 0; cursor: pointer; list-style: none; font: 400 clamp(17px, 1.65vw, 24px)/1.35 Sora, Arial, sans-serif; letter-spacing: -.045em; transition: color .2s; }
.human-step summary::-webkit-details-marker { display: none; }
.human-step summary::marker { content: ''; }
.human-step summary > span:first-of-type { flex: 1; }
.human-step summary:focus-visible { outline: 2px solid var(--human-berry); outline-offset: 5px; border-radius: 3px; }
.human-step[open] summary { color: var(--human-berry); }
.human-step-icon { flex: 0 0 29px; width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.human-step-icon circle { fill: var(--human-paper); }
.human-step-toggle { position: relative; flex: 0 0 24px; height: 24px; }
.human-step-toggle::before, .human-step-toggle::after { content: ''; position: absolute; top: 11px; left: 5px; width: 14px; height: 1.5px; background: currentColor; transition: transform .22s; }
.human-step-toggle::after { transform: rotate(90deg); }
.human-step[open] .human-step-toggle::after { transform: rotate(0); }
.human-step-copy { padding-block: 0 22px; padding-inline: 47px 28px; }
.human-step-copy p { margin: 0; max-width: 390px; min-height: 54px; color: #576568; font-size: 15px; line-height: 1.65; }
.human-chapter[data-motion-running] .human-sound path { animation-play-state: running; }
.human-chapter[data-human-ready] .human-step[open] .human-step-copy { animation: human-copy-in .28s ease-out; }
@keyframes human-listening { 0%, 100% { transform: scaleY(.65); } 45% { transform: scaleY(1.15); } }
@keyframes human-copy-in { from { opacity: .3; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .human-step summary:hover { color: var(--human-berry); }
}
@media (max-width: 900px) {
  .human-client-fog { opacity: .52; }
  .human-chapter { --human-split-distance: 28px; padding: 26px clamp(20px, 5vw, 40px); }
  .human-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 20px; min-height: 0; max-width: 640px; }
  .human-heading { grid-area: auto; padding: 0; }
  .human-eyebrow { font-size: 10px; margin-bottom: 18px; gap: 10px; }
  .human-mark { width: 23px; height: 23px; }
  .human-heading h2 { font-size: clamp(34px, 7vw, 50px); }
  .human-intro { margin-top: 14px; font-size: 14px; line-height: 1.5; }
  .human-portrait { grid-area: auto; }
  .human-photo-frame { flex: none; height: clamp(200px, 29vw, 260px); min-height: 0; border-radius: 6px 56px 6px 6px; }
  .human-photo-frame > img { object-position: 50% 43%; }
  .human-portrait figcaption { padding-top: 12px; font-size: 11px; }
  .human-conversation { inset-inline-start: 16px; bottom: 16px; width: 86px; height: 68px; border-radius: 4px 18px 4px 4px; }
  .human-conversation-art { width: 66px; height: 49px; }
  .human-steps { grid-area: auto; padding-bottom: 0; }
  .human-step summary { min-height: 58px; gap: 13px; padding-block: 14px; font-size: 18px; }
  .human-step-icon { width: 25px; height: 25px; flex-basis: 25px; }
  .human-step-copy { padding-block: 0 16px; padding-inline: 38px 20px; }
  .human-step-copy p { min-height: 63px; font-size: 14px; line-height: 1.5; }
}
@media (max-width: 380px) {
  .human-chapter { padding: 24px 20px; }
  .human-inner { gap: 20px; }
  .human-heading h2 { font-size: 32px; }
  .human-photo-frame { height: 185px; }
  .human-step summary { font-size: 16px; gap: 10px; }
  .human-step-copy { padding-inline-start: 35px; padding-inline-end: 0; }
}
@media (min-width: 901px) and (max-height: 740px) {
  .human-chapter { padding-block: 28px; }
  .human-inner { min-height: calc(100svh - 104px); }
  .human-heading { padding-bottom: 22px; }
  .human-heading h2 { font-size: clamp(40px, 4.3vw, 62px); }
  .human-eyebrow { margin-bottom: 24px; }
  .human-intro { margin-top: 18px; }
  .human-photo-frame { min-height: 390px; }
  .human-step summary { min-height: 62px; }
  .human-steps { padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .human-client-sequence[data-human-handoff] > .human-chapter { position: relative; top: auto; }
  .human-client-fog { display: none; }
  .human-chapter::before, .human-chapter::after { opacity: 0; }
  .human-inner { opacity: 1; transform: none; }
  .human-portrait, .human-heading, .human-steps { transform: none; }
  .human-chapter *, .human-chapter *::before, .human-chapter *::after { animation: none !important; transition: none !important; }
}
