/* Shared Skills sticker motion. Screen CSS supplies placement and paper color. */
:root {
  --sticker-ease: cubic-bezier(.22,1,.36,1);
  --sticker-enter-ease: linear(0, .035 2.1%, .281 6.7%, .723 12.9%, 1.017, 1.149 24.3%, 1.163 27%, 1.129 32.8%, 1.017 43.1%, .974 53.8%, 1.004 83.8%, 1);
  --sticker-enter-time: 720ms;
  --sticker-enter-delay: 0ms;
  --sticker-enter-from: 0 10px;
  --sticker-enter-angle: -5deg;
  --sticker-enter-scale: .7;
  --sticker-draw-time: 900ms;
  --sticker-draw-step: 300ms;
  --sticker-tip-time: 300ms;
}
@supports not (animation-timing-function: linear(0, 1)) {
  :root { --sticker-enter-ease: cubic-bezier(.34,1.56,.64,1); }
}
[data-sticker="tag"] { --sticker-enter-time: 1040ms; --sticker-enter-from: 0 0; --sticker-enter-scale: 0; }
[data-sticker="star"] { --sticker-enter-time: 1040ms; --sticker-enter-delay: 180ms; --sticker-enter-from: 0 0; --sticker-enter-scale: 0; --sticker-enter-angle: -12deg; }
[data-sticker="cursor"] { --sticker-enter-time: 600ms; --sticker-enter-delay: 170ms; --sticker-enter-from: -40px 40px; --sticker-enter-angle: 0deg; --sticker-enter-scale: 1; --sticker-enter-ease: var(--sticker-ease); }
[data-sticker="arrow"] { --sticker-enter-delay: 130ms; --sticker-draw-time: 1200ms; --sticker-enter-ease: var(--sticker-ease); }
[data-sticker="leaf"] { --sticker-enter-delay: 120ms; }
[data-sticker="pencil"] { --sticker-enter-delay: 120ms; --sticker-enter-from: 0 -25px; --sticker-enter-angle: 18deg; }
[data-sticker="smile"] { --sticker-enter-delay: 90ms; --sticker-enter-scale: .25; }
/* Chrome can focus decorative SVGs with click listeners. Keep their native
   focus outline off without changing keyboard focus cues on real controls. */
