/* Join page (Opportunities.qmd): the banner hero, a terminal readout of
   the lab's status, then the status paragraph, a mentored-by-level card,
   and a contact card. Builds on home/home.css (fonts, colours, cards) and
   people-page/people.css (banner hero). */

.home .join .card {
  margin-bottom: 0;
}

.home .status-card > p {
  font-size: 19px;
  line-height: 1.55;
  color: #2c3039;
  margin: 4px 0 0;
}

.home .status-card a,
.home .contact-row a,
.home .path a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.home .status-card .card-label {
  color: #9a3f86;
}

/* mentored levels */
.home .level-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.home .level-row:last-child {
  border-bottom: none;
}

.home .sbranch {
  font-family: var(--mono);
  color: var(--faint);
}

.home .lname {
  font-weight: 500;
}

.home .lcount {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
}

/* contact */
.home .contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.home .contact-row p {
  margin: 0;
  color: var(--muted);
}

.home a.email-chip {
  font-family: var(--mono);
  font-size: 13px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
  padding: 6px 14px;
  text-decoration: none;
}

.home a.email-chip::before {
  content: "✉  ";
}

.home a.email-chip:hover {
  color: #ffffff;
  background: var(--accent);
}

/* ---- terminal readout ---- */

.home .terminal {
  background: #15161b;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 24px 40px -28px rgba(17, 19, 24, 0.6);
}

.home .tbar {
  display: flex;
  gap: 14px;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: #8a8f99;
  border-bottom: 1px solid #26282e;
}

.home .tbar .dots {
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--pink), var(--yellow) 50%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home .terminal pre {
  margin: 0;
  padding: 22px 24px 26px;
  background: transparent;
  border: none;
  color: #e9e9ec;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.home .terminal .prompt {
  color: var(--green);
}

.home .terminal .k {
  color: #8a8f99;
}

.home .terminal a {
  color: #b9b4ff;
}

.home .terminal .cursor {
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home .terminal .cursor { animation: none; }
}

.home .status-card.plain > p {
  font-size: 16px;
}
