/* ── Hero background ────────────────────────────────────────────────────── */
section.title::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            165deg,
            rgba(13, 14, 17, 0.94) 0%,
            rgba(13, 14, 17, 0.55) 55%,
            rgba(13, 14, 17, 0.72) 100%
        ),
        url('../img/title_section.webp') center / cover no-repeat;
    z-index: 0;
}

/* ── Scrolling hint line at bottom ──────────────────────────────────────── */
section.title::after {
    content: '';
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
    z-index: 1;
    animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scaleY(1); }
    50%       { opacity: 0.3; transform: translateX(-50%) scaleY(0.6); }
}

/* ── Hero content wrapper ───────────────────────────────────────────────── */
section.title {
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 100%;
}

/* ── Entrance animation — each child fades up ───────────────────────────── */
.hero-content > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

section.title.loaded .hero-label    { transition-delay: 0.00s; }
section.title.loaded .Company       { transition-delay: 0.14s; }
section.title.loaded .hero-tagline  { transition-delay: 0.28s; }
section.title.loaded .cta_btn       { transition-delay: 0.44s; }

section.title.loaded .hero-content > * {
    opacity: 1;
    transform: translateY(0);
}

/* ── Label line (subtitle above brand) ─────────────────────────────────── */
.hero-label {
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.60);
}

/* ── Company logo + name ────────────────────────────────────────────────── */
.hero-content > .Company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.hero-content > .Company > .Company-icon {
    height: 2.8rem;
    width: 2.8rem;
    border-radius: 0.55rem;
    filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.35));
    flex-shrink: 0;
}
.hero-content > .Company > span {
    font-family: var(--font-brand);
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 2px 30px rgba(245, 158, 11, 0.18);
    line-height: 1;
}

/* ── Tagline ────────────────────────────────────────────────────────────── */
.hero-tagline {
    margin: 0 0 2rem;
    max-width: 30ch;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

/* ── CTA button ─────────────────────────────────────────────────────────── */
.hero-content > .cta_btn {
    height: 3rem;
    width: 100%;
    max-width: 22rem;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

/* ── Tablet 768px ───────────────────────────────────────────────────────── */
@media (min-width: 768px) {
    .hero-content {
        padding: 0 2rem;
        max-width: 38rem;
    }
    .hero-content > .Company > span { font-size: 3.4rem; }
    .hero-content > .Company > .Company-icon { height: 3.4rem; width: 3.4rem; }
    .hero-tagline { font-size: 1rem; max-width: 38ch; }
    .hero-content > .cta_btn { max-width: 20rem; }
}

/* ── Desktop 1024px ─────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
    .hero-content {
        padding: 0 2rem;
        max-width: 42rem;
    }
    .hero-content > .Company > span { font-size: 4rem; }
    .hero-content > .Company > .Company-icon { height: 4rem; width: 4rem; }
    .hero-tagline { font-size: 1.05rem; max-width: 40ch; }
    .hero-content > .cta_btn { height: 3.25rem; font-size: 1rem; }
}

/* ── Wide desktop 1440px ────────────────────────────────────────────────── */
@media (min-width: 1440px) {
    .hero-content {
        max-width: 46rem;
    }
    .hero-content > .Company > span { font-size: 4.4rem; }
    .hero-content > .Company > .Company-icon { height: 4.4rem; width: 4.4rem; }
}
