.logo {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    border-radius: 0.5rem;
    padding: 0.375rem;
    flex-shrink: 0;

    /* soft, clean background */
    /* background-color: rgb(249 250 251); */
    /* gray-50 */
}

.logo--sm {
    transform: scale(1.1);
}


.logo--med {
    transform: scale(1.25);
}

.logo--large {
    transform: scale(1.45);
}

.logo--blueprint {
    transform: scale(0.85);
}

.logo--sm-down {
    transform: scale(0.95);
}

.dark .logo {
    /* background-color: rgb(17, 17, 17); */
    /* neutral-900 */
}

/* Fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(5) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(6) {
    animation-delay: 0.6s;
}

.fade-in:nth-child(7) {
    animation-delay: 0.7s;
}

.fade-in:nth-child(8) {
    animation-delay: 0.8s;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Expandable project details */
.project-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.project-details.open {
    max-height: 300px;
    opacity: 1;
}

.expand-icon {
    transition: transform 0.3s ease;
}

.expand-icon.open {
    transform: rotate(90deg);
}
