/* ============================================================================
   CABSTATES — Hero Section Styles
   Version: 1.0 | May 2026
============================================================================ */

/* ============================================================================
   HERO WRAPPER
============================================================================ */
.hero {
    min-height: 100vh;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-32) 0 var(--space-24);
}

/* ============================================================================
   HERO BACKGROUNDS
============================================================================ */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 65% 55% at 70% 50%, rgba(0, 71, 171, 0.14) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 15% 80%, rgba(255, 215, 0, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 30% 35% at 85% 15%, rgba(0, 184, 169, 0.07) 0%, transparent 60%);
}

/* Grid pattern */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 215, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* Diagonal accent line */
.hero-accent-line {
    position: absolute;
    top: 0;
    right: 25%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    z-index: 0;
}

/* ============================================================================
   HERO CONTENT GRID
============================================================================ */
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-16);
    -webkit-align-items: center;
    align-items: center;
}

/* ============================================================================
   HERO LEFT — TEXT
============================================================================ */
.hero-left {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: var(--space-6);
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: var(--space-3);
}

.hero-label::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: var(--yellow);
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 0.92;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero-title .word-build {
    color: var(--yellow);
    display: block;
}

.hero-title .word-every {
    -webkit-text-stroke: 1.5px rgba(245, 245, 245, 0.4);
    color: transparent;
    display: block;
}

.hero-title .word-thing {
    color: var(--white);
    display: block;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: var(--space-6);
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: var(--space-3);
}

.hero-subtitle::after {
    content: '';
    -webkit-flex: 1;
    flex: 1;
    height: 1px;
    background: var(--grey-800);
    max-width: 60px;
}

.hero-desc {
    font-size: var(--text-lg);
    color: rgba(245, 245, 245, 0.65);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-10);
    max-width: 500px;
}

/* ============================================================================
   HERO ACTIONS
============================================================================ */
.hero-actions {
    display: -webkit-flex;
    display: flex;
    gap: var(--space-4);
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
}

/* ============================================================================
   HERO STATS
============================================================================ */
.hero-stats {
    display: -webkit-flex;
    display: flex;
    gap: var(--space-8);
    padding-top: var(--space-8);
    border-top: var(--border-subtle);
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.hero-stat {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: var(--space-1);
}

.hero-stat-num {
    font-family: var(--font-mono);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--grey-500);
    line-height: var(--leading-snug);
}

/* ============================================================================
   HERO RIGHT — DANELLE PHOTO
============================================================================ */
.hero-visual {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.hero-photo-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
}

/* Angled background shape */
.hero-photo-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
    -webkit-clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
}

/* Photo area */
.hero-photo-inner {
    position: absolute;
    inset: 3px;
    background: var(--grey-800);
    -webkit-clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
    overflow: hidden;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

/* Actual photo — swap src when ready */
.hero-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Placeholder state (shown when no photo) */
.hero-photo-placeholder {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-8);
    text-align: center;
}

.hero-photo-placeholder svg {
    width: 72px;
    height: 72px;
    color: var(--grey-600);
}

.hero-photo-placeholder p {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--grey-500);
}

/* Decorative corner accent */
.hero-photo-corner {
    position: absolute;
    bottom: -var(--space-4);
    right: -var(--space-4);
    width: 100px;
    height: 100px;
    border: 2px solid var(--yellow-border);
    z-index: -1;
}

/* Credential tag */
.hero-photo-tag {
    position: absolute;
    bottom: var(--space-8);
    left: calc(-1 * var(--space-8));
    background: var(--yellow);
    color: var(--black);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    line-height: var(--leading-snug);
    box-shadow: var(--shadow-yellow);
    z-index: 3;
}

/* Floating credential pill */
.hero-photo-pill {
    position: absolute;
    top: var(--space-8);
    right: calc(-1 * var(--space-6));
    background: var(--grey-900);
    border: var(--border-yellow);
    padding: var(--space-3) var(--space-5);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--yellow);
    white-space: nowrap;
    z-index: 3;
    box-shadow: var(--shadow-md);
}

/* ============================================================================
   RESPONSIVE
============================================================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero {
        padding: var(--space-24) 0 var(--space-16);
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 5rem);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-20) 0 var(--space-12);
    }

    .hero-desc {
        font-size: var(--text-md);
    }

    .hero-actions {
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .hero-actions .btn {
        -webkit-justify-content: center;
        justify-content: center;
    }

    .hero-stats {
        gap: var(--space-6);
    }
}