[data-sticker][aria-hidden="true"]:focus { outline: none; }
.about-sticker { --sticker-paper-color: #dff1fc; --sticker-fold-color: #1f6c91; }
.projects-sticker { --sticker-paper-color: #e2eafa; --sticker-fold-color: #537dc0; }
.contact-label { --sticker-paper-color: #eee6fb; --sticker-fold-color: #9a7acb; --sticker-badge-color: #8a68ca; }
.sticker-arrow-sketch { width: 40px; height: 27px; vertical-align: middle; }
.handnote .sticker-arrow-sketch { position: absolute; left: 0; top: 22px; width: 45px; height: 34px; }
.handnote[data-sticker]::before, .handnote[data-sticker]::after { content: none; }
.about-notes-label [data-sticker="arrow"] { display: inline-flex; align-items: center; gap: 4px; }
.about-notes-label [data-sticker="arrow"] .skills-note-copy,
.about-notes-label [data-sticker="arrow"] .skills-note-line { font: inherit; margin: 0; transform: none; }
.about-notes-label .sticker-arrow-sketch { width: 25px; height: 18px; }
[data-sticker="pencil"] { overflow: visible; }
.sticker-pencil-body, .sticker-pencil-ink { transform-origin: 0 0; }
.sticker-pencil-hook { opacity: 0; }
.sticker-pencil-hitbox { pointer-events: none; }
.about-pencil[data-sticker] { width: 112px; right: -45px; }
@media (max-width: 1023px) { .about-pencil[data-sticker] { width: 75px; right: -12px; } }
@media (max-width: 767px) { .about-pencil[data-sticker] { width: 54px; right: -2px; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-sticker="pencil"][data-sticker-phase="live"] .sticker-pencil-hitbox { pointer-events: all; }
}
.about-signature-face svg { width: .8em; height: .8em; vertical-align: -.04em; }
.sticker-smile-eye { transform-box: fill-box; transform-origin: center; }
.sticker-leaf-fill { opacity: 0; }
.sticker-pointer-ripple { position: absolute; inset: 0; border: 1px solid #a5c8ee; border-radius: 50%; opacity: 0; }
.sticker-pointer-drift { position: absolute; inset: 0; display: block; }
.hero-character-ready [data-sticker="star"] :is(.skills-star-spin, .skills-star-impact, .skills-star-pulse) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.sticker-motion-scope [data-sticker="star"].sticker-star:hover { scale: 1; filter: none; }

@media screen and (prefers-reduced-motion: no-preference) {
  [data-sticker-phase="waiting"] { opacity: 0; pointer-events: none; }
  [data-sticker="star"].is-decor-visible { animation: skills-star-orbit var(--star-orbit-period) linear infinite; }
  [data-sticker="star"] .sticker-star-label { animation: skills-star-spin var(--spin-cycle) linear infinite reverse; }
  [data-sticker="smile"][data-sticker-in-view][data-sticker-phase="live"] .sticker-smile-eye {
    animation: skills-star-blink var(--star-blink-period) ease-in-out infinite;
  }
  [data-sticker-pointer]:not([data-sticker-phase="live"]) :is(.skills-cursor-body, .skills-cursor-ring, .sticker-pointer-drift) { animation-play-state: paused; }
  [data-sticker-pointer][data-sticker-phase="live"] .sticker-pointer-ripple { animation-play-state: running; }
  html[data-stickers-paused] :is([data-sticker], [data-sticker] *) { animation-play-state: paused !important; }
}

/* =====================================================================
   SKILL STICKER — post-entrance paper swing and badge.
   ===================================================================== */
:root {
  --sticker-energy: 2;
  --sticker-swing-period: 3.6s;
  --sticker-ripple-period: 4s;
}

[data-sticker="tag"].is-sticker-mounted {
  transform: none;
  translate: 0 0;
  display: inline-block;
  padding: 0;
  background: none;
  box-shadow: none;
  user-select: none;
  white-space: nowrap;
}
[data-sticker="tag"].is-sticker-mounted::after { content: none; }
[data-sticker="tag"].is-sticker-mounted::before { content: none; }

[data-sticker="tag"].is-sticker-mounted > .skills-sticker-swing {
  display: block;
  position: static;
  width: auto;
  height: auto;
  background: none;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  box-shadow: none;
  rotate: -15deg;
  translate: var(--sticker-anchor-x, 0px) var(--sticker-anchor-y, 0px);
  transform-origin: var(--sticker-pivot-x, 80%) var(--sticker-pivot-y, 10%);
}
.skills-sticker-paper {
  position: relative;
  display: block;
  padding: 13px 20px;
  border-radius: 6px 15px 6px 6px;
  background: var(--sticker-paper-color, #deeffa);
  box-shadow: 1px 6px 10px #243b6012;
}
.skills-sticker-paper::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  border-top: 12px solid var(--sticker-fold-color, #4198c0);
  border-left: 12px solid transparent;
  border-top-right-radius: 9px;
  pointer-events: none;
}
[data-sticker="tag"].is-sticker-mounted .skills-sticker-clip { position: absolute; right: 17px; top: -15px; width: 8px; height: 24px; border: 2px solid #5c92b5; border-radius: 6px; transform: none; rotate: 25deg; }

.skills-sticker-slot {
  display: inline-grid;
  grid-template-areas: "label";
  overflow: hidden;
  vertical-align: top;
}
.skills-sticker-slot > span { grid-area: label; }
.skills-sticker-slot > :last-child { translate: 0 100%; }

.skills-sticker-badge {
  position: absolute;
  left: -19px;
  top: -13px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  background: var(--sticker-badge-color, #269dd6);
  font-size: 25px;
  box-shadow: 0 3px 0 #173c4d29;
}
.skills-sticker-spin, .skills-sticker-flip { display: grid; place-items: center; }
.skills-sticker-ripple {
  position: absolute;
  inset: -1.5px;
  border: 1.5px solid var(--sticker-badge-color, #269dd6);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.skills-sticker-spark {
  position: absolute;
  top: calc(50% - 2px);
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sticker-badge-color, #269dd6);
  pointer-events: none;
}
[data-sticker="tag"].is-sticker-mounted:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media screen and (prefers-reduced-motion: no-preference) {
  .skills-sticker-slot > span { transition: translate 350ms cubic-bezier(.22,1,.36,1); }
  [data-sticker="tag"].is-sticker-running:focus-visible .skills-sticker-slot > :first-child { translate: 0 -100%; }
  [data-sticker="tag"].is-sticker-running:focus-visible .skills-sticker-slot > :last-child { translate: 0 0; }
  .skills-sticker-ripple { animation: skills-sticker-ripple var(--sticker-ripple-period) linear infinite paused; }
  .is-sticker-running .skills-sticker-ripple { animation-play-state: running; }
  @media (hover: hover) {
    [data-sticker="tag"].is-sticker-running:hover .skills-sticker-slot > :first-child { translate: 0 -100%; }
    [data-sticker="tag"].is-sticker-running:hover .skills-sticker-slot > :last-child { translate: 0 0; }
  }
  @media (min-width: 768px) {
    [data-sticker="tag"].is-sticker-mounted { cursor: grab; touch-action: none; }
    [data-sticker="tag"].is-sticker-dragging { cursor: grabbing; }
  }
}
@media (max-width: 1023px) { .skills-sticker-paper { padding: 10px 17px; } }
@media (max-width: 767px) {
  .skills-sticker-paper { padding: 10px 16px; }
  .skills-sticker-badge { width: 29px; height: 29px; font-size: 22px; left: -17px; top: -10px; }
}
@media print {
  [data-sticker="tag"].is-sticker-mounted { transform: none !important; translate: none !important; }
  [data-sticker="tag"].is-sticker-mounted > .skills-sticker-swing { rotate: -15deg !important; }
}
@keyframes skills-sticker-ripple {
  0% { scale: 1; opacity: .5; }
  22.5%, 100% { scale: 1.9; opacity: 0; }
}



/* =====================================================================
   SKILLS DECOR — entrance delays use --d. Loop periods are grouped here.
   Blink and click beats use percentages of their default periods.
   Adjust those percentages too if the internal beats must retain their ms.
   ===================================================================== */
@property --arrow-travel { syntax: "<length>"; inherits: true; initial-value: 6px; }
@property --leaf-hover-gain { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  --decor-energy: 1;
  --arrow-drift-period: 1.6s;
  --note-sway-period: 3.2s;
  --note-wave-period: 600ms;
  --note-glyph-gap: 30ms;
  --arrow-redraw-time: 700ms;
  --star-spin-period: 12s;
  --star-hover-period: 3s;
  --star-orbit-period: 6s;
  --star-pulse-period: 1.3s;
  --star-blink-period: 3s;
  --star-burst-period: 900ms;
  --star-particle-time: 600ms;
  --cursor-x-period: 6s;
  --cursor-y-period: 3s;
  --cursor-wander-period: 5.3s;
  --cursor-click-period: 2.6s;
  --cursor-spark-period: .9s;
  --cursor-spark-gap: 70ms;
  --leaf-period: 3.4s;
  --leaf-small-period: 2.7s;
  --leaf-phase: -1.1s;
  --leaf-breath-period: 4.1s;
  --leaf-wind-time: 900ms;
  --leaf-wind-gap: 80ms;
  --director-min-gap: 6s;
  --director-max-gap: 10s;
  --comet-hover-speed: 1.6;
  --arrow-comet-period: 2s;
  --arrow-comet-tip-time: 250ms;
  --arrow-comet-rest: 200ms;
  --leaf-comet-period: 3.2s;
  --leaf-small-comet-period: 2.6s;
}

/* One color contract for every hand-drawn line. New decorations only set
   --line-color; currentColor follows the source SVG by default. The shared JS
   derives --dot-auto-* for the background/line tone; --dot-color can override
   the ink locally without changing the line, geometry or animation tracks. */
:is([data-sticker="arrow"], [data-sticker="leaf"]) {
  --line-color: currentColor;
  --dot-color: var(--dot-auto-color, currentColor);
  --dot-halo-color: var(--dot-auto-halo, transparent);
  --dot-outline-color: var(--dot-auto-outline, transparent);
  --dot-outline-width: var(--dot-auto-outline-width, 0px);
}
/* Contrast overrides use the same shared dot rules on every screen. */
.projects-heading-note { --dot-color: #f2b705; }
/* Keep the flight dot on the cream-yellow line's hue, without an amber/orange shift. */
.contact-middle { --dot-color: hsl(from var(--line-color) h 85% 55%); }
.skills-doodle-loop { --dot-color: #7c991c; }
.experience-loop { --dot-color: #819a2e; }

.skills-note-line { display: inline-block; }
.skills-note-copy { display: block; }
.skills-note-copy .skills-note-line { white-space: nowrap; }
.skills-cursor-motion, .skills-cursor-motion > svg { display: block; width: 100%; height: 100%; overflow: visible; }

.skills-star-spin, .skills-star-pulse {
  transform-box: view-box;
  transform-origin: center;
}

.skills-star-eyes {
  transform-box: fill-box;
  transform-origin: center;
}

.skills-cursor-body, .skills-cursor-spark {
  transform-box: view-box;
  transform-origin: 22.5% 10%; /* SVG tip at (18, 9). */
}

.skills-leaf {
  transform-box: view-box;
  transform-origin: 15% 24%;
}

.skills-leaf-small {
  --leaf-offset: 300ms;
  transform-origin: 38.3333% 53.3333%;
}

@media screen and (prefers-reduced-motion: no-preference) {
  .sticker-decor { --decor-play-state: paused; }
  .sticker-decor.is-decor-visible { --decor-play-state: running; }

  .sticker-motion-scope .skills-note-copy {
    transform-origin: left bottom;
    animation: skills-note-sway var(--note-sway-period) ease-in-out infinite alternate;
  }
  .skills-note-glyph { display: inline-block; white-space: pre; }
  .sticker-motion-scope [data-sticker="arrow"] {
    --arrow-travel: calc(6px * var(--decor-energy));
    transition: --arrow-travel 240ms ease;
  }
  .sticker-motion-scope [data-sticker="arrow"].is-decor-hovered {
    --arrow-travel: calc(10px * var(--decor-energy));
  }
  .sticker-motion-scope :is([data-sticker="arrow"] svg, svg[data-sticker="arrow"]) {
    overflow: visible;
    animation: skills-arrow-drift var(--arrow-drift-period) ease-in-out infinite alternate;
  }
  .skills-comet {
    color: var(--line-color);
    fill: var(--dot-color);
    stroke: none;
    pointer-events: none;
  }
  .sticker-line-dot-head {
    stroke: var(--dot-outline-color);
    stroke-width: var(--dot-outline-width);
    paint-order: stroke fill;
  }
  .sticker-line-dot-halo {
    fill: var(--dot-halo-color);
    opacity: 1; /* Alpha belongs to the halo color; the motion opacity stays on its group. */
  }
  .sticker-motion-scope .skills-arrow-tip {
    transform-box: view-box;
    transform-origin: center;
    transform-box: fill-box;
  }

  .sticker-motion-scope [data-sticker="star"] {
    --spin-cycle: var(--star-spin-period);
  }
  .sticker-motion-scope [data-sticker="star"].is-decor-visible { pointer-events: auto; }
  .sticker-motion-scope [data-sticker="star"].is-decor-hovered {
    --spin-cycle: var(--star-hover-period);
  }
  .sticker-motion-scope .skills-star-spin {
    animation: skills-star-spin var(--spin-cycle) linear infinite;
  }
  .sticker-motion-scope .skills-star-pulse {
    animation: skills-star-pulse var(--star-pulse-period) ease-in-out infinite;
  }
  .sticker-motion-scope .skills-star-eyes {
    animation: skills-star-blink var(--star-blink-period) ease-in-out infinite;
  }
  .skills-star-eye-lift { transition: transform 240ms ease; }
  .is-decor-hovered .skills-star-eye-lift { transform: scale(1.35); }
  .skills-star-eye-lift, .skills-star-eye-cue {
    transform-box: fill-box;
    transform-origin: center;
  }
  .skills-star-impact { transform-box: view-box; transform-origin: center; }
  .skills-star-particle {
    position: absolute;
    top: calc(50% - 2px);
    left: calc(50% - 2px);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f4a38c;
    border: 1px solid #4c594a;
    pointer-events: none;
  }

  .sticker-motion-scope .skills-cursor-motion {
    animation: skills-cursor-x var(--cursor-x-period) ease-in-out infinite;
  }
  .sticker-motion-scope .skills-cursor-track {
    animation: skills-cursor-y var(--cursor-y-period) ease-in-out infinite;
  }
  .sticker-motion-scope [data-sticker="cursor"]:not([data-sticker-pointer]) {
    transform: rotate(6deg) translate(var(--cursor-x, 0px), var(--cursor-y, 0px));
  }
  .sticker-motion-scope [data-sticker="cursor"]:not([data-sticker-pointer]).is-decor-touch {
    animation: skills-cursor-wander var(--cursor-wander-period) ease-in-out infinite;
  }
  .sticker-motion-scope .skills-cursor-body {
    animation: skills-cursor-click var(--cursor-click-period) var(--sticker-ease) infinite;
  }
  .sticker-motion-scope .skills-cursor-spark,
  .skills-spark-burst {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.3);
    stroke-width: 3.6923077; /* 3 × 1.6 ÷ 1.3 (SVG scaling adds the last factor). */
  }
  .sticker-motion-scope .skills-cursor-spark {
    animation: skills-spark-idle var(--cursor-spark-period) ease-in-out infinite;
    animation-delay: var(--spark-phase, 0ms);
  }
  .skills-spark-burst {
    animation: skills-spark-burst var(--cursor-click-period) ease-out infinite backwards;
    animation-delay: var(--spark-wait, 0ms);
  }
  .skills-cursor-ring {
    transform-box: view-box;
    transform-origin: 22.5% 10%;
    animation: skills-cursor-ring var(--cursor-click-period) ease-out infinite;
  }

  .sticker-motion-scope [data-sticker="leaf"] {
    --leaf-hover-gain: 1;
    transition: --leaf-hover-gain 300ms ease;
  }
  .sticker-motion-scope [data-sticker="leaf"].is-decor-hovered { --leaf-hover-gain: 1.5; }
  .sticker-motion-scope :is([data-sticker="leaf"] > svg, svg[data-sticker="leaf"]) {
    transform-origin: center;
    animation: skills-leaf-breath var(--leaf-breath-period) ease-in-out infinite;
  }
  .skills-leaf-motion {
    --leaf-angle: 6deg;
    --leaf-cycle: var(--leaf-period);
    transform-origin: 15% 24%;
    transform-box: view-box;
    animation: skills-leaf-sway var(--leaf-cycle) ease-in-out infinite alternate;
  }
  .skills-leaf-motion + .skills-leaf-motion {
    --leaf-angle: 8deg;
    --leaf-cycle: var(--leaf-small-period);
    transform-origin: 38.3333% 53.3333%;
    animation-delay: var(--leaf-phase);
  }
  .skills-leaf-wind { transform-origin: inherit; transform-box: view-box; }
  .sticker-leaf-fill { opacity: 0; transition: opacity 300ms ease; }
  .is-decor-hovered .sticker-leaf-fill { opacity: .35; }

  /* Only the post-intro tracks share the viewport clock. */
  .sticker-motion-scope .sticker-decor,
  .sticker-motion-scope .sticker-decor * {
    animation-play-state: var(--decor-play-state);
  }
  .sticker-motion-scope .is-decor-controlled .skills-cursor-motion,
  .sticker-motion-scope .is-decor-controlled .skills-cursor-track {
    animation-play-state: paused;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) and (prefers-reduced-motion: no-preference) {
  /* Compensate for the existing .6 opacity on this leaf decoration. */
  [data-sticker="leaf"] .skills-comet { fill: color-mix(in srgb, var(--dot-color) 45%, black); }
}

@media screen and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sticker-motion-scope .is-decor-visible:is([data-sticker="arrow"], [data-sticker="star"], [data-sticker="leaf"]) {
    pointer-events: auto;
  }
  .sticker-motion-scope .sticker-decor > svg { pointer-events: none; }
  .skills-cursor-hitbox {
    position: absolute;
    z-index: -1;
    width: 120px;
    height: 120px;
    left: 61.5px;
    bottom: 76px;
    transform: translate(-50%, 50%);
    pointer-events: none;
  }
  .sticker-motion-scope .is-decor-visible + .skills-cursor-hitbox { pointer-events: auto; }
}

@media print, (prefers-reduced-motion: reduce) {
  .skills-comet, .skills-spark-burst, .skills-cursor-ring,
  .skills-star-particle, .skills-cursor-hitbox { display: none; }
}
.skills-cursor-hitbox { position: absolute; pointer-events: none; }


@keyframes skills-arrow-drift {
  from { transform: translate(calc(.707 * var(--arrow-travel)), calc(-.707 * var(--arrow-travel))); }
  to { transform: translate(calc(-.707 * var(--arrow-travel)), calc(.707 * var(--arrow-travel))); }
}
@keyframes skills-note-sway {
  from { transform: rotate(calc(-1.5deg * var(--decor-energy))); }
  to { transform: rotate(calc(1.5deg * var(--decor-energy))); }
}

@keyframes skills-star-orbit {
  0%, 100% { translate: calc(8px * var(--decor-energy)) 0; }
  12.5% { translate: calc(5.657px * var(--decor-energy)) calc(3.536px * var(--decor-energy)); }
  25% { translate: 0 calc(5px * var(--decor-energy)); }
  37.5% { translate: calc(-5.657px * var(--decor-energy)) calc(3.536px * var(--decor-energy)); }
  50% { translate: calc(-8px * var(--decor-energy)) 0; }
  62.5% { translate: calc(-5.657px * var(--decor-energy)) calc(-3.536px * var(--decor-energy)); }
  75% { translate: 0 calc(-5px * var(--decor-energy)); }
  87.5% { translate: calc(5.657px * var(--decor-energy)) calc(-3.536px * var(--decor-energy)); }
}
@keyframes skills-star-spin { to { transform: rotate(360deg); } }
@keyframes skills-star-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(calc(1 + .1 * var(--decor-energy))); }
}
@keyframes skills-star-blink {
  0%, 94.666667%, 100% { transform: scaleY(1); }
  97.333333% { transform: scaleY(.1); }
}

@keyframes skills-cursor-x {
  0%, 50%, 100% { transform: translateX(0); animation-timing-function: ease-out; }
  25% { transform: translateX(calc(14px * var(--decor-energy))); animation-timing-function: ease-in; }
  75% { transform: translateX(calc(-14px * var(--decor-energy))); animation-timing-function: ease-in; }
}
@keyframes skills-cursor-y {
  0%, 50%, 100% { transform: translateY(0); animation-timing-function: ease-out; }
  25% { transform: translateY(calc(8px * var(--decor-energy))); animation-timing-function: ease-in; }
  75% { transform: translateY(calc(-8px * var(--decor-energy))); animation-timing-function: ease-in; }
}
@keyframes skills-cursor-wander {
  0%, 100% { transform: rotate(6deg); }
  33% { transform: rotate(6deg) translate(calc(var(--wander-x) * var(--decor-energy)), calc(var(--wander-y) * var(--decor-energy))); }
  66% { transform: rotate(6deg) translate(calc(var(--wander-u) * var(--decor-energy)), calc(var(--wander-v) * var(--decor-energy))); }
}

/* Timing below is relative to --cursor-click-period (default 2600ms). */
@keyframes skills-cursor-click {
  0%, 70%, 82.923077%, 100% { scale: 1; }
  73.846154%, 76% { scale: calc(1 - .15 * var(--decor-energy)); }
  78.307692% { scale: calc(1 + .08 * var(--decor-energy)); }
}
@keyframes skills-spark-idle {
  0%, 100% { opacity: .35; }
  50% { opacity: .7; }
}
@keyframes skills-spark-burst {
  0%, 70% { clip-path: inset(0 100% 0 0); opacity: 0; }
  77.692308% { clip-path: inset(0); opacity: 1; }
  85.384615%, 100% { clip-path: inset(0); opacity: 0; }
}
@keyframes skills-cursor-ring {
  0%, 70% { transform: scale(0); opacity: .6; }
  89.230769%, 100% { transform: scale(2.2); opacity: 0; }
}

@keyframes skills-leaf-sway {
  from { transform: rotate(calc(-1 * var(--leaf-angle) * var(--decor-energy) * var(--leaf-hover-gain))); }
  to { transform: rotate(calc(var(--leaf-angle) * var(--decor-energy) * var(--leaf-hover-gain))); }
}
@keyframes skills-leaf-breath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(calc(1 + .04 * var(--decor-energy))); }
}

