/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Overlay: fade in on card hover */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 1;
}

.gallery-animated-dots__dot--pos-1 {
    top: 5rem;
    left: 4rem;
    width: 2rem;
    height: 2rem;
}

.gallery-animated-dots__dot--pos-2 {
    top: 8rem;
    right: 5rem;
    width: 1.5rem;
    height: 1.5rem;
}

.gallery-animated-dots__dot--pos-3 {
    bottom: 6rem;
    left: 5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.gallery-animated-dots__dot--pos-4 {
    bottom: 8rem;
    right: 4rem;
    width: 1rem;
    height: 1rem;
}

.gallery-animated-dots__dot--pos-5 {
    top: 25%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
}

.gallery-animated-dots__dot--pos-6 {
    top: 33.333%;
    right: 33.333%;
    width: 0.75rem;
    height: 0.75rem;
}

.gallery-animated-dots__dot--pos-7 {
    bottom: 25%;
    left: 33.333%;
    width: 0.5rem;
    height: 0.5rem;
}

@keyframes gallery-animated-dots-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.gallery-animated-dots__dot--bounce {
    animation: gallery-animated-dots-bounce-kf 1s infinite;
}

@keyframes gallery-animated-dots-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.gallery-animated-dots__dot--pulse {
    animation: gallery-animated-dots-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes gallery-animated-dots-ping-kf {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.gallery-animated-dots__dot--ping {
    animation: gallery-animated-dots-ping-kf 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.gallery-animated-dots__item--hover {
    transition: transform 0.3s ease;
}

.gallery-animated-dots__item--hover:hover {
    transform: scale(1.05);
}

/* quote v24 — orbit layout: full-bleed photo, grain, SVG path draw-on-scroll */

.quote-orbit__frame {
    margin: 0;
    height: 100%;
}
.quote-orbit__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.quote-orbit__grain {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    pointer-events: none;
}

.quote-orbit__path {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    transition: stroke-dashoffset 1200ms ease;
}
.quote-orbit__path.is-drawn {
    stroke-dashoffset: 0;
}

.quote-orbit__grid {
    min-height: 12rem;
}
.quote-orbit__hub {
    width: 4.5rem;
    height: 4.5rem;
}
.quote-orbit__quote {
    font-variant: small-caps;
}

@media (min-width: 1200px) {
    .quote-orbit__col:nth-child(1) { transform: translateY(-0.5rem); }
    .quote-orbit__col:nth-child(2) { transform: translateY(0.75rem); }
    .quote-orbit__col:nth-child(3) { transform: translateY(-0.25rem); }
    .quote-orbit__col:nth-child(4) { transform: translateY(0.5rem); }
    .quote-orbit__col:nth-child(5) { transform: translateY(-0.75rem); }
    .quote-orbit__col:nth-child(6) { transform: translateY(0.25rem); }
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-orbit-root [role="listitem"]:hover,
    .quote-orbit-root article:hover,
    .quote-orbit-root [class*="quote-orbit__card"]:hover,
    .quote-orbit-root .quote-orbit__book:hover,
    .quote-orbit-root .quote-orbit__step:hover,
    .quote-orbit-root .quote-orbit__index-card:hover,
    .quote-orbit-root .quote-orbit__pill:hover,
    .quote-orbit-root .quote-orbit__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-orbit-root [role="listitem"],
.quote-orbit-root article,
.quote-orbit-root [class*="quote-orbit__card"],
.quote-orbit-root .quote-orbit__book,
.quote-orbit-root .quote-orbit__step,
.quote-orbit-root .quote-orbit__index-card,
.quote-orbit-root .quote-orbit__pill {
    transition: transform 200ms ease;
}

.quote-orbit-root a:focus-visible,
.quote-orbit-root button:focus-visible,
.quote-orbit-root [tabindex="0"]:focus-visible,
.quote-orbit-root input:focus-visible,
.quote-orbit-root summary:focus-visible,
.quote-orbit-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-orbit-root button:hover,
    .quote-orbit-root a:hover,
    .quote-orbit-root summary:hover {
        opacity: 0.92;
    }
}

