/* MuKairos hero — professional unified composition.
   The background artwork is dark by design, so we boost its luminance and
   add a layered radial spotlight + gradient frame. A real type hierarchy
   (eyebrow + display title + lede) sits centered to the left, with quick
   actions floating top-right. Same rhythm across home and every subpage. */

.hero-stage {
    position: relative;
    height: clamp(320px, 30vw, 420px) !important;
    min-height: 320px !important;
    padding: 0 !important;
    overflow: hidden;
    background: radial-gradient(120% 90% at 18% 30%, #1a1308 0%, #04060a 60%) !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.22);
}

.hero-stage-media {
    position: absolute !important;
    inset: 0;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 38% !important;
    filter: brightness(1.55) contrast(1.18) saturate(1.18) !important;
    opacity: 0.92 !important;
    pointer-events: none;
}

.hero-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(85% 65% at 22% 55%, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0) 55%),
        radial-gradient(100% 70% at 80% 30%, rgba(180, 60, 40, 0.10) 0%, rgba(180, 60, 40, 0) 60%);
}

.hero-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 6, 10, 0.72) 0%, rgba(4, 6, 10, 0.32) 38%, rgba(4, 6, 10, 0.10) 62%, rgba(4, 6, 10, 0.55) 100%),
        linear-gradient(180deg, rgba(4, 6, 10, 0.20) 0%, rgba(4, 6, 10, 0) 40%, rgba(4, 6, 10, 0.55) 100%);
}

.hero-stage-overlay {
    display: none !important;
}

.hero-stage-inner {
    position: relative;
    z-index: 3;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: min(var(--portal-shell, 1180px), calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    padding: 0 0 28px !important;
    gap: 12px;
}

.hero-stage-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 18px !important;
    margin: 0 !important;
    width: auto;
    max-width: min(100%, 520px);
}

.hero-stage-kicker {
    display: inline-flex !important;
    align-items: center;
    min-height: 26px;
    padding: 0 14px;
    border: 1px solid rgba(201, 168, 76, 0.48);
    border-radius: 999px;
    background: rgba(7, 10, 16, 0.78);
    color: #e6c870;
    font-family: var(--f-m, 'Orbitron', sans-serif);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(4px);
}

.hero-stage-logo {
    display: block !important;
    width: clamp(220px, 32vw, 440px) !important;
    height: auto !important;
    max-width: min(100%, 440px);
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.56));
}

.hero-stage-title {
    display: none !important;
}

.hero-stage-title::after {
    content: none;
}

.hero-stage-text {
    display: none !important;
}

.hero-stage-social,
.hero-stage-stats {
    display: none !important;
}

.hero-stage-actions {
    position: absolute;
    top: 16px;
    right: max(18px, calc((100vw - var(--portal-shell, 1180px)) / 2));
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.hero-stage-actions .hero-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(5, 7, 12, 0.78);
    border: 1px solid rgba(201, 168, 76, 0.32);
    color: #f7f0dd !important;
    font: 600 11px/1 var(--f-m, 'Orbitron'), Arial, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(6px);
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.hero-stage-actions .hero-chip:hover {
    border-color: rgba(255, 215, 0, 0.65);
    color: #ffd700 !important;
    background: rgba(10, 13, 20, 0.92);
    transform: translateY(-1px);
}

.main-nav {
    margin-top: 0 !important;
    z-index: 5;
}

body .container.main-grid {
    margin-top: 22px;
}

@media (max-width: 780px) {
    .hero-stage {
        height: clamp(240px, 48vw, 320px) !important;
        min-height: 240px !important;
    }

    .hero-stage-actions {
        top: 10px;
        right: 10px;
        left: 10px;
        justify-content: center;
    }

    .hero-stage-actions .hero-chip {
        min-height: 30px;
        padding: 0 12px;
        font-size: 10px;
    }

    .hero-stage-inner {
        padding-bottom: 20px !important;
        align-items: flex-start;
    }

    .hero-stage-brand {
        max-width: min(100%, 320px);
        gap: 14px !important;
    }

    .hero-stage-logo {
        width: clamp(180px, 54vw, 280px) !important;
        max-width: 78vw;
    }
}
