.context-card-hover {
    transition: transform 0.3s ease;
}

.context-card-hover:hover {
    transform: scale(1.05);
}

.context-border-w-4 {
    border-left-width: 4px !important;
}

.pixel-retro-timeline__pixel-bg {
    background-image: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        );
}

.pixel-retro-timeline__pixel-card {
    box-shadow:
        4px 0 0 0 currentColor,
        -4px 0 0 0 currentColor,
        0 4px 0 0 currentColor,
        0 -4px 0 0 currentColor;
    outline: 2px solid;
    outline-offset: 4px;
}

.pixel-retro-timeline__pixel-badge {
    clip-path: polygon(
        0 4px, 4px 4px, 4px 0,
        calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
        100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
        4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px)
    );
}

@keyframes pixel-retro-timeline__scan {
    from { width: 0; }
    to { width: 100%; }
}

.pixel-retro-timeline__progress-bar {
    animation: pixel-retro-timeline__scan 1s steps(20) forwards;
}

.pixel-retro-timeline__mono-font {
    font-family: monospace, 'Courier New';
}

.pixel-retro-timeline__grid-width {
    max-width: 48rem;
}

.pixel-retro-timeline__badge-size {
    width: 4rem;
    height: 4rem;
}

.pixel-retro-timeline__progress-height {
    height: 0.5rem;
}

.pixel-retro-timeline__progress-fill {
    width: var(--pixel-retro-timeline__progress, 0%);
}

.pixel-retro-timeline__spacer {
    width: 0.5rem;
    height: 1rem;
}

.pixel-retro-timeline__min-shrink {
  min-width: 0;
}

.card-photo-ribbon__cover {
    height: 16rem;
}

.card-photo-ribbon__beacon {
    width: 1.5rem;
    height: 1.5rem;
}

.card-photo-ribbon__min-shrink {
  min-width: 0;
}

/* awards — animated SVG mesh card backgrounds */
.awards-mesh__canvas {
  isolation: isolate;
}

/* BS-only canvas gradient (TW uses @sem gradient layer) */
.awards-mesh__canvas-bg {
  background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--bs-primary) 55%, black),
    color-mix(in srgb, var(--bs-primary) 42%, black),
    var(--bs-primary)
  );
}

.dark .awards-mesh__canvas-bg,
[data-bs-theme="dark"] .awards-mesh__canvas-bg {
  background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--bs-primary) 10%, black),
    color-mix(in srgb, var(--bs-primary) 22%, black),
    color-mix(in srgb, var(--bs-primary) 38%, black)
  );
}

.awards-mesh__svg {
  display: block;
}

.awards-mesh__orb {
  transform-origin: center;
  transform-box: fill-box;
}

.awards-mesh__orb--a {
  animation: awards-mesh-orb-drift-a 9s ease-in-out infinite;
}

.awards-mesh__orb--b {
  animation: awards-mesh-orb-drift-b 11s ease-in-out infinite;
  animation-delay: 1.5s;
}

.awards-mesh__orb--c {
  animation: awards-mesh-orb-pulse 6s ease-in-out infinite;
  animation-delay: 0.8s;
}

.awards-mesh__wave {
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
}

.awards-mesh__wave--a {
  animation: awards-mesh-wave-slide 14s linear infinite;
}

.awards-mesh__wave--b {
  animation: awards-mesh-wave-slide 18s linear infinite reverse;
  animation-delay: 2s;
}

.awards-mesh__svg--1 .awards-mesh__orb--a {
  animation-delay: 0.5s;
}

.awards-mesh__svg--1 .awards-mesh__wave--a {
  animation-duration: 16s;
}

.awards-mesh__svg--2 .awards-mesh__orb--b {
  animation-delay: 2.5s;
}

.awards-mesh__svg--2 .awards-mesh__wave--b {
  animation-duration: 12s;
}

.awards-mesh__svg--3 .awards-mesh__orb--c {
  animation-delay: 1.2s;
}

@keyframes awards-mesh-orb-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -10px) scale(1.08);
  }
}

@keyframes awards-mesh-orb-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-14px, 8px) scale(1.06);
  }
}

@keyframes awards-mesh-orb-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}

@keyframes awards-mesh-wave-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-40px);
  }
}

