/* ==========================================================================
   Avatar — all styling + animation for <portrait-avatar>.
   Swapping in your real illustration? See README → "Swapping the avatar".
   Everything here is scoped under .avatar, so this file can be replaced
   wholesale alongside assets/js/avatar.js.
   ========================================================================== */

.avatar {
  --av-skin:       #F7D3B8;
  --av-hair:       #4D0F2D;
  --av-shirt:      #52A9CE;
  --av-ink:        #4D0F2D;
  --av-blush:      #EDA98C;
  --av-bubble-bg:  #4D0F2D;
  --av-bubble-fg:  #FFF08C;
  --av-gear:       #52A9CE;   /* headphones, pencil, question marks */
  --av-sparkle:    #FFFFFF;   /* lens glint — needs to pop off the skin tone */
  --av-paper:      #FFF08C;   /* notebook page, and the shapes she juggles */

  display: block;
  width: min(100%, 15rem);
  margin-inline: auto;
}

.avatar__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;      /* lets the speech bubble breathe past the viewBox */
}

/* ------------------------------------------------------------ flat shapes */

.av-shirt { fill: var(--av-shirt); }
.av-skin  { fill: var(--av-skin); }
.av-hair  { fill: var(--av-hair); }
.av-blush {
  fill: var(--av-blush);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.av-eye   { fill: var(--av-ink); }

.av-line {
  fill: none;
  stroke: var(--av-ink);
  stroke-width: 3;
  stroke-linecap: round;
}

/* Brows and mouths move or swap per stage, so they transition together. */
.av-brow {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Exactly one mouth is visible; the state classes choose which. */
.av-mouth--confused,
.av-mouth--flat,
.av-mouth--grin,
.av-mouth--oh { display: none; }

/* The open mouths are filled shapes, not strokes. */
.av-mouth--fill { fill: var(--av-ink); stroke: none; }

.av-arm-sleeve {
  fill: none;
  stroke: var(--av-shirt);
  stroke-width: 17;
  stroke-linecap: round;
}

.av-arm-skin {
  fill: none;
  stroke: var(--av-skin);
  stroke-width: 14;
  stroke-linecap: round;
}

/* --------------------------------------------------------- idle: floating */

/* `transform-box: view-box` lets transform-origin be written in viewBox
   coordinates (0 0 200 200), which is far easier to reason about than
   percentages of each group's bounding box. */
.av-float,
.av-head,
.av-arm,
.av-bubble { transform-box: view-box; }

.av-float {
  animation: av-float 5.5s ease-in-out infinite;
}

@keyframes av-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ------------------------------------------------------------ idle: blink */

.av-eyes {
  transform-box: view-box;
  /* Idle: JS writes --eye-x / --eye-y from the cursor. Every reaction below
     overrides this with its own look direction. */
  transform: translate(var(--eye-x, 0px), var(--eye-y, 0px));
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.av-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: av-blink 6.5s infinite;
}

@keyframes av-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  94%, 95.5%    { transform: scaleY(0.08); }
}

/* -------------------------------------------- greeting: tilt, wave, bubble */

.av-head {
  transform-origin: 100px 132px;   /* pivot at the base of the neck */
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.av-arm {
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

/* Each arm pivots at its own shoulder. Because the two are mirrored, the
   same rotation angle sweeps BOTH hands the same way across the screen —
   one rising while the other drops — which is how the greeting wave reads as
   one arm moving rather than two flapping. */
.av-arm--right { transform-origin: 130px 168px; transform: rotate(34deg); }
.av-arm--left  { transform-origin: 70px 168px;  transform: rotate(-34deg); }

.av-bubble {
  transform-origin: 150px 56px;    /* pivot at the bubble's tail */
  transform: scale(0.7);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms ease;
}

.av-bubble__shape { fill: var(--av-bubble-bg); }
.av-bubble__text {
  fill: var(--av-bubble-fg);
  font-family: inherit;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Same idea as the mouths: one label at a time. */
.av-bubble__text--confused,
.av-bubble__text--sideeye { display: none; }

/* ------------------------------------ nav props (hidden at rest) ------ */

.av-glasses,
.av-pencil,
.av-notebook,
.av-laptop,
.av-hold,
.av-sparkles {
  opacity: 0;
  transition: opacity 200ms ease, transform 240ms cubic-bezier(0.34, 1.4, 0.64, 1);
}

.av-glasses { transform-box: view-box; transform: translateY(-16px); }

.av-glasses-lens {
  fill: none;
  stroke: var(--av-ink);
  stroke-width: 2.6;
}
.av-glasses-wire {
  fill: none;
  stroke: var(--av-ink);
  stroke-width: 2.6;
  stroke-linecap: round;
}

.av-pencil { transform-box: view-box; transform-origin: 124px 148px; }
.av-pencil-body { fill: var(--av-gear); }
.av-pencil-tip  { fill: var(--av-ink); }

.av-eyes-shut { display: none; }

.av-wavearm { opacity: 0; transition: opacity 240ms ease; }

/* Thinner than the waving arm: held out level they are read end-on, and the
   default weight makes them look stubby rather than extended. */
.av-wavearm .av-arm-sleeve { stroke-width: 15; }
.av-wavearm .av-arm-skin   { stroke-width: 11.5; }

/* Pivots in viewBox units: shoulder, elbow, wrist on each side. The
   transition is what settles a mid-lift segment when the wave stops. */
.av-wseg {
  transform-box: view-box;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.av-wseg--lu { transform-origin: 62px 151px; }
.av-wseg--lf { transform-origin: 39px 151px; }
.av-wseg--lh { transform-origin: 16px 151px; }
.av-wseg--ru { transform-origin: 138px 151px; }
.av-wseg--rf { transform-origin: 161px 151px; }
.av-wseg--rh { transform-origin: 184px 151px; }

.av-cat {
  transform-box: view-box;
  transform: translateY(26px);
  opacity: 0;
  transition: opacity 220ms ease, transform 340ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.av-cat-body { fill: var(--av-ink); }
.av-cat-eye  { fill: var(--av-paper); }
.av-cat-tail {
  fill: none;
  stroke: var(--av-ink);
  stroke-width: 6;
  stroke-linecap: round;
}

.av-lt-lid   { fill: var(--av-ink); }
.av-lt-hinge { fill: var(--av-gear); }
.av-lt-mark  { fill: var(--av-paper); }

.av-hold { transform-box: view-box; }

.av-nb-page  { fill: var(--av-paper); }
.av-nb-spine { fill: var(--av-ink); }
.av-nb-rule {
  fill: none;
  stroke: var(--av-ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.55;
}

.av-notebook { transform-box: view-box; transform-origin: 94px 162px; }

.av-spark { transform-box: fill-box; transform-origin: center; opacity: 0; }
.av-spark-shape { fill: var(--av-sparkle); }




/* -------------------------------------- dance kit (hidden at rest) --- */

.av-headphones,
.av-notes {
  opacity: 0;
  transition: opacity 240ms ease;
}

.av-hp-band {
  fill: none;
  stroke: var(--av-gear);
  stroke-width: 7;
  stroke-linecap: round;
}
.av-hp-cup { fill: var(--av-gear); }


.av-note-head { fill: var(--av-ink); }
.av-note-stem,
.av-note-flag {
  fill: none;
  stroke: var(--av-ink);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.av-note {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.av-arm { transform-box: view-box; }

.avatar:hover .av-head,
.avatar.is-greeting .av-head { transform: rotate(-6deg); }

.avatar:hover .av-arm--right,
.avatar.is-greeting .av-arm--right {
  opacity: 1;
  animation: av-wave 900ms ease-in-out 1;
}

.avatar:hover .av-bubble,
.avatar.is-greeting .av-bubble {
  opacity: 1;
  transform: scale(1);
}

@keyframes av-wave {
  0%   { transform: rotate(34deg); }
  25%  { transform: rotate(-4deg); }
  50%  { transform: rotate(18deg); }
  75%  { transform: rotate(0deg); }
  100% { transform: rotate(12deg); }
}

/* Hold the waved-up pose after the wave animation finishes. */
.avatar:hover .av-arm--right,
.avatar.is-greeting .av-arm--right { transform: rotate(12deg); }

/* ==========================================================================
   The dwell ladder. JS adds exactly one of these once a pointer has stayed
   long enough (see STAGES in avatar.js); leaving removes it. Each block sits
   after the :hover rules above so it wins the specificity tie.
   ========================================================================== */

/* --------------------------------------------- 3s: the arm wave --------- */

/* Arms out level, and a ripple travelling from one hand to the other. Every
   segment runs the same short lift on the same 1800ms cycle; what makes it a
   wave is the animation-delay ladder below, each joint a beat behind the one
   before it. Because the segments are nested, a parent's lift carries its
   children, so the motion compounds toward the fingertips the way a real
   arm wave does.

   The two sides need opposite signs: the left arm points left, so a positive
   rotation raises it, while the right arm needs a negative one. */

.avatar.is-armwave .av-headphones,
.avatar.is-armwave .av-notes,
.avatar.is-armwave .av-wavearm { opacity: 1; }

/* The long arms sit this one out — these are different arms entirely. */
.avatar.is-armwave .av-arm { opacity: 0; animation: none; }
.avatar.is-armwave .av-bubble { opacity: 0; }

.avatar.is-armwave .av-wseg--lu,
.avatar.is-armwave .av-wseg--lf,
.avatar.is-armwave .av-wseg--lh { animation: av-wave-left 1800ms ease-in-out infinite; }

.avatar.is-armwave .av-wseg--ru,
.avatar.is-armwave .av-wseg--rf,
.avatar.is-armwave .av-wseg--rh { animation: av-wave-right 1800ms ease-in-out infinite; }

/* The ladder: left hand first, across the body, out to the right hand. */
.avatar.is-armwave .av-wseg--lh { animation-delay: 0ms; }
.avatar.is-armwave .av-wseg--lf { animation-delay: 110ms; }
.avatar.is-armwave .av-wseg--lu { animation-delay: 220ms; }
.avatar.is-armwave .av-head     { animation: av-wave-head 1800ms ease-in-out 330ms infinite; }
.avatar.is-armwave .av-wseg--ru { animation-delay: 440ms; }
.avatar.is-armwave .av-wseg--rf { animation-delay: 550ms; }
.avatar.is-armwave .av-wseg--rh { animation-delay: 660ms; }

.avatar.is-armwave .av-float { animation: av-wave-bounce 1800ms ease-in-out infinite; }

.avatar.is-armwave .av-note { animation: av-note-rise 2.4s ease-out infinite; }
.av-notes > g:nth-child(2) .av-note { animation-delay: 0.6s; }
.av-notes > g:nth-child(3) .av-note { animation-delay: 1.2s; }
.av-notes > g:nth-child(4) .av-note { animation-delay: 1.8s; }

@keyframes av-wave-left {
  0%, 20%, 100% { transform: rotate(0deg); }
  10%           { transform: rotate(24deg); }
}
@keyframes av-wave-right {
  0%, 20%, 100% { transform: rotate(0deg); }
  10%           { transform: rotate(-24deg); }
}
@keyframes av-wave-head {
  0%, 20%, 100% { transform: translateY(0); }
  10%           { transform: translateY(-4px); }
}
@keyframes av-wave-bounce {
  0%, 100% { transform: translateY(0); }
  16%      { transform: translateY(-4px); }
  38%      { transform: translateY(0); }
}

/* ------------------------------ 8.2s: the wave settles ----------------- */

/* No phase matching needed any more: every segment's resting pose *is*
   rotate(0), so dropping the animations lets the transition on .av-wseg
   carry whatever is mid-lift gently back to level. The arms then fade out
   while they're already still. */

.avatar.is-winding .av-headphones { opacity: 1; }
.avatar.is-winding .av-bubble { opacity: 0; }

.avatar.is-winding .av-wavearm {
  opacity: 0;
  transition: opacity 900ms ease 400ms;
}
.avatar.is-winding .av-wseg { animation: none; }

.avatar.is-winding .av-float {
  animation: none;
  transform: none;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.avatar.is-winding .av-head { animation: none; }

.avatar.is-winding .av-notes {
  opacity: 0;
  transition: opacity 1200ms ease;
}
.avatar.is-winding .av-note { animation: av-note-rise 2.4s ease-out infinite; }

/* --------------------------------------------- 10s: "...what?" --------- */

.avatar.is-confused .av-headphones { opacity: 1; }  /* still wearing them */
.avatar.is-confused .av-arm { opacity: 0; animation: none; }

.avatar.is-confused .av-mouth--smile { display: none; }
.avatar.is-confused .av-mouth--confused { display: inline; }

.avatar.is-confused .av-bubble__text--hi { display: none; }
.avatar.is-confused .av-bubble__text--confused { display: inline; }

/* One brow up, one down — the whole expression lives in this asymmetry. */
.avatar.is-confused .av-brow--left  { transform: translateY(-5px) rotate(-11deg); }
.avatar.is-confused .av-brow--right { transform: translateY(2px) rotate(7deg); }

.avatar.is-confused .av-head { transform: rotate(4deg); }

/* ------------------------------------------------- 18s: the side-eye --- */

.avatar.is-sideeye .av-headphones { opacity: 1; }
.avatar.is-sideeye .av-arm { opacity: 0; animation: none; }

.avatar.is-sideeye .av-mouth--smile { display: none; }
.avatar.is-sideeye .av-mouth--flat { display: inline; }

.avatar.is-sideeye .av-bubble__text--hi { display: none; }
.avatar.is-sideeye .av-bubble__text--sideeye { display: inline; }

/* Eyes slide away from the viewer and narrow; the blink stops, because a
   held stare is the joke. */
.avatar.is-sideeye .av-eyes { transform: translateX(7px); }
.avatar.is-sideeye .av-eye { animation: none; transform: scaleY(0.55); }

.avatar.is-sideeye .av-brow--left  { transform: translateY(3px) rotate(7deg); }
.avatar.is-sideeye .av-brow--right { transform: translateY(-5px) rotate(-5deg); }

/* Head turns slightly away, in the opposite direction to the eyes. */
.avatar.is-sideeye .av-head { transform: rotate(-3deg); }

/* ==========================================================================
   Nav reactions.

   Driven by classes avatar.js sets, not by :hover — the choreography needs
   anticipation and timed beats, which a hover selector can't express.

     .nav-anticipate   ~190ms glance toward the link, before anything else
     .nav-<key>        the reaction itself — everything past this is CSS

   Everything that identifies a reaction is on screen the moment it
   activates. Beats are rare and only for real moments — a fumble, a
   notebook coming out. Props that merely arrive in sequence do it with
   animation-delay here rather than a beat in JS.

   There is no exit state: leaving a link drops the reaction at once and the
   props fade where they are. Nothing is packed away, so moving between
   links never waits on a put-it-down routine.
   ========================================================================== */

/* Anticipation: she looks where you're pointing before she reacts. */
.avatar.nav-anticipate .av-eyes {
  transform: translate(var(--glance-x, 0px), 2px);
  transition-duration: 150ms;
}
.avatar.nav-anticipate .av-head {
  transform: rotate(calc(var(--glance-x, 0px) * 0.35));
  transition-duration: 150ms;
}

/* ------------------------------------------- Experience: corporate mode -- */

.avatar.nav-experience .av-glasses { opacity: 1; transform: translateY(0); }

/* Posture snaps straight: the idle float stops and she holds the lift. */
.avatar.nav-experience .av-float {
  animation: none;
  transform: translateY(-5px);
  transition: transform 260ms cubic-bezier(0.34, 1.5, 0.64, 1);
}

.avatar.nav-experience .av-mouth--smile { display: none; }
.avatar.nav-experience .av-mouth--flat  { display: inline; }

/* Composed: brows level off, eyes forward, cheeks cool down. */
.avatar.nav-experience .av-brow--left  { transform: translateY(1px) rotate(2deg); }
.avatar.nav-experience .av-brow--right { transform: translateY(1px) rotate(-2deg); }
.avatar.nav-experience .av-eyes  { transform: translate(0, 0); }
.avatar.nav-experience .av-blush { transform: scale(0.75); }

/* One glint, landing just after the glasses do, and then staying put. */
.avatar.nav-experience .av-sparkles { opacity: 1; }
.avatar.nav-experience .av-spark {
  animation: av-spark-in 420ms cubic-bezier(0.34, 1.6, 0.64, 1) 260ms 1 both;
}

@keyframes av-spark-in {
  0%   { opacity: 0; transform: scale(0.2) rotate(-40deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ------------------------------------------------- Projects: heads down -- */

/* Just the laptop — no hands. A front view puts the keyboard behind the lid
   anyway, so any hand we drew had to sit somewhere it wouldn't really be. */
.avatar.nav-projects .av-laptop { opacity: 1; }

/* Focused: head and eyes down on the screen, brows level, mouth set. */
.avatar.nav-projects .av-head  { transform: translateY(4px) rotate(-1deg); }
.avatar.nav-projects .av-eyes  { transform: translate(0, 3.5px); }
.avatar.nav-projects .av-brow--left  { transform: translateY(3px) rotate(4deg); }
.avatar.nav-projects .av-brow--right { transform: translateY(3px) rotate(-4deg); }
.avatar.nav-projects .av-mouth--smile { display: none; }
.avatar.nav-projects .av-mouth--flat  { display: inline; }

/* ------------------------------------------- About: off the clock ------- */

/* Headphones and the music notes are the dance's, reused as-is. */
.avatar.nav-about .av-headphones,
.avatar.nav-about .av-notes,
.avatar.nav-about .av-cat { opacity: 1; }

.avatar.nav-about .av-cat { transform: translateY(0); }

/* Two notes, not the dance's four, and drifting half as fast. */
.avatar.nav-about .av-notes > g:nth-child(-n+2) { display: none; }
.avatar.nav-about .av-note { animation: av-note-rise 3200ms ease-out infinite; }

/* Eyes shut, head swaying along. */
.avatar.nav-about .av-eyes { display: none; }
.avatar.nav-about .av-eyes-shut { display: inline; }
.avatar.nav-about .av-head { animation: av-sway 2600ms ease-in-out infinite; }
.avatar.nav-about .av-blush { transform: scale(1.2); }

@keyframes av-sway {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

/* ------------------------------------------------ Journal: thinking on paper */

.avatar.nav-journal .av-notebook,
.avatar.nav-journal .av-pencil,
.avatar.nav-journal .av-hold { opacity: 1; }

.avatar.nav-journal .av-notebook {
  animation: av-nb-out 340ms cubic-bezier(0.34, 1.45, 0.64, 1) 1 both;
}

/* Pen taps the page, pauses, taps again — the rhythm of working something
   out rather than the blur of writing it down. */
.avatar.nav-journal .av-pencil { animation: av-tap 900ms ease-in-out infinite; }

/* Head and eyes down on the page, brows set in concentration. */
.avatar.nav-journal .av-head  { transform: rotate(-1deg) translateY(4px); }
.avatar.nav-journal .av-eyes  { transform: translate(0, 4px); }
.avatar.nav-journal .av-brow--left  { transform: translateY(2px) rotate(3deg); }
.avatar.nav-journal .av-brow--right { transform: translateY(2px) rotate(-3deg); }
.avatar.nav-journal .av-mouth--smile { display: none; }
.avatar.nav-journal .av-mouth--flat  { display: inline; }

@keyframes av-nb-out {
  0%   { opacity: 0; transform: translateY(22px) rotate(-14deg) scale(0.8); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
}
@keyframes av-tap {
  0%   { transform: rotate(0deg); }
  28%  { transform: rotate(-11deg); }
  44%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* ==========================================================================
   Idle easter eggs. Picked at random by avatar.js after a long quiet spell,
   never while a reaction or a dwell stage is running.
   ========================================================================== */

.avatar.egg-stretch .av-float { animation: av-stretch 1900ms ease-in-out 1; }
.avatar.egg-stretch .av-arm--left,
.avatar.egg-stretch .av-arm--right { animation: av-stretch-arms 1900ms ease-in-out 1; }
.avatar.egg-stretch .av-eye { animation: av-squeeze 1900ms ease-in-out 1; }

.avatar.egg-yawn .av-mouth--smile { display: none; }
.avatar.egg-yawn .av-mouth--oh {
  display: inline;
  animation: av-yawn 2100ms ease-in-out 1;
}
.avatar.egg-yawn .av-eye  { animation: av-squeeze 2100ms ease-in-out 1; }
.avatar.egg-yawn .av-head { animation: av-yawn-head 2100ms ease-in-out 1; }

.avatar.egg-look .av-eyes { animation: av-distracted 2300ms ease-in-out 1; }
.avatar.egg-look .av-head { animation: av-distracted-head 2300ms ease-in-out 1; }

@keyframes av-stretch {
  0%, 100% { transform: translateY(0) scaleY(1); }
  35%      { transform: translateY(-6px) scaleY(1.035); }
  60%      { transform: translateY(-4px) scaleY(1.02); }
}
@keyframes av-stretch-arms {
  0%, 100% { opacity: 0; transform: rotate(34deg); }
  25%      { opacity: 1; transform: rotate(-16deg); }
  60%      { opacity: 1; transform: rotate(-20deg); }
  85%      { opacity: 0; transform: rotate(20deg); }
}
@keyframes av-squeeze {
  0%, 100%  { transform: scaleY(1); }
  30%, 62%  { transform: scaleY(0.22); }
}
@keyframes av-yawn {
  0%, 100% { transform: scale(0.2); opacity: 0; }
  28%, 68% { transform: scale(1.25); opacity: 1; }
}
@keyframes av-yawn-head {
  0%, 100% { transform: rotate(0deg); }
  40%      { transform: rotate(-6deg) translateY(-2px); }
}
@keyframes av-distracted {
  0%, 100% { transform: translate(0, 0); }
  20%, 70% { transform: translate(6px, -2px); }
}
@keyframes av-distracted-head {
  0%, 100% { transform: rotate(0deg); }
  25%, 68% { transform: rotate(9deg); }
}

/* ------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  .av-float,
  .av-eye { animation: none; }

  .av-head,
  .av-arm,
  .av-brow,
  .av-bubble { transition: none; }

  .avatar:hover .av-arm,
  .avatar.is-greeting .av-arm { animation: none; transform: rotate(12deg); }

  /* The greeting still happens — it just arrives without movement. */
  .avatar:hover .av-head,
  .avatar.is-greeting .av-head { transform: none; }

  /* The ladder still runs: the dance and the expressions are content, not
     decoration. What stops is everything that moves — no ripple, no
     bouncing, no drifting notes. The arms are simply held out level and the
     notes held visible instead of rising. */
  .avatar.is-armwave .av-float,
  .avatar.is-armwave .av-head,
  .avatar.is-armwave .av-wseg,
  .avatar.is-armwave .av-note { animation: none; }

  .avatar.is-armwave .av-note { opacity: 1; }
  .avatar.is-armwave .av-wavearm { opacity: 1; }

  .avatar.is-winding .av-note { animation: none; }
  .avatar.is-winding .av-notes,
  .avatar.is-winding .av-wavearm,
  .av-wseg { transition: none; }

  /* Nav reactions still happen — the expressions and props are the point —
     but they arrive rather than perform. Everything that loops, swings,
     tumbles or drifts is switched off; each reaction holds its pose. */
  .av-glasses,
  .av-pencil,
  .av-notebook,
  .av-laptop,
  .av-hold,
  .av-sparkles,
  .av-blush,
  .av-eyes { transition: none; }

  .av-glasses { transform: none; }

  /* Blanket kill-switch: while any reaction, beat or easter egg is on, nothing
     inside her animates. Enumerating the elements here was too easy to get
     wrong — an orbit once kept running because the selector missed one
     state class. The explicit poses below then place everything the
     animations would have positioned. */
  .avatar[class*="nav-"] *,
  .avatar[class*="egg-"] * { animation: none !important; }

  .av-cat { transition: none; }
  .avatar.nav-about .av-note { opacity: 1; }

  /* Props that an animation would otherwise have brought in. */
  .avatar.nav-experience .av-spark { opacity: 1; transform: none; }
  .avatar.nav-journal .av-notebook { opacity: 1; transform: none; }

  .avatar.is-sideeye .av-eyes { transition: none; }
}
