/* ==========================================
   ANTOLOGA HOME — full-bleed hero
   ========================================== */

.home-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    background-color: var(--antologa-dark);
    overflow: hidden;
}

/* Background image + scrim */
.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero__bg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    animation: heroZoom 24s ease-in-out infinite alternate;
    backface-visibility: hidden;
    will-change: transform;
}

.home-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,18,22,0.55) 0%, rgba(13,18,22,0.35) 35%, rgba(13,18,22,0.85) 100%);
}

@keyframes heroZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* NavBar sits above the image */
.home-hero > .mud-container,
.home-hero :where(nav, header, .navbar) {
    position: relative;
    z-index: 3;
}

/* Hero content */
.home-hero__content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60rem;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    text-align: left;
}

.home-hero__badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--antologa-white);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.home-hero__title {
    font-family: Inter, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800 !important;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--antologa-white);
    margin: 0 0 1rem;
}

.home-hero__body {
    font-family: Nunito, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 34rem;
    margin: 0 0 2rem;
}

.home-hero__search {
    width: 100%;
    margin-bottom: 2rem;
}

.home-hero__search .mud-paper {
    width: 100% !important;
    max-width: 100% !important;
}

/* Inline hero stats */
.home-hero__stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.home-hero__stat {
    display: flex;
    flex-direction: column;
}

.home-hero__stat-val {
    font-family: Inter, sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--antologa-white);
    line-height: 1;
}

.home-hero__stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-top: 0.35rem;
}

@media (max-width: 40rem) {
    .home-hero { min-height: 100vh; }
    .home-hero__content { padding: 2rem 1.25rem 3rem; }
    .home-hero__stats { gap: 1.5rem; }
    .home-hero__stat-val { font-size: 1.3rem; }
}
