/* ============================================
   Scroll Reveal — base states
   Elements with .reveal-block start invisible
   and are triggered by Intersection Observer
   ============================================ */
.reveal-block {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay variants */
.reveal-block:nth-child(2) { transition-delay: 0.1s; }
.reveal-block:nth-child(3) { transition-delay: 0.2s; }
.reveal-block:nth-child(4) { transition-delay: 0.3s; }

/* Above-fold page hero elements — start fully visible, no reveal delay */
.shop-hero .page-eyebrow,
.shop-hero .shop-hero__title,
.shop-hero .shop-hero__sub,
.about-hero .page-eyebrow,
.about-hero .about-hero__title,
.portfolio-hero .page-eyebrow,
.portfolio-hero .portfolio-hero__title,
.contact-hero .page-eyebrow,
.contact-hero .contact-hero__title {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ============================================
   Hover effects — portfolio cards
   ============================================ */
.work-card {
    overflow: hidden;
    cursor: pointer;
    background-color: var(--color-bg-soft);
}

.work-card__image {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .work-card__image {
    transform: scale(1.04);
}

.work-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.6);
    opacity: 0;
    transition: opacity var(--transition-slow);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
}

.work-card:hover .work-card__overlay {
    opacity: 1;
}

/* ============================================
   Nav header — sticky scroll tint
   (toggled via JS)
   ============================================ */
.site-header {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}
