/* Research and Insights: llamas hold up boards with the insights; the talks play between them.
   Shared by Home and the AI page (2026-11-24). Colours come from --s-ink, --s-muted and --s-acc on the section. */
/* What I'm thinking about: a loose grid. Llamas hold up boards with the insights; the talks they came from play between them.
   Each row pairs one board and one talk, in a random order and split, so the grid lands differently on every visit. */
.mix { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.5rem, 1rem + 2vw, 3.5rem); row-gap: clamp(3rem, 2rem + 4vw, 6rem); align-items: end; }
.mix__cell { grid-column: span 6; margin: 0; min-width: 0; }
/* the board and the llama tilt as one, so the hooves always sit on the board's bottom edge */
.mix__hold { display: grid; justify-items: var(--at, center); rotate: var(--tilt, 0deg); }
/* two invisible lines: the board rises out of the line at the hooves, the llama out of the line at its feet */
.mix__lift { width: 100%; clip-path: inset(-3rem -3rem 0 -3rem); }
.mix { --ll-w: clamp(7rem, 5rem + 4vw, 10rem); }
.mix__pop { position: relative; z-index: 1; margin: calc(var(--ll-w) * -0.117 - 1px) clamp(1rem, 4vw, 4rem) 0; clip-path: inset(-3rem -3rem 0 -3rem); }
.mix__sign { width: 100%; display: grid; gap: 0.6rem; padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: #fbf8f0; border: 2px solid var(--s-ink); border-radius: 6px; }
.mix__sign .unfold__set, .mix__sign .unfold__turn { margin: 0; font-family: var(--font-display); font-size: clamp(1.375rem, 1rem + 1.2vw, 2.25rem); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.mix__sign .unfold__turn { color: var(--s-muted); }
.mix__sign .unfold__turn em { color: var(--s-acc); font-style: italic; }
.mix__llama { display: block; width: var(--ll-w); height: auto; overflow: visible; fill: none; stroke: var(--s-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mix__llama circle { fill: var(--s-ink); stroke: none; }
.mix__llama .ll__face, .mix__llama .ll__fill { fill: #fbf8f0; }
.mix__vid { align-self: center; }
.mix__card { display: grid; gap: 1rem; padding: 0.75rem 0.75rem 1.25rem; background: #fbf8f0; border: 2px solid var(--s-ink); border-radius: 6px; rotate: var(--tilt, 0deg); transition: rotate 300ms ease-out, translate 300ms ease-out; }
@media (hover: hover) { .mix__card:hover { rotate: 0deg; translate: 0 -4px; } }
.mix__vid { padding-bottom: 1rem; clip-path: inset(-3rem -3rem 0 -3rem); }
.mix__card figcaption { display: grid; gap: 0.3rem; padding: 0 0.5rem; }
.mix__k { margin: 0; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--s-acc); }
.mix__name { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); line-height: 1.1; }
.mix__who { margin: 0; font-size: 0.875rem; color: var(--s-muted); }
.mix__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: var(--s-ink); cursor: pointer; }
.mix__play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.8,.2,1); }
.mix__btn { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 -1.75rem; border-radius: 50%; background: var(--s-acc); color: #fbf8f0; transition: transform 200ms ease-out; }
.mix__btn svg { width: 1.375rem; height: 1.375rem; fill: currentColor; margin-left: 2px; }
@media (hover: hover) { .mix__play:hover img { transform: scale(1.04); } .mix__play:hover .mix__btn { transform: scale(1.08); } }
.mix__play:focus-visible { outline: 3px solid var(--s-acc); outline-offset: 4px; }
.mix__vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 3px; background: var(--s-ink); }
@media (max-width: 47.99rem) {
  .mix { grid-template-columns: minmax(0, 1fr); }
  .mix__cell { grid-column: auto !important; }
}
/* The characters. Four llamas, each with its own way of holding a board and its own way of arriving.
   lift: pops up with its arms raised, braces, the board rises out of the line at its hooves. Now and then the weight sags.
   side: the board comes up alone and starts to tip. The llama pops up beside it, catches it, then waves.
   peek: the board comes up alone. Two hooves hook over the top edge, the ears rise, then the eyes, which look both ways.
   balance: the llama pops up and looks up. The board lands on its head, ears flatten, arms go out, and it keeps teetering.
   All of them blink. */
.ll, .ll__head, .ll__ear, .ll__eyes, .ll__tuft, .ll__arm, .ll__hoof { transform-box: fill-box; }
.ll { transform-origin: 50% 100%; }
.ll__ear--l { transform-origin: 80% 100%; }
.ll__ear--r { transform-origin: 20% 100%; }
.ll__eyes { transform-origin: 50% 50%; }
.ll__tuft { transform-origin: 50% 100%; }
.ll__arm--l { transform-origin: 70% 95%; }
.ll__arm--r { transform-origin: 30% 95%; }
.ll__hoof { transform-origin: 50% 0; }
/* how each one holds */
[data-pose="peek"] .mix__pop { margin-top: 0; clip-path: none; }
[data-pose="balance"] .mix__hold { justify-items: center; }
[data-pose="balance"] .mix__lift { clip-path: none; }
[data-pose="balance"] .mix__pop { margin-top: -1px; }
[data-pose="balance"] .mix__sign { transform-origin: 50% 100%; }
[data-pose="balance"] .ll__ear--l { rotate: -68deg; }
[data-pose="balance"] .ll__ear--r { rotate: 68deg; }
[data-pose="balance"] .ll__tuft { scale: 1 0.55; }
[data-pose="balance"] .ll__arm--l { rotate: -60deg; }
[data-pose="balance"] .ll__arm--r { rotate: 60deg; }
[data-pose="side"] .mix__hold { grid-template-columns: auto minmax(0, 1fr); align-items: end; justify-items: stretch; }
[data-pose="side"] .mix__pop { margin: 0 calc(var(--ll-w) * -0.033) 0 0; }
[data-pose="side"] .mix__llama { width: calc(var(--ll-w) * 0.867); }
[data-pose="side"] .mix__sign { transform-origin: 0 100%; }
[data-pose="side"] .ll__arm--l { rotate: -22deg; }
[data-pose="side"] .ll__arm--r { rotate: 72deg; }
[data-pose="side"].is-flip { --dir: -1; }
[data-pose="side"].is-flip .mix__hold { grid-template-columns: minmax(0, 1fr) auto; }
[data-pose="side"].is-flip .mix__pop { order: 2; margin: 0 0 0 calc(var(--ll-w) * -0.033); }
[data-pose="side"].is-flip .mix__llama { scale: -1 1; }
[data-pose="side"].is-flip .mix__sign { transform-origin: 100% 100%; }
.mix__vid[data-in="tip"] .mix__card { transform-origin: 50% 100%; }
.mix__vid:not([data-in="rise"])[data-in] { clip-path: none; }

@keyframes ll-pop { 0% { transform: translateY(105%); } 50% { transform: translateY(-7%) scale(0.94, 1.08); } 70% { transform: translateY(2%) scale(1.06, 0.93); } 85% { transform: translateY(-1%) scale(0.98, 1.02); } 100% { transform: none; } }
@keyframes ll-brace { 0% { transform: none; } 30% { transform: translateY(5%) scale(1.04, 0.95); } 65% { transform: translateY(-3%) scale(0.98, 1.03); } 100% { transform: none; } }
@keyframes ll-thud { 0% { transform: none; } 25% { transform: translateY(7%) scale(1.08, 0.9); } 60% { transform: translateY(-2%) scale(0.98, 1.03); } 100% { transform: none; } }
@keyframes ll-ear-l { 0%, 100% { rotate: 0deg; } 30% { rotate: -22deg; } 60% { rotate: 10deg; } 80% { rotate: -4deg; } }
@keyframes ll-ear-r { 0%, 100% { rotate: 0deg; } 30% { rotate: 22deg; } 60% { rotate: -10deg; } 80% { rotate: 4deg; } }
@keyframes ll-tuft { 0%, 100% { transform: none; } 35% { transform: scaleY(1.5); } 65% { transform: scaleY(0.8); } }
@keyframes ll-blink { 0%, 100% { transform: none; } 50% { transform: scaleY(0.1); } }
@keyframes ll-idle-blink { 0%, 93%, 100% { transform: none; } 95% { transform: scaleY(0.1); } }
@keyframes ll-idle-ear { 0%, 88%, 100% { rotate: 0deg; } 91% { rotate: 14deg; } 94% { rotate: -5deg; } }
@keyframes ll-sag { 0%, 84%, 100% { translate: 0 0; } 89% { translate: 0 3px; } 93% { translate: 0 -1px; } }
@keyframes mix-sag { 0%, 84%, 100% { translate: 0 0; } 89% { translate: 0 4px; } 93% { translate: 0 -1px; } }
@keyframes mix-rise { 0% { transform: translateY(102%); } 60% { transform: translateY(-5%); } 80% { transform: translateY(1.5%); } 100% { transform: none; } }
/* side */
@keyframes mix-tip { 0% { rotate: 0deg; animation-timing-function: cubic-bezier(.6,0,1,.6); } 46% { rotate: calc(var(--dir, 1) * -6deg); } 60% { rotate: calc(var(--dir, 1) * -7deg); } 82% { rotate: calc(var(--dir, 1) * 1deg); } 100% { rotate: 0deg; } }
@keyframes ll-catch { 0% { rotate: 98deg; } 45% { rotate: 64deg; } 100% { rotate: 72deg; } }
@keyframes ll-wave { 0%, 15%, 100% { rotate: -22deg; } 3%, 9% { rotate: -42deg; } 6%, 12% { rotate: -8deg; } }
/* peek */
@keyframes ll-hoof { 0% { transform: translateY(12px) scale(0.4); opacity: 0; } 60% { transform: translateY(-3px) scale(1.08); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes ll-peek { 0% { transform: translateY(78px); } 30%, 55% { transform: translateY(50px); } 85% { transform: translateY(-4px); } 100% { transform: none; } }
@keyframes ll-duck { 0%, 88%, 100% { translate: 0 0; } 91%, 95% { translate: 0 46px; } 98% { translate: 0 -3px; } }
@keyframes ll-look { 0%, 100% { translate: 0 0; } 20%, 42% { translate: -2.5px 0; } 58%, 82% { translate: 2.5px 0; } }
/* balance */
@keyframes ll-lookup { 0%, 100% { translate: 0 0; } 30%, 75% { translate: 0 -2.5px; } }
@keyframes mix-drop { 0% { transform: translateY(-9rem); opacity: 0; animation-timing-function: cubic-bezier(.55,0,1,.5); } 20% { opacity: 1; } 60% { transform: none; } 78% { transform: translateY(-0.4rem); } 100% { transform: none; opacity: 1; } }
@keyframes mix-wobble { 0%, 100% { rotate: 0deg; } 20% { rotate: 3deg; } 45% { rotate: -2.2deg; } 65% { rotate: 1.3deg; } 85% { rotate: -0.6deg; } }
@keyframes mix-teeter { 0%, 50%, 100% { rotate: 0deg; } 25% { rotate: 0.7deg; } 75% { rotate: -0.7deg; } }
@keyframes ll-splay-l { 0% { rotate: 0deg; } 60% { rotate: -84deg; } 100% { rotate: -68deg; } }
@keyframes ll-splay-r { 0% { rotate: 0deg; } 60% { rotate: 84deg; } 100% { rotate: 68deg; } }
@keyframes ll-flat { 0% { scale: 1 1; } 100% { scale: 1 0.55; } }
@keyframes ll-flail-l { 0%, 100% { rotate: -60deg; } 20% { rotate: -88deg; } 45% { rotate: -44deg; } 65% { rotate: -70deg; } 85% { rotate: -56deg; } }
@keyframes ll-flail-r { 0%, 100% { rotate: 60deg; } 20% { rotate: 32deg; } 45% { rotate: 76deg; } 65% { rotate: 50deg; } 85% { rotate: 64deg; } }
@keyframes ll-bal-l { 0%, 50%, 100% { rotate: -60deg; } 25% { rotate: -68deg; } 75% { rotate: -52deg; } }
@keyframes ll-bal-r { 0%, 50%, 100% { rotate: 60deg; } 25% { rotate: 52deg; } 75% { rotate: 68deg; } }
/* the talk cards: one rises, one drops, one skids in, one tips up. The play button pops last. */
@keyframes card-drop { 0% { transform: translateY(-45%) rotate(-7deg); opacity: 0; animation-timing-function: cubic-bezier(.55,0,1,.5); } 20% { opacity: 1; } 55% { transform: rotate(2.5deg); } 72% { transform: translateY(-3%) rotate(-1.2deg); } 100% { transform: none; opacity: 1; } }
@keyframes card-skid { 0% { transform: translateX(calc(var(--dir, 1) * 22%)) rotate(calc(var(--dir, 1) * 7deg)); opacity: 0; } 30% { opacity: 1; } 60% { transform: translateX(calc(var(--dir, 1) * -3%)) rotate(calc(var(--dir, 1) * -2.5deg)); } 80% { transform: translateX(calc(var(--dir, 1) * 1%)) rotate(calc(var(--dir, 1) * 0.8deg)); } 100% { transform: none; opacity: 1; } }
@keyframes card-tip { 0% { transform: perspective(60rem) rotateX(-80deg); opacity: 0; } 25% { opacity: 1; } 60% { transform: perspective(60rem) rotateX(12deg); } 80% { transform: perspective(60rem) rotateX(-5deg); } 100% { transform: perspective(60rem) rotateX(0deg); opacity: 1; } }
@keyframes btn-pop { 0% { scale: 0; } 65% { scale: 1.18; } 100% { scale: 1; } }
@media (prefers-reduced-motion: no-preference) {
  /* before: everything waits behind its line */
  .js-unfold .mix__pop .mix__llama { transform: translateY(105%); }
  .js-unfold .mix__lift .mix__sign, .js-unfold .mix__card { transform: translateY(102%); }
  .js-unfold [data-pose="peek"] .mix__pop .mix__llama { transform: none; }
  .js-unfold [data-pose="peek"] .ll { transform: translateY(78px); }
  .js-unfold [data-pose="peek"] .ll__hoof { opacity: 0; }
  .js-unfold [data-pose="balance"] .mix__lift .mix__sign { transform: none; opacity: 0; }
  .js-unfold .mix__vid[data-in]:not([data-in="rise"]) .mix__card { transform: none; opacity: 0; }
  .js-unfold .mix__btn { scale: 0; }
  /* everyone blinks */
  .js-unfold .mix__board.is-in .ll__eyes { animation: ll-blink 0.2s ease-in-out 1.6s both, ll-idle-blink 4.5s linear 2.4s infinite; }
  /* lift */
  .js-unfold [data-pose="lift"].is-in .mix__llama { animation: ll-pop 0.75s cubic-bezier(.3,.7,.4,1) both; }
  .js-unfold [data-pose="lift"].is-in .ll__ear--l { animation: ll-ear-l 0.9s ease-out 0.25s both, ll-idle-ear 7s ease-in-out 3s infinite; }
  .js-unfold [data-pose="lift"].is-in .ll__ear--r { animation: ll-ear-r 0.9s ease-out 0.3s both; }
  .js-unfold [data-pose="lift"].is-in .ll__tuft { animation: ll-tuft 0.6s ease-out 0.3s both; }
  .js-unfold [data-pose="lift"].is-in .ll { animation: ll-brace 0.55s cubic-bezier(.3,.7,.4,1) 0.8s both, ll-sag 8s ease-in-out 5s infinite; }
  .js-unfold [data-pose="lift"].is-in .mix__sign { animation: mix-rise 0.65s cubic-bezier(.3,.7,.4,1) 0.9s both, mix-sag 8s ease-in-out 5s infinite; }
  /* side */
  .js-unfold [data-pose="side"].is-in .mix__sign { animation: mix-rise 0.65s cubic-bezier(.3,.7,.4,1) both, mix-tip 1.3s linear 0.7s both; }
  .js-unfold [data-pose="side"].is-in .mix__llama { animation: ll-pop 0.5s cubic-bezier(.3,.7,.4,1) 0.8s both; }
  .js-unfold [data-pose="side"].is-in .ll__arm--r { animation: ll-catch 0.6s cubic-bezier(.3,.7,.4,1) 1.2s both; }
  .js-unfold [data-pose="side"].is-in .ll { animation: ll-thud 0.5s cubic-bezier(.3,.7,.4,1) 1.3s both; }
  .js-unfold [data-pose="side"].is-in .ll__ear--l { animation: ll-ear-l 0.9s ease-out 1s both; }
  .js-unfold [data-pose="side"].is-in .ll__ear--r { animation: ll-ear-r 0.9s ease-out 1.05s both, ll-idle-ear 9s ease-in-out 4s infinite; }
  .js-unfold [data-pose="side"].is-in .ll__arm--l { animation: ll-wave 9s ease-in-out 2.3s infinite; }
  .js-unfold [data-pose="side"].is-in .ll__eyes { animation: ll-blink 0.2s ease-in-out 2s both, ll-idle-blink 5s linear 3s infinite; }
  /* peek */
  .js-unfold [data-pose="peek"].is-in .mix__sign { animation: mix-rise 0.65s cubic-bezier(.3,.7,.4,1) both; }
  .js-unfold [data-pose="peek"].is-in .ll__hoof--l { animation: ll-hoof 0.4s cubic-bezier(.3,.7,.4,1) 0.7s both; }
  .js-unfold [data-pose="peek"].is-in .ll__hoof--r { animation: ll-hoof 0.4s cubic-bezier(.3,.7,.4,1) 0.95s both; }
  .js-unfold [data-pose="peek"].is-in .ll { animation: ll-peek 1.5s ease-in-out 1.3s both, ll-duck 11s ease-in-out 7s infinite; }
  .js-unfold [data-pose="peek"].is-in .ll__ear--l { animation: ll-ear-l 0.9s ease-out 1.7s both, ll-idle-ear 7s ease-in-out 5s infinite; }
  .js-unfold [data-pose="peek"].is-in .ll__ear--r { animation: ll-ear-r 0.9s ease-out 1.75s both; }
  .js-unfold [data-pose="peek"].is-in .ll__eyes { animation: ll-look 1.5s ease-in-out 2.8s both, ll-blink 0.2s ease-in-out 4.4s both, ll-idle-blink 4.5s linear 5s infinite; }
  /* balance */
  .js-unfold [data-pose="balance"].is-in .mix__llama { animation: ll-pop 0.75s cubic-bezier(.3,.7,.4,1) both; }
  .js-unfold [data-pose="balance"].is-in .ll__eyes { animation: ll-lookup 0.9s ease-in-out 0.55s both, ll-blink 0.2s ease-in-out 1.9s both, ll-idle-blink 4s linear 3s infinite; }
  .js-unfold [data-pose="balance"].is-in .mix__lift .mix__sign { animation: mix-drop 0.7s linear 0.8s both, mix-wobble 1.4s ease-in-out 1.22s both, mix-teeter 6s ease-in-out 2.7s infinite; }
  .js-unfold [data-pose="balance"].is-in .ll { animation: ll-thud 0.6s cubic-bezier(.3,.7,.4,1) 1.2s both; }
  .js-unfold [data-pose="balance"].is-in .ll__ear--l { animation: ll-splay-l 0.5s cubic-bezier(.3,.7,.4,1) 1.2s backwards; }
  .js-unfold [data-pose="balance"].is-in .ll__ear--r { animation: ll-splay-r 0.5s cubic-bezier(.3,.7,.4,1) 1.2s backwards; }
  .js-unfold [data-pose="balance"].is-in .ll__tuft { animation: ll-flat 0.3s ease-out 1.2s backwards; }
  .js-unfold [data-pose="balance"].is-in .ll__arm--l { animation: ll-flail-l 1.4s ease-in-out 1.22s both, ll-bal-l 6s ease-in-out 2.7s infinite; }
  .js-unfold [data-pose="balance"].is-in .ll__arm--r { animation: ll-flail-r 1.4s ease-in-out 1.22s both, ll-bal-r 6s ease-in-out 2.7s infinite; }
  /* talk cards */
  .js-unfold .mix__vid.is-in .mix__card { animation: mix-rise 0.7s cubic-bezier(.3,.7,.4,1) 0.1s both; }
  .js-unfold .mix__vid[data-in="drop"].is-in .mix__card { animation: card-drop 0.8s linear 0.1s both; }
  .js-unfold .mix__vid[data-in="skid"].is-in .mix__card { animation: card-skid 0.8s cubic-bezier(.2,.8,.3,1) 0.1s both; }
  .js-unfold .mix__vid[data-in="tip"].is-in .mix__card { animation: card-tip 0.9s cubic-bezier(.3,.7,.4,1) 0.1s both; }
  .js-unfold .mix__vid.is-in .mix__btn { animation: btn-pop 0.45s cubic-bezier(.3,.7,.4,1) 0.8s both; }
  /* the turn lands once the board is settled */
  .js-unfold .mix__sign .unfold__turn { opacity: 0; transform: translateY(0.5em); transition: opacity 0.5s ease-out var(--turn, 1.75s), transform 0.6s cubic-bezier(.215,.61,.355,1) var(--turn, 1.75s); }
  .js-unfold [data-pose="peek"] .unfold__turn { --turn: 0.9s; }
  .js-unfold [data-pose="side"] .unfold__turn, .js-unfold [data-pose="balance"] .unfold__turn { --turn: 2.1s; }
  .js-unfold .mix__cell.is-in .unfold__turn { opacity: 1; transform: none; }
}
