/* ═══════════════════════════════════════════════════════════
   Remote Hive — About Us Hero
   Vortex canvas background · Layered content · Stats bar
   Sea Green & Sea Blue palette
   ═══════════════════════════════════════════════════════════ */

/* ── Custom Properties (overridden via wp_add_inline_style) ── */
.rh-aboutushero {
    --rh-aboutushero-bg:      #031c2d;
    --rh-aboutushero-accent1: #0ea5e9;
    --rh-aboutushero-accent2: #2dd4bf;
    --rh-aboutushero-accent3: #06b6d4;
    --rh-aboutushero-text:    #ffffff;
    --rh-aboutushero-muted:   rgba(255,255,255,0.65);
}

/* ── Section ── */
.rh-aboutushero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--rh-aboutushero-bg);
}

/* ── Canvas ── */
.rh-aboutushero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ── Overlay — subtle radial vignette for text readability ── */
.rh-aboutushero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(
        ellipse 70% 60% at 50% 45%,
        transparent 0%,
        rgba(3,28,45,0.35) 70%,
        rgba(3,28,45,0.7) 100%
    );
    pointer-events: none;
}

/* ── Container ── */
.rh-aboutushero__container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 24px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Content Block ── */
.rh-aboutushero__content {
    max-width: 820px;
}

/* ── Label ── */
.rh-aboutushero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rh-aboutushero-accent2);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(16px);
    animation: rh-aboutushero-fadeUp 0.7s ease forwards 0.2s;
}

.rh-aboutushero__label-icon {
    color: var(--rh-aboutushero-accent2);
    flex-shrink: 0;
}

/* ── Title — H1 ── */
.rh-aboutushero__title {
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--rh-aboutushero-text);
    margin: 0 0 24px;
    opacity: 0;
    transform: translateY(24px);
    animation: rh-aboutushero-fadeUp 0.8s ease forwards 0.35s;
    background: linear-gradient(
        135deg,
        var(--rh-aboutushero-text) 0%,
        var(--rh-aboutushero-accent1) 45%,
        var(--rh-aboutushero-accent2) 70%,
        var(--rh-aboutushero-text) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:
        rh-aboutushero-fadeUp 0.8s ease forwards 0.35s,
        rh-aboutushero-gradientShift 8s ease-in-out infinite 1.2s;
}

/* ── Subtitle ── */
.rh-aboutushero__subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--rh-aboutushero-muted);
    margin: 0 0 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: rh-aboutushero-fadeUp 0.8s ease forwards 0.5s;
}

/* ── Buttons ── */
.rh-aboutushero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(16px);
    animation: rh-aboutushero-fadeUp 0.7s ease forwards 0.65s;
}

.rh-aboutushero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.rh-aboutushero__btn--primary {
    background: linear-gradient(135deg, var(--rh-aboutushero-accent1), var(--rh-aboutushero-accent2));
    color: #ffffff;
    box-shadow: 0 4px 24px rgba(14,165,233,0.35);
}
.rh-aboutushero__btn--primary:hover,
.rh-aboutushero__btn--primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(45,212,191,0.45);
    color: #ffffff;
    text-decoration: none;
}
.rh-aboutushero__btn--primary:active {
    color: #ffffff;
    text-decoration: none;
}
.rh-aboutushero__btn--primary:visited {
    color: #ffffff;
}
.rh-aboutushero__btn--primary svg {
    transition: transform 0.3s ease;
}
.rh-aboutushero__btn--primary:hover svg {
    transform: translateX(4px);
}

.rh-aboutushero__btn--secondary {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.rh-aboutushero__btn--secondary:hover,
.rh-aboutushero__btn--secondary:focus {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}
.rh-aboutushero__btn--secondary:active {
    color: #ffffff;
    text-decoration: none;
}
.rh-aboutushero__btn--secondary:visited {
    color: rgba(255,255,255,0.9);
}

/* ── Stats Bar ── */
.rh-aboutushero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    width: 100%;
    max-width: 900px;
    margin-top: 72px;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.rh-aboutushero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(24px);
    animation: rh-aboutushero-fadeUp 0.6s ease forwards;
    animation-delay: calc(0.8s + var(--rh-aboutushero-stat-delay, 0ms));
}

.rh-aboutushero__stat-num {
    font-family: 'Sora', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--rh-aboutushero-text);
    background: linear-gradient(135deg, var(--rh-aboutushero-accent1), var(--rh-aboutushero-accent2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.rh-aboutushero__stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--rh-aboutushero-muted);
    text-align: center;
    letter-spacing: 0.02em;
}

/* ── Bottom Fade ── */
.rh-aboutushero__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--rh-aboutushero-bg));
    z-index: 4;
    pointer-events: none;
}

/* ═══════════════════════════════════════
   Keyframes
   ═══════════════════════════════════════ */
@keyframes rh-aboutushero-fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rh-aboutushero-gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Laptop (1024–1279px)
   ═══════════════════════════════════════ */
@media (max-width: 1279px) {
    .rh-aboutushero__title {
        font-size: 56px;
    }
    .rh-aboutushero__subtitle {
        font-size: 20px;
    }
    .rh-aboutushero__stat-num {
        font-size: 32px;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (768–1023px)
   ═══════════════════════════════════════ */
@media (max-width: 1023px) {
    .rh-aboutushero__container {
        padding: 120px 20px 80px;
    }
    .rh-aboutushero__title {
        font-size: 46px;
    }
    .rh-aboutushero__subtitle {
        font-size: 19px;
    }
    .rh-aboutushero__label {
        font-size: 13px;
    }
    .rh-aboutushero__stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 56px;
    }
    .rh-aboutushero__stat {
        padding: 28px 16px;
    }
    .rh-aboutushero__stat-num {
        font-size: 30px;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile Large (480–767px)
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
    .rh-aboutushero {
        min-height: 100vh;
        min-height: 100dvh;
    }
    .rh-aboutushero__container {
        padding: 110px 16px 70px;
    }
    .rh-aboutushero__title {
        font-size: 38px;
    }
    .rh-aboutushero__subtitle {
        font-size: 17px;
    }
    .rh-aboutushero__label {
        font-size: 12px;
    }
    .rh-aboutushero__btn {
        font-size: 15px;
        padding: 12px 28px;
    }
    .rh-aboutushero__stats {
        margin-top: 48px;
    }
    .rh-aboutushero__stat {
        padding: 24px 12px;
    }
    .rh-aboutushero__stat-num {
        font-size: 28px;
    }

    /* Disable backdrop-filter on mobile for performance */
    .rh-aboutushero__btn--secondary,
    .rh-aboutushero__stat {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile Small (<480px)
   ═══════════════════════════════════════ */
@media (max-width: 479px) {
    .rh-aboutushero__container {
        padding: 100px 14px 60px;
    }
    .rh-aboutushero__title {
        font-size: 32px;
    }
    .rh-aboutushero__subtitle {
        font-size: 16px;
        line-height: 1.7;
    }
    .rh-aboutushero__actions {
        flex-direction: column;
        width: 100%;
    }
    .rh-aboutushero__btn {
        width: 100%;
        justify-content: center;
    }
    .rh-aboutushero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .rh-aboutushero__stat-num {
        font-size: 26px;
    }
    .rh-aboutushero__stat-label {
        font-size: 12px;
    }
}

/* ═══════════════════════════════════════
   Reduced Motion
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .rh-aboutushero__label,
    .rh-aboutushero__title,
    .rh-aboutushero__subtitle,
    .rh-aboutushero__actions,
    .rh-aboutushero__stat {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}