/* Headshot and employer link on the home page (CSP: no inline styles).
 */

/* ---------- Headshot ---------- */
.hero-photo { display: block; position: absolute; right: 9%; top: 42%; transform: translateY(-50%); z-index: 1; width: 176px; height: 176px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--gold), rgba(196,151,58,0.25)); box-shadow: 0 18px 50px rgba(0,0,0,0.35); opacity: 0; animation: photoIn .9s ease .2s forwards; }
@keyframes photoIn { to { opacity: 1; } }
.hero-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
@media (max-width: 1100px) {
  .hero-photo { position: relative; right: auto; top: auto; transform: none; width: 116px; height: 116px; padding: 3px; margin-bottom: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
}

/* ---------- Employer link ---------- */
.org-link { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.org-link:hover { color: var(--gold-text); }
.ext-badge { display: inline-block; margin: 0.15rem 0 0.75rem; padding: 0.3rem 0.75rem; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-text); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em; text-decoration: none; }
.ext-badge:hover, .ext-badge:focus-visible { background: var(--gold); color: var(--navy); }

@media (prefers-reduced-motion: reduce) { .hero-photo { animation: none; opacity: 1; } }
@media print { .hero-photo { display: none; } }

/* Keep the hero figures clear of the floating Resume button on desktop. */
@media (min-width: 1101px) { .hero-stats { bottom: 7.5rem; } }
/* Lift hero content clear of the bottom-left Member login / Ask AI buttons on shorter laptop screens. */
@media (min-width: 1101px) { #hero { padding-bottom: 9rem; } }
