/* v4-handoff.css: animated illustrations for the two #features cards. All classes prefixed ho-. */
.ho-wrap { container-type: inline-size; width: 100%; max-width: 440px; }
.ho { --ho-ease: cubic-bezier(.22,.61,.36,1); position: relative; width: 100%; aspect-ratio: 436 / 215; text-align: left; font-family: inherit; }
.ho img.ho-mascot { position: absolute; left: 0; bottom: 0; display: block; height: 72%; width: auto; max-width: none; pointer-events: none; user-select: none; }
.ho * { box-sizing: border-box; }

/* ---------- LEFT ---------- */
.ho-l img.ho-mascot { height: 90%; left: 0; }
.ho-q { position: absolute; display: block; line-height: 1; color: #FF8A1F; font-weight: 800; }
.ho-q i, .ho-q b { display: block; font-style: normal; }
.ho-q b { font-weight: 800; font-size: inherit; text-shadow: 0 2px 0 #E87008, 0 3px 6px rgba(232,112,8,.25); animation: ho-bob 4s var(--ho-ease) infinite alternate; }
.ho-q1 { left: 24%; top: 0; font-size: 36px; }
.ho-q2 { left: 9%; top: 12%; font-size: 26px; }
.ho-q3 { left: 40%; top: 7%; font-size: 20px; }
.ho-qp { animation: ho-pop .42s var(--ho-ease) both; }
.ho-q2 .ho-qp { animation-delay: .12s; } .ho-q3 .ho-qp { animation-delay: .24s; }
.ho-q2 b { animation-duration: 3.5s; animation-delay: .6s; } .ho-q3 b { animation-duration: 4.5s; animation-delay: 1.1s; }
.ho-js .ho-l:not(.ho-in) .ho-qp { animation: none; opacity: 0; transform: scale(.6); }
.ho-tile { position: absolute; width: 16cqw; aspect-ratio: 1; }
.ho-tf { width: 100%; height: 100%; background: #fff; border-radius: 22%; border: 1px solid #ECEFFA; box-shadow: 0 10px 22px rgba(90,100,170,.16), 0 2px 4px rgba(90,100,170,.08); padding: 20%; animation: ho-float 6s var(--ho-ease) infinite alternate; }
.ho-t1 { left: 49%; top: 12%; transform: rotate(-6deg); }
.ho-t2 { left: 66%; top: 25%; transform: rotate(3deg); } .ho-t2 .ho-tf { animation-duration: 5s; animation-delay: -1.8s; }
.ho-t3 { left: 83%; top: 40%; transform: rotate(7deg); } .ho-t3 .ho-tf { animation-duration: 7s; animation-delay: -3.4s; }
.ho-t1 .ho-tf { animation-delay: -.6s; }
@keyframes ho-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes ho-bob { from { transform: translateY(0); } to { transform: translateY(4px); } }
@keyframes ho-float { from { transform: translateY(0) rotate(0); } to { transform: translateY(-5px) rotate(1deg); } }

/* ---------- RIGHT ---------- */
.ho-r img.ho-mascot { left: 0; height: 72%; }
.ho-chips { position: absolute; left: 34.5%; width: 27.5%; top: 6%; bottom: 6%; display: flex; flex-direction: column; justify-content: space-between; }
.ho-row { display: flex; align-items: center; width: 100%; }
.ho-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 7px; background: #fff; border-radius: 999px; box-shadow: 0 5px 14px rgba(90,100,170,.14), 0 1px 3px rgba(90,100,170,.08); border: 1px solid #EEF0FA; font-size: 12px; line-height: 1; font-weight: 700; color: #1E2230; white-space: nowrap; width: 82%; }
.ho-ic { width: 16px; height: 16px; flex: 0 0 16px; display: block; }
.ho-line { flex: 1 1 0; min-width: 0; height: 2px; margin-right: -14px; position: relative; z-index: 2; background: repeating-linear-gradient(90deg, #F1B27A 0 4px, transparent 4px 8px); transform-origin: left center; }
.ho-vline { display: none; }
.ho-card { position: absolute; left: 62%; right: 0; top: 2%; bottom: 2%; transform: rotate(-2.5deg); background: #fff; border-radius: 16px; border: 1px solid #EEF0FA; box-shadow: 0 16px 34px rgba(90,100,170,.2), 0 2px 6px rgba(90,100,170,.08); }
.ho-cardin { height: 100%; padding: 9px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.ho-head { display: flex; align-items: center; justify-content: space-between; }
.ho-logo { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 800; color: #1E2230; letter-spacing: .2px; line-height: 1; }
.ho-mark { display: block; width: 17px; height: 16px; background: #1A1726; -webkit-mask: url(/assets/handoff/ogl-o.svg) center / contain no-repeat; mask: url(/assets/handoff/ogl-o.svg) center / contain no-repeat; }
.ho-ok { width: 20px; height: 20px; display: block; }
.ho-panel { flex: 1 1 auto; min-height: 0; background: #F1F3F8; border-radius: 10px; display: flex; align-items: flex-end; justify-content: center; gap: 7px; padding: 8px 10px; }
.ho-bar { display: block; width: 17%; border-radius: 4px 4px 2px 2px; transform-origin: bottom center; }
.ho-b1 { height: 38%; background: #93B4F8; } .ho-b2 { height: 55%; background: #C4A8F5; } .ho-b3 { height: 74%; background: #3B6FE8; } .ho-b4 { height: 92%; background: #F59E2E; }
.ho-hours { display: flex; align-items: center; gap: 6px; background: #FFF4E3; border-radius: 10px; padding: 6px 7px; font-size: 12px; line-height: 1.15; font-weight: 700; color: #16A34A; }
.ho-hc { width: 16px; height: 16px; flex: 0 0 16px; display: block; }
.ho-r img.ho-mascot { animation: ho-breathe 2.5s var(--ho-ease) infinite alternate; animation-play-state: paused; }
.ho-r.ho-in img.ho-mascot { animation-play-state: running; animation-delay: 2.6s; }
@keyframes ho-breathe { from { transform: translateY(0); } to { transform: translateY(-3px); } }

.ho-js .ho-r .ho-chip, .ho-js .ho-r .ho-hours, .ho-js .ho-r .ho-ok, .ho-js .ho-r .ho-card { opacity: 0; }
.ho-js .ho-r .ho-chip { transform: translateX(-16px); }
.ho-js .ho-r .ho-ok { transform: scale(.7); }
.ho-js .ho-r .ho-line { transform: scaleX(0); }
.ho-js .ho-r .ho-bar { transform: scaleY(0); }
.ho-js .ho-r.ho-in .ho-chip, .ho-js .ho-r.ho-in .ho-hours, .ho-js .ho-r.ho-in .ho-card { opacity: 1; }
.ho-js .ho-r.ho-in .ho-chip { transform: none; }
.ho-js .ho-r.ho-in .ho-ok { opacity: 1; transform: scale(1); }
.ho-js .ho-r.ho-in .ho-line { transform: scaleX(1); }
.ho-js .ho-r.ho-in .ho-bar { transform: scaleY(1); }
.ho-js .ho-r .ho-chip { transition: opacity .35s var(--ho-ease), transform .35s var(--ho-ease); }
.ho-js .ho-r.ho-in .ho-c2 { transition-delay: .12s; } .ho-js .ho-r.ho-in .ho-c3 { transition-delay: .24s; }
.ho-js .ho-r .ho-card { transition: opacity .4s var(--ho-ease); }
.ho-js .ho-r.ho-in .ho-card { transition-delay: .3s; }
.ho-js .ho-r .ho-line { transition: transform .4s var(--ho-ease); }
.ho-js .ho-r.ho-in .ho-row:nth-child(1) .ho-line { transition-delay: .6s; } .ho-js .ho-r.ho-in .ho-row:nth-child(2) .ho-line { transition-delay: .68s; } .ho-js .ho-r.ho-in .ho-row:nth-child(3) .ho-line { transition-delay: .76s; }
.ho-js .ho-r .ho-bar { transition: transform .45s var(--ho-ease); }
.ho-js .ho-r.ho-in .ho-b1 { transition-delay: 1.15s; } .ho-js .ho-r.ho-in .ho-b2 { transition-delay: 1.24s; } .ho-js .ho-r.ho-in .ho-b3 { transition-delay: 1.33s; } .ho-js .ho-r.ho-in .ho-b4 { transition-delay: 1.42s; }
.ho-js .ho-r .ho-ok { transition: opacity .25s var(--ho-ease), transform .25s var(--ho-ease); }
.ho-js .ho-r.ho-in .ho-ok { transition-delay: 1.9s; }
.ho-js .ho-r .ho-hours { transition: opacity .35s var(--ho-ease); }
.ho-js .ho-r.ho-in .ho-hours { transition-delay: 2.15s; }
.ho-js .ho-r .ho-hc { opacity: 1; }

@container (max-width: 400px) {
  .ho-l { aspect-ratio: 300 / 172; }
  .ho-q1 { font-size: 30px; } .ho-q2 { font-size: 22px; } .ho-q3 { font-size: 17px; }
  .ho-r { aspect-ratio: auto; display: grid; grid-template-columns: 38% 1fr; column-gap: 10px; row-gap: 8px; align-items: center; }
  .ho-r img.ho-mascot { position: static; grid-column: 1; grid-row: 1; width: 100%; height: auto; max-height: 112px; object-fit: contain; align-self: end; }
  .ho-chips { position: static; grid-column: 2; grid-row: 1; gap: 8px; justify-content: flex-start; align-self: center; }
  .ho-chip { width: 100%; } .ho-line { display: none; }
  .ho-card { position: relative; grid-column: 1 / -1; grid-row: 2; left: auto; right: auto; top: auto; bottom: auto; margin: 6px 4% 0; }
  .ho-cardin { gap: 8px; padding: 10px; }
  .ho-panel { flex: none; height: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .ho *, .ho *::before, .ho *::after { animation: none !important; transition: none !important; }
  .ho-js .ho-r .ho-chip, .ho-js .ho-r .ho-hours, .ho-js .ho-r .ho-ok { opacity: 1 !important; transform: none !important; }
  .ho-js .ho-r .ho-card { opacity: 1 !important; transform: rotate(-2.5deg) !important; }
  .ho-js .ho-r .ho-line, .ho-js .ho-r .ho-bar { transform: none !important; }
  .ho-js .ho-l .ho-qp { opacity: 1 !important; transform: none !important; }
}
/* meeseeks check: the hours chip stays on one line at desktop width */
@media (min-width: 768px) { .ho-hours { white-space: nowrap; font-size: 12px; padding: 6px 6px; gap: 4px; letter-spacing: -0.01em; } }
/* rick 17:09Z: right mascot the same height as the left one; chips and OGL card move right and the card is a little smaller */
@media (min-width: 768px) {
  .ho-r img.ho-mascot { height: 90%; }
  .ho-r .ho-chips { left: 39.5%; width: 23.5%; }
  .ho-r .ho-card { left: 63.5%; top: 6%; bottom: 6%; }
  .ho-r .ho-chips { left: 39%; width: 22.5%; }
  .ho-hours { padding: 6px 4px; gap: 3px; letter-spacing: -0.02em; }
}
