/* Careers, layered on css/styles.css. Everything shared with the homepage
   (ground, type, nav, thesis, vista, showcase, plate, colophon) comes from
   there. This file adds the role list and the closing note. */

/* ---------- Coming soon ----------
   The whole page while careers is closed: one line, centred, and a way back.
   Remove this block when the parked page in careers/index.html returns. */
.soon {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--gutter-wide);
  text-align: center;
}
.soon__word {
  font-size: var(--text-thesis);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--color-ink);
}
.soon__return {
  font-size: var(--text-sm);
  color: var(--color-quiet);
  padding-bottom: 0.12em;
  background-image: linear-gradient(var(--color-faint), var(--color-faint));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: color var(--dur-micro) var(--ease-out),
              background-image var(--dur-micro) var(--ease-out);
}
.soon__return:hover {
  color: var(--color-ink);
  background-image: linear-gradient(var(--color-accent), var(--color-accent));
}

/* ---------- Roles ----------
   Unused while the roles list is parked behind the banner. Kept so
   restoring the list is a single edit in the HTML. */
.roles__list { margin: 0; padding: 0; list-style: none; }
.role {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 20em) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: baseline;
  padding: var(--space-md) 0;
  border-bottom: var(--rule-hair) solid var(--color-hairline);
}
.role:last-child { border-bottom: none; }
.role__num {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--color-quiet);
}
.role__title {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-ink);
}
.role__meta {
  margin-top: var(--space-2xs);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-quiet);
}
.role__body { color: var(--color-ink-3); font-size: 0.96em; }

/* The one place on either page where the accent does more than mark a
   hover: an apply link is the action the page exists for. */
.role__apply {
  display: inline-block;
  margin-top: var(--space-md);
  color: var(--color-accent);
  padding-bottom: 0.12em;
  background-image: linear-gradient(var(--color-accent), var(--color-accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: color var(--dur-micro) var(--ease-out);
}
.role__apply:hover { color: var(--color-ink); }

@media (max-width: 60rem) {
  .role {
    grid-template-columns: 1.75rem 1fr;
    row-gap: var(--space-sm);
  }
  .role__body { grid-column: 2; }
}

/* ---------- Closing note ---------- */
/* Last thing on the page now that the plate below it is gone, so no
   trailing margin. */
.note { max-width: 34em; }
.note p + p { margin-top: var(--space-sm); }
