/* ============================================================
   Movers & Shakers — careers
   Open-role list (careers.html) + single role page (careers/*.html)
   Loaded after site.css. Tokens come from site.css.
   ============================================================ */

/* ---------- open roles list ---------- */

.openings { display: flex; flex-direction: column; }

.opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left 0.28s ease, background 0.28s ease;
}
.opening:last-child { border-bottom: 1px solid var(--line); }
.opening:hover,
.opening:focus-visible { padding-left: 12px; background: rgba(222,217,204,0.24); }

.opening__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.opening__at {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--numeral);
}
.opening__at b { font-weight: 500; color: var(--accent); }
.opening__t {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.opening__d {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
  max-width: 56ch;
  text-wrap: pretty;
}
.opening__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-soft);
}
.opening__meta span { background: var(--pill); border-radius: 20px; padding: 5px 12px; }
.opening__go {
  font-size: 20px;
  line-height: 1;
  color: var(--stone-soft);
  transition: transform 0.28s ease, color 0.28s ease;
}
.opening:hover .opening__go { transform: translateX(6px); color: var(--ink); }

.openings__none {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--stone-soft);
}

/* ---------- single role page ---------- */

.role-header { padding-bottom: clamp(30px, 3.6vw, 52px); }
.role-header__grid { display: block; }
.role-header .eyebrow { display: block; margin-bottom: 16px; }
.role-header h1 { max-width: 20ch; margin-bottom: 18px; }
.role-header .lede { max-width: 54ch; }

.role-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 2.6vw, 32px);
}
.role-fact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255,255,255,0.42);
}
.role-fact__k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--numeral);
}
.role-fact__v { font-size: 15px; font-weight: 500; letter-spacing: 0.01em; }

.role-header__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: clamp(26px, 3vw, 38px); }

/* short, scannable requirement lists */
.role-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.role-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-top: 1px solid var(--line);
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--body-strong);
  text-wrap: pretty;
}
.role-list li:last-child { border-bottom: 1px solid var(--line); }
.role-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--accent);
}
.role-list--out li::before { content: "×"; color: var(--numeral); }
.role-list--out li { color: var(--stone); }

.role-note {
  margin: 0;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: rgba(234,231,222,0.5);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body);
  max-width: 62ch;
  text-wrap: pretty;
}

@media (max-width: 720px) {
  .opening { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .opening__go { justify-self: start; }
  .role-fact { flex: 1 1 40%; }
}
