/* Home hero: research link pill, and an illustrative Complete ATS screen
   (one job's pipeline, candidates ranked by Fit, and the evidence behind the
   top result). Pure CSS animation; no script. */

/* ── "New research" link above the headline ── */
.hero-news {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.9);
  font: 500 14px/1.3 var(--font-sans);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}
.hero-news:hover { background: rgba(255,255,255,0.12); border-color: rgba(212,184,138,0.6); }
.hero-news-tag {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-gold-soft);
  color: var(--brand-plum-deep);
  font: 700 11px/1 var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-news-text i { font-style: italic; }
.hero-news svg { flex: 0 0 auto; color: var(--brand-gold-soft); transition: transform var(--dur-fast) var(--ease-standard); }
.hero-news:hover svg { transform: translateX(3px); }

.home-hero .hero-headline { text-wrap: balance; }
.home-hero .hero-anim-col { align-self: center; }

/* ── Screen ── */
.hp-stage {
  position: relative;
  margin: 0 0 0 auto;
  max-width: 540px;
  padding-bottom: 250px;
}
.hp-window {
  background: var(--ink-0);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(12,4,18,0.45), 0 2px 8px rgba(0,0,0,0.2);
  color: var(--ink-7);
  animation: hp-rise 700ms var(--ease-standard) 100ms both;
}
.hp-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: var(--brand-plum-deep);
}
.hp-dots { display: inline-flex; gap: 6px; }
.hp-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.hp-bar-title { font: 400 13px/1 var(--font-sans); color: rgba(255,255,255,0.62); }
.hp-bar-title strong { font-weight: 600; color: #fff; }

.hp-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--border-hair);
}
.hp-pipeline-cell { padding: 14px 16px 12px; border-right: 1px solid var(--border-hair); }
.hp-pipeline-cell:last-child { border-right: 0; }
.hp-pipeline-cell.is-active { background: var(--brand-plum-mist); box-shadow: inset 0 -2px 0 var(--brand-plum); }
.hp-pipeline-n { font: 600 22px/1 var(--font-sans); letter-spacing: -0.02em; color: var(--ink-8); }
.hp-pipeline-cell.is-active .hp-pipeline-n { color: var(--brand-plum); }
.hp-pipeline-l { margin-top: 6px; overflow-wrap: anywhere; font: 600 10.5px/1.2 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-tertiary); }

.hp-list-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px 6px;
  font: 600 10.5px/1 var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.hp-list { list-style: none; margin: 0; padding: 0 10px 12px; }
.hp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  font: 500 15px/1.2 var(--font-sans);
  color: var(--ink-8);
  animation: hp-row-in 520ms var(--ease-standard) both;
  animation-delay: calc(450ms + var(--i, 0) * 110ms);
}
.hp-row.is-selected { background: var(--brand-plum-mist); box-shadow: inset 3px 0 0 var(--brand-plum); }
.hp-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-plum-tint);
  color: var(--brand-plum);
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.02em;
}
.hp-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-pill { flex: 0 0 auto; padding: 5px 12px; border-radius: 999px; font: 500 13px/1 var(--font-sans); }
.hp-pill--excellent { background: rgba(69,43,81,0.14); color: var(--brand-plum-deep); font-weight: 600; }
.hp-pill--strong    { background: rgba(69,43,81,0.07); color: var(--brand-plum); }
.hp-pill--average   { background: var(--ink-2); color: var(--fg-secondary); }

/* ── Evidence card for the selected candidate ── */
.hp-evidence {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: min(340px, 78%);
  padding: 18px 20px 20px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  background: rgba(38,22,48,0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 56px rgba(12,4,18,0.5);
  color: #fff;
  animation: hp-card-in 640ms var(--ease-emphasized) 1250ms both;
}
.hp-ev-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hp-ev-label { font: 600 10.5px/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-gold-soft); }
.hp-ev-fit { flex: 0 0 auto; font-family: var(--font-serif); font-size: 19px; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.hp-ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hp-ev-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 500 13.5px/1.25 var(--font-sans);
  color: rgba(255,255,255,0.88);
}
.hp-band { flex: 0 0 auto; padding: 4px 9px; border-radius: 999px; font: 600 11.5px/1 var(--font-sans); }
.hp-band--high        { background: var(--brand-gold-soft); color: var(--brand-plum-deep); }
.hp-band--substantial { border: 1px solid rgba(212,184,138,0.7); color: var(--brand-gold-soft); padding: 3px 8px; }
.hp-quote { margin: 14px 0 0; padding: 12px 0 0 14px; border-top: 1px solid rgba(255,255,255,0.12); position: relative; }
.hp-quote::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 2px; width: 2px; background: var(--brand-gold); }
.hp-quote p { margin: 0 0 8px; font-family: var(--font-serif); font-style: italic; font-size: 15px; line-height: 1.4; letter-spacing: -0.01em; color: rgba(255,255,255,0.92); }
.hp-quote footer { font: 500 11.5px/1.2 var(--font-sans); color: rgba(255,255,255,0.55); }

@keyframes hp-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hp-row-in {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hp-card-in {
  from { opacity: 0; transform: translate(18px, 22px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-window, .hp-row, .hp-evidence { animation: none; }
}

@media (max-width: 1180px) {
  .hp-evidence { right: 0; }
}
@media (max-width: 980px) {
  .hp-stage { margin: 0 auto; }
}
@media (max-width: 560px) {
  .hp-stage { padding-bottom: 0; }
  .hp-evidence { position: relative; right: auto; width: auto; margin: -24px 12px 0; }
  .hp-pipeline-cell { padding: 12px 10px 10px; }
  .hp-pipeline-n { font-size: 19px; }
  .hp-pipeline-l { font-size: 9.5px; letter-spacing: 0.04em; }
  .hero-news { font-size: 13px; }
}
