/* ==============================================
   HERO — Homepage Hero Section
   ============================================== */

.hero {
    background-color: var(--bg-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow accent */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 154, 42, 0.07) 0%, transparent 65%);
    pointer-events: none;
}
/* Bottom subtle pattern */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 154, 42, 0.3), transparent);
}

.hero__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-16);
    align-items: center;
    padding-block: var(--sp-14);
}

/* ── Profile Photo ────────────────────────────── */
.hero__photo-wrap {
    position: relative;
    flex-shrink: 0;
}
.hero__photo-ring {
    width: 240px;
    height: 240px;
    border-radius: var(--radius-full);
    padding: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light), rgba(196,154,42,0.3));
    box-shadow:
        0 0 0 8px rgba(196, 154, 42, 0.08),
        var(--shadow-lg);
}
.hero__photo {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    object-position: top center;
    border: 3px solid var(--bg-hero);
}

/* ── Hero Text ────────────────────────────────── */
.hero__content {
    max-width: 620px;
}
.hero__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--sp-4);
    font-family: var(--font-body);
}
.hero__name {
    font-size: clamp(13px, 4.2vw, var(--text-3xl));
    white-space: nowrap;
    color: var(--text-inverse);
    line-height: 1.15;
    margin-bottom: var(--sp-3);
}
.hero__title {
    font-size: var(--text-lg);
    color: var(--accent-light);
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: var(--sp-2);
}
.hero__institution {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    margin-bottom: var(--sp-6);
}
.hero__bio {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
}
.hero__bio strong {
    color: var(--accent-light);
    font-weight: 600;
}

/* ── Research Tags ────────────────────────────── */
.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-4);
}
.hero__tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-body);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.hero__tag:hover {
    background: rgba(196, 154, 42, 0.15);
    border-color: rgba(196, 154, 42, 0.3);
    color: var(--accent-light);
}

/* ── Contact Links ────────────────────────────── */
.hero__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}
.hero__email {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.hero__email i {
    color: var(--accent);
    font-size: var(--text-xs);
}
.hero__email:hover { color: var(--accent-light); text-decoration: none; }

/* ── CTA Buttons ──────────────────────────────── */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

/* ── Stats ─────────────────────────────────────── */
.stats-bar {
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(196, 154, 42, 0.15);
    border-bottom: 3px solid rgba(196, 154, 42, 0.2);
    position: relative;
}
.stats-bar__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    padding-block: var(--sp-8);
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--sp-4) var(--sp-6);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item:last-child { border-right: none; }
.stat-item__number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--sp-1);
}
.stat-item__label {
    font-size: var(--text-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: var(--sp-10);
        padding-block: var(--sp-16);
    }
    .hero__photo-ring { width: 200px; height: 200px; }
    .hero__tags { justify-content: center; }
    .hero__contacts { justify-content: center; }
    .hero__actions { justify-content: center; }
}
@media (max-width: 640px) {
    .hero__photo-ring { width: 180px; height: 180px; }
    .stats-bar__inner { grid-template-columns: 1fr; }
    .stat-item { padding: var(--sp-3) var(--sp-5); }
    .stat-item__number { font-size: var(--text-2xl); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .stat-item:last-child { border-bottom: none; }
}
