/* Clean, minimal, professional entrance animations without jarring infinite loops */
@media(min-width: 768px) {
    .home-hero .hero-inner { order: 1; }
    .home-hero .hero-building { order: 2; }
}

.home-hero .hero-inner .eyebrow,
.home-hero .hero-inner h1,
.home-hero .hero-inner p,
.home-hero .hero-inner .button,
.home-hero .hero-signal {
    opacity: 0;
    animation: hero-fade-up .6s cubic-bezier(.16, 1, .3, 1) forwards;
}

.home-hero .hero-inner .eyebrow { animation-delay: .1s; }
.home-hero .hero-inner h1 { animation-delay: .2s; }
.home-hero .hero-inner p { animation-delay: .3s; }
.home-hero .hero-inner .button { animation-delay: .4s; }
.home-hero .hero-signal { animation-delay: .5s; }

.home-hero .hero-building img {
    animation: hero-fade-up .8s cubic-bezier(.16, 1, .3, 1) both;
}

.home-hero .hero-building:before {
    transform: rotate(-3deg);
    transition: transform .4s ease;
}

.home-hero .building-label {
    opacity: 0;
    animation: hero-fade-up .6s ease .6s forwards;
}

.chairman-section .chairman-copy p {
    opacity: 0;
    transform: translateY(12px);
}

.chairman-section.is-visible .chairman-copy p {
    animation: copy-fade-up .5s ease forwards;
}

.chairman-section.is-visible .chairman-copy p:nth-child(2) { animation-delay: .08s; }
.chairman-section.is-visible .chairman-copy p:nth-child(3) { animation-delay: .16s; }
.chairman-section.is-visible .chairman-copy p:nth-child(4) { animation-delay: .24s; }
.chairman-section.is-visible .chairman-copy p:nth-child(5) { animation-delay: .32s; }

.sector-tile img {
    animation: sector-image-in .6s cubic-bezier(.16, 1, .3, 1) both;
}
.sector-tile:nth-child(2) img { animation-delay: .08s; }
.sector-tile:nth-child(3) img { animation-delay: .16s; }
.sector-tile:nth-child(4) img { animation-delay: .24s; }

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes copy-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sector-image-in {
    from {
        opacity: 0;
        transform: scale(.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media(max-width: 767.98px) {
    .home-hero .hero-inner { order: 2; }
    .home-hero .hero-building { order: 1; }
}

@media(prefers-reduced-motion: reduce) {
    .home-hero .hero-inner > *,
    .home-hero .hero-building img,
    .home-hero .hero-building:before,
    .home-hero .building-label,
    .chairman-section .chairman-copy p,
    .chairman-section .chairman-photo,
    .sector-tile img {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}