/* =====================================================================
   Home hero — bold, type-first, editorial (Awwwards-style)
   Oversized kinetic headline over a darkened showreel of real work,
   with a marquee ticker and prominent CTAs. Scoped to #intro.mh-hero.
   ===================================================================== */

#intro.mh-hero {
    position: relative;
    min-height: 100svh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #08070c;
    color: #fff;
    padding: 96px 0 84px;
}

/* ---------- background showreel ---------- */
.mh-hero-bg { position: absolute; inset: 0; z-index: 0; }
.mh-hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.mh-hero-scrim {
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 80% at 84% 18%, rgba(214, 52, 71, 0.32) 0%, rgba(214, 52, 71, 0) 60%),
        linear-gradient(90deg, rgba(8, 7, 12, 0.95) 0%, rgba(8, 7, 12, 0.80) 40%, rgba(8, 7, 12, 0.42) 72%, rgba(8, 7, 12, 0.60) 100%),
        linear-gradient(0deg, rgba(8, 7, 12, 0.95) 0%, rgba(8, 7, 12, 0) 32%);
}
/* faint dotted texture for depth */
.mh-hero-grain {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.5;
    pointer-events: none;
}

/* ---------- content ---------- */
.mh-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 6vw;
}

.mh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 26px;
}
.mh-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #ff3b52;
    box-shadow: 0 0 14px #ff3b52;
    animation: mhPulse 2s ease-in-out infinite;
}
@keyframes mhPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.mh-title {
    font-family: 'Anton', 'Trirong', Impact, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(3.4rem, 11vw, 10.5rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    margin: 0 0 30px;
    color: #fff;
}
.mh-line { display: block; overflow: hidden; padding-bottom: 0.02em; }
.mh-line i {
    display: block;
    font-style: normal;
    transform: translateY(112%);
    animation: mhClip 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes mhClip { to { transform: translateY(0); } }
.mh-red {
    color: #ff3b52;
    text-shadow: 0 0 42px rgba(255, 59, 82, 0.45);
}

.mh-sub {
    max-width: 560px;
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 36px;
}

.mh-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.mh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}
.mh-btn-primary { background: #d63447; color: #fff; box-shadow: 0 12px 28px -14px rgba(214, 52, 71, 0.8); }
.mh-btn-primary:hover { background: #ff3b52; color: #fff; transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(255, 59, 82, 0.85); }
.mh-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.32); }
.mh-btn-ghost:hover { border-color: #fff; color: #fff; gap: 15px; }
.mh-btn-ghost span { color: #ffce00; }

/* ---------- marquee ticker ---------- */
.mh-marquee {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 7, 12, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    overflow: hidden;
    padding: 16px 0;
}
.mh-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    animation: mhMarquee 28s linear infinite;
    padding-left: 30px;
}
.mh-marquee-track span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}
.mh-marquee-track b { color: #ffce00; font-size: 11px; }
@keyframes mhMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- load-in rise ---------- */
.mh-rise {
    opacity: 0;
    transform: translateY(26px);
    animation: mhRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes mhRise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .mh-line i, .mh-rise { animation: none; transform: none; opacity: 1; }
    .mh-marquee-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {
    #intro.mh-hero { padding: 110px 0 76px; align-items: flex-start; }
    .mh-hero-inner { padding-top: 8vh; }
    .mh-sub { font-size: 1.02rem; }
    .mh-cta .mh-btn { padding: 14px 24px; font-size: 14px; }
}
